TtUrl.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. $ttid=(int)$_GET['ttid'];
  20. $url=$public_r['newsurl'].$class_tr[$ttid][tpath]."/";
  21. $jspath=$public_r['newsurl'].'d/js/class/tt'.$ttid.'_';
  22. ?>
  23. <link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
  24. <title>调用地址</title><table width="100%" border="0" cellpadding="3" cellspacing="1" class="tableborder">
  25. <tr class=header>
  26. <td height="25">&nbsp;</td>
  27. <td height="25">调用地址</td>
  28. <td height="25"> <div align="center">预览</div></td>
  29. </tr>
  30. <tr bgcolor="#FFFFFF">
  31. <td width="22%" height="25">标题分类地址:</td>
  32. <td width="71%" height="25"> <input name="textfield" type="text" value="<?=$url?>" size="35"></td>
  33. <td width="7%" height="25"> <div align="center"><a href="<?=$url?>" target="_blank">预览</a></div></td>
  34. </tr>
  35. <tr bgcolor="#FFFFFF">
  36. <td height="25">最新信息JS:</td>
  37. <td height="25"> <input name="textfield2" type="text" value="<?=$jspath?>newnews.js" size="35"></td>
  38. <td height="25"> <div align="center"><a href="js.php?classid=<?=$ttid?>&js=<? echo urlencode($jspath."newnews.js");?><?=$ecms_hashur['ehref']?>" target="_blank">预览</a></div></td>
  39. </tr>
  40. <tr bgcolor="#FFFFFF">
  41. <td height="25">热门信息JS:</td>
  42. <td height="25"> <input name="textfield3" type="text" value="<?=$jspath?>hotnews.js" size="35"></td>
  43. <td height="25"> <div align="center"><a href="js.php?classid=<?=$ttid?>&js=<? echo urlencode($jspath."hotnews.js");?><?=$ecms_hashur['ehref']?>" target="_blank">预览</a></div></td>
  44. </tr>
  45. <tr bgcolor="#FFFFFF">
  46. <td height="25">推荐信息JS:</td>
  47. <td height="25"> <input name="textfield4" type="text" value="<?=$jspath?>goodnews.js" size="35"></td>
  48. <td height="25"> <div align="center"><a href="js.php?classid=<?=$ttid?>&js=<? echo urlencode($jspath."goodnews.js");?><?=$ecms_hashur['ehref']?>" target="_blank">预览</a></div></td>
  49. </tr>
  50. <tr bgcolor="#FFFFFF">
  51. <td height="25">热点评论信息JS:</td>
  52. <td height="25"> <input name="textfield4" type="text" value="<?=$jspath?>hotplnews.js" size="35"></td>
  53. <td height="25"> <div align="center"><a href="js.php?classid=<?=$ttid?>&js=<? echo urlencode($jspath."hotplnews.js");?><?=$ecms_hashur['ehref']?>" target="_blank">预览</a></div></td>
  54. </tr>
  55. <tr bgcolor="#FFFFFF">
  56. <td height="25">头条信息JS:</td>
  57. <td height="25"> <input name="textfield4" type="text" value="<?=$jspath?>firstnews.js" size="35"></td>
  58. <td height="25"> <div align="center"><a href="js.php?classid=<?=$ttid?>&js=<? echo urlencode($jspath."firstnews.js");?><?=$ecms_hashur['ehref']?>" target="_blank">预览</a></div></td>
  59. </tr>
  60. </table>