引用:
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>[!--title--]</title> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> </head> <frameset rows="*,80" name="forum" id="forum" frameSpacing="0" frameBorder="no" border="0" cols="*" scrolling="no" noresize> <frame name="mainFrame" src="[!--titlepic--]"> <frame name="bottomFrame" topmargin="0" leftmargin="0" marginheight="0" noresize marginwidth="0" frameborder="0" border="0" scrolling="no" src="show.html"> </frameset> </body> </html> |
show.html改为 /e/wangzhai/show.php?id=[!--id--]&classid=[!--classid--]
在目录e
下建立一个wangzhai的目录
将show.php的文件放里面
show.php的内容如下:
PHP 代码:
<?
require("../class/connect.php");
include("../class/db_sql.php");
include("../class/q_functions.php");
include("../class/class.php");
include("../class/config.php");
$link=db_connect();
$empire=new mysqlquery();
//获取参数
$id=(int)$_GET['id'];
$classid=(int)$_GET['classid'];
//错误检测
if(!$id||!$classid||!$class_r[$classid][tbname])
{
printerror("ErrorUrl","history.go(-1)");
}
$r=$empire->fetch1("select * from phome_ecms_".$class_r[$classid][tbname]." where id='$id' limit 1");
if(empty($r[id]))
{
printerror("ErrorUrl","history.go(-1)");
}
$titleurl=sys_ReturnBqTitleLink($r);
db_close();
$empire=null;
?>
<br />
<div align="center">信息标题:
<a href='<?=$titleurl?>' target=_blank><?=$r[title]?></a><br />
收录人:<?=$r[username]?>
收藏我们的网站:<a href="http://<?=$public_r[marktext]?>"><?=$public_r[marktext]?></a>
</div>
WC的程序结构太乱了,而且加密了核心,不然我可以整理的好点:p








关于网摘模块的补充









平板模式