ginfo.php 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. define('EmpireCMSAdmin','1');
  3. require("../class/connect.php");
  4. require("../class/db_sql.php");
  5. require("../class/functions.php");
  6. $link=db_connect();
  7. $empire=new mysqlquery();
  8. //验证用户
  9. $lur=is_login();
  10. $logininid=$lur['userid'];
  11. $loginin=$lur['username'];
  12. $loginrnd=$lur['rnd'];
  13. $loginlevel=$lur['groupid'];
  14. $loginadminstyleid=$lur['adminstyleid'];
  15. db_close();
  16. $empire=null;
  17. @header('Content-Type: text/html; charset=gb2312');
  18. @include('../class/EmpireCMS_version.php');
  19. $pd="?product=empirecms&usechar=".$ecms_config['sets']['pagechar']."&doupdate=".EmpireCMS_UPDATE."&ver=".EmpireCMS_VERSION."&lasttime=".EmpireCMS_LASTTIME."&domain=".$_SERVER['HTTP_HOST']."&ip=".$_SERVER['REMOTE_ADDR'];
  20. ?>
  21. <link rel="stylesheet" href="../data/images/css.css" type="text/css">
  22. <body leftmargin="0" topmargin="0">
  23. <script>
  24. function EchoUpdateInfo(showdiv,messagereturn){
  25. document.getElementById(showdiv).innerHTML=messagereturn;
  26. }
  27. </script>
  28. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  29. <tr>
  30. <td><div id="empirecmsdt"></div></td>
  31. </tr>
  32. </table>
  33. <script type="text/javascript" src="http://www.phome.net/empireupdate/<?php echo $pd;?>"></script>