Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] Yeei首页N格

[复制链接]
a1543358251 发表于 2012-8-18 11:21:03 | 显示全部楼层 |阅读模式
插件发布
插件名称: Yeei首页N格
插件来源: 转载他人插件
适用版本: Discuz! X2.5
语言编码: GBK简体 UTF8简体 
最后更新时间: 2012-08-18
插件作者: www.hack-hk.tk
插件简介: 看到这个首页N格,觉得非常好看。非原创,纯属看到了转过来给大家分享一下。
先看下该首页N格的效果图:
实现方法:
1、上传图片文件(默认模板目录:/static/image/common/)
把附件下载,然后解压,把img 文件夹传到你的文件目录(看清楚,img文件夹不是文件夹的内容)
2、CSS添加N格css样式
  1. .frame{ border:none; padding:0px; margin:0px}
  2. .move-span { border:none; background:none; padding:0px; margin:0px}
  3. .yeei_sw{padding:0;margin-top:-1px;*margin-top:-16px; border-left:1px solid #D9D9D9; border-right:1px solid #D9D9D9; border-top: 1px solid #D9D9D9;}
  4. .yeei_sw1{height:107px; overflow:hidden;border-bottom:1px solid #D9D9D9;}
  5. .yeei_sw1l{ margin-right:320px;_margin-right:323px;padding:10px 10px 0 15px;background:#fff url({IMGDIR}/img/show_1_bg.gif) repeat-x 0 0px;position: relative}
  6. .yeei_sw1l .hot{background:url({IMGDIR}/img/new.png) no-repeat right 0;position: absolute;right:0px;top:1px; width:48px; height:47px;_background:none}
  7. .yeei_sw1l .m { margin-top:0px; padding-right:5px;*padding-right:0px}
  8. .yeei_sw1l .m img{ border:1px solid #E0E0E0; background:#fff; padding:1px}
  9. .yeei_sw1l dt{ font-size:16px; padding-bottom:3px; padding-top:1px;font-family:'Hiragino Sans GB','Microsoft YaHei','宋体',Helvetica,Arial,sans-serif;}
  10. .yeei_sw1l dd{ color:#666;margin-bottom:5px}
  11. .yeei_sw1l .b{ color:#888;}
  12. .yeei_sw1l .b a{ color:#77828E; margin-right:6px}
  13. .yeei_sw1r{float:right;height:98px; width:313px;_width:316px; overflow:hidden; padding-left:7px; padding-top:8px;background:url({IMGDIR}/img/show_2_bg.gif) no-repeat 0 0;}
  14. .yeei_sw1r .chart{ background:none;width:300px; padding-bottom:10px; padding-left:6px;background: url({IMGDIR}/img/bottom_b.gif) repeat-x 0 bottom;}
  15. .yeei_sw1r .yeei_wb{ padding-left:7px; padding-top:2px;}
  16. .yeei_sw1r a{cursor: pointer;}
  17. .yeei_sw1r a:hover{text-decoration: none;}
  18. .yeei_wb dt { height:19px;overflow:hidden;padding-bottom:9px;font-family:'宋体',Helvetica,Arial,sans-serif; font-weight: 700;background:url({IMGDIR}/img/wb.gif) no-repeat -54px 4px; padding-left:17px}
  19. .yeei_wb .n { float: left; color:#666; width:220px; overflow:hidden; background:#FFFFF0; border:1px solid #EDD180; height:23px; line-height:23px; padding:0 6px;}
  20. .yeei_wb .n b{ color:#F08800; font-weight:none}
  21. .yeei_wb .m { float: left; margin:0px; height:54px; width:54px; margin-right:7px;}
  22. .yeei_wb .m img{ border:1px solid #85898C; padding:1px;}
  23. .yeei_wb span{float:left; margin-top:2px;margin-right:10px; font-size:14px}
  24. .yeei_wb .ting{width:66px;height:19px;display: block;background:url({IMGDIR}/img/wb.gif) no-repeat 0 bottom; float:left}
  25. .yeei_sw2{height:195px;overflow:hidden;border-bottom:1px solid #D9D9D9}
  26. .yeei_sw2l{margin-right:318px;height:195px;border-right:1px solid #D9D9D9}
  27. .yeei_sw2r{ float:right;width:313px; overflow:hidden; padding-left:5px; padding-top:5px;}
  28. .yeei_sw2l .title{background: url({IMGDIR}/img/tab_bg.gif) repeat-x 0 0; height:40px;}
  29. .yeei_sw2l .titletext{font-size:12px;font-weight:normal;}
  30. .yeei_sw2l .tb a{padding:0px; background: url({IMGDIR}/img/tab_a.gif) no-repeat 0 -40px!important; margin-right:5px; color:#444; border:none;text-align:center;width:85px; height:40px}
  31. .yeei_sw2l .tb-c{ padding:10px; border:none}
  32. .yeei_sw2l .tb .a a {background:url({IMGDIR}/img/tab_a.gif) no-repeat 0 0!important;font-weight: 700; color:#333;}
  33. .yeei_sw2l .module ul li{width:50%;*width:49%;border-bottom:1px dotted #ddd; float:left; margin-bottom:3px; padding:0 0px 3px 0; }
  34. .yeei_sw2l .module ul li span{background:url({IMGDIR}/img/li.gif) no-repeat 5px 6px; padding-left:15px;}
  35. .yeei_sw2l .module ul li em{ font-size:11px; margin-right:10px;}
  36. .yeei_sw2l .module ul li a:hover{color:#225F8F;text-decoration: none;}
复制代码
3、模板中添加N格代码(默认模板文件是:/template/default/forum/discuz.htm)
  1. <!--yeei_sw start-->
  2. <div class="yeei_sw">
  3. <div class="yeei_sw1">
  4. <div class="yeei_sw1r">
  5. <!--{if empty($gid)}-->
  6. <div id="chart" class="bm bw0 cl">
  7. <p class="chart z">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: <em>$postdata[0]</em><span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em></p>
  8. </div>
  9. <!--{/if}-->

  10. <div class="yeei_wb">

  11. <!--[diy=yeei2]--><div id="yeei2" class="area"></div><!--[/diy]-->
  12. </div>
  13. </div>
  14. <div class="yeei_sw1l">
  15. <div class="hot"></div>
  16. <!--[diy=yeei1]--><div id="yeei1" class="area"></div><!--[/diy]-->

  17. </div>

  18. </div>
  19. <div class="yeei_sw2">
  20. <div class="yeei_sw2r">

  21. <!--[diy=yeei4]--><div id="yeei4" class="area"></div><!--[/diy]-->
  22. </div>
  23. <div class="yeei_sw2l">
  24. <!--[diy=yeei3]--><div id="yeei3" class="area"></div><!--[/diy]-->
  25. </div>


  26. </div>

  27. </div>
  28. <!--yeei_sw end-->
复制代码
4、打开论坛首页,管理账号登陆,导入论坛XML文件!
然后更新缓存 就可以了!
下载地址:http://www.hack-hk.tk/thread-126-1-1.html


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
49669335 发表于 2012-8-29 23:55:24 | 显示全部楼层
{:soso_e172:}第一个,下面跟上
回复

使用道具 举报

辛勤de园丁 发表于 2012-9-1 15:57:36 | 显示全部楼层
我想知道N格子代码加到那个位置呢。
回复

使用道具 举报

 楼主| a1543358251 发表于 2012-9-1 16:04:08 | 显示全部楼层
模板中添加N格代码(默认模板文件是:/template/default/forum/discuz.htm)
回复

使用道具 举报

binxiannet 发表于 2012-11-17 23:23:01 | 显示全部楼层
彬县网论坛(http://www.binxiannet.com)已经使用了,有不会操作的尽管问我,在网站站务版块留下你的脚印,我会及时回复的。
回复

使用道具 举报

涅槃丶 发表于 2012-11-22 13:38:46 | 显示全部楼层
围观:$
回复

使用道具 举报

侠义江湖 发表于 2012-12-9 00:01:42 | 显示全部楼层
http://www.xiayiwz.com/网赚论坛这个的是最经典的4格,现在好少找到了,喜欢的在我站来下载啊
回复

使用道具 举报

10鈅18號 发表于 2012-12-20 16:11:55 | 显示全部楼层
支持@!!!!
回复

使用道具 举报

10鈅18號 发表于 2012-12-20 16:30:15 | 显示全部楼层
支持!!!
回复

使用道具 举报

小小小笑 发表于 2013-1-5 20:37:15 | 显示全部楼层
是不错的呀www.ztieky400.com      www.dbwl400.com
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-18 08:58 , Processed in 0.105617 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表