示例#1
0
function drawDeleteCancel($drawTableTags = FALSE, $colspan = "2", $submitName = "btnSubmit", $submitLabel = "DELETE", $submitClass = "submit", $cancelName = "btnCancel", $cancelLabel = "CANCEL", $cancelClass = "cancel")
{
    drawSubmitCancel($drawTableTags, $colspan, $submitName, $submitLabel, $submitClass, $cancelName, $cancelLabel, $cancelClass);
}
示例#2
0
drawTextField('Table Name', 'Table_Name');
drawTextField('Folder / Subdirectory', 'Folder');
drawTextField('Remarks', '', '', 'Textarea');
drawMultiFieldStart('Table Pages');
if ($numParticulars < 1) {
    $numParticulars = 1;
}
echo "<table>\n      <tr>\n          <td>&nbsp;</td>\n          <td>Page</td>\n          <td>Filename</td>\n      </tr>";
for ($a = 0; $a < $numParticulars; $a++) {
    echo "<tr><td>" . ($a + 1) . "</td><td>";
    init_var($Page_ID[$a]);
    drawTablePage($Page_ID[$a], TRUE);
    echo "&nbsp;&nbsp;";
    echo "</td><td>";
    drawTextField('', 'Filename', FALSE, '', FALSE, TRUE, $a);
    echo "&nbsp;&nbsp;";
    echo "</td></tr>";
}
echo "</table>";
drawMultiFieldEnd();
?>
</table>
</fieldset>
<fieldset class="bottom">
<?php 
drawSubmitCancel();
?>
</fieldset>
</div>
<?php 
drawFooter();
示例#3
0
    while ($data = $result->fetch_array()) {
        extract($data);
        if ($a % 2 == 0) {
            $class = 'listRowEven';
        } else {
            $class = 'listRowOdd';
        }
        echo '<tr class="' . $class . '">' . '<td>' . $Table_Name . '</td>' . '<td align=center> <input type=checkbox ID=checkfield_s name=classFile[' . $a . '] value="' . $Table_ID . '" checked> </td>' . '<td align=center> <input type=checkbox ID=checkfield_m name=tableModules[' . $a . '] value="' . $Table_ID . '" checked> </td>' . '</tr>';
        ++$a;
    }
} else {
    die($mysqli->error);
}
if ($a % 2 == 0) {
    $class = 'listRowEven';
} else {
    $class = 'listRowOdd';
}
echo '<tr class="' . $class . '">' . '<td colspan=2> Generate standard application components, <br> core files, and system administration components </td>' . '<td align=center> <input type=checkbox ID=checkfield_m name=GenerateFiles value="YES PLEASE" checked>  </td>' . '</tr>';
?>
</table>
</fieldset>

<fieldset class="bottom">
<?php 
drawSubmitCancel(FALSE, 1, 'btnSubmit', 'GENERATE!');
?>
</fieldset>
</div>
<?php 
drawFooter();