📄 adminpanel.php
字号:
<?
include("../sources/session.php");
?>
<html>
<title>Administrator Access >> </title>
<body>
<table width="100%" align="center" border=0 class='tdrow2'>
<tr><td align="center">
<?
/**
* User has already logged in, so display relavent links, including
* a link to the admin center if the user is an administrator.
*/
if($session->isAdmin()){
echo " <table align=\"center\" width=\"80%\" border=0>";
echo "<tr>";
echo " <td align=\"center\">";
echo " <br>";
include "audioadmin.php";
echo " <br>";
echo " </td>";
echo "</tr>";
echo " </table>";
}
else{
?>
<h1>Admin Access</h1>
<?
/**
* User not logged in, display the login form.
* If user has already tried to login, but errors were
* found, display the total number of errors.
* If errors occurred, they will be displayed.
*/
if($form->num_errors > 0){
echo "<font size=\"2\" color=\"#ff0000\">".$form->num_errors." error(s) found</font>";
}
?>
<table align="center" border="0" cellspacing="0" cellpadding="3">
<tr><td><b>Access Denied</b></td></tr>
</table>
</form>
<?
}
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -