index.php 608 B

123456789101112131415161718192021222324
  1. <?php
  2. require("../class/connect.php");
  3. require("../class/db_sql.php");
  4. require("../data/dbcache/class.php");
  5. $link=db_connect();
  6. $empire=new mysqlquery();
  7. define('WapPage','index');
  8. $usewapstyle='';
  9. $wapstyle=0;
  10. $pr=array();
  11. $GLOBALS['navclassid']=0;
  12. require("wapfun.php");
  13. $pagetitle=ehtmlspecialchars($public_r['sitename']);
  14. $pagekey=ehtmlspecialchars($pr['sitekey']);
  15. $pagedes=ehtmlspecialchars($pr['siteintro']);
  16. //参数
  17. $ecmsvar_mbr=array();
  18. $ecmsvar_mbr['wapstyle']=$wapstyle;
  19. $ecmsvar_mbr['urladdcs']=ewap_UrlAddCs();
  20. require('template/'.$usewapstyle.'/index.temp.php');
  21. db_close();
  22. $empire=null;
  23. ?>