top.php
上传用户:m68239277
上传日期:2014-10-12
资源大小:824k
文件大小:3k
- <?php
- session_start();
- include("checks.php");
- $user=$_SESSION["user_agent"];
- include("../inc/conn.php");
- include("../inc/base_status.inc.php");
- if(isset($_SESSION["son"]))
- {
- $son=$_SESSION["son"];
- if($son==2)
- {
- $son=1;
- }else $son=0;
- }else $son=0;
- $sqlps=mysql_query("select * from online where user_account='$user' and vmsg='1'",$conn);
- if(mysql_num_rows($sqlps)<>0)
- {
- mysql_query("update online set vmsg='0' where user_account='$user'",$conn);
- echo "<script language='javascript'>alert('".mysql_result($sqlps,0,"content")."')</script>";
- }
- ?>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link href="../css/css.CSS" rel="stylesheet" type="text/css">
- <title><?=$titles?></title>
- <style type="text/css">
- <!--
- .fwhit9pt {
- font-family: "宋体";
- font-size: 9pt;
- font-style: normal;
- line-height: normal;
- font-weight: bold;
- color: #FFFFFF;
- }
- .STYLE1 {color: #FFFFFF}
- -->
- </style>
- </head>
- <body oncontextmenu="return false" onselectstart="return false"
- onkeydown="return (event.ctrlKey && event.keyCode == 78) ? false : true"
- ondragstart="return false" onmouseover="window.status=''; return true">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="69" valign="bottom" background="../img2/htskin1_01.png"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="51%"> <?php include_once("report.inc.php");?></td>
- <td width="48%" align="right"><a href="now_bill_a.php?become=part" target="mainFrame" class="aw"><strong>即时注单</strong></a> <?php if($son==0) {?><a href="agent.php" target="mainFrame" class="aw"><strong>代理商</strong></a> <a href="menber_manage.php" target="mainFrame" class="aw"><strong>会员</strong></a> <a href="son_account.php" target="mainFrame" class="aw"><strong>子账号</strong></a> <? }?><a href="table.php" target="mainFrame" class="aw"><strong>报表</strong></a> <a href="result.php" target="mainFrame" class="aw"><strong>结果</strong></a><?php if($son==0) {?> <a href="creditdata.php" target="mainFrame" class="aw" style="font-weight: bold">信用资料</a> <? }?> <?php if($son==1) echo " <a href='son_account_modify.php' target='mainFrame' class='aw'><strong>修改密码</strong></a> <img src='../images/t.gif' width=1 height=18 align=absmiddle>";?> <a href="exit.php?act=exit" target="mainFrame" class="aw"><strong>登出</strong></a></td>
- <td width="1%" align="right"> </td>
- </tr>
- <tr>
- <td></td>
- <td height="5"></td>
- <td></td>
- </tr>
- </table></td>
- </tr>
- </table>
- <iframe name=yyes id="yyes" src="" frameborder="0" width="0" scrolling="no" height="0" ></iframe>
- </body>