1716-272-9825

全国24Hours技术服务电话

[友价通用补丁] 友价仿照互站 首页图片后台上传处理方法

0
回复
1073
查看
[复制链接]

200

主题

205

帖子

5144

积分

管理员

Rank: 22Rank: 22Rank: 22Rank: 22Rank: 22Rank: 22

UID
1
积分
5144
猪币
6450
金钱
1069
贡献
1499
阅读权限
200
买家信用
卖家信用
威望
1153
联系QQ
QQ
注册时间
2016-3-1
发表于 2019-8-17 23:50:10 | 显示全部楼层 |阅读模式
235231fz78itkkottt1lyo.jpg
第一步:目录:\tem\moban\xin\yjadmin  文件:adtype.php

找到替换代码如下:

  1. <?
  2. $adbh=array("ADDL","ADLP","ADI00","ADI02","aiyou_qh","ADI13","ADI14","ADTOP","aiyou_01","aiyou_02","aiyou_03","aiyou_04","aiyou_05","aiyou_06","ADKF","aiyou_07","aiyou_08","aiyou_09","aiyou_10");
  3. $adtit=array("对联广告","首页拉屏广告","首页顶部广告","导航菜单","首页切换图片","首页底部合作伙伴","首页底部友情链接","全站顶部广告","切换大图下方横幅","快捷菜单左侧小图标","首页商品列表小图标","底部宣传语1","底部宣传语2","首页统计右侧广告","右侧自定义客服","热门小标","限时优惠上方横幅","热门商品上方横幅","搜索右侧广告");
  4. $adsize=array("100*?","1150*?","1150*?","","1920*400","150*52","","1150*?","1150*?","18*17","26*22","","","550*50","","","1150*?","1150*?","236*62","");
  5. $admust=array("pic","pic","pic","font","pic","pic","font","","","pic","pic","font","font","pic","code","font","pic","pic","pic");
  6. for($i=0;$i<count($adbh);$i++){
  7. $adurl="adlist.php?bh=".$adbh[$i]."&sm=".urlencode($adtit[$i]."-".$adsize[$i])."&must=".$admust[$i];
  8. ?>
复制代码


替换下面的代码:

  1. <?
  2. $adbh=array("ADDL","aiyou_qh","ADLP","ADI00","ADI02","ADI13","ADI14","ADTOP","aiyou_01","aiyou_02","aiyou_03","aiyou_04","aiyou_05","aiyou_06","ADKF","aiyou_07","aiyou_08","aiyou_09","aiyou_10");
  3. $adtit=array("对联广告","首页轮播滚动第一个图","首页轮播滚动第二个图","首页顶部广告","导航菜单","首页底部合作伙伴","首页底部友情链接","全站顶部广告","切换大图下方横幅","快捷菜单左侧小图标","首页商品列表小图标","底部宣传语1","底部宣传语2","首页统计右侧广告","右侧自定义客服","热门小标","限时优惠上方横幅","热门商品上方横幅","搜索右侧广告");
  4. $adsize=array("100*?","1920*550","1920*550","","1920*400","150*52","","1150*?","1150*?","18*17","26*22","","","550*50","","","1150*?","1150*?","236*62","");
  5. $admust=array("pic","pic","pic","font","pic","pic","font","","","pic","pic","font","font","pic","code","font","pic","pic","pic");
  6. for($i=0;$i<count($adbh);$i++){
  7. $adurl="adlist.php?bh=".$adbh[$i]."&sm=".urlencode($adtit[$i]."-".$adsize[$i])."&must=".$admust[$i];
  8. ?>
复制代码


第二步:目录\tem\moban\xin 文件:indextemplate.php

找到替换下面代码:

找到代码:

  1.   <ul class="index-lubo-box">
  2.                         <li style="opacity:1;filter:alpha(opacity='100');z-index:1">
  3. <a href="/protection/" style="background:#47a0e6 url(/images/s_1_2.jpg) center top no-repeat"></a></li>
  4.                         <li><a href="/" style="background:#093374 url(/images/s_6.png) center top no-repeat"></a></li>
  5.                         <li><a href="/" style="background:#faeacf url(/images/s_2.png) center top no-repeat"></a></li>
  6.                         <li><a href="/" style="background:#efaa5c url(/images/s_3.png) center top no-repeat"></a></li>
  7.                 </ul>
复制代码

替换下面代码

  1.   <ul class="index-lubo-box">
  2.         <li style="opacity:1;filter:alpha(opacity='100');z-index:1">
  3.                     <? adread("aiyou_qh",235,60)?></li>
  4.                
  5.                         <li>   <? adread("ADLP",235,60)?></li>

  6.                 </ul>
复制代码



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系我们
1716-272-9825

客服QQ:120036745

服务时间:72小时在线 !

关注我们

QQ|百度统计Archiver手机版小黑屋一品猪网 ( 京ICP备14050275号-1 )

一品猪网! epzhu   © 2016-2019 一品猪网、我们的宗旨:先学会做人、在去做事!