有没有会php的?
帮忙看看页脚广告咋改一下,去掉广告http://nuetmjj.perl.sh/tbun.php?Tbun=huo-ying-ren-zhe/447/1/ <?php
include_once('config.php');
$id=$_GET["Tbun"];
$url='http://www.tbun.org/mh2/tbun.asp?Tbun='.${id}.'';
$start='<!--本程序由淘宝联盟提供开始-->';
$end='<!--本程序由淘宝联盟提供结束-->';
$start1='<title>';
$end1='</title>';
$temp=file_get_contents($url);
$content= intercept_str($temp,$start,$end,2);
$content1= intercept_str($temp,$start1,$end1,2);
$content=str_replace('.asp','.php',$content);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML lang=zh-cn xml:lang="zh-cn"
xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="gb2312" />
<meta content="all" name="robots" /><?=$content1?></title>
<meta content="<?=$keywords?>" name="keywords">
<meta content="<?=$description?>" name="description">
</head>
<style type="text/css">
html,body {
margin:0px;
padding:0px;
font-size:12px;
}
td {
text-align:center;
font-size:12px;
}
.navs {
padding:20px 0px 20px 0px;
}
.nav {
background-color:#EFF7FF;
border-top:1px solid #94C3F7;
border-bottom:1px solid #94C3F7;
padding:6px 0px 6px 0px;
text-indent:10px;
text-align:left;
}
.nav a{
text-decoration:none;
color:#07519a;
}
.nav a:hover {
color:red;
}
.image {
/* border-bottom:1px solid #94c3f7;
border-top:1px solid #94c3f7; */
background-color:#FFFFFF;
padding:3px 0px 3px 0px;
}
.image a, .image a:hover {
cursor:default;
}
.image img {
border:1px solid #000000;
}
.pagev {
padding:3px 0px 3px 0px;
}
.page {
background-color:#FFFFFF;
border-top:1px solid #FFFFFF;
border-bottom:1px solid #94C3F7;
padding:1px 0px 1px 0px;
}
.page a{
border:1px solid #94c3f7;
padding:2px 10px 0px 10px;
margin:0px 5px 0px 5px;
text-decoration:none;
background-color:#FFFFFF;
color:#07519a;
}
.page a:hover {
color:red;
}
.page select {
font-size:13px;
margin:0px;
padding:0px;
width:80px;
}
.adbg {
}
.wenti {
padding:25px 0px 20px 0px;
}
.wenti hr {
border-top:1px solid #94C3F7;
border-bottom:1px solid #FFFFFF;
}
</style>
<body>
<?php
echo $content;
include_once('foot.php');
?> GG广告吗? 是啊,其它都自己控制
这个是
小偷偷上偷 不会 不会 本帖最后由 cpcn 于 2009-5-16 14:28 编辑
是不是在foot.php里啊? 是不是在foot.php里啊?
cpcn 发表于 2009-5-16 14:25 http://jgwy.net/images/common/back.gif
不是footer
它应是偷别人的,加了个GG在页脚,然后再做个小偷,
再连GG内容一起偷.
$content,应要再加几句把
<tr>
<td class="adbg"><script src="http://www.tbun.org/mh2/js/t960.js" type="text/javascript"></script></td>
</tr>
去掉
footer就简单啦 派对绦 $content=str_replace('.asp','.php',$content);
下面添加个
$content=str_replace('广告','要替换的',$content);
差不多就这样
页:
[1]
2