top.php
上传用户:m68239277
上传日期:2014-10-12
资源大小:824k
文件大小:3k
源码类别:

Web服务器

开发平台:

PHP

  1. <?php
  2. session_start();
  3. include("checks.php");
  4. $user=$_SESSION["user_agent"];
  5. include("../inc/conn.php");
  6. include("../inc/base_status.inc.php");
  7. if(isset($_SESSION["son"]))
  8.  $son=$_SESSION["son"];
  9.  if($son==2)
  10.  {
  11.   $son=1;
  12.  }else $son=0;
  13. }else $son=0;
  14. $sqlps=mysql_query("select * from online where user_account='$user' and vmsg='1'",$conn);
  15. if(mysql_num_rows($sqlps)<>0)
  16. {
  17.   mysql_query("update online set vmsg='0' where user_account='$user'",$conn);
  18.   echo "<script language='javascript'>alert('".mysql_result($sqlps,0,"content")."')</script>";
  19.  }
  20. ?>
  21. <head>
  22. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  23. <link href="../css/css.CSS" rel="stylesheet" type="text/css">
  24. <title><?=$titles?></title>
  25. <style type="text/css">
  26. <!--
  27. .fwhit9pt {
  28. font-family: "宋体";
  29. font-size: 9pt;
  30. font-style: normal;
  31. line-height: normal;
  32. font-weight: bold;
  33. color: #FFFFFF;
  34. }
  35. .STYLE1 {color: #FFFFFF}
  36. -->
  37. </style>
  38. </head>
  39. <body oncontextmenu="return false" onselectstart="return false" 
  40. onkeydown="return (event.ctrlKey &amp;&amp; event.keyCode == 78) ? false : true" 
  41. ondragstart="return false" onmouseover="window.status=''; return true">
  42. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  43.   <tr>
  44.     <td height="69" valign="bottom" background="../img2/htskin1_01.png"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  45.       <tr>
  46.         <td width="51%"> <?php include_once("report.inc.php");?></td>
  47.         <td width="48%" align="right"><a href="now_bill_a.php?become=part" target="mainFrame" class="aw"><strong>即时注单</strong></a>&nbsp;&nbsp;<?php if($son==0) {?><a href="agent.php" target="mainFrame" class="aw"><strong>代理商</strong></a>&nbsp;&nbsp;<a href="menber_manage.php" target="mainFrame" class="aw"><strong>会员</strong></a>&nbsp;&nbsp;<a href="son_account.php" target="mainFrame" class="aw"><strong>子账号</strong></a>&nbsp;&nbsp;<? }?><a href="table.php" target="mainFrame" class="aw"><strong>报表</strong></a>&nbsp;&nbsp;<a href="result.php" target="mainFrame" class="aw"><strong>结果</strong></a><?php if($son==0) {?>&nbsp;&nbsp;<a href="creditdata.php" target="mainFrame" class="aw" style="font-weight: bold">信用资料</a>&nbsp;<? }?> <?php if($son==1) echo "&nbsp;&nbsp;<a href='son_account_modify.php' target='mainFrame' class='aw'><strong>修改密码</strong></a>&nbsp;<img src='../images/t.gif' width=1 height=18 align=absmiddle>";?> &nbsp;<a href="exit.php?act=exit" target="mainFrame" class="aw"><strong>登出</strong></a></td>
  48.         <td width="1%" align="right">&nbsp;</td>
  49.       </tr>
  50.       <tr>
  51.         <td></td>
  52.         <td height="5"></td>
  53.         <td></td>
  54.       </tr>
  55.     </table></td>
  56.   </tr>
  57. </table>
  58. <iframe name=yyes id="yyes" src="" frameborder="0" width="0" scrolling="no" height="0"  ></iframe>
  59. </body>