ShowPic.php 765 B

12345678910111213141516171819202122232425
  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. $editor=1;
  9. //验证用户
  10. $lur=is_login();
  11. $logininid=$lur['userid'];
  12. $loginin=$lur['username'];
  13. $loginrnd=$lur['rnd'];
  14. $loginlevel=$lur['groupid'];
  15. $loginadminstyleid=$lur['adminstyleid'];
  16. //ehash
  17. $ecms_hashur=hReturnEcmsHashStrAll();
  18. $picurl=ehtmlspecialchars($_GET['picurl']);
  19. $pic_width=ehtmlspecialchars($_GET['pic_width']);
  20. $pic_height=ehtmlspecialchars($_GET['pic_height']);
  21. $url=ehtmlspecialchars($_GET['url']);
  22. ?>
  23. <title>广告预览</title>
  24. <a href="<?=$url?>" target=_blank><img src="<?=$picurl?>" border=0 width="<?=$pic_width?>" height="<?=$pic_height?>"></a>