<code><?php<br />//这个页面首先判断用户是否正确登录,如未登录,就转到登录页面。<br />session_start();<br />if((!$user_id)or(!$user_array[ticket_day])or(!$user_array[ticket_num])){<br /> Header("Location: login.php3");<br />}<br />?><br /><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><br /><html><br /><head><br /> <title>欢迎使用南京站订票系统</title><br /><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><br /><link rel="stylesheet" type="text/css" href="../include/njz_common.css"><br /></head><br /><body><br /><p> </p><br /><table width="500" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#CCCCCC"><br /> <tr><br /> <td><br /> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><br /> <tr bgcolor="#999999"><br /> <td><br /> <div align="center"><font size="4" color="#FFFFFF">欢迎您 <?php echo $user_name; ?></font></div><br /> </td><br /> </tr><br /> </table><br /> <br><br /> <table width="400" border="0" cellspacing="0" cellpadding="0" align="center"><br /> <tr><br /> <td><font color="#3333CC">公告栏:</font></td><br /> </tr><br /> <tr><br /> <td> 今日无公告</td><br /> </tr><br /> </table><br /> <br><br /> <br><br /> <table width="400" border="0" cellspacing="0" cellpadding="0" align="center"><br /> <tr><br /> <td><br /> <div align="center"><a href="reserve_ticket.php3">网上订票</a> <a href="test1.php3">订单查询</a> <a href="test2.php3">口令修改</a> 订票帮助 <a href="login.php3?logout=1">退出登录</a> </div><br /> </td><br /> </tr><br /> </table><br /> <br><br /> </td><br /> </tr><br /></table><br /><p> </p><br /><?php<br />include("../footer.php");<br />?><br /></body><br /></html></code>