📄 index.php
字号:
<?php
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );
session_start();
?>
<?php
//check if logged in
if (!isset($_SESSION['LoggedIn'])){
//not logged in
$strHTML="<p><center><Form action=login.php method=post>";
$strHTML=$strHTML."<br><B>User ID:</b> <input type=text name=uname>";
$strHTML=$strHTML."<br><B>Password:</b> <input type=password name=pass>";
$strHTML=$strHTML."<br><input type=Submit name=submit></form></center>";
}
else{
//display control panel
header("Location: controlpanel.php");
}
?>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="author" content="Sudershan Thaiba, sudershanthaiba@gmail.com">
<title>Alumni Administration</title>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="706" height="388">
<tr>
<td width="701" height="70" align="center">
<blockquote>
<blockquote>
<p align="center"><img border="0" src="../banner.jpg" width="464" height="86">
</blockquote>
</blockquote>
</td>
</tr>
<tr>
<td width="702" height="258" align="center" valign="top">
<div style="position: absolute; top: 229; left: 104; width: 547; height: 19">
<p align="center"><?php echo $strHTML;?>
</div>
</center>
</td>
</tr>
<tr>
<td width="701" height="60" align="center">
<blockquote>
<blockquote>
<p align="center"><font color="#666699">Copyright
2006, Bluegene Consulting Services<br></font>
<a href="mailto:sudershanthaiba@gmail.com"><font color="#888577">Contact
Webmaster</font></a>
</blockquote>
</blockquote>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -