<?php
include("../../class/connect.php");
include("../../class/class.php");
include("../../class/config.php");
include("../../class/functions.php");
$classid=$_GET['classid'];
$r['classid']=$classid;
$url=sys_ReturnBqClassname($r,9);
//风格
$loginadminstyleid=(int)getcvar('loginadminstyleid');
?>
<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">&nbsp;</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="<?=$public_r[newsurl]?><?=$class_r[$classid][classpath]?>/js/newnews.js" size="35"></td>
    <td height="25"> <div align="center"><a href="js.php?classid=<?=$classid?>&js=<? echo urlencode($public_r[newsurl].$class_r[$classid][classpath]."/js/newnews.js");?>" target="_blank">预览</a></div></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td height="25">热门信息JS:</td>
    <td height="25"> <input name="textfield3" type="text" value="<?=$public_r[newsurl]?><?=$class_r[$classid][classpath]?>/js/hotnews.js" size="35"></td>
    <td height="25"> <div align="center"><a href="js.php?classid=<?=$classid?>&js=<? echo urlencode($public_r[newsurl].$class_r[$classid][classpath]."/js/hotnews.js");?>" target="_blank">预览</a></div></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td height="25">推荐信息JS:</td>
    <td height="25"> <input name="textfield4" type="text" value="<?=$public_r[newsurl]?><?=$class_r[$classid][classpath]?>/js/goodnews.js" size="35"></td>
    <td height="25"> <div align="center"><a href="js.php?classid=<?=$classid?>&js=<? echo urlencode($public_r[newsurl].$class_r[$classid][classpath]."/js/goodnews.js");?>" target="_blank">预览</a></div></td>
  </tr>

  <tr bgcolor="#FFFFFF"> 
    <td height="25">热点评论信息JS:</td>
    <td height="25"> <input name="textfield4" type="text" value="<?=$public_r[newsurl]?><?=$class_r[$classid][classpath]?>/js/hotplnews.js" size="35"></td>
    <td height="25"> <div align="center"><a href="js.php?classid=<?=$classid?>&js=<? echo urlencode($public_r[newsurl].$class_r[$classid][classpath]."/js/hotplnews.js");?>" target="_blank">预览</a></div></td>
  </tr>
</table>
