status_display.php
来自「The Shift Log is a database entry and di」· PHP 代码 · 共 37 行
PHP
37 行
<!-- This displays the status of the log and registration in the admin area of the log -->
<table width="100%" bgcolor="#FFFFCC" align="center">
<tr>
<td width="225">
<div id="status">
<?PHP
echo "</td><td width=\"225\" align=\"center\">";
//Display log status
echo "<strong>Log Status:</strong>";
if($log_status == 1)
{
echo "<font color=\"green\"> Online</font>";
}
else
{
echo "<font color=\"red\"> Offline</font>";
}
echo "</td><td width=\"225\" align=\"center\">";
//Display Registration status
echo "<div id=\"logstaus\" align=\"center\"><strong>Registration Status:</strong>";
if($reg_status == 1)
{
echo "<font color=\"red\"> Enabled</font>";
}
else
{
echo "<font color=\"green\"> Disabled</font></div>";
}
echo "</td>";
?>
</div>
<td width="225">
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?