<td class="tdFormIcon"><span class="tooltip spanIcon ui-icon ui-icon-help" title="<?php 
echo Language::string(710);
?>
"></span></td>
                <td>
                    <div class="divFormControl">
                        <select id="selectFWtable" class="fullWidth ui-widget-content ui-corner-all" onchange="Test.uiRefreshExtendedFunctionWizard('<?php 
echo $name;
?>
')">
                            <option value="0">&lt;<?php 
echo Language::string(73);
?>
&gt;</option>
                            <?php 
$sql = sprintf("SELECT * FROM `%s`.`%s` ORDER BY `name` ASC ", $db, Table::get_mysql_table());
$z = mysql_query($sql);
while ($r = mysql_fetch_array($z)) {
    $t = Table::from_mysql_result($r);
    ?>
                                <option value="<?php 
    echo $t->name;
    ?>
" <?php 
    echo $t->name == $table_name ? "selected" : "";
    ?>
><?php 
    echo $t->id . ". " . $t->name;
    ?>
</option>
                                <?php 
Example #2
0
 public function mysql_delete()
 {
     $this->clear_object_links(UserType::get_mysql_table(), "Owner_id");
     $this->clear_object_links(UserGroup::get_mysql_table(), "Owner_id");
     $this->clear_object_links(Template::get_mysql_table(), "Owner_id");
     $this->clear_object_links(Table::get_mysql_table(), "Owner_id");
     $this->clear_object_links(Test::get_mysql_table(), "Owner_id");
     $this->clear_object_links(CustomSection::get_mysql_table(), "Owner_id");
     $this->mysql_delete_object();
 }