⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 search.php

📁 alumini based system
💻 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();
?>

<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="703" height="387">
  <tr>
    <td width="701" height="86" colspan="2" align="center">
      <blockquote>
        <blockquote>
      <p align="center"><img border="0" src="../banner.jpg" width="464" height="86">
        </blockquote>
      </blockquote>
    </td>
  </tr>
  <tr>
    <td width="152" height="33" align="center" valign="middle">
      <h1 align="center"><b><font color="#006600" face="Haettenschweiler" size="6">Control
      Panel</font></b></h1>
    </td>
    <td width="547" height="241" align="center" rowspan="2">
      <div style="position: absolute; top: 229; left: 167; width: 547; height: 19">
        <?php 
		$strHTML="";
		if (!isset($_SESSION['LoggedIn'])){
         //not logged in
         $strHTML="<p><center><Form action=login.php method=post>";
         $strHTML=$strHTML."<br><B>User ID:</b>&nbsp;&nbsp;&nbsp;&nbsp;<input type=text name=uname>"; 
         $strHTML=$strHTML."<br><B>Password:</b>&nbsp;<input type=password name=pass>";
         $strHTML=$strHTML."<br><input type=Submit name=submit></form></center>";
		 echo $strHTML;
        }
		else{
        ?>
        <form method="get" action="results.php" target="_blank">
        <div align="center">
        <table border="0" cellpadding="0" cellspacing="0">
        <tr>
        <td bordercolor="#000000">
        <p align="center">
        <select name="metode" size="1">
        <option value="name">Name</option>
        <option value="year">Year</option>
        <option value="department">Department</option>
        </select> <input type="text" name="search" size="25"> &nbsp;<br>
        Search database: <input type="submit" value="Go!!" name="Go"></p>
        </td>
        </tr>
        </table>
        </div>
        </form>
        <?
		}
		?>
      </div>
    </td>
  </tr>
  <tr>
    <td width="152" height="208" align="left" valign="top">
      <menu>
        <li><a href="controlpanel.php?action=logout"><b><font color="#000080">Log out</font></b></a></li>
        <li><b><a href=addnew.php><font color="#000080">Add New
          Alumni</font></a></b></li>
      </menu>
    </td>
  </tr>
  <tr>
    <td width="701" height="60" colspan="2" 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 + -