ZtUrl.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. define('EmpireCMSAdmin','1');
  3. require("../../class/connect.php");
  4. require("../../class/db_sql.php");
  5. require("../../class/functions.php");
  6. require("../../data/dbcache/class.php");
  7. $link=db_connect();
  8. $empire=new mysqlquery();
  9. $editor=1;
  10. //验证用户
  11. $lur=is_login();
  12. $logininid=$lur['userid'];
  13. $loginin=$lur['username'];
  14. $loginrnd=$lur['rnd'];
  15. $loginlevel=$lur['groupid'];
  16. $loginadminstyleid=$lur['adminstyleid'];
  17. //ehash
  18. $ecms_hashur=hReturnEcmsHashStrAll();
  19. $ztid=(int)$_GET['ztid'];
  20. if(empty($class_zr[$ztid][zturl]))
  21. {$url=$public_r[newsurl].$class_zr[$ztid][ztpath]."/";}
  22. else
  23. {$url=$class_zr[$ztid][zturl];}
  24. $jspath=$public_r['newsurl'].'d/js/class/zt'.$ztid.'_';
  25. ?>
  26. <link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
  27. <title>调用地址</title>
  28. <table width="100%" border="0" cellpadding="3" cellspacing="1" class="tableborder">
  29. <tr class=header>
  30. <td height="25">&nbsp;</td>
  31. <td height="25">调用地址</td>
  32. <td height="25"> <div align="center">预览</div></td>
  33. </tr>
  34. <tr bgcolor="#FFFFFF">
  35. <td width="22%" height="25">专题地址:</td>
  36. <td width="71%" height="25"> <input name="textfield" type="text" value="<?=$url?>" size="35"></td>
  37. <td width="7%" height="25"> <div align="center"><a href="<?=$url?>" target="_blank">预览</a></div></td>
  38. </tr>
  39. </table>