?? welcome.php
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>welcome</title>
<style type="text/css">
<!--
.STYLE3 {
font-size: 12px;
}
.STYLE4 {font-size: 16px; }
body {
background-image: url(image/200512319114114285.jpg);
repeat-x ;
font-style: normal;
color: #FFFFFF;
}
.STYLE5 {color: #FFFFFF}
-->
</style>
<?php
include("head.php");
?>
</head>
<body>
<table width="338" height="226" border="0.1" align="center" bordercolor="#330066" bgcolor="#000000">
<tr>
<td></td>
</tr>
<?php
$connect=mysql_connect("localhost","root","vertrigo");
mysql_query("set names'gb2312'");
$id =$_GET["id"];
$sqlStr="select * from user_info where id = '$id'";
$result=mysql_db_query("score_manager",$sqlStr);
$ar=mysql_fetch_array($result);
$m_id=$ar["id"];
if($m_id!="0")
{
$m_username=$ar["username"];
$m_sex=$ar["sex"];
$m_age=$ar["age"];
$m_class=$ar["class"];
$m_academic=$ar["academic"];
$m_tel=$ar["tel"];
$m_email=$ar["email"];
$time = date("Y-m-d H:i:s");
echo "<tr> <td>ID:$m_id <br/>姓名:$m_username<br/>性別:$m_sex<br/> 年齡:$m_age<br/>班級:$m_class<br/>學院:$m_academic<br/>聯系方式:$m_tel<br/>Email:$m_email<br/>當前時間:$time</td> </tr>";
}
?>
</table>
<div align="center" class="smalltxt">
<?php
echo "<a href = \"check.php?id=$id_cookie\"> 查詢成績</a> ";
echo "<a href = \"chmod_Sinfo.php?id=$id_cookie\"> 學生信息輸入</a> ";
echo "<a href = \"chmod_Cinfo.php?id=$id_cookie\"> 課程信息輸入</a> ";
echo "<a href = \"chmod_Minfo.php?id=$id_cookie\"> 學生成績輸入</a> ";
?>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -