本帖最后由 【许昌品牌空间_ 于 2012-12-27 12:09 编辑
可DIY的四格 非插件。。
会员导航
可DIY的四格 不是插件
模板(正在使用的模板)--discuz.htm
找到<!--{if empty($gid)}--><!--{ad/text/wp a_t}--><!--{/if}-->
在这句代码下加:- <!-- Start ahslu Hot -->
- <!--{if empty($gid) && $announcements}-->
- <div class="ndsns_hot">
- <div class="ndsns_hot_title">
- <h3 class="ndhot_t_left"><span>焦点图片</span></h3>
- <h3 class="ndhot_t_left2"><span><a href="/plugin.php?id=auction" style="color:#F3001D" target="_blank">金币竞拍</a></span></h3>
-
- <ul class="ndhot_t_right">
- <li><a href="/forum-55-1.html" target="_blank" id="hot4" onmouseover="showTab('hot',4,7)">新手教程</a></li>
- <li><a href="/home.php?mod=spacecp&ac=profile&op=verify&vid=6" target="_blank" id="hot4" onmouseover="showTab('hot',4,7)"><b>实名认证</b></a></li>
- <li><a href="/forum-xuchangjiaoyou-1.html" target="_blank" id="hot5" onmouseover="showTab('hot',5,7)">交友征婚</a></li>
- <li><a href="/home.php?mod=space&do=album&view=all" target="_blank" id="hot6" onmouseover="showTab('hot',6,7)">相册秀</a></li>
- <li><a href="/misc.php?mod=ranklist" target="_blank" id="hot7" onmouseover="showTab('hot',7,7)">我要上榜</a></li>
- </ul>
- </div>
- <div class="ndsns_hot_con">
- <div class="ndhot_con_left"><!--[diy=ndsns01]-->
- <div id="ndsns01" class="area"></div>
- <!--[/diy]--></div>
- <div class="ndhot_con_right1">
- <div id="con_hot_7" class="ndsns_hid">
- <div class="con_hot_spe">
- <!--[diy=ndsns08]-->
- <div id="ndsns08" class="area"></div>
- <!--[/diy]-->
- </div>
- </div></div>
-
- <div class="ndhot_con_right1">
- <div class="con_hot_spe">
- <!--[diy=ndsns09]-->
- <div id="ndsns09" class="area"></div>
- <!--[/diy]-->
- </div></div>
-
- <div class="ndhot_con_right1">
- <div class="con_hot_spe">
- <!--[diy=ndsns10]-->
- <div id="ndsns10" class="area"></div>
- <!--[/diy]-->
- </div>
- </div>
- </div>
- </div>
- <div class="wp">
- <!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->
- </div>
- <!--{/if}-->
- <!--// End ahslu Hot -->
复制代码 会员导航(不需要可直接跳过本代码)- <!--个人导航_开始-->
- <div class="breadCrumb" style="margin-bottom:5px;">
- <div class="breadCrumbbg cc">
- <ul id="pw_menuUp" class="y">
- <li class=""><a id="nav_key_up_194" href="/home.php?mod=spacecp&ac=profile&op=verify&vid=6" title="实名认证" target="_blank"><span>实名认证</span></a></li><li class=""><span class="line">|</span></li>
- <li class=""><a id="nav_key_up_196" href="/home.php?mod=space&uid=30554&do=thread&view=me" title="{lang my_posts}" target="_blank"><span><font color="#FF0000">{lang my_posts}</font></span></a></li><li class=""><span class="line">|</span></li>
- <li class=""><a id="nav_key_up_179" href="home.php?mod=space&do=blog" title="{lang blog}" target="_blank"><span>{lang blog}</span></a></li><li class=""><span class="line">|</span></li>
- <li class=""><a id="nav_key_up_179" href="home.php?mod=space&do=album" title="{lang album}" target="_blank"><span>{lang album}</span></a></li><li class=""><span class="line">|</span></li>
- <li class=""><a id="nav_key_up_206" href="home.php?mod=space&do=friend" title="{lang friends}" target="_blank" class="link_down"><span>{lang friends}</span></a>
- </li><li class=""><span class="line">|</span></li>
- <li class=""><a id="nav_key_up_206" href="home.php?mod=spacecp" title="" target="_blank" class="link_down"><span>{lang setup}</span></a>
- </li><li class=""><span class="line">|</span></li>
- <li class=""><a id="nav_key_up_193" href="/forum-55-1.html" title="{lang faq}"><span>{lang faq}</span></a></li><li class=""><span class="line">|</span></li>
- </ul>
- <div style="padding-top:2px;">$_G[setting][bbname] 引领莲城年轻文化
- <a id="widthCfg" href="http://wap.xsscc.com/" class="s2" target="_blank">[手机版]</a>
- </div>
- </div>
- </div>
- <!--个人导航结束-->
复制代码
模板(正在使用的模板)中-- 增加css- /*论坛新帖、热帖导航*/
- .ndsns_hot { background:#FFF; margin:8px 0; border:1px solid #DADADA }
- .ndsns_hot_title { background: url(
- {STYLEIMGDIR} /ndsns_hot01.png) repeat-x scroll 0 0 transparent; border-bottom: 3px solid #F3001D; height: 30px; }
- .ndhot_t_left { display: inline; float: left; padding-left: 20px; margin-top: 5px; }
- .ndhot_t_left span { display:block; background:#F3001D; border: 1px solid #E7001C; color: #FFF; font-size: 12px; height: 24px; line-height: 24px; text-align: center; width: 70px; }
- .ndhot_t_left2 { display: inline; float: left; padding-left: 10px; margin-top: 5px; }
- .ndhot_t_left2 span { display:block; background:#FFFFFF; border: 1px solid #E7001C; color: #F3001D; font-size: 12px; height: 24px; line-height: 24px; text-align: center; width: 70px; }
- .ndhot_t_right { display: inline; float: right; padding-right: 15px; padding-top: 5px; }
- .ndhot_t_right ul { list-style-type: none; margin: 0; padding: 0; }
- .ndhot_t_right li { display: inline; float: left; margin-left: 10px; }
- .ndhot_t_right li a { color: #035F9A; display: block; font-size: 12px; height: 24px; line-height: 24px; text-align: center; text-decoration: none; width: 65px; }
- .ndhot_t_right li a:hover { text-decoration: none; }
- .ndhot_t_right li a.ndsns_hov { background: url("
- {STYLEIMGDIR} /ndsns_hot02.png") no-repeat scroll 0 0 transparent; color: #FFFFFF; }
- .ndsns_hot_con { padding:2px; overflow:hidden; height:250px;}
- .ndhot_con_left { width:24.9%; height:250px; float:left; overflow:hidden }
- .ndhot_con_right { width:24%; float:right;}
- .ndhot_con_right1 { width:24%; float:left; margin-left: 8px;}
- .ndhot_con_right .ndsns_hid { display:none; }
- .ndhot_con_right ul{ margin-top:7px;}
- .ndhot_con_right li { float:left; width:48%; font-size:13px; overflow:hidden; height:24px; line-height:24px; }
- .ndhot_con_right li a { color:#333; }
- .ndhot_con_right li span a { color:#197CBD; }
- .ndhot_con_right li span.spe { font-family:'宋体'; font-weight:bold; }
- .ndhot_con_right .con_hot_spe{ width:185px; float:left; padding:7px 10px 0; }
- .ndhot_con_right1 dt { background:url(
- {STYLEIMGDIR} /ndsns_hot03.png) repeat-x 0 0; border: 1px solid #D3D3D3; color: #333; font-size: 12px; line-height: 18px; text-align: center; margin-bottom:5px;}
- .ndhot_con_right1 dd{ background:url(
- {STYLEIMGDIR} /ndsns_hot_icon.png) no-repeat scroll 3px 6px; padding-left:16px; height:20px; line-height:20px; border-bottom:1px dashed #cccccc; font-size:12px;}
- .ndhot_con_right dd span{ float:right; color:#999;}
- .ndhot_con_right dd a{ color:#127BBF; text-decoration:none;}
- .red { border: none; background-color: transparent; color: red; }
复制代码 会员导航的css(不需要的直接跳过)- /*贴内快捷导航*/
- #pw_menuUp {
- }
- #pw_menuUp li, #floot_left li {
- float: left;
- margin-top: 1px;
- }
- #pw_menuUp li a, #floot_left li a {
- margin: 1px 0 0;
- float: left;
- padding: 0 8px 0 6px;
- line-height: 24px;
- }
- .pw_down_menu {
- display: none;
- border: 1px solid #CAD9EA;
- padding: 1px;
- background: white;
- float: right;
- position: absolute;
- overflow: hidden;
- margin-top: 25px;
- margin-left: -174px;
- z-index: 999;
- }
- #pw_menuUp li span.line {
- padding: 1px 0 0;
- float: left;
- color: #9DB3C5;
- margin: 0;
- }
- .cc {
- }
- .s2 {
- color: #F60;
- }
- .breadCrumb {
- zoom: 1;
- background: white;
- padding: 1px;
- border: 1px solid #9DB3C5;
- margin-bottom: 5px;
- }
- .breadCrumbbg {
- background: url({STYLEIMGDIR}/bbsnei_dh.png) repeat-x left bottom;
- color: #333;
- padding: 0 10px;
- line-height: 26px;
- }
复制代码 可DIY四格素材 放置您所使用的模板图片目录里/static/image/
会员导航素材(不用的直接省略) 放置您所使用的模板图片目录里 /static/image/
diy导入
|