📄 admin_table.php
字号:
<!--
#############################################################################
# This file is part of Shiftlog. #
# #
# Shiftlog is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 3 of the License, or #
# (at your option) any later version. #
# #
# Shiftlog is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#############################################################################
-->
<form name="admin_form" method="post" action="<?php echo $HTTP_SERVER_VARS['PHP_SELF']; ?>">
<table align="left" width="19%" border="0">
<tr>
<td width="20%"><h2 align="center"><strong>Category Options</strong></h2></td>
</tr>
<tr>
<td><div align="left">
<input name="n_cat" type="submit" class="button1" value="New Category" />
</div></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="m_cat" class="button1" value="Modify Category" />
</div></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="o_cat" class="button1" value="Order Category" />
</div></td>
</tr>
<tr>
<td>
<div align="left">
<input type="submit" name="d_cat" class="button2" value="Remove Category" />
</div>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><h2 align="center"><strong>Subcategory Options</strong></h2></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="n_sub" class="button1" value="New Subcategory" />
</div></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="m_sub" class="button1" value="Modify Subcategory" />
</div></td>
</tr>
<tr>
<td><div align="left"><font size="-1" color="#FF0000">
<input type="submit" name="d_sub" class="button2" value="Remove Subcategory" />
</font></div></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><h2 align="center"><strong>User Account Options</strong></h2></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="pass_res" class="button1" value="Password Reset" />
</div></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="g_ass" class="button1" value="Group Assignment" />
</div></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="d_user" class="button2" value="Remove User" />
</div></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><h2 align="center"><strong>Side Nav Menu</strong></h2></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="add_menu" class="button1" value="Add Link" />
</div></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="mod_menu" class="button1" value="Modify Link" />
</div></td>
</tr>
<tr>
<td><div align="left">
<input type="submit" name="del_menu" class="button2" value="Remove Link" />
</div></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><h2 align="center"><strong>Board Settings</strong></h2></td>
</tr>
<tr align="left">
<td align="left"><div align="left"></div>
<?PHP
if($log_status == 1)
{
echo "<input type=\"submit\" name=\"dis_log\" class=\"button3\" value=\"Disable Shift Log\" /></div>";
}
else
{
echo "<input type=\"submit\" name=\"en_log\" class=\"button2\" value=\"Enable Shift Log\" /></div>";
}
?>
</td>
</tr>
<tr align="left">
<td align="left">
<?PHP
if($reg_status == 1)
{
echo "<input type=\"submit\" name=\"dis_reg\" class=\"button3\" value=\"Disable Registration\" /></div>";
}
else
{
echo "<input type=\"submit\" name=\"en_reg\" class=\"button2\" value=\"Enable Registration\" /></div>";
}
?>
</td>
</tr>
<tr>
<td align="left">
</td>
</tr>
</table>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -