Esempio n. 1
0
function print_form()
{
    global $CARD_TABLE_NAME, $CARD_TABLE_SELECT_ATTR, $CARD_TABLE_SHOW_ATTR, $CARD_TABLE_TYPE_ATTR;
    echo "<form id=\"card_form\">";
    print_all_form_select($CARD_TABLE_NAME, $CARD_TABLE_SELECT_ATTR);
    echo "<br>";
    print_all_form_input($CARD_TABLE_TYPE_ATTR);
    echo "</form>";
    echo "<div id=\"card_table\"></div>";
}
Esempio n. 2
0
function print_form()
{
    echo "<a href=\"card_section.php\">reset</a>";
    global $CARD_TABLE_NAME, $CARD_TABLE_SELECT_ATTR, $CARD_TABLE_SHOW_ATTR, $CARD_TABLE_TYPE_ATTR;
    echo "<form action=\"card_section.php\">";
    #print_form_select("type", $values, get_current_get_value("type"));
    print_all_form_select($CARD_TABLE_NAME, $CARD_TABLE_SELECT_ATTR);
    echo_br();
    #$name_value = get_current_get_value("name");
    #echo "name: <input type=\"text\" name=\"name\" value=\"$value\">";
    print_all_form_input($CARD_TABLE_TYPE_ATTR);
    #print_form_input("name", get_current_get_value("name"));
    echo "<br><br>";
    echo "<input type=\"submit\" value=\"search\">";
    echo "</form>";
    $constraints = get_all_get_values($CARD_TABLE_SHOW_ATTR);
    print_card_select_table($CARD_TABLE_NAME, $CARD_TABLE_SHOW_ATTR, $constraints);
}