同步宝塔上的源码
This commit is contained in:
632
template/ahome_common/common/extend_common.css
Normal file
632
template/ahome_common/common/extend_common.css
Normal file
@@ -0,0 +1,632 @@
|
||||
/* 全局 */
|
||||
.ct2 .mn {
|
||||
width: 850px;
|
||||
}
|
||||
|
||||
.tb .o {
|
||||
background: url('');
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.tb .o a {
|
||||
padding: 5px 20px;
|
||||
font-size: 16px;
|
||||
background: linear-gradient(60deg, rgba(43,122,205,1) 0%, rgba(81,192,250,1) 100%);
|
||||
border-radius: 5px;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#um .new {
|
||||
color: #ffea02
|
||||
}
|
||||
|
||||
.appl {
|
||||
width: 200px;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
.appl .mt {
|
||||
padding: 25px 20px;
|
||||
font-size: 18px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.appl ul {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.appl ul li {
|
||||
padding: 10px 22px;
|
||||
background: #F2F2F2;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.appl ul .a {
|
||||
margin-left: 20px;
|
||||
padding: 10px 15px;
|
||||
font-weight: 800;
|
||||
background: #DDD;
|
||||
border-top: 0px;
|
||||
}
|
||||
|
||||
.ct2_a {
|
||||
border: 1px solid #DDD;
|
||||
background: #F2F2F2;
|
||||
}
|
||||
|
||||
.ct2_a .mn {
|
||||
min-height: 500px;
|
||||
background: #FFF;
|
||||
padding: 20px;
|
||||
padding-left: 20px;
|
||||
width: 800px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.edt {
|
||||
border-radius: 5px
|
||||
}
|
||||
|
||||
.edt #e_controls {
|
||||
padding: 8px 10px;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
}
|
||||
|
||||
.edt .bbar {
|
||||
padding: 8px 10px;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
.tb .a a {
|
||||
margin-left: 5px;
|
||||
padding: 5px 20px;
|
||||
font-size: 14px;
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px !important;
|
||||
}
|
||||
|
||||
.tb a {
|
||||
margin-left: 5px;
|
||||
padding: 5px 20px;
|
||||
font-size: 14px;
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px !important;
|
||||
}
|
||||
|
||||
.fl_tb tr td {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.fl_tb dt {
|
||||
font-size: 16px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
#rateform .z{width:15px !important;height:12px;}
|
||||
#rateform .dpbtn {border:0px;}
|
||||
#rateform #reasonselect{margin-bottom:10px;width:97% !important;}
|
||||
.fl_tb dd {
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
color: #888
|
||||
}
|
||||
|
||||
.tfm th {
|
||||
padding: 10px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.tfm td {
|
||||
padding: 10px 0px;
|
||||
}
|
||||
|
||||
#td_qq p {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.c0 h4 {
|
||||
background: linear-gradient(60deg, rgba(43,122,205,1) 0%, rgba(81,192,250,1) 100%) !important;
|
||||
background-image: url('')
|
||||
}
|
||||
|
||||
.ftx {
|
||||
background: #f2f2f2;
|
||||
margin-top: 10px;
|
||||
border-top: 1px solid #DDD;
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
.postbtn {
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
background: linear-gradient(60deg, rgba(43,122,205,1) 0%, rgba(81,192,250,1) 100%);
|
||||
border-radius: 5px !important;
|
||||
color: #FFF;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.postbtn:hover {
|
||||
background: #035cb6;
|
||||
}
|
||||
|
||||
.replybtn {
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
background: linear-gradient(60deg, rgba(255,147,42,1) 0%, rgba(255,187,42,1) 100%);
|
||||
border-radius: 5px;
|
||||
color: #fff;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.replybtn:hover {
|
||||
background: #ff6600;
|
||||
}
|
||||
|
||||
.px {
|
||||
outline: none;
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
border: 1px solid #DDD;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.tedt {
|
||||
font-size: 14px;
|
||||
border: 1px solid #DDD;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.tedt .bar {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.pn {
|
||||
color: #FFF;
|
||||
padding: 3px 10px;
|
||||
font-size: 12px;
|
||||
border-radius: 5px;
|
||||
min-height: 25px;
|
||||
line-height: 25px;
|
||||
background: #BBB;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.pnc {
|
||||
background: #2777cb;
|
||||
}
|
||||
|
||||
.pnc:hover {
|
||||
background: #599be1;
|
||||
}
|
||||
@media (max-width: 1080px) {
|
||||
.header,.ftx {
|
||||
width: 1080px;
|
||||
}
|
||||
.header .hdc {margin:20px;}
|
||||
.header #topnav {margin:0px 20px;}
|
||||
.ftx #frt {margin:0px 20px;}
|
||||
.ftx #flk {margin:0px 20px;}
|
||||
#toptb .z{padding-left:20px;}
|
||||
#wp {width:1040px;margin:0px 20px;}
|
||||
.appl {width:160px;}
|
||||
#switchwidth {display:none;}
|
||||
|
||||
|
||||
}
|
||||
.wp {
|
||||
margin: 0 auto;
|
||||
width: 1080px;
|
||||
}
|
||||
|
||||
.listavat {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.listavat img {
|
||||
border-radius: 5px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 2px;
|
||||
background: #fff;
|
||||
box-shadow: 1px 1px 2px #DDD;
|
||||
filter: alpha(Opacity=50);
|
||||
-moz-opacity: 0.5;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
tr:hover .listavat img {
|
||||
filter: alpha(Opacity=100);
|
||||
-moz-opacity: 1;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
tr:hover .xst {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#toptb {
|
||||
min-width: 1080px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
border-bottom: 0px;
|
||||
color: #DDD;
|
||||
background: transparent url('template/ahome_common/src/default/half-transparent.png');
|
||||
}
|
||||
|
||||
#toptb a {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.switchwidth {
|
||||
margin-top: 8px;
|
||||
margin-right: 5px;
|
||||
background-image: url(template/ahome_common/src/default/switch_width.png);
|
||||
}
|
||||
|
||||
.switchwidth:hover {
|
||||
background: url(template/ahome_common/src/default/switch_width.png) no-repeat 100% -36px;
|
||||
}
|
||||
|
||||
#diy-tg {
|
||||
float: right;
|
||||
padding: 0;
|
||||
margin-top: 5px;
|
||||
width: 56px;
|
||||
height:29px !important;
|
||||
background: url(template/ahome_common/src/default/panel-toggle.png) no-repeat 100% 4px;
|
||||
text-indent: -9999px;
|
||||
overflow: hidden;
|
||||
border:0 !important;
|
||||
}
|
||||
|
||||
#pgt {margin-top:10px;}
|
||||
#newspecial_menu {min-width:80px !important}
|
||||
|
||||
#diy-tg_menu {
|
||||
position: absolute !important;
|
||||
margin: 0 !important;
|
||||
margin-top:-7px !important;
|
||||
padding: 6px 0;
|
||||
width: 80px;
|
||||
height: 48px;
|
||||
line-height: 24px;
|
||||
background: #333;
|
||||
text-align: center;
|
||||
border:0 !important;
|
||||
}
|
||||
|
||||
#diy-tg_menu a {
|
||||
color: #AAA;
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
#toptb #diy-tg_menu {
|
||||
margin: -7px 0 0 -17px;
|
||||
}
|
||||
|
||||
#toplogo {
|
||||
margin-top: 8px;
|
||||
margin-bottom: 20px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
#topnav {
|
||||
margin-bottom: 70px;
|
||||
margin-top:-30px;
|
||||
background: transparent url('');
|
||||
overflow: hidden;
|
||||
height: 33px;
|
||||
color: #FFF;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#topnav * {
|
||||
text-decoration: none;
|
||||
background: url('');
|
||||
}
|
||||
|
||||
#topnav li {
|
||||
float: left;
|
||||
background: url('');
|
||||
padding-right: 0px;
|
||||
height: 33px;
|
||||
line-height: 33px;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.ie_all #topnav li {
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
.ie6 #topnav li {
|
||||
line-height: 33px;
|
||||
}
|
||||
|
||||
#topnav li a {
|
||||
float: left;
|
||||
padding: 0 15px;
|
||||
height: 33px;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
#topnav li a {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#topnav li span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
#topnav li.a {
|
||||
margin-left: -1px;
|
||||
background: transparent url('template/ahome_common/src/default/half-transparent.png');
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
#topnav li a:hover {
|
||||
background: transparent url('template/ahome_common/src/default/half-transparent.png');
|
||||
}
|
||||
|
||||
#topnav li.hover a:hover, #topnav li.hover a {
|
||||
color: #333;
|
||||
background: #FFF url('');
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
#scbar,#scbar_form * {
|
||||
border: 0px;
|
||||
background: transparent
|
||||
}
|
||||
|
||||
.scbar_icon_td {
|
||||
width: 15px
|
||||
}
|
||||
|
||||
#scbar_txt {
|
||||
background: #FFF;
|
||||
padding: 4px 10px;
|
||||
margin-top: 7px;
|
||||
color: #333 !important;
|
||||
width: 150px;
|
||||
border-radius: 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#scbar_type {
|
||||
color: #FFF !important;
|
||||
}
|
||||
|
||||
#diy_backup_tip {
|
||||
z-index: 999
|
||||
}
|
||||
|
||||
#um {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#um,#um a {
|
||||
color: #FFF
|
||||
}
|
||||
|
||||
.avt {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#qmenu {
|
||||
background: #FFF;
|
||||
padding: 2px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.showmenu .a {
|
||||
color: #888 !important
|
||||
}
|
||||
|
||||
.p_pop {
|
||||
margin-left: 0px;
|
||||
background: #FFF;
|
||||
color: #333;
|
||||
border: 0px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.p_pop li {
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.h_pop {
|
||||
margin-left: 0px;
|
||||
background: #FFF;
|
||||
color: #333;
|
||||
border: 0px;
|
||||
marign-top: 10px;
|
||||
}
|
||||
|
||||
.h_pop li a {
|
||||
padding-left: 10px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.h_pop li {
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
#um .a {
|
||||
background: #FFF;
|
||||
color: #333;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
#um a {
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
.fastlg input {
|
||||
outline: none;
|
||||
border-radius: 5px;
|
||||
border: 0px;
|
||||
color: #AAA !IMPORTANT;
|
||||
padding: 2px 10px !important;
|
||||
background: transparent url('template/ahome_common/src/default/half-transparent.png') !important;
|
||||
}
|
||||
|
||||
#pt .z {
|
||||
font-size: 14px;
|
||||
color: #888;
|
||||
margin-top: 10px;
|
||||
float: none;
|
||||
}
|
||||
|
||||
#pt {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.dataul {
|
||||
width: 100%;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.dataul li {
|
||||
border-left: 1px solid #dedede;
|
||||
margin: 10px 0px;
|
||||
padding: 5px 20px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.dataul li .data {
|
||||
font-size: 18px;
|
||||
color: {HIGHLIGHTLINK
|
||||
};
|
||||
|
||||
line-height:40px;
|
||||
}
|
||||
|
||||
.dataul li .desc {
|
||||
font-size: 14px;
|
||||
color: #888;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.bm {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.bm_h {
|
||||
background: {TITLEBGCOLOR
|
||||
} {TITLEBGCODE
|
||||
};
|
||||
|
||||
border-top-left-radius:4px;border-top-right-radius:4px;line-height:45px;height:45px;font-size:16px;
|
||||
}
|
||||
|
||||
.bm_h .o img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.area textarea{border:0px !important;}
|
||||
.pbt #subject{padding:5px 5px !important;}
|
||||
|
||||
/* 通用波浪动画背景 */
|
||||
|
||||
.header {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: linear-gradient(60deg, rgba(43,122,205,1) 0%, rgba(0,90,180,1) 100%);
|
||||
background-size: 100% auto;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.inner-header {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.flex {
|
||||
/*Flexbox for containers*/
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.waves {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
margin-bottom: -7px;
|
||||
/*Fix for safari gap*/
|
||||
min-height: 60px;
|
||||
max-height: 100px;
|
||||
}
|
||||
|
||||
.content {
|
||||
position: relative;
|
||||
height: 20vh;
|
||||
text-align: center;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/* Animation */
|
||||
|
||||
.parallax > use {
|
||||
animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
|
||||
}
|
||||
|
||||
.parallax > use:nth-child(1) {
|
||||
animation-delay: -2s;
|
||||
animation-duration: 7s;
|
||||
}
|
||||
|
||||
.parallax > use:nth-child(2) {
|
||||
animation-delay: -3s;
|
||||
animation-duration: 10s;
|
||||
}
|
||||
|
||||
.parallax > use:nth-child(3) {
|
||||
animation-delay: -4s;
|
||||
animation-duration: 13s;
|
||||
}
|
||||
|
||||
.parallax > use:nth-child(4) {
|
||||
animation-delay: -5s;
|
||||
animation-duration: 20s;
|
||||
}
|
||||
|
||||
@keyframes move-forever {
|
||||
0% {
|
||||
transform: translate3d(-90px,0,0);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translate3d(85px,0,0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
.waves {
|
||||
height: 40px;
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
.content {
|
||||
height: 30vh;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
30
template/ahome_common/common/extend_module.css
Normal file
30
template/ahome_common/common/extend_module.css
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
/** forum **/
|
||||
|
||||
.pls {width: 180px; background: #F9F9F9;border-right: 1px solid #F5F5F5; padding-top:0px;}
|
||||
.pls .avatar {margin: 15px 15px 5px; text-align: center;}
|
||||
.vuimg { margin-top: -16px!important;}
|
||||
.bui {padding: 15px 0 15px 24px; box-shadow: none;width: 440px !important;}
|
||||
.pls .avatar img, .avtm img {background: #fff; padding: 5px;border: 1px solid #e3e3e3; border-radius:10px;}
|
||||
.pls .pi {padding: 0 0 10px 0;text-align: center;border-bottom: none; margin: 10px;}
|
||||
.pls .pi .authi a { color: #777; font-size: 16px;text-decoration: none;}
|
||||
.pls .tns { background: #f1f1f1; padding: 8px 0; margin: 0 13px 10px; border-radius: 0}
|
||||
.tns th, .tns td { text-align: center;font-size: 12px;}
|
||||
.tns th { border-right: 1px solid #e3e3e3;}
|
||||
.tns th, .tns td, .tns th a, .tns td a,.pls p em a, .pls dt em,.pls p, .pls .pil, .pls .o,.cp_pls a{ color:#888;}
|
||||
.pls .plso { margin: 5px 0px 10px 16px;}
|
||||
.pls .plso li {float: left; overflow: hidden; width: 72px; margin-right: 10px;}
|
||||
.pls .plso li a { background: #ffa000; height: 24px; line-height: 24px; padding: 0 10px;text-indent: 0;text-align: center; display: block; width: 52px; color: #fff;}
|
||||
.pls .plso li.addflw a:hover{background: #ffa000; text-decoration: none}
|
||||
.pls .plso li.pm2 a { background: #F0BE21}
|
||||
.pls .plso li.pm2 a:hover { background: #ffa000; text-decoration:none;}
|
||||
.ptn {border-top-left-radius:10px;}
|
||||
|
||||
|
||||
#fwin_mods *{font-size:12px;}
|
||||
#fwin_mods input{border-radius:2px;padding:2px 2px;}
|
||||
#fwin_mods .colorwd {border-radius:0px;padding:0px !important;background-repeat:no-repeat;min-height:20px;height:20px !important;width:20px !important;overflow:hidden;}
|
||||
|
||||
|
||||
|
||||
/** end **/
|
180
template/ahome_common/common/footer.htm
Normal file
180
template/ahome_common/common/footer.htm
Normal file
@@ -0,0 +1,180 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="ftx">
|
||||
<!--{if empty($topic) || ($topic[usefooter])}-->
|
||||
<!--{eval $focusid = getfocus_rand($_G[basescript]);}-->
|
||||
<!--{if $focusid !== null}-->
|
||||
<!--{eval $focus = $_G['cache']['focus']['data'][$focusid];}-->
|
||||
<!--{eval $focusnum = count($_G['setting']['focus'][$_G[basescript]]);}-->
|
||||
<div class="focus" id="sitefocus">
|
||||
<div class="bm">
|
||||
<div class="bm_h cl">
|
||||
<a href="javascript:;" onclick="setcookie('nofocus_$_G[basescript]', 1, $_G['cache']['focus']['cookie']*3600);$('sitefocus').style.display='none'" class="y" title="{lang close}">{lang close}</a>
|
||||
<h2>
|
||||
<!--{if $_G['cache']['focus']['title']}-->{$_G['cache']['focus']['title']}<!--{else}-->{lang focus_hottopics}<!--{/if}-->
|
||||
<span id="focus_ctrl" class="fctrl"><img src="{IMGDIR}/pic_nv_prev.gif" alt="{lang footer_previous}" title="{lang footer_previous}" id="focusprev" class="cur1" onclick="showfocus('prev');" /> <em><span id="focuscur"></span>/$focusnum</em> <img src="{IMGDIR}/pic_nv_next.gif" alt="{lang footer_next}" title="{lang footer_next}" id="focusnext" class="cur1" onclick="showfocus('next')" /></span>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="bm_c" id="focus_con">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--{eval $focusi = 0;}-->
|
||||
<!--{loop $_G['setting']['focus'][$_G[basescript]] $id}-->
|
||||
<div class="bm_c" style="display: none" id="focus_$focusi">
|
||||
<dl class="xld cl bbda">
|
||||
<dt><a href="{$_G['cache']['focus']['data'][$id]['url']}" class="xi2" target="_blank">$_G['cache']['focus']['data'][$id]['subject']</a></dt>
|
||||
<!--{if $_G['cache']['focus']['data'][$id][image]}-->
|
||||
<dd class="m"><a href="{$_G['cache']['focus']['data'][$id]['url']}" target="_blank"><img src="{$_G['cache']['focus']['data'][$id]['image']}" alt="$_G['cache']['focus']['data'][$id]['subject']" /></a></dd>
|
||||
<!--{/if}-->
|
||||
<dd>$_G['cache']['focus']['data'][$id]['summary']</dd>
|
||||
</dl>
|
||||
<p class="ptn cl"><a href="{$_G['cache']['focus']['data'][$id]['url']}" class="xi2 y" target="_blank">{lang focus_show} »</a></p>
|
||||
</div>
|
||||
<!--{eval $focusi ++;}-->
|
||||
<!--{/loop}-->
|
||||
<script type="text/javascript">
|
||||
var focusnum = $focusnum;
|
||||
if(focusnum < 2) {
|
||||
$('focus_ctrl').style.display = 'none';
|
||||
}
|
||||
if(!$('focuscur').innerHTML) {
|
||||
var randomnum = parseInt(Math.round(Math.random() * focusnum));
|
||||
$('focuscur').innerHTML = Math.max(1, randomnum);
|
||||
}
|
||||
showfocus();
|
||||
var focusautoshow = window.setInterval('showfocus(\'next\', 1);', 5000);
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{ad/footerbanner/wp a_f/1}--><!--{ad/footerbanner/wp a_f/2}--><!--{ad/footerbanner/wp a_f/3}-->
|
||||
<!--{ad/float/a_fl/1}--><!--{ad/float/a_fr/2}-->
|
||||
<!--{ad/couplebanner/a_fl a_cb/1}--><!--{ad/couplebanner/a_fr a_cb/2}-->
|
||||
<!--{ad/cornerbanner/a_cn}-->
|
||||
|
||||
<!--{hook/global_footer}-->
|
||||
<div id="ft" class="wp cl" style="border-top:0px;">
|
||||
<div id="flk" class="y">
|
||||
{if $styleconfig['bottomtxt']}
|
||||
<div> </div>
|
||||
{/if}
|
||||
<p>
|
||||
<!--{if $_G['setting']['site_qq']}--><a href="//wpa.qq.com/msgrd?v=3&uin=$_G['setting']['site_qq']&site=$_G['setting']['bbname']&menu=yes&from=discuz" target="_blank" title="QQ"><img src="{IMGDIR}/site_qq.jpg" alt="QQ" /></a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{loop $_G['setting']['footernavs'] $nav}--><!--{if $nav['available'] && ($nav['type'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1)) ||
|
||||
!$nav['type'] && ($nav['id'] == 'stat' && $_G['group']['allowstatdata'] || $nav['id'] == 'report' && $_G['uid'] || $nav['id'] == 'archiver' || $nav['id'] == 'mobile' || $nav['id'] == 'darkroom'))}-->$nav[code]<span class="pipe">|</span><!--{/if}--><!--{/loop}-->
|
||||
<strong><a href="$_G['setting']['siteurl']" target="_blank">$_G['setting']['sitename']</a></strong>
|
||||
<!--{if $_G['setting']['icp']}-->( <a href="http://beian.miit.gov.cn/" target="_blank">$_G['setting']['icp']</a> )<!--{/if}-->
|
||||
<!--{hook/global_footerlink}-->
|
||||
<!--{if $_G['setting']['statcode']}-->$_G['setting']['statcode']<!--{/if}-->
|
||||
</p>
|
||||
<p class="xs0">
|
||||
{lang time_now}
|
||||
<span id="debuginfo">
|
||||
<!--{if debuginfo()}-->, Processed in $_G[debuginfo][time] second(s), $_G[debuginfo][queries] queries
|
||||
<!--{if $_G['gzipcompress']}-->, Gzip On<!--{/if}--><!--{if C::memory()->type}-->, <!--{echo C::memory()->type}--> On<!--{/if}-->.
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
<div id="frt">
|
||||
{if $styleconfig['bottomtxt']}
|
||||
<div>{$styleconfig['bottomtxt']}</div>
|
||||
{/if}
|
||||
<p>Powered by <strong><a href="https://www.discuz.vip" target="_blank">Discuz!</a></strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="https://license.discuz.vip/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></p>
|
||||
<p class="xs0">Copyright © 2001-2020, Tencent Cloud.</p>
|
||||
</div>
|
||||
<!--{eval updatesession();}-->
|
||||
<!--{if $_G['uid'] && $_G['group']['allowinvisible']}-->
|
||||
<script type="text/javascript">
|
||||
var invisiblestatus = '<!--{if $_G['session']['invisible']}-->{lang login_invisible_mode}<!--{else}-->{lang login_normal_mode}<!--{/if}-->';
|
||||
var loginstatusobj = $('loginstatusid');
|
||||
if(loginstatusobj != undefined && loginstatusobj != null) loginstatusobj.innerHTML = invisiblestatus;
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !$_G['setting']['bbclosed'] && !$_G['member']['freeze'] && !$_G['member']['groupexpiry']}-->
|
||||
<!--{if $_G[uid] && !isset($_G['cookie']['checkpm'])}-->
|
||||
<script type="text/javascript" src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=$_G[timestamp]"></script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_G[uid] && helper_access::check_module('follow') && !isset($_G['cookie']['checkfollow'])}-->
|
||||
<script type="text/javascript" src="home.php?mod=spacecp&ac=follow&op=checkfeed&rand=$_G[timestamp]"></script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !isset($_G['cookie']['sendmail'])}-->
|
||||
<script type="text/javascript" src="home.php?mod=misc&ac=sendmail&rand=$_G[timestamp]"></script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_GET['diy'] == 'yes'}-->
|
||||
<!--{if check_diy_perm($topic) && (empty($do) || $do != 'index')}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}portal_diy{if !check_diy_perm($topic, 'layout')}_data{/if}.js?{VERHASH}"></script>
|
||||
<!--{/if}-->
|
||||
<!--{if $space['self'] && CURMODULE == 'space' && $do == 'index'}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}space_diy.js?{VERHASH}"></script>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && empty($_G['cookie']['pluginnotice'])}-->
|
||||
<div class="focus plugin" id="plugin_notice"></div>
|
||||
<script type="text/javascript">pluginNotice();</script>
|
||||
<!--{/if}-->
|
||||
<!--{if !$_G['setting']['bbclosed'] && !$_G['member']['freeze'] && !$_G['member']['groupexpiry'] && $_G['setting']['disableipnotice'] != 1 && $_G['uid'] && !empty($_G['cookie']['lip'])}-->
|
||||
<div class="focus plugin" id="ip_notice"></div>
|
||||
<script type="text/javascript">ipNotice();</script>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['member']['newprompt'] && (empty($_G['cookie']['promptstate_'.$_G[uid]]) || $_G['cookie']['promptstate_'.$_G[uid]] != $_G['member']['newprompt']) && $_GET['do'] != 'notice'}-->
|
||||
<script type="text/javascript">noticeTitle();</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if ($_G[member][newpm] || $_G[member][newprompt]) && empty($_G['cookie']['ignore_notice'])}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}html5notification.js?{VERHASH}"></script>
|
||||
<script type="text/javascript">
|
||||
var h5n = new Html5notification();
|
||||
if(h5n.issupport()) {
|
||||
<!--{if $_G[member][newpm] && $_GET[do] != 'pm'}-->
|
||||
h5n.shownotification('pm', '$_G[siteurl]home.php?mod=space&do=pm', '<!--{avatar($_G[uid],small,true)}-->', '{lang newpm_subject}', '{lang newpm_notice_info}');
|
||||
<!--{/if}-->
|
||||
<!--{if $_G[member][newprompt] && $_GET[do] != 'notice'}-->
|
||||
<!--{loop $_G['member']['category_num'] $key $val}-->
|
||||
<!--{eval $noticetitle = lang('template', 'notice_'.$key);}-->
|
||||
h5n.shownotification('notice_$key', '$_G[siteurl]home.php?mod=space&do=notice&view=$key', '<!--{avatar($_G[uid],small,true)}-->', '$noticetitle ($val)', '{lang newnotice_notice_info}');
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
}
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<div id="scrolltop">
|
||||
<!--{if $_G[fid] && $_G['mod'] == 'viewthread'}-->
|
||||
<span><a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$_GET[extra]&page=$page{if $_GET[from]}&from=$_GET[from]{/if}" onclick="showWindow('reply', this.href)" class="replyfast" title="{lang fastreply}"><b>{lang fastreply}</b></a></span>
|
||||
<!--{/if}-->
|
||||
<span hidefocus="true"><a title="{lang scrolltop}" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>{lang scrolltop}</b></a></span>
|
||||
<!--{if $_G[fid]}-->
|
||||
<span>
|
||||
<!--{if $_G['mod'] == 'viewthread'}-->
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]" hidefocus="true" class="returnlist" title="{lang return_list}"><b>{lang return_list}</b></a>
|
||||
<!--{else}-->
|
||||
<a href="forum.php" hidefocus="true" class="returnboard" title="{lang return_forum}"><b>{lang return_forum}</b></a>
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>
|
||||
<!--{if isset($_G['makehtml'])}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}html2dynamic.js?{VERHASH}"></script>
|
||||
<script type="text/javascript">
|
||||
var html_lostmodify = {TIMESTAMP};
|
||||
htmlGetUserStatus();
|
||||
<!--{if isset($_G['htmlcheckupdate'])}-->
|
||||
htmlCheckUpdate();
|
||||
<!--{/if}-->
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
<!--{eval output();}-->
|
||||
</body>
|
||||
</html>
|
279
template/ahome_common/common/header.htm
Normal file
279
template/ahome_common/common/header.htm
Normal file
@@ -0,0 +1,279 @@
|
||||
<!--{subtemplate common/header_common}-->
|
||||
<meta name="application-name" content="$_G['setting']['bbname']" />
|
||||
<meta name="msapplication-tooltip" content="$_G['setting']['bbname']" />
|
||||
<!--{if $_G['setting']['portalstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][1]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['portal']) ? $_G['scheme'].'://'.$_G['setting']['domain']['app']['portal'] : $_G[siteurl].'portal.php'};icon-uri={$_G[siteurl]}{IMGDIR}/portal.ico" /><!--{/if}-->
|
||||
<meta name="msapplication-task" content="name=$_G['setting']['navs'][2]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['forum']) ? $_G['scheme'].'//'.$_G['setting']['domain']['app']['forum'] : $_G[siteurl].'forum.php'};icon-uri={$_G[siteurl]}{IMGDIR}/bbs.ico" />
|
||||
<!--{if $_G['setting']['groupstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][3]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['group']) ? $_G['scheme'].'://'.$_G['setting']['domain']['app']['group'] : $_G[siteurl].'group.php'};icon-uri={$_G[siteurl]}{IMGDIR}/group.ico" /><!--{/if}-->
|
||||
<!--{if helper_access::check_module('feed')}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][4]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['home']) ? $_G['scheme'].'://'.$_G['setting']['domain']['app']['home'] : $_G[siteurl].'home.php'};icon-uri={$_G[siteurl]}{IMGDIR}/home.ico" /><!--{/if}-->
|
||||
<!--{if $_G['basescript'] == 'forum' && $_G['setting']['archiver']}-->
|
||||
<link rel="archives" title="$_G['setting']['bbname']" href="{$_G[siteurl]}archiver/" />
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($rsshead)}-->$rsshead<!--{/if}-->
|
||||
<!--{if widthauto()}-->
|
||||
<link rel="stylesheet" id="css_widthauto" type="text/css" href='{$_G['setting']['csspath']}{STYLEID}_widthauto.css?{VERHASH}' />
|
||||
<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['basescript'] == 'forum' || $_G['basescript'] == 'group'}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}forum.js?{VERHASH}"></script>
|
||||
<!--{elseif $_G['basescript'] == 'home'}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>
|
||||
<!--{elseif $_G['basescript'] == 'portal'}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
|
||||
<!--{/if}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}" ></script>
|
||||
<!--{if $_G['basescript'] != 'portal' && $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
|
||||
<link rel="stylesheet" type="text/css" id="diy_common" href="{$_G['setting']['csspath']}{STYLEID}_css_diy.css?{VERHASH}" />
|
||||
<!--{/if}-->
|
||||
<script>
|
||||
function tsmini_IEVersion() {
|
||||
var userAgent = navigator.userAgent;
|
||||
var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1;
|
||||
var isEdge = userAgent.indexOf("Edge") > -1 && !isIE;
|
||||
var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf("rv:11.0") > -1;
|
||||
if(isIE) {
|
||||
var reIE = new RegExp("MSIE (\\d+\\.\\d+);");
|
||||
reIE.test(userAgent);
|
||||
var fIEVersion = parseFloat(RegExp["$1"]);
|
||||
if(fIEVersion == 7) {
|
||||
return 7;
|
||||
} else if(fIEVersion == 8) {
|
||||
return 8;
|
||||
} else if(fIEVersion == 9) {
|
||||
return 9;
|
||||
} else if(fIEVersion == 10) {
|
||||
return 10;
|
||||
} else {
|
||||
return 6;
|
||||
}
|
||||
} else if(isEdge) {
|
||||
return 'edge';
|
||||
} else if(isIE11) {
|
||||
return 11;
|
||||
}else{
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<!--{eval $styleconfig = $_G['cache']['plugin']['ahome_common_setting'];}-->
|
||||
<style>
|
||||
select,textarea{outline:none;padding:5px 10px;font-size:14px;border:1px solid #DDD !important;border-radius:5px;}
|
||||
.ct2_a_r {background:#FFF !important;border:0 !important}
|
||||
</style>
|
||||
{if $styleconfig['ifopen']}
|
||||
<!--{eval $styleconfig['topheight'] = $styleconfig['topheight'] + 60 - $styleconfig['logoheight'];}-->
|
||||
<!--{subtemplate common/pluginsetting}-->
|
||||
{/if}
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body id="nv_{$_G[basescript]}" class="pg_{CURMODULE}{if $_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)} {$cat['bodycss']}{/if}" onkeydown="if(event.keyCode==27) return false;">
|
||||
<div id="append_parent"></div><div id="ajaxwaitid"></div>
|
||||
|
||||
<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
|
||||
<!--{template common/header_diy}-->
|
||||
<!--{/if}-->
|
||||
<!--{if check_diy_perm($topic)}-->
|
||||
<!--{template common/header_diynav}-->
|
||||
<!--{/if}-->
|
||||
<!--{if CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)}-->
|
||||
$diynav
|
||||
<!--{/if}-->
|
||||
<div class="header">
|
||||
<!--{if empty($topic) || $topic['useheader']}-->
|
||||
<!--{if $_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')}-->
|
||||
<div class="xi1 bm bm_c">
|
||||
{lang your_mobile_browser}<a href="{$_G['siteurl']}forum.php?mobile=yes">{lang go_to_mobile}</a> <span class="xg1">|</span> <a href="$_G['setting']['mobile']['nomobileurl']">{lang to_be_continue}</a>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['setting']['shortcut'] && $_G['member'][credits] >= $_G['setting']['shortcut']}-->
|
||||
<div id="shortcut">
|
||||
<span><a href="javascript:;" id="shortcutcloseid" title="{lang close}">{lang close}</a></span>
|
||||
{lang shortcut_notice}
|
||||
<a href="javascript:;" id="shortcuttip">{lang shortcut_add}</a>
|
||||
|
||||
</div>
|
||||
<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
|
||||
<!--{/if}-->
|
||||
<div id="toptb" class="cl">
|
||||
<!--{hook/global_cpnav_top}-->
|
||||
<div class="wp">
|
||||
<div class="z">
|
||||
<!--{loop $_G['setting']['topnavs'][0] $nav}-->
|
||||
<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->$nav[code]<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{hook/global_cpnav_extra1}-->
|
||||
</div>
|
||||
<div class="y">
|
||||
<div style="float:right;">
|
||||
<!--{subtemplate common/pubsearchform}-->
|
||||
</div>
|
||||
<a id="switchblind" href="javascript:;" onclick="toggleBlind(this)" title="{lang switch_blind}" class="switchblind">{lang switch_blind}</a>
|
||||
<!--{hook/global_cpnav_extra2}-->
|
||||
<!--{loop $_G['setting']['topnavs'][1] $nav}-->
|
||||
<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->$nav[code]<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{if empty($_G['disabledwidthauto']) && $_G['setting']['switchwidthauto']}-->
|
||||
<a href="javascript:;" id="switchwidth" onclick="widthauto(this)" title="{if widthauto()}{lang switch_narrow}{else}{lang switch_wide}{/if}" class="switchwidth"><!--{if widthauto()}-->{lang switch_narrow}<!--{else}-->{lang switch_wide}<!--{/if}--></a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}--><a id="sslct" href="javascript:;" onmouseover="delayShow(this, function() {showMenu({'ctrlid':'sslct','pos':'34!'})});" style="margin-top:9px;">{lang changestyle}</a><!--{/if}-->
|
||||
<!--{if check_diy_perm($topic)}-->
|
||||
$diynav
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{if !IS_ROBOT}-->
|
||||
<!--{if $_G['uid']}-->
|
||||
<ul id="myprompt_menu" class="p_pop" style="display: none;">
|
||||
<li><a href="home.php?mod=space&do=pm" id="pm_ntc" style="background-repeat: no-repeat; background-position: 0 50%;"><em class="prompt_news{if empty($_G[member][newpm])}_0{/if}"></em>{lang pm_center}</a></li>
|
||||
<li><a href="home.php?mod=follow&do=follower"><em class="prompt_follower{if empty($_G[member][newprompt_num][follower])}_0{/if}"></em><!--{lang notice_interactive_follower}-->{if $_G[member][newprompt_num][follower]}($_G[member][newprompt_num][follower]){/if}</a></li>
|
||||
<!--{if $_G[member][newprompt] && $_G[member][newprompt_num][follow]}-->
|
||||
<li><a href="home.php?mod=follow"><em class="prompt_concern"></em><!--{lang notice_interactive_follow}-->($_G[member][newprompt_num][follow])</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G[member][newprompt]}-->
|
||||
<!--{loop $_G['member']['category_num'] $key $val}-->
|
||||
<li><a href="home.php?mod=space&do=notice&view=$key"><em class="notice_$key"></em><!--{echo lang('template', 'notice_'.$key)}-->(<span class="rq">$val</span>)</a></li>
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
<!--{if empty($_G['cookie']['ignore_notice'])}-->
|
||||
<li class="ignore_noticeli"><a href="javascript:;" onclick="setcookie('ignore_notice', 1);hideMenu('myprompt_menu')" title="{lang temporarily_to_remind}"><em class="ignore_notice"></em></a></li>
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}-->
|
||||
<div id="sslct_menu" class="cl p_pop" style="display: none;">
|
||||
<!--{if !$_G[style][defaultextstyle]}--><span class="sslct_btn" onclick="extstyle('')" title="{lang default}"><i></i></span><!--{/if}-->
|
||||
<!--{loop $_G['style']['extstyle'] $extstyle}-->
|
||||
<span class="sslct_btn" onclick="extstyle('$extstyle[0]')" title="$extstyle[1]"><i style='background:$extstyle[2]'></i></span>
|
||||
<!--{/loop}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['uid']}-->
|
||||
<ul id="myitem_menu" class="p_pop" style="display: none;">
|
||||
<li><a href="forum.php?mod=guide&view=my">{lang mypost}</a></li>
|
||||
<li><a href="home.php?mod=space&do=favorite&view=me">{lang favorite}</a></li>
|
||||
<li><a href="home.php?mod=space&do=friend">{lang friends}</a></li>
|
||||
<!--{hook/global_myitem_extra}-->
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
<!--{subtemplate common/header_qmenu}-->
|
||||
<!--{/if}-->
|
||||
<!--{ad/headerbanner/wp a_h}-->
|
||||
<div id="hd">
|
||||
<div class="wp">
|
||||
<div class="hdc cl">
|
||||
<!--{eval $mnid = getcurrentnav();}-->
|
||||
{if !$styleconfig['ifopen']}
|
||||
<h2><!--{if !isset($_G['setting']['navlogos'][$mnid])}--><a href="{if $_G['setting']['domain']['app']['default']}{$_G['scheme']}://{$_G['setting']['domain']['app']['default']}/{else}./{/if}" title="$_G['setting']['bbname']"><img id="toplogo" src="template/ahome_common/src/default/logo.png"></a><!--{else}-->$_G['setting']['navlogos'][$mnid]<!--{/if}--></h2>
|
||||
{else}
|
||||
{if !$styleconfig['hidelogo']}
|
||||
{if $styleconfig['logo']}
|
||||
<h2><a href="{if $_G['setting']['domain']['app']['default']}{$_G['scheme']}://{$_G['setting']['domain']['app']['default']}/{else}./{/if}" style="float:left;margin-top:15px;max-" title="$_G['setting']['bbname']"><img id="toplogo" src="{$styleconfig['logo']}" {if $styleconfig['logoheight']}style="max-width:300px;height:{$styleconfig['logoheight']}px"{/if}></a></h2>
|
||||
{else}
|
||||
<h2><!--{if !isset($_G['setting']['navlogos'][$mnid])}--><a href="{if $_G['setting']['domain']['app']['default']}{$_G['scheme']}://{$_G['setting']['domain']['app']['default']}/{else}./{/if}" style="float:left;margin-top:15px;" title="$_G['setting']['bbname']"><img id="toplogo" {if $styleconfig['logoheight']}style="max-width:300px;height:{$styleconfig['logoheight']}px"{/if} src="template/ahome_common/src/default/logo.png"></a><!--{else}-->$_G['setting']['navlogos'][$mnid]<!--{/if}--></h2>
|
||||
{/if}
|
||||
{else}
|
||||
<a href="{if $_G['setting']['domain']['app']['default']}{$_G['scheme']}://{$_G['setting']['domain']['app']['default']}/{else}./{/if}" title="$_G['setting']['bbname']" style="float:left;margin-bottom:10px;"><img id="toplogo" {if $styleconfig['logoheight']}style="height:{$styleconfig['logoheight']}px;max-width:300px;"{/if} src="template/ahome_common/src/default/blanklogo.png"></a>
|
||||
{/if}
|
||||
{/if}
|
||||
<div {if $styleconfig['ifopen']}style="$styleconfig['userinfocss']}"{/if}>
|
||||
<!--{template common/header_userstatus}-->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<div id="topnav" {if $styleconfig['ifopen']}style="$styleconfig['menucss']}"{/if}>
|
||||
<a href="javascript:;" id="qmenu" onmouseover="delayShow(this, function () {showMenu({'ctrlid':'qmenu','pos':'34!','ctrlclass':'a','duration':2});showForummenu($_G[fid]);})">{lang my_nav}</a>
|
||||
<ul>
|
||||
<!--{loop $_G['setting']['navs'] $nav}-->
|
||||
<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav[navid]}class="a" {/if}$nav[nav]></li><!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
<!--{hook/global_nav_extra}-->
|
||||
</div>
|
||||
|
||||
<!--{if !empty($_G['setting']['plugins']['jsmenu'])}-->
|
||||
<ul class="p_pop h_pop" id="plugin_menu" style="display: none">
|
||||
<!--{loop $_G['setting']['plugins']['jsmenu'] $module}-->
|
||||
<!--{if !$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}-->
|
||||
<li>$module[url]</li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
$_G[setting][menunavs]
|
||||
<div id="mu" class="cl">
|
||||
<!--{if $_G['setting']['subnavs']}-->
|
||||
<!--{loop $_G[setting][subnavs] $navid $subnav}-->
|
||||
<!--{if $_G['setting']['navsubhover'] || $mnid == $navid}-->
|
||||
<ul class="cl {if $mnid == $navid}current{/if}" id="snav_$navid" style="display:{if $mnid != $navid}none{/if}">
|
||||
$subnav
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{ad/subnavbanner/a_mu}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
{if !$styleconfig['ifopen']}
|
||||
<style>
|
||||
#showwave {margin-top:60px;}
|
||||
@media (max-width: 1080px) {
|
||||
.header{padding-bottom:70px;}
|
||||
}
|
||||
</style>
|
||||
{/if}
|
||||
<div id="showwave" style="margin-top:-60px;z-index:9999;">
|
||||
<div style="height:10px;clear:both"></div>
|
||||
<!--Waves Container-->
|
||||
<div>
|
||||
<svg class="waves" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
|
||||
<defs>
|
||||
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
|
||||
</defs>
|
||||
<g class="parallax">
|
||||
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(255,255,255,0.7" />
|
||||
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(255,255,255,0.5)" />
|
||||
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(255,255,255,0.3)" />
|
||||
<use xlink:href="#gentle-wave" x="48" y="7" fill="#fff" />
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
<!--Waves end-->
|
||||
</div>
|
||||
<div id="hidewave" style="display:none;">
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!--{hook/global_header}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<script>
|
||||
if(tsmini_IEVersion()>0){
|
||||
document.getElementById('showwave').style.display = 'none';
|
||||
document.getElementById('hidewave').style.display = 'block';
|
||||
}
|
||||
</script>
|
||||
|
||||
{if $styleconfig['ifopen'] && $styleconfig['waves']==1}
|
||||
<script>
|
||||
document.getElementById('showwave').style.display = 'none';
|
||||
document.getElementById('hidewave').style.display = 'block';
|
||||
</script>
|
||||
{/if}
|
||||
|
||||
<div id="wp" class="wp">
|
81
template/ahome_common/common/header_userstatus.htm
Normal file
81
template/ahome_common/common/header_userstatus.htm
Normal file
@@ -0,0 +1,81 @@
|
||||
<style>
|
||||
.gtc,.gtc *{color:#fff}
|
||||
</style>
|
||||
<!--{if $_G['uid']}-->
|
||||
<div id="um">
|
||||
<div class="avt y"><a href="home.php?mod=space&uid=$_G[uid]"><!--{avatar($_G[uid],small)}--></a></div>
|
||||
<p>
|
||||
<strong class="vwmy{if $_G['setting']['connect']['allow'] && $_G[member][conisbind]} qq{/if}"><a href="home.php?mod=space&uid=$_G[uid]" target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a></strong>
|
||||
<!--{if $_G['group']['allowinvisible']}-->
|
||||
<span id="loginstatus">
|
||||
<a id="loginstatusid" href="member.php?mod=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');return false;" class="xi2"></a>
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
<!--{hook/global_usernav_extra1}-->
|
||||
<span class="pipe">|</span><!--{hook/global_usernav_extra4}--><a href="javascript:;" id="myitem" class="showmenu" onmouseover="showMenu({'ctrlid':'myitem'});">{lang myitem}</a>
|
||||
<span class="pipe">|</span><a href="home.php?mod=spacecp">{lang setup}</a>
|
||||
<span class="pipe">|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G[member][newpm]} class="new"{/if}>{lang pm_center}</a>
|
||||
<span class="pipe">|</span><a href="home.php?mod=space&do=notice" id="myprompt" class="showmenu{if $_G[member][newprompt]} new{/if}" onmouseover="showMenu({'ctrlid':'myprompt'});">{lang remind}<!--{if $_G[member][newprompt]}-->($_G[member][newprompt])<!--{/if}--></a><span id="myprompt_check"></span>
|
||||
<!--{if empty($_G['cookie']['ignore_notice']) && ($_G[member][newpm] || $_G[member][newprompt_num][follower] || $_G[member][newprompt_num][follow] || $_G[member][newprompt])}--><script language="javascript">delayShow($('myprompt'), function() {showMenu({'ctrlid':'myprompt','duration':3})});</script><!--{/if}-->
|
||||
<!--{if $_G['setting']['taskon'] && !empty($_G['cookie']['taskdoing_'.$_G['uid']])}--><span class="pipe">|</span><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{lang task_doing}</a><!--{/if}-->
|
||||
<!--{if ($_G['group']['allowmanagearticle'] || $_G['group']['allowpostarticle'] || $_G['group']['allowdiy'] || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 6) || getstatus($_G['member']['allowadmincp'], 2) || getstatus($_G['member']['allowadmincp'], 3))}-->
|
||||
<span class="pipe">|</span><a href="portal.php?mod=portalcp"><!--{if $_G['setting']['portalstatus'] }-->{lang portal_manage}<!--{else}-->{lang portal_block_manage}<!--{/if}--></a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['uid'] && $_G['group']['radminid'] > 1}-->
|
||||
<span class="pipe">|</span><a href="forum.php?mod=modcp&fid=$_G[fid]" target="_blank">{lang forum_manager}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)}-->
|
||||
<span class="pipe">|</span><a href="admin.php" target="_blank">{lang admincp}</a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/global_usernav_extra2}-->
|
||||
<span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={eval echo formhash();}">{lang logout}</a>
|
||||
</p>
|
||||
<p>
|
||||
<!--{hook/global_usernav_extra3}-->
|
||||
<span>糖果: <!--{echo getuserprofile('extcredits1')}--></span>
|
||||
<span class="pipe">|</span><a href="home.php?mod=spacecp&ac=credit&showcredit=1" id="extcreditmenu"{if !$_G[setting][bbclosed]} onmouseover="delayShow(this, showCreditmenu);" class="showmenu"{/if}>{lang credits}: $_G[member][credits]</a>
|
||||
<span class="pipe">|</span><a href="home.php?mod=spacecp&ac=usergroup" id="g_upmine" ><span class="gtc">{lang usergroup}: $_G[group][grouptitle]</span><!--{if $_G[member]['freeze']}--><span class="xi1">({lang freeze})</span><!--{/if}--></a>
|
||||
</p>
|
||||
</div>
|
||||
<!--{elseif !empty($_G['cookie']['loginuser'])}-->
|
||||
<p>
|
||||
<strong><a id="loginuser" class="noborder"><!--{echo dhtmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
|
||||
<span class="pipe">|</span><a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang activation}</a>
|
||||
<span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
|
||||
</p>
|
||||
<!--{elseif !$_G[connectguest]}-->
|
||||
<div id="um">
|
||||
|
||||
<div class="avt y"><a href="home.php?mod=space&uid=$_G[uid]"><!--{avatar($_G[uid],small)}--></a></div>
|
||||
<p>
|
||||
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href);return false;">{lang login}</a>
|
||||
<span class="pipe">|</span>
|
||||
<a href="member.php?mod={$_G[setting][regname]}">$_G['setting']['reglinkname']</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<span class="gtc">{$_G[group][grouptitle]}</span>您好!登录后享受更多精彩</a>
|
||||
</p>
|
||||
{if $styleconfig['usercolor']}
|
||||
<style>
|
||||
#userinfomore *{color:{$styleconfig['usercolor']} !important}
|
||||
</style>
|
||||
{/if}
|
||||
<div id="userinfomore" style="float:right;margin-right:210px;margin-top:-56px;">
|
||||
<!--{hook/global_login_extra}-->
|
||||
</div>
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<div id="um">
|
||||
<div class="avt y"><!--{avatar(0,small)}--></div>
|
||||
<p>
|
||||
<strong class="vwmy qq">{$_G[member][username]}</strong>
|
||||
<!--{hook/global_usernav_extra1}-->
|
||||
<span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="home.php?mod=spacecp&ac=credit&showcredit=1">{lang credits}: 0</a>
|
||||
<span class="pipe">|</span>{lang usergroup}: $_G[group][grouptitle]
|
||||
</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
139
template/ahome_common/common/pluginsetting.htm
Normal file
139
template/ahome_common/common/pluginsetting.htm
Normal file
@@ -0,0 +1,139 @@
|
||||
<style>
|
||||
.bm_h, .tl th, .tl td { border-bottom-color: {$styleconfig['lightcolor']}; }
|
||||
.fl .bm_h { border-color: {$styleconfig['lightcolor']}; background:{$styleconfig['bmhcolor']} url("{$styleconfig['bmhimg']}") left top repeat-x; }
|
||||
.bm_h a{color:{$styleconfig['bmhtextcolor']}}
|
||||
.bm_h {color:{$styleconfig['bmhtextcolor']}}
|
||||
.bm_h h2 a{color:{$styleconfig['bmhtextcolor']} !important}
|
||||
.bm_h .xw1 a{color:{$styleconfig['bmhtextcolor']} !important}
|
||||
a,link {color:{$styleconfig['urlcolor']}}
|
||||
.tbmu .pnc{background:{$styleconfig['darkcolor']} !important}
|
||||
.pnc{background:{$styleconfig['darkcolor']} !important}
|
||||
.pnc:hover{background:{$styleconfig['midcolor']} !important}
|
||||
.postbtn {
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
background: linear-gradient(60deg, {$styleconfig['darkcolor']} 0%, {$styleconfig['midcolor']} 100%);
|
||||
border-radius: 10px;
|
||||
color: #FFF;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.postbtn:hover {
|
||||
background: {$styleconfig['darkcolor']};
|
||||
}
|
||||
{if $styleconfig['sidewidth']}
|
||||
<!--{eval $styleconfig['width'] = $styleconfig['width']?$styleconfig['width']:1080;}-->
|
||||
.ct2 .mn {width:{echo $styleconfig['width']-$styleconfig['sidewidth']-10}px;}
|
||||
.ct2 .sd {width:{$styleconfig['sidewidth']}px;}
|
||||
{/if}
|
||||
|
||||
{if $styleconfig['width']}
|
||||
#toptb {min-width: {$styleconfig['width']}px;}
|
||||
.wp {width: {$styleconfig['width']}px;}
|
||||
|
||||
.ct2_a .mn {
|
||||
min-height: 500px;
|
||||
background: #FFF;
|
||||
padding: 20px;
|
||||
padding-left: 20px;
|
||||
width: {echo (800+{$styleconfig['width']}-1080)}px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
.header,.ftx {
|
||||
width: {$styleconfig['width']}px;
|
||||
}
|
||||
.header .hdc {margin:20px;}
|
||||
.header #topnav {margin:0px 20px;}
|
||||
.ftx #frt {margin:0px 20px;}
|
||||
.ftx #flk {margin:0px 20px;}
|
||||
#toptb .z{padding-left:20px;}
|
||||
#wp {width:{echo ($styleconfig['width']-40)}px;margin:0px 20px;}
|
||||
.appl {width:160px;}
|
||||
#switchwidth {display:none;}
|
||||
}
|
||||
|
||||
{/if}
|
||||
.header {
|
||||
{if !$styleconfig['topbg']}
|
||||
background: linear-gradient(60deg, {$styleconfig['color1']} 0%, {$styleconfig['color2']} 100%);
|
||||
{else}
|
||||
background: url({$styleconfig['topbg']}) no-repeat;
|
||||
background-size: 100% auto;
|
||||
{/if}
|
||||
{if $styleconfig['topheight']}
|
||||
height:{echo $styleconfig['topheight'] + $styleconfig['logoheight']}px;
|
||||
{/if}
|
||||
}
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
.header {margin-bottom:-110px;}
|
||||
}
|
||||
|
||||
{if $styleconfig['topheight']}
|
||||
#topnav {margin-top:{echo $styleconfig['topheight']-250}px !important;}
|
||||
@media (max-width: 1080px) {
|
||||
#topnav {margin-top:{echo $styleconfig['topheight']-250}px !important;}
|
||||
.waves {margin-top:5px;}
|
||||
}
|
||||
{/if}
|
||||
|
||||
|
||||
{if $styleconfig['topheight']}
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
.ct2 .sd {width:260px;}
|
||||
.waves{margin-top:50px;width:{$styleconfig['width']}px}
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $styleconfig['hideqmenu']}
|
||||
#qmenu {display:none;}
|
||||
{/if}
|
||||
|
||||
#um,#um a {
|
||||
color: {$styleconfig['usercolor']}
|
||||
}
|
||||
|
||||
.gtc {color:{$styleconfig['usercolor']} !important}
|
||||
|
||||
#um .a {
|
||||
background: #FFF;
|
||||
color: #000;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
#um a {text-decoration: none}
|
||||
#topnav li a{color:{$styleconfig['menucolor']};}
|
||||
#topnav li:hover a{color:#FFF;}
|
||||
#topnav .a a{color:#FFF;font-weight:800}
|
||||
|
||||
#uhd, #flw_header .bar, .flw_replybox { background-color:{$styleconfig['lightcolor']}; }
|
||||
#uhd .tb a, #flw_header .bar { border-top-color: {$styleconfig['lightcolor']}; }
|
||||
#flw_post_extra .sec { border-color: {$styleconfig['lightcolor']}; background-color:{$styleconfig['lightcolor']} }
|
||||
|
||||
.ftx {
|
||||
background: {$styleconfig['bottombgcolor']};
|
||||
color:{$styleconfig['bottomtxtcolor']};
|
||||
margin-top: 10px;
|
||||
border-top: 1px solid #DDD;
|
||||
padding-top: 30px;
|
||||
font-size:14px;
|
||||
}
|
||||
|
||||
.ftx *{
|
||||
color:{$styleconfig['bottomtxtcolor']};
|
||||
}
|
||||
|
||||
.ftx a{
|
||||
color:{$styleconfig['bottomtxtcolor']};
|
||||
}
|
||||
|
||||
.ftx a:hover{
|
||||
color:{$styleconfig['bottomtxtcolor']};
|
||||
}
|
||||
|
||||
|
||||
{$styleconfig['morecss']}
|
||||
</style>
|
56
template/ahome_common/common/pubsearchform.htm
Normal file
56
template/ahome_common/common/pubsearchform.htm
Normal file
@@ -0,0 +1,56 @@
|
||||
<!--{if $_G['setting']['search']}-->
|
||||
<!--{eval $slist = array();}-->
|
||||
<!--{if $_G['fid'] && $_G['forum']['status'] != 3 && $mod != 'group'}--><!--{block slist[forumfid]}--><li><a href="javascript:;" rel="curforum" fid="$_G[fid]" >{lang search_this_forum}</a></li><!--{/block}--><!--{/if}-->
|
||||
<!--{if $_G['setting']['portalstatus'] && $_G['setting']['search']['portal']['status'] && ($_G['group']['allowsearch'] & 1 || $_G['adminid'] == 1)}--><!--{block slist[portal]}--><li><a href="javascript:;" rel="article">{lang article}</a></li><!--{/block}--><!--{/if}-->
|
||||
<!--{if $_G['setting']['search']['forum']['status'] && ($_G['group']['allowsearch'] & 2 || $_G['adminid'] == 1)}--><!--{block slist[forum]}--><li><a href="javascript:;" rel="forum" class="curtype">{lang thread}</a></li><!--{/block}--><!--{/if}-->
|
||||
<!--{if helper_access::check_module('blog') && $_G['setting']['search']['blog']['status'] && ($_G['group']['allowsearch'] & 4 || $_G['adminid'] == 1)}--><!--{block slist[blog]}--><li><a href="javascript:;" rel="blog">{lang blog}</a></li><!--{/block}--><!--{/if}-->
|
||||
<!--{if helper_access::check_module('album') && $_G['setting']['search']['album']['status'] && ($_G['group']['allowsearch'] & 8 || $_G['adminid'] == 1)}--><!--{block slist[album]}--><li><a href="javascript:;" rel="album">{lang album}</a></li><!--{/block}--><!--{/if}-->
|
||||
<!--{if $_G['setting']['groupstatus'] && $_G['setting']['search']['group']['status'] && ($_G['group']['allowsearch'] & 16 || $_G['adminid'] == 1)}--><!--{block slist[group]}--><li><a href="javascript:;" rel="group">$_G['setting']['navs'][3]['navname']</a></li><!--{/block}--><!--{/if}-->
|
||||
<!--{block slist[user]}--><li><a href="javascript:;" rel="user">{lang users}</a></li><!--{/block}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['setting']['search'] && $slist}-->
|
||||
<div id="scbar" class="{if $_G['setting']['srchhotkeywords'] && count($_G['setting']['srchhotkeywords']) > 5}scbar_narrow {/if}cl">
|
||||
<form id="scbar_form" method="{if $_G[fid] && !empty($searchparams[url])}get{else}post{/if}" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="{if $_G[fid] && !empty($searchparams[url])}$searchparams[url]{else}search.php?searchsubmit=yes{/if}" target="_blank">
|
||||
<input type="hidden" name="mod" id="scbar_mod" value="search" />
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="srchtype" value="title" />
|
||||
<input type="hidden" name="srhfid" value="$_G[fid]" />
|
||||
<input type="hidden" name="srhlocality" value="$_G['basescript']::{CURMODULE}" />
|
||||
<!--{if !empty($searchparams[params])}-->
|
||||
<!--{loop $searchparams[params] $key $value}-->
|
||||
<!--{eval $srchotquery .= '&' . $key . '=' . rawurlencode($value);}-->
|
||||
<input type="hidden" name="$key" value="$value" />
|
||||
<!--{/loop}-->
|
||||
<input type="hidden" name="source" value="discuz" />
|
||||
<input type="hidden" name="fId" id="srchFId" value="$_G[fid]" />
|
||||
<input type="hidden" name="q" id="cloudsearchquery" value="" />
|
||||
|
||||
<style>
|
||||
#scbar { overflow: visible; position: relative; }
|
||||
#sg{ background: #FFF; width:456px; border: 1px solid #B2C7DA; }
|
||||
.scbar_narrow #sg { width: 316px; }
|
||||
#sg li { padding:0 8px; line-height:30px; font-size:14px; }
|
||||
#sg li span { color:#999; }
|
||||
.sml { background:#FFF; cursor:default; }
|
||||
.smo { background:#E5EDF2; cursor:default; }
|
||||
</style>
|
||||
<div style="display: none; position: absolute; top:37px; left:44px;" id="sg">
|
||||
<div id="st_box" cellpadding="2" cellspacing="0"></div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="scbar_icon_td"></td>
|
||||
<td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="{lang enter_content}" autocomplete="off" x-webkit-speech speech /></td>
|
||||
<td class="scbar_type_td" style="display:none;"><a href="javascript:;" id="scbar_type" class="xg1" onclick="showMenu(this.id)" hidefocus="true">{lang search}</a></td>
|
||||
<td class="scbar_btn_td"><button type="submit" name="searchsubmit" id="scbar_btn" sc="1" style="outline:none;background:url('template/ahome_common/src/default/search.png') no-repeat;margin-top:8px;height:22px;width:22px;background-size:100%;" value="true"><strong class="xi2">{lang search}</strong></button></td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<ul id="scbar_type_menu" class="p_pop" style="display: none;"><!--{echo implode('', $slist);}--></ul>
|
||||
<script type="text/javascript">
|
||||
initSearchmenu('scbar', '$searchparams[url]');
|
||||
</script>
|
||||
<!--{/if}-->
|
50
template/ahome_common/common/widthauto.css
Normal file
50
template/ahome_common/common/widthauto.css
Normal file
@@ -0,0 +1,50 @@
|
||||
/* ----------------------------------
|
||||
Self-adaption Width CSS file for Discuz! X
|
||||
(C) Discuz Team.
|
||||
http://www.comsenz.com
|
||||
Created & Modified by Pony.
|
||||
---------------------------------- */
|
||||
|
||||
.wp { width: 98%; }
|
||||
#hd .wp, #wp { min-width: 960px; }
|
||||
|
||||
.ct2 { margin-right: 335px !important; }
|
||||
.ct2 .sd { margin-right: -335px !important; width:320px !important;}
|
||||
.ie7 .ct2 .sd { margin-left: 15px; }
|
||||
.ie6 .ct2 .sd { padding-left: 15px; position: relative; }
|
||||
.ct2 .mn { width: 100%; }
|
||||
|
||||
.ct2 #chart, .ct2 #an { margin-right: -235px; }
|
||||
.ie6 .ct2 #chart, .ie6 .ct2 #an { position: relative; }
|
||||
|
||||
.ct2_a { padding-left: 260px; }
|
||||
.ct2_a .appl { margin-left: -260px; }
|
||||
.ie6 .ct2_a .appl { position: relative; display: inline; }
|
||||
.ct2_a .mn { width: 99%; }
|
||||
#nv_userapp .ct2_a .mn, .ct2_a_r .mn { width: 99%; }
|
||||
|
||||
.ct3_a { padding: 0 240px 0 160px; }
|
||||
.ct3_a .appl { margin-left: -160px; }
|
||||
.ie6 .ct3_a .appl, .ie6 .ct3_a .sd { display: inline; }
|
||||
.ct3_a .sd { margin-right: -240px; }
|
||||
.ct3_a .mn { margin: 0; width: 100%; }
|
||||
|
||||
#nv, #mu { border-left: 1px solid {COMMONBORDER}; border-right: 1px solid {COMMONBORDER}; }
|
||||
|
||||
#nv { background-repeat: repeat-x; background-position: 0 -33px; }
|
||||
|
||||
#mu ul { border-bottom: 1px solid {COMMONBORDER}; background-image: none; background-color: {COMMONBG}; }
|
||||
|
||||
.pg_post .ct2_a { margin-left: 0; padding-left: 0; }
|
||||
.pg_post .ct2_a .appl { margin-left: 0; background: none; }
|
||||
.pg_modcp .ct2_a, .pg_announcement .ct2_a { border: none; }
|
||||
.pg_modcp .ct2_a .mn, .pg_announcement .ct2_a .mn { margin-right: 0; padding-top: 0; }
|
||||
|
||||
.tdats .tdat { width: 20%; }
|
||||
.tdats .tfxf { width: 79.5%; }
|
||||
.tdats .tfx, .tdats .tb, .tscr { width: 39.5%; }
|
||||
.tscr .tdat, .tscr .tdat th, .tscr .tdat td { width: 100%; }
|
||||
|
||||
.widthauto #toptb #diy-tg_menu { margin: -7px 0 0 -1px; }
|
||||
.widthauto .switchwidth { background-position: 100% -18px; }
|
||||
.widthauto .switchwidth:hover { background: url({IMGDIR}/switch_width.png) no-repeat 100% -54px; }
|
Reference in New Issue
Block a user