繁體
|
簡體
Sclub交友聊天~加入聊天室當版主
(檢舉)
分享
新浪微博
QQ空间
人人网
腾讯微博
Facebook
Google+
Plurk
Twitter
Line
论坛统计
关于我们
我的宠物
首页
社区
板块
风格
代码
聊天
搜索
搜索
游客
爱秀代码
游客仅可浏览部分版块
请登录解锁全部权限
首页
板块
关于
登录
注册
首页
/
Sclub模板修改与美化
Sclub模板修改与美化
102
主题 ·
1236
帖子
1. 本版仅限sclub代码开发者之间的技术交流,以及开发者宣传自己的主题、插件
2. 代码发布请选择“发布”<font color="#c60a00">分类</font>;技术知识分享,请选择“分享”分类;除此之外,请一律选择“交流”分类
3. 发帖请严格按照分类进行发帖,分类错误将直接删帖,情节严重者将做禁言处罚
4. 优秀的“分享”内容可获得金币奖励
5. 不得对他人进行恶意攻击,侮辱,包括图片、回帖等形式,情节严重者将做禁言处罚
全部
精华
最新
热门
最多阅读
2026-10-15
置顶
精华
我的宠物v1.0 For Discuz!7.2 GBK
我的宠物v1.0 For Discuz!7.2 GBK 正式版发布 1104 1、在后台 dz7joe模板套系 新建7个模板,分别命名为 female male bunny cat dog page_pet page_petrank 2、将压缩包内的对应模板中的代码依次全部复制到新建模板。 3、将 {subtemplate page_pet} {subtemplate page_petrank} 放到discuz模板的 {subtemplate header} 上边。 4、在 默认 模板套系新建1个模板,命名为 joe_pet_api ,将压缩包内对应名称模板的代码复制进去。 5、在默认模板套系的faq模板最上边加 {subtemplate joe_pet_api} 6、最后替换掉 viewthread 文件内容。 7、宠物页面进入链接: 后台更新缓存看效果。 1103
2026-10-15
45 阅读
0 评论
icode
2026-10-4
置顶
Joe 风格安装教程(Discuz! 7.2 GBK)
所有文件都已集齐在压缩包内,安装效果如本站。 重要提示:对应好 模板 及 套系 名称 按顺序 无脑复制即可! 1054
2026-10-4
4668 阅读
6 评论
icode
2018-9-7
置顶
jQuery安装
286 后台新建一个模板命名为jquery 将附件解压,复制文本全部内容到jquery模板提交。 在论坛其他头部信息加入代码 <script type="text/javascript" src="templates/default/jquery.htm"></script> 即可
2018-9-7
1028383 阅读
3 评论
icode
2018-8-26
置顶
精华
纯CSS瀑布流代码发布
114 预览: 1、后台建立一个模版命名为pubu 内容是 <!--{if ($_GET["ishow"]=="pubu")}--> {subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> » 瀑布流</div> <div id="wrap" class="wrap s_clear" style="border: 1px solid #d0d0d0;"> <div id="pubu"><ul id="waterfall" class="waterfall">{eval request('主题列表_瀑布流');}</ul></div> </div> <style> .waterfall{position:relative;margin-left:5px;padding:25px} #pubu ul{-webkit-column-width:225px;-moz-column-width:225px;-o-colum-width:225px;column-width:225px;-webkit-column-gap:1px;-moz-column-gap:1px;-o-column-gap:1px;column-gap:1px} .waterfall li{display:inline-block;width:215px;overflow:hidden;margin:0 10px 10px 0;padding:0 0 3px;text-align:left;border-width:1px 0 0;border-top:1px solid #EAEAEA;background:url( no-repeat 100% 100%} .waterfall .c{overflow:hidden;padding-bottom:0;max-height:800px} .waterfall .c,.waterfall h3{padding:10px;border:solid #EAEAEA;border-width:0 1px;background-color:#F8F8F8} .waterfall .c,.waterfall h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:10px;border:solid #EAEAEA;border-width:0 1px;background-color:#F8F8F8} .waterfall .auth{padding:0 10px 10px;border-width:0 1px 1px;border-style:solid;border-color:transparent #EAEAEA #B9B9B9;background:#F8F8F8} </style> {subtemplate footer} <!--{/if}--> 2、后台--工具--数据调用,导入数据调用文件 113 3、在faq模版最上边加 {subtemplate pubu} 4、
2018-8-26
203032 阅读
19 评论
icode
板块主题
2026-10-4
仿Joe风格,教程占位贴3
仿Joe风格,教程占位贴3
2026-10-4
3334 阅读
2 评论
icode
2026-10-4
仿Joe风格,教程占位贴2
仿Joe风格,教程占位贴2
2026-10-4
2058 阅读
0 评论
icode
2026-10-4
上传头像
教程占位贴
2026-10-4
431 阅读
0 评论
icode
2026-10-1
论坛logo备份
1035 1036 1038 1039 1035 1035 1112 1113
2026-10-1
1467 阅读
0 评论
icode
2023-2-15
头部
<script src="templates/colors/jquery_331.htm"></script> <script src="templates/colors/jjj.htm"></script> <script src="templates/colors/i_yudu.htm"></script> <script src="templates/colors/i_yczd.htm"></script> <script src="templates/colors/d_move.htm"></script> <script src="templates/colors/croom_move.htm"></script> <script src="templates/colors/postinner.htm"></script> <script src="templates/colors/i_footprint.htm"></script> <script src="templates/colors/atx_2.htm"></script> <script src="templates/colors/i_chatroom.htm"></script> <script>if(location.href.indexOf("redirect.php?tid=12&goto=lastpost#lastpost") > 0){document.location.href=" <link rel="Shortcut Icon" href="
2023-2-15
126269 阅读
1 评论
icode
2023-2-15
第三方
<script type="text/javascript" src="templates/colors/touxiang.htm"></script> <script type="text/javascript" src="templates/colors/biaoqing.htm"></script> <script type="text/javascript" src="templates/colors/i_menu.htm"></script> <script type="text/javascript" src="templates/colors/imusic_js.htm"></script> <script type="text/javascript" src="templates/diy/set115_body.htm"></script> <script type="text/javascript" src="templates/colors/i_stiejs.htm"></script> <script type="text/javascript" src="templates/colors/i_shang_js.htm"></script> <script type="text/javascript" src="templates/colors/menufixed.htm"></script> <script type="text/javascript" src="templates/colors/set_avatar.htm"></script> <script type="text/javascript" src="templates/colors/runtime.htm"></script> <script>$jq("a ").attr({"href":" <script>$jq("#e_cmd_custom1_at").text("@朋");</script> <script>chatdsf();</script>
2023-2-15
26711 阅读
0 评论
icode
2021-9-25
仿克米简单大众风格
风格的名称: 仿克米簡單大眾風格资源的类型: 独立站/sclub 允许转载: 是,勿匿名转载 浏览器兼容: 所有 适用版本: DZ7.2 支持网站: 版本: 正式版 预览图 958 安装包: 先装 959 再装 960 装好之后,再到X3_comiis模板目录下,找到css_appand模板,把该段代码放在最底下,提交 #qmenu_menu li:hover {background:none!important;background-color: #F2F2F2!important;height: 75px !important;border-radius: 4px;} #qmenu_menu li {background:none!important;} #qmenu a {font-size: 12px;line-height: 24px!important;} #qmenu {z-index: 999;margin-top: 5px;left: 50%;margin-left: 370px;background: url("images/default/qmenu.png") no-repeat 0px 0px;width: 103px;height: 24px;text-align: center; color: rgb(51, 102, 153);line-height: 24px;font-weight: 700;} #qmenu:hover {z-index: 999;margin-top: 5px;left: 50%;margin-left: 370px;background: url("images/default/qmenu.png") no-repeat 0px -28px;width: 103px;height: 24px;text-align: center; color: rgb(51, 102, 153);line-height: 24px;font-weight: 700;} .p_pop, .p_pof, .sllt {background: rgb(254, 254, 254);padding: 4px;border:none!important;min-width: 60px;box-shadow: 1px 2px 2px rgba(0,0,0,0.3);} #qmenu_menu {border-color: rgb(220, 228, 235);padding: 20px 5px 10px;width: 590px;height: 80px;} .mbm {margin-top: 15px !important;} .p_pop a {padding: 3px 5px;border-bottom-color: rgb(229, 237, 242);border-bottom-width: 1px;border-bottom-style: solid;display: block;white-space: nowrap;} .p_pop li:last-child a {border: currentColor;border-image: none;} #qmenu_menu ul.nav li {float: left;} #qmenu_menu ul.nav a {background: url(" no-repeat 50% 5px;padding: 47px 0px 0px;border-radius: 4px;border: currentColor;border-image: none;width: 60px;text-align: center;margin-bottom: 10px;color:#666;} #qmenu.dhhide #qmenu_menu{display:none;} #qmenu.dhshow #qmenu_menu{display:block;} .ptm {padding-top: 10px !important;padding-bottom: 20px !important;text-align: center;} .ptm a{float: none!important;display: inline!important;padding: 0px 2px!important;} .xi2, .xi2 a, .xi3 a {color: rgb(51, 102, 153)!important;} .xw1 {font-weight: 700;} .btda {border-top-color: rgb(205, 205, 205);border-top-width: 1px;border-top-style: dashed;} #fjump_menu li:hover {background:none!important;background-color: #F2F2F2!important;height: 300px !important;border-radius: 4px;} #fjump_menu li {background:none!important;height:300px!important;} #fjump_menu {width: 590px;margin-left: -548px;position: absolute;left: 50%;background: #FEFEFE;padding: 7px 0px 10px 10px!important;box-shadow: 1px 2px 2px rgba(0,0,0,0.3);-ms-overflow-x: hidden!important;max-height: 600px!important;} .mbm {text-align: left;margin-bottom: 10px !important;} .cl {-ms-zoom: 1;} .jump_bdl {overflow: hidden!important;} .cl {-ms-zoom: 1;} .cl::after {height: 0px;clear: both;display: block;visibility: hidden;content: ".";} .cl::after {height: 0px;clear: both;display: block;visibility: hidden;content: ".";} ul li, .xl li {list-style: none;} .jump_bdl li {background: rgb(255, 255, 255)!important;padding: 5px!important;border: 1px solid rgb(204, 204, 204)!important;border-image: none!important;width: 178px!important;height: 300px!important;margin-right: 10px!important;float: left!important;-ms-overflow-x: hidden!important;-ms-overflow-y: auto!important;} .xg1, .xg1 a {color: rgb(153, 153, 153) !important;} .bbda {border-bottom-color: rgb(205, 205, 205);border-bottom-width: 1px;border-bottom-style: dashed;} .xw1 {font-weight: 700;} .jump_bdl p {height: 25px!important;line-height: 25px!important;overflow: hidden!important;} .jump_bdl .sub {text-indent: 1em!important;} .jump_bdl .child {text-indent: 2em!important;} .jump_bdl a {padding: 0px 4px!important;color: rgb(68, 68, 68)!important;text-decoration: none!important;display: block!important;position: static !important;} .vm {vertical-align: middle;} .px, .pt {padding: 2px 4px;line-height: 17px;} .px {height: 17px;} 并且再到数据库》升级,输入楼中楼代码,并且提交》更新缓存 因为这个风格很简单,所以就仿制了下来,如果有任何问题的话可以到 支持链接发贴并询问 另外补充说明: 1.可利用Discuz! 程序原本默认可安装的风格模板来安装 2.如果discuz! 原本默认可安装的风格模版安装完之后请开启文件夹里的配置档并按照指示配置风格 3.图片包是提供给独立站点的使用者 ?.sclub的站必须手动修改图片地址
2021-9-25
108189 阅读
8 评论
夜影夜空
2021-9-25
美化版discuz 7.2【20210923】
1.集成JQ库模板 2.集成仿X3.1图标 3.删除其他自带模板风格,只保留默认风格模板 4.自带仿X3模板(整套) 5.删除discuz默认插件 6.集成discuz 7.2专属的云平台 7.集成常用模板 8.调整X3_default的风格配色(免去修改) 9.加入两个尚未添加的常用模板 10.部分数据调用代码进行模板化 注音: 安装程序之后要手工到后台》数据库》升级,输入楼中楼代码,并且套用 957
2021-9-25
14280 阅读
0 评论
夜影夜空
2021-4-19
昨夜星辰
600
2021-4-19
16340 阅读
1 评论
icode
2021-3-30
社区风格帖子信息分类美化完整版(佳品水族首发)
分类信息显示的样式 948 发帖显示的样式,可自行上传图片 949 后台→板块→分类信息选项 创建一下名称以及变量 显示顺序 名称 变量名 类型 1 演示图片 tupian 图片(image) 2 风格名称 fenggemingcheng 字串(text) 3 适用版本 banben 字串(text) 4 语言编码 yuyanbianma 字串(text) 5 适用站点 shiyongzhandian 字串(text) 6 版权所属 suoshu 字串(text) 然后到 板块→分类信息类别 风格信息 添加好后,点击 详情 950 把下面代码复制到 “风格信息 - 分类信息帖子显示模板”下面 <div class="moban_info cl"> <div class="moban_left"> <ul> <li>{fenggemingcheng} : </li> <li>{banben} : </li> <li>{yuyanbianma} : </li> <li>{shiyongzhandian} : </li> <li>{suoshu} : </li> <li style="border:0;color:#FF4416 !important;">版权所有,禁止匿名转载;禁止商业使用;侵权请联系站内管理。</li> <div id="td_0730"> <div id="td_0732"> <div class="bm_t0"><span onclick="window.open(' </span> </div> </ul></div> <div class="cl"></div> </div> <style> #td_0730 {position: relative; top: -215px; right: -482px;}.bm_t0 img {width: 240px;height: 220px;border-right: 1px solid #e6e6e6;padding: 1px;}.bm_t0 {width: 1px;height: 1px;} .moban_info:hover { border: 1px solid #0079FF; } .moban_info { padding: 15px 20px 5px; border: 1px solid #CCC; border-radius: 8px; margin-bottom: 14px; }.moban_left { float: left; width: 490px; }.moban_info ul { margin-bottom: 10px; }.moban_info li { background-image: url( color: #8D9095; background-position: 0px center; background-repeat: no-repeat; display: block; padding-left: 25px; height: 34px; line-height: 34px; border-bottom: 1px solid #E1E1E1; } </style> 代码中的图片请替换下,图片随时会失效 提交 最后到版块管理→编辑版块→分类信息→启用分类信息:是→选择(风格信息)提交 更新缓存 951
2021-3-30
320765 阅读
10 评论
开心
2020-12-19
仿X3登录框代码(补发)
945 1、新建模板命名为 login_x 放入下边代码 <style> /* ~~~~~~~~~~~~~~~~~~~~ x3登录框 ~~~~~~~~~~~~~~~~~~~~ */ #um {padding-right: 60px;_padding-right: 54px;line-height: 2.3;zoom: 1;padding-bottom: 45px;} #um .avty {display: inline;margin-right: -60px;float: right!important;} .avty img {padding: 2px;width: 48px!important;height: 48px!important;background: #FFF;border: 1px solid;border-color: #F2F2F2 #CDCDCD #CDCDCD #F2F2F2;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;} #um p {text-align: right;} #um .showmenu {margin-right: -5px;} .showmenu {padding-right: 16px;background: url(../../images/default/arrow_down.gif) no-repeat 100% 50%;cursor: pointer;white-space: nowrap;} #extcreditmenu, #g_upmine {margin-right: 2px !important;padding-top: 3px;padding-bottom: 3px;padding-left: 10px;} #g_upmine:hover,#g_upmine_1:hover,#extcreditmenu:hover{z-index: 302;border: 1px solid;border-color: #DDD;border-bottom: none;background-color: #FFF!important;} #extcreditmenu.a, #g_upmine.a {position: relative;z-index: 302;margin-right: 1px !important;border: 1px solid;border-color: #DDD;border-bottom: none;background-color: #FFF;} #g_upmine {margin-right: 1px !important;border: 1px solid transparent;} #extcreditmenu_menu li {line-height: 18px;float: none;display: block;padding-left: 5px !important;padding-right: 1em !important;} .pbn {line-height: 18px;padding-bottom: 5px !important;} .mbn {margin-bottom: 5px !important;} .bbda {border-bottom: 1px dashed #CDCDCD;} .p_pop a {display: block;padding: 3px 5px;border-bottom: 1px solid #E5EDF2;white-space: nowrap;} #myprompt_menu.p_pop,#myitem_menu.p_pop {padding: 4px;border: 1px #DDD solid!important;min-width: 60px;background: #FEFEFE;box-shadow: 1px 2px 2px rgba(0,0,0,0.3);} #myitem_menu li {text-align: left;} #myitem_menu.p_pop a:hover{color:#369!important;} #myitem_menu.p_pop li:hover{background:#E5EDF2;} #g_upmine,#g_upmine_1 {padding-left: 10px;} .loginform_1 input.txt {color:#999;margin:4px 3px 3px 5px;height:17px; line-height:17px; padding:2px 4px;border-top:#848484 1px solid;border-left:#848484 1px solid;border-right:#e0e0e0 1px solid;border-bottom:#e0e0e0 1px solid; width:120px;} .checkbox {vertical-align:middle; margin:0px 0px 1px 0px;} .qqlogin {border-right:1px solid #ddd; margin-right:10px; padding-right:10px;text-align:center;} #yzbox {width: 142px;position: absolute;border: 1px solid #ddd;background: #fff;right: 124px;padding: 5px;z-index: 1000;} #questionid { margin:-1px; } .selecttype { width:235px;border:1px solid #ddd; overflow:hidden;margin:10px 0;height:auto!important;} #yzbox input.txt {width:132px;margin:0px;} .closea { color:#333; font-size:12px; float:right;display:inline-block;width:16px;} .zd {padding: 0px 13px 38px 5px;border-right: 1px solid #E5EDF2;margin-right: 5px;} .loginform_1 label {display:inline!important;} .loginform_1 {width:auto!important;height:auto!important;border-right:0px!important;padding:0px!important;margin:0px!important;} .lzc a {color: #336699!important;font-weight:700;} .yzwd {width:100px;display:inline-block;} #jfmenu.jfhide #jfmenu_menu{display:none;} #jfmenu.jfshow #jfmenu_menu{display:block;} #jfmenu_menu p {text-align: left!important;} #jff {position: absolute;right: 60px;} #yhmenu.yhhide #yhmenu_menu{display:none;} #yhmenu.yhshow #yhmenu_menu{display:block;} .fastlg_l {padding-right: 4px !important;padding: 2px 0 2px 4px;margin-right: 2px;border-right: 1px solid #ddd;} .fastlg td {padding: 2px 0 2px 4px;} #layer_lostpw_z{z-index: 9999;top: 30%;position: fixed;left: 35%;} .dialog{position:absolute; margin:10px;} .dialog-title {width: 450px;margin-bottom: -30px;position: relative;height: 30px;cursor: move;} .dialog-chatbar {width: 30px;margin-bottom: -30px;position: relative;height: 30px;cursor: move;} .dialog-chat {width: 320px;margin-bottom: -30px;position: relative;height: 30px;cursor: move;} .dialog-gtsgin {width: 300px;margin-bottom: -30px;position: relative;height: 30px;cursor: move;} .t_l, .t_c, .t_r, .m_l, .m_r, .b_l, .b_c, .b_r {background: rgb(0, 0, 0);overflow: hidden;opacity: 0.2;} .t_l, .t_r, .b_l, .b_r {width: 8px;height: 8px;} .b_l {border-radius: 0px 0px 0px 8px;-moz-border-radius: 0 0 0 8px;-webkit-border-radius: 0 0 0 8px;} .t_c, .b_c {height: 8px;} .b_r {border-radius: 0px 0px 8px;-moz-border-radius: 0 0 8px 0;-webkit-border-radius: 0 0 8px 0;} .m_l, .m_r {width: 8px;} .m_c .c {padding: 0px 10px 10px;} .loginform_2 {margin-left: 100px;float: left;margin-bottom: 10px;padding: 20px 0;width: 280px;} .loginform_2 label {clear: both;overflow: hidden;display: block;margin: 0 0 10px;line-height: 22px;} .loginform_2 label em, .fsubmit em {float: left;width: 60px;} .rq {color: red;} .t_l {border-radius: 8px 0px 0px;-moz-border-radius: 8px 0 0 0;-webkit-border-radius: 8px 0 0 0;} .t_r {border-radius: 0px 8px 0px 0px;-moz-border-radius: 0 8px 0 0;-webkit-border-radius: 0 8px 0 0;} .pn_z {vertical-align: middle;overflow: hidden;margin-right: 3px;padding: 0;height: 23px;border: 1px solid #999;background: #E5E5E5 url( repeat-x 0 0;cursor: pointer;-moz-box-shadow: 0 1px 0 #E5E5E5;-webkit-box-shadow: 0 1px 0 #E5E5E5;box-shadow: 0 1px 0 #E5E5E5;border-color: #235994;background-color: #06C;background-position: 0 -48px;color: #FFF !important;width: 55px;} </style> {eval $diy=$db->fetch_array($db->query("SELECT * FROM cdb_memberfields WHERE uid=$discuz_uid"));} <!--{if $discuz_uid}--> <div id="um"> <div class="avty"> <a href="space.php?uid=$discuz_uid"> <!--{if $diy }--> <img onerror="this.onerror=null;this.src=''" src="$diy "> <!--{else}--> <img src="uc_server/avatar.php?uid=$discuz_uid&size=small" onerror="this.onerror=null;this.src=' <!--{/if}--> </a> </div> <p> <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow'] && $_DCOOKIE['connect_is_bind']}--> <img src="{IMGDIR}/connect_qq.gif" align="absmiddle"/> <!--{/if}--> <strong class="vwmy qq"><a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a></strong> <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow'] && !$_DCOOKIE['connect_is_bind']}--> <strong class="vwmy qq"><a href="{$GLOBALS['connect_setting']['login_url']}"><img src="{IMGDIR}/qq_bind.gif" align="absmiddle"/></a></strong> <!--{/if}--> <!--{if $allowinvisible}--> <span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a> <!--{else}--> <a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span> <!--{/if}--> <span class="pipe">|</span><a href="javascript:;" id="myitem" class="showmenu" onmouseover="showMenu({'ctrlid':'myitem'});" initialized="true">我的</a> <span class="pipe">|</span><a href="memcp.php?action=profile&typeid=2">设置</a> <span class="pipe">|</span><a href="pm.php" id="pm_ntc">消息</a> <span class="pipe">|</span> <!--{if $prompt}--> <a id="myprompt" href="notice.php" class="new" onmouseover="showMenu({'ctrlid':this.id})">{lang notice}{eval $gtnewxx = 0;} <!--{loop $prompts $promptkey $promptdata}--> {eval $gtnewxx = $gtnewxx + $promptdata ;} <!--{/loop}-->($gtnewxx) </a> <!--{else}--> <a id="myprompt" href="notice.php">{lang notice}</a> <!--{/if}--> <span id="myprompt_check"></span> <span class="pipe">|</span><a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a> </p> <!--------------积分和用户组---------------> <!--{if $discuz_uid}--> {eval $xinxi3=$GLOBALS +$GLOBALS +$GLOBALS ;} <!--{if ($xinxi3>9999)}-->{eval $aaa3=floor($xinxi3/10000);}{eval $bbb3="万+";}<!--{else}-->{eval $aaa3=$xinxi3;}{eval $bbb3="";}<!--{/if}--> <div id="jff" style="line-height: 25px;"> <span href="javascript:" id="jfmenu" onmouseover="this.className='jfshow'" onmouseout="this.className='jfhide'" class="jfhide" style="cursor: pointer";> <span id="g_upmine_1" style="margin: 0 0 0 -90px;position: absolute;width: 90px;"> <a href="memcp.php?action=credits" style="background: url(/images/default/arrow_down.gif) no-repeat 100% 50%;padding-right: 16px!important;" >积分: $aaa3$bbb3</a> <div id="jfmenu_menu" class="popupmenu_popup headermenu_popup" style="margin-left: -11px;border-top: none;width: 110px;position: absolute;z-index: 301;"> <ul> <!--{loop $extcredits $id $credit}--> <!--{if $id<=8}--> <p> $credit : $GLOBALS['extcredits'.$id] $credit </p> <!--{/if}--> <!--{/loop}--> </ul> </div> </span> </span> <span href="javascript:" id="yhmenu" onmouseover="this.className='yhshow'" onmouseout="this.className='yhhide'" class="yhhide" style="cursor: pointer";> <span class="pipe" style="color: rgb(204, 204, 204);margin: 0px -4px 0px 11px;">|</span> <span id="g_upmine" style="width: 120px;padding: 5px 0 8px 10px;"> <a href="memcp.php?action=usergroups" style="background: url(/images/default/arrow_down.gif) no-repeat 100% 50%;padding-right: 15px !important;text-align: center;">用户组: {eval $q2 = $db->query("SELECT groupid FROM cdb_members WHERE uid = " . $discuz_uid);} {eval $q = $db->fetch_array($q2);} {eval $q2 = $db->query("SELECT * FROM cdb_usergroups WHERE groupid = " . $q );} {eval $q = $db->fetch_array($q2);} {echo $q ;} </a> <div id="yhmenu_menu" class="popupmenu_popup headermenu_popup" style="margin-left: 16px;border-top: none;width: 120px;position: absolute;z-index: 301;"> <ul> {eval $q2 = $db->query("SELECT * FROM cdb_usergroups WHERE type='member' ORDER BY creditshigher");} {eval $jfjdinfo=Array();} {eval $i=0;} {eval while ($asdfgh=$db->fetch_array($q2)) $jfjdinfo[$i++] = $asdfgh;} {eval $jifen=$post ;} {eval $jflevel=0;} {eval $jfnum=0;} <!--{loop $jfjdinfo $zzz}--> <!--{if ($jifen>=$zzz )}--> {eval $jflevel=$jflevel+1;} <!--{/if}--> {eval $jfnum=$jfnum+1;} <!--{/loop}--> {eval $jflevel4=$jflevel+1;} <!--{if ($jflevel4<$jfnum)}--> {eval $jflevel2=$jflevel+1;} {eval $jfper=floor((($jifen-$jfjdinfo[$jflevel] )/($jfjdinfo[$jflevel] -$jfjdinfo[$jflevel] ))*100);} <div style="text-align: center;line-height: 20px;"> <div> {eval $mq=$db->fetch_array($db->query("SELECT * FROM cdb_members WHERE uid=$discuz_uid"));} <!--{if $mq == 10}--> <img src="images/default/star_level1.gif"> <!--{elseif $mq == 11}--> <img src="images/default/star_level2.gif"> <!--{elseif $mq == 12}--> <img src="images/default/star_level2.gif"><img src="images/default/star_level1.gif"> <!--{elseif $mq == 13}--> <img src="images/default/star_level3.gif"> <!--{elseif $mq == 14}--> <img src="images/default/star_level3.gif"><img src="images/default/star_level2.gif"> <!--{elseif $mq == 15}--> <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif"> <!--{elseif $mq == 1}--> <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif"><img src="images/default/star_level1.gif"> <!--{elseif $mq == 2}--> <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif"> <!--{elseif $mq == 3}--> <img src="images/default/star_level3.gif"><img src="images/default/star_level2.gif"><img src="images/default/star_level1.gif"> <!--{elseif $mq == 18}--> <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif"><img src="images/default/star_level1.gif"> <!--{elseif $mq == 17}--> <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif"> <!--{elseif $mq == 16}--> <img src="images/default/star_level3.gif"><img src="images/default/star_level2.gif"><img src="images/default/star_level1.gif"> <!--{elseif $mq == 19}--> <img src="images/default/star_level3.gif"><img src="images/default/star_level2.gif"><img src="images/default/star_level1.gif"> <!--{/if}--> </div> <style> .hm {font-weight: normal!important;text-align: center!important;}.hm p {text-align: center!important;} </style> <!--{if $credits>$q }--> <cite class="hm">管理级别:$q </cite> <!--{else}--> <cite class="hm">距离下一级还需 <p class="xi1"> {echo ($q -$credits)} 积分 </p> </cite> <!--{/if}--> </div> <!--{/if}--> </ul> </div> </span> </span> </div> <!--{/if}--> <!--------------积分和用户组end---------------> </div> <!--{else}--> <script type="text/javascript"> function $(id){return document.getElementById(id);} function Sdiv(Aid) {if($(Aid) !=null){$(Aid).style.display = 'block'}} function Cdiv(Bid) {if($(Bid) !=null){$(Bid).style.display = 'none'}} </script> <div id="tlbd_1" style="float: right;padding-bottom: 10px;"> <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow']}--> <div class="qqlogin left"> <p><a rel="nofollow" href="{$GLOBALS['connect_setting']['login_url']}"><img src="images/default/qq_login.gif" class="vm" alt="QQ登录"></a></p> <p class="hm xg1" style="padding-top: 5px;">只需一步,快速开始</p> </div> <!--{/if}--> <script src="templates/colors/logging.htm"></script> <div class="fastlogin left"> <form method="post" name="login" id="loginform" class="gateform" action="logging.php?action=login&loginsubmit=yes{if !empty($infloat)}&floatlogin=yes{/if}" onsubmit="return lsSubmit();"> <input type="hidden" name="formhash" value="a45a9ada" /> <input type="hidden" name="referer" value="index.php" /> <div class="fastlg cl"> <input type="hidden" name="loginfield" value="username" /> <span id="return_ls" style="display:none"></span> <div class="y pns"> <table cellspacing="0" cellpadding="0"> <tbody><tr> <td style="padding: 2px 4px 2px 4px;"><label for="ls_username">帐号</label></td> <td> <input type="text" name="username" autocomplete="on" id="ls_username" class="txt" tabindex="1" style="color:#999" placeholder="UID/用户名/Email"> </td> <td class="fastlg_l"><label for="ls_cookietime"><input type="checkbox" name="cookietime" id="ls_cookietime" class="pc" value="2592000" tabindex="903" style="margin: 0 5px 1px 0;">自动登录</label></td> <td> <a href="javascript:;" onclick="display('layer_lostpw_z');" title="找回密码">找回密码</a></td> </tr> <tr> <td style="padding: 2px 4px 2px 4px;"><label for="password3">密码</label></td> <td> <input type="password" id="password3" name="password" onfocus="clearpwd()" onkeypress="detectCapsLock(event, this)" class="txt" tabindex="1" /> </td> <td class="fastlg_l"> <button class="pn vm" type="submit" name="loginsubmit" value="true" tabindex="1" style="width: 75px;">登录</button> </td> <td> <a href="$regname" class="xi2 xw1" onclick="showWindow('register', this.href);return false;" class="noborder" title="注册帐号">立即注册</a></td> </tr> </tbody></table> <input type="hidden" name="quickforward" value="yes"> <input type="hidden" name="handlekey" value="ls"> </div> </div> </form> </div> </div> <div id="layer_lostpw_z" class="dialog" style="display: none;"> <div class="dialog-title"></div> <table class="fwin_1" cellspacing="0" cellpadding="0" style="width: 500px;"> <tbody> <tr> <td class="t_l"></td> <td class="t_c"></td> <td class="t_r"></td> </tr> <tr> <td class="m_l"> </td> <td class="m_c" id="fwin_content_register" fwin="register"> <h3 class="float_ctrl" style="margin: 5px;"> <em id="returnmessage3">{lang getpassword}</em> <span><a href="javascript:;" class="float_close" onclick="display('layer_lostpw_z');" title="{lang close}">{lang close}</a></span> </h3> <div class="postbox"> <form method="post" id="lostpwform" class="s_clear" onsubmit="ajaxpost('lostpwform', 'returnmessage3', 'returnmessage3', 'onerror');return false;" action="member.php?action=lostpasswd&lostpwsubmit=yes&infloat=yes"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="handlekey" value="lostpwform" /> <div class="loginform_2"> <label><em><span class="rq">*</span>{lang email}:</em><input type="text" name="email" size="25" value="" tabindex="1" class="txt" /></label> <label><em>{lang username}:</em><input type="text" name="username" size="25" value="" tabindex="1" class="txt" /></label> </div> <div class="logininfo multinfo"></div> <p class="fsubmit s_clear" style="margin-left: 100px;"> <em> </em> <button class="pn_z" type="submit" name="lostpwsubmit" value="true" tabindex="100" style="margin-top: -25px;">{lang submit}</button> </p> </form> </div> </td> <td class="m_r"></td> </tr> <tr> <td class="b_l"></td> <td class="b_c"></td> <td class="b_r"></td> </tr> </tbody> </table> </div> <!--{/if}--> 2、找到header模板里的下边的代码全部删除 <div id="umenu"> <!--{if $discuz_uid}--> <cite> <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow'] && $_DCOOKIE['connect_is_bind']}--><img src="{IMGDIR}/connect_qq.gif" align="absmiddle" /><!--{/if}--> <a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a> <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow'] && !$_DCOOKIE['connect_is_bind']}--><a href="{$GLOBALS['connect_setting']['login_url']}"><img src="{IMGDIR}/qq_bind.gif" align="absmiddle" /></a><!--{/if}--> <!--{if $allowinvisible}--><span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span><!--{/if}--></cite> <span class="pipe">|</span> <!--{if $ucappopen['UCHOME']}--> <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a> <!--{elseif $ucappopen['XSPACE']}--> <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a> <!--{/if}--> <a id="myprompt" href="notice.php" <!--{if $prompt}-->class="new" onmouseover="showMenu({'ctrlid':this.id})"<!--{/if}-->>{lang notice}</a> <span id="myprompt_check"></span> <a href="pm.php" id="pm_ntc" target="_blank">{lang pm_center}</a> <!--{if $taskon}--> <a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a> <!--{/if}--> <span class="pipe">|</span> <a href="memcp.php">{lang user_center}</a> <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}--> <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}--> <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a> <!--{elseif !empty($_DCOOKIE['loginuser'])}--> <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang activation}</a> <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a> <!--{else}--> <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow']}--> <a rel="nofollow" href="{$GLOBALS['connect_setting']['login_url']}"><img align="absmiddle" src="{IMGDIR}/qq_login.gif"></a> <!--{/if}--> <a href="$regname" onclick="showWindow('register', this.href);return false;" class="noborder">$reglinkname</a> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang login}</a> <!--{/if}--> </div> <div id="ad_headerbanner"><!--{if $admode && !empty($advlist['headerbanner'])}-->$advlist <!--{/if}--></div> 删除后替换为下边代码 {subtemplate login_x} 3、在header模板的最下边放入代码 <!----------------我的管理弹出菜单----------------> <ul id="myitem_menu" class="p_pop" style="display: none;"> <!--{if $discuz_uid && $adminid >= 1}--><li><a href="modcp.php?fid=$fid" target="_blank">管理</a></li><!--{/if}--> <!--{if $discuz_uid && $adminid == 1}--><li><a href="admincp.php" target="_blank">后台</a></li><!--{/if}--> <li><a href="my.php?item=threads">帖子</a></li> <li><a href="my.php?item=favorites&type=thread">收藏</a></li> <li><a href="my.php?item=buddylist&">好友</a></li> <!--{if $ucappopen['UCHOME']}--> <li><a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a></li> <!--{elseif $ucappopen['XSPACE']}--> <li><a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a></li> <!--{/if}--> </ul> <!----------------我的管理弹出菜单end---------------->
2020-12-19
112289 阅读
2 评论
icode
2020-12-15
个人资料页背景
个人设置增加 个人资料页背景,需要的放出。。。 943
2020-12-15
99807 阅读
5 评论
icode
上一页
1
2
3
…
7
下一页
/ 7 页
下拉加载更多
首页
板块
登录
每日签到
红包中心
论坛统计
关于我们