TtUrl.php
3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
define('EmpireCMSAdmin','1');
require("../../class/connect.php");
require("../../class/db_sql.php");
require("../../class/functions.php");
require("../../data/dbcache/class.php");
$link=db_connect();
$empire=new mysqlquery();
$editor=1;
//驗證用戶
$lur=is_login();
$logininid=$lur['userid'];
$loginin=$lur['username'];
$loginrnd=$lur['rnd'];
$loginlevel=$lur['groupid'];
$loginadminstyleid=$lur['adminstyleid'];
//ehash
$ecms_hashur=hReturnEcmsHashStrAll();
$ttid=(int)$_GET['ttid'];
$url=$public_r['newsurl'].$class_tr[$ttid][tpath]."/";
$jspath=$public_r['newsurl'].'d/js/class/tt'.$ttid.'_';
?>
<link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
<title>調用地址</title><table width="100%" border="0" cellpadding="3" cellspacing="1" class="tableborder">
<tr class=header>
<td height="25"> </td>
<td height="25">調用地址</td>
<td height="25"> <div align="center">預覽</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="22%" height="25">標題分類地址:</td>
<td width="71%" height="25"> <input name="textfield" type="text" value="<?=$url?>" size="35"></td>
<td width="7%" height="25"> <div align="center"><a href="<?=$url?>" target="_blank">預覽</a></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">最新信息JS:</td>
<td height="25"> <input name="textfield2" type="text" value="<?=$jspath?>newnews.js" size="35"></td>
<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>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">熱門信息JS:</td>
<td height="25"> <input name="textfield3" type="text" value="<?=$jspath?>hotnews.js" size="35"></td>
<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>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">推薦信息JS:</td>
<td height="25"> <input name="textfield4" type="text" value="<?=$jspath?>goodnews.js" size="35"></td>
<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>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">熱點評論信息JS:</td>
<td height="25"> <input name="textfield4" type="text" value="<?=$jspath?>hotplnews.js" size="35"></td>
<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>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">頭條信息JS:</td>
<td height="25"> <input name="textfield4" type="text" value="<?=$jspath?>firstnews.js" size="35"></td>
<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>
</tr>
</table>