同步宝塔上的源码
18
template/ahome_common/cache.inc.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This is NOT a freeware, use is subject to license terms
|
||||
* Ӧ<><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Сʱ<D0A1><CAB1>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD>ϵ <20><><EFBFBD>Ѱ<EFBFBD> 1.9
|
||||
* <20><><EFBFBD>ص<EFBFBD>ַ: https://addon.dismall.com/templates/ahome_common.html
|
||||
* Ӧ<>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD>: Сʱ<D0A1><CAB1>
|
||||
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>QQ: 3033199665
|
||||
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 202505290039
|
||||
* <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>: www.shitangsweet.com
|
||||
* <20><>Ȩ<EFBFBD><C8A8>: 2025052816kEzhorNW4H
|
||||
* δ<><CEB4>Ӧ<EFBFBD>ó<EFBFBD><C3B3><EFBFBD><F2BFAAB7><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>ߵ<EFBFBD><DFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD><C9A3><EFBFBD><EFBFBD>ý<EFBFBD><C3BD>з<EFBFBD><D0B7>̡<F2B9A4B3><CCA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ࡢ<EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD><D4B8>ơ<EFBFBD><C6A1>ġ<DEB8><C4A1><EFBFBD><EFBFBD>ӡ<EFBFBD>ת<EFBFBD>ء<EFBFBD><D8A1><EFBFBD><EFBFBD>ࡢ<EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>桢<EFBFBD><E6A1A2>չ<EFBFBD><D5B9>֮<EFBFBD>йص<D0B9><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>
|
||||
*/
|
||||
|
||||
//FileCache
|
||||
if(!defined('IN_ADMINCP')) {
|
||||
exit('Access Denied');
|
||||
}
|
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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; }
|
65
template/ahome_common/discuz_style_Tsmini Common.xml
Normal file
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<root>
|
||||
<item id="Title"><![CDATA[Discuz! Style]]></item>
|
||||
<item id="Version"><![CDATA[X3.5]]></item>
|
||||
<item id="Time"><![CDATA[2024-09-16 08:02]]></item>
|
||||
<item id="From"><![CDATA[Discuz! Board (http://localhost/phproot/dz34/)]]></item>
|
||||
<item id="Data">
|
||||
<item id="styleid"><![CDATA[3]]></item>
|
||||
<item id="name"><![CDATA[小时空通用套系]]></item>
|
||||
<item id="available"><![CDATA[1]]></item>
|
||||
<item id="templateid"><![CDATA[3]]></item>
|
||||
<item id="extstyle"><![CDATA[t1 t2 t3 t4 t5 |]]></item>
|
||||
<item id="tplname"><![CDATA[小时空通用套系]]></item>
|
||||
<item id="directory"><![CDATA[./template/ahome_common]]></item>
|
||||
<item id="copyright"><![CDATA[左耳时空(Drawsnake)]]></item>
|
||||
<item id="style">
|
||||
<item id="styleimgdir"><![CDATA[template/ahome_common/src/]]></item>
|
||||
<item id="font"><![CDATA['Microsoft YaHei',Tahoma,Helvetica,'SimSun',sans-serif]]></item>
|
||||
<item id="fontsize"><![CDATA[13px]]></item>
|
||||
<item id="titlebgcolor"><![CDATA[#d7ecf5]]></item>
|
||||
<item id="smfont"><![CDATA['Microsoft YaHei',Tahoma,Helvetica,sans-serif]]></item>
|
||||
<item id="threadtitlefontsize"><![CDATA[14px]]></item>
|
||||
<item id="threadtitlefont"><![CDATA['Microsoft YaHei',Tahoma,Helvetica,'SimSun',sans-serif]]></item>
|
||||
<item id="smfontsize"><![CDATA[0.83em]]></item>
|
||||
<item id="tabletext"><![CDATA[#444]]></item>
|
||||
<item id="midtext"><![CDATA[#666]]></item>
|
||||
<item id="lighttext"><![CDATA[#999]]></item>
|
||||
<item id="link"><![CDATA[#333]]></item>
|
||||
<item id="highlightlink"><![CDATA[#369]]></item>
|
||||
<item id="noticetext"><![CDATA[#F26C4F]]></item>
|
||||
<item id="bgcolor"><![CDATA[#FFF background.png repeat-x 0 0]]></item>
|
||||
<item id="msgfontsize"><![CDATA[14px]]></item>
|
||||
<item id="sidebgcolor"><![CDATA[ vlineb.png repeat-y 0 0]]></item>
|
||||
<item id="headerborder"><![CDATA[0]]></item>
|
||||
<item id="headerbgcolor"><![CDATA[]]></item>
|
||||
<item id="inputborderdarkcolor"><![CDATA[#848484]]></item>
|
||||
<item id="stypeid"><![CDATA[1]]></item>
|
||||
<item id="inputbg"><![CDATA[#FFF]]></item>
|
||||
<item id="commonborder"><![CDATA[#CDCDCD]]></item>
|
||||
<item id="commonbg"><![CDATA[#F2F2F2]]></item>
|
||||
<item id="specialborder"><![CDATA[#F2F2F2]]></item>
|
||||
<item id="specialbg"><![CDATA[#F2F2F2]]></item>
|
||||
<item id="dropmenuborder"><![CDATA[#DDD]]></item>
|
||||
<item id="floatmaskbgcolor"><![CDATA[#000]]></item>
|
||||
<item id="menuhoverbgcolor"><![CDATA[transparent]]></item>
|
||||
<item id="lightlink"><![CDATA[#FFF]]></item>
|
||||
<item id="floatbgcolor"><![CDATA[#FFF]]></item>
|
||||
<item id="dropmenubgcolor"><![CDATA[#FEFEFE]]></item>
|
||||
<item id="imgdir"><![CDATA[]]></item>
|
||||
<item id="boardimg"><![CDATA[logo.png]]></item>
|
||||
<item id="available"><![CDATA[]]></item>
|
||||
<item id="headertext"><![CDATA[#444]]></item>
|
||||
<item id="footertext"><![CDATA[#666]]></item>
|
||||
<item id="menubgcolor"><![CDATA[transparent]]></item>
|
||||
<item id="menutext"><![CDATA[#FFF]]></item>
|
||||
<item id="menuhovertext"><![CDATA[#FFF]]></item>
|
||||
<item id="wrapbg"><![CDATA[#FFF]]></item>
|
||||
<item id="wrapbordercolor"><![CDATA[#CCC]]></item>
|
||||
<item id="contentwidth"><![CDATA[630px]]></item>
|
||||
<item id="contentseparate"><![CDATA[#EFEFEF]]></item>
|
||||
<item id="inputborder"><![CDATA[#E0E0E0]]></item>
|
||||
</item>
|
||||
<item id="version"><![CDATA[X3,X3.1,X3.2,X3.3,X3.4,X3.5]]></item>
|
||||
</item>
|
||||
</root>
|
611
template/ahome_common/forum/discuz.htm
Normal file
@@ -0,0 +1,611 @@
|
||||
<!--{template common/header}-->
|
||||
|
||||
<div id="pt" class="bm cl">
|
||||
<!--{if empty($gid) && $announcements}-->
|
||||
<div class="y" style="z-index:998;margin-top:0px;;padding:0px 5px;padding-right:0px;">
|
||||
<div id="an">
|
||||
<dl class="cl">
|
||||
<dt class="z xw1">{lang announcements}: </dt>
|
||||
<dd>
|
||||
<div id="anc"><ul id="ancl">$announcements</ul></div>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<script type="text/javascript">announcement();</script>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<div class="z">
|
||||
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>»</em><a href="forum.php">{$_G[setting][navs][2][navname]}</a>$navigation
|
||||
</div>
|
||||
<div class="z"><!--{hook/index_status_extra}--></div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--{if empty($gid)}-->
|
||||
<!--{ad/text/wp a_t}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<style id="diy_style" type="text/css"></style>
|
||||
|
||||
<!--{if empty($gid)}-->
|
||||
<div class="wp">
|
||||
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<div id="ct" class="wp cl{if $_G['setting']['forumallowside']} ct2{/if}">
|
||||
<!--{if empty($gid)}-->
|
||||
<ul class="dataul">
|
||||
<!--{eval $weekarray=array("日","一","二","三","四","五","六");}-->
|
||||
<li style="border-left:0px;"><p class="data">{echo date("n月j日",$_G['timestamp']);}</p><p class="desc">{echo "星期".$weekarray[date("w",$_G['timestamp'])]}</p></li>
|
||||
<li><p class="data">$todayposts</p><p class="desc">{lang index_today}</p></li>
|
||||
<li><p class="data">$postdata[0]</p><p class="desc">{lang index_yesterday}</p></li>
|
||||
<li><p class="data">$posts</p><p class="desc">{lang index_posts}</p></li>
|
||||
<li><p class="data">$_G['cache']['userstats']['totalmembers']</p><p class="desc">{lang index_members}</p></li>
|
||||
<li><p class="data"><a href="home.php?mod=space&username={echo rawurlencode($_G['cache']['userstats']['newsetuser'])}" target="_blank">$_G['cache']['userstats']['newsetuser']</a></p><p class="desc">{lang welcome_new_members}</p></li>
|
||||
</ul>
|
||||
<div class="y">
|
||||
<!--{hook/index_nav_extra}-->
|
||||
<ul class="dataul" style="margin-top:0px;">
|
||||
<li style="border-left:0px;">
|
||||
<a href="forum.php?mod=guide&view=my">
|
||||
<p class="data"><img src="template/ahome_common/src/default/mypost.png" style="height:40px;"></p><p class="desc">{lang my_posts}</p>
|
||||
</a>
|
||||
</li>
|
||||
<a href="forum.php?mod=guide&view=new">
|
||||
<li><p class="data"><img src="template/ahome_common/src/default/newreply.png" style="height:40px;"></p><p class="desc">{lang show_newthreads}</p></li>
|
||||
</a>
|
||||
</ul>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<div class="cl"></div>
|
||||
<!--[diy=diy_chart]--><div id="diy_chart" class="area"></div><!--[/diy]-->
|
||||
<div class="mn">
|
||||
|
||||
<!--{if !empty($_G['setting']['grid']['showgrid'])}-->
|
||||
<!-- index four grid -->
|
||||
<div class="fl bm">
|
||||
<div class="bm bmw cl">
|
||||
<div id="category_grid" class="bm_c" >
|
||||
<table cellspacing="0" cellpadding="0"><tr>
|
||||
<!--{if !$_G['setting']['grid']['gridtype']}-->
|
||||
<td valign="top" class="category_l1">
|
||||
<div class="newimgbox">
|
||||
<h4><span class="tit_newimg"></span>{lang latest_images}</h4>
|
||||
<div class="module cl slidebox_grid" style="width:218px">
|
||||
<script type="text/javascript">
|
||||
var slideSpeed = 5000;
|
||||
var slideImgsize = [218,200];
|
||||
var slideBorderColor = '{$_G['style']['specialborder']}';
|
||||
var slideBgColor = '{$_G['style']['commonbg']}';
|
||||
var slideImgs = new Array();
|
||||
var slideImgLinks = new Array();
|
||||
var slideImgTexts = new Array();
|
||||
var slideSwitchColor = '{$_G['style']['tabletext']}';
|
||||
var slideSwitchbgColor = '{$_G['style']['commonbg']}';
|
||||
var slideSwitchHiColor = '{$_G['style']['specialborder']}';
|
||||
{eval $k = 1;}
|
||||
<!--{loop $grids['slide'] $stid $svalue}-->
|
||||
slideImgs[<!--{echo $k}-->] = '$svalue[image]';
|
||||
slideImgLinks[<!--{echo $k}-->] = '{$svalue[url]}';
|
||||
slideImgTexts[<!--{echo $k}-->] = '$svalue[subject]';
|
||||
{eval $k++;}
|
||||
<!--{/loop}-->
|
||||
</script>
|
||||
<script language="javascript" type="text/javascript" src="{$_G[setting][jspath]}forum_slide.js?{VERHASH}"></script>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
<td valign="top" class="category_l2">
|
||||
<div class="subjectbox">
|
||||
<h4><span class="tit_subject"></span>{lang collection_lastthread}</h4>
|
||||
<ul class="category_newlist">
|
||||
<!--{loop $grids['newthread'] $thread}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td valign="top" class="category_l3">
|
||||
<div class="replaybox">
|
||||
<h4><span class="tit_replay"></span>{lang show_newthreads}</h4>
|
||||
<ul class="category_newlist">
|
||||
<!--{loop $grids['newreply'] $thread}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<li><a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']}tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td valign="top" class="category_l3">
|
||||
<div class="hottiebox">
|
||||
<h4><span class="tit_hottie"></span>{lang hot_thread}</h4>
|
||||
<ul class="category_newlist">
|
||||
<!--{loop $grids['hot'] $thread}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<!--{if $_G['setting']['grid']['gridtype']}-->
|
||||
<td valign="top" class="category_l4">
|
||||
<div class="goodtiebox">
|
||||
<h4><span class="tit_goodtie"></span>{lang post_digest_thread}</h4>
|
||||
<ul class="category_newlist">
|
||||
<!--{loop $grids['digest'] $thread}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- index four grid end -->
|
||||
<!--{/if}-->
|
||||
<!--{hook/index_top}-->
|
||||
<!--{if !empty($_G['cache']['heats']['message'])}-->
|
||||
<div class="bm">
|
||||
<div class="bm_h cl">
|
||||
<h2>{lang hotthreads_forum}</h2>
|
||||
</div>
|
||||
<div class="bm_c cl">
|
||||
<div class="heat z">
|
||||
<!--{loop $_G['cache']['heats']['message'] $data}-->
|
||||
<dl class="xld">
|
||||
<dt><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></dt>
|
||||
<dd>$data[message]</dd>
|
||||
</dl>
|
||||
<!--{/loop}-->
|
||||
</div>
|
||||
<ul class="xl xl1 heatl">
|
||||
<!--{loop $_G['cache']['heats']['subject'] $data}-->
|
||||
<li><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->· <a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/index_catlist_top}-->
|
||||
<div class="fl bm">
|
||||
<!--{if !empty($collectiondata['follows'])}-->
|
||||
|
||||
<!--{eval $forumscount = count($collectiondata['follows']);}-->
|
||||
<!--{eval $forumcolumns = 4;}-->
|
||||
|
||||
<!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->
|
||||
|
||||
<div class="bm bmw {if $forumcolumns} flg{/if} cl">
|
||||
<div class="bm_h cl">
|
||||
<span class="o">
|
||||
<img id="category_-1_img" src="{IMGDIR}/$collapse['collapseimg_-1']" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_-1');" />
|
||||
</span>
|
||||
<h2><a href="forum.php?mod=collection&op=my">{lang my_order_collection}</a></h2>
|
||||
</div>
|
||||
<div id="category_-1" class="bm_c" style="{echo $collapse['category_-1']}">
|
||||
<table cellspacing="0" cellpadding="0" class="fl_tb">
|
||||
<tr>
|
||||
<!--{eval $ctorderid = 0;}-->
|
||||
<!--{loop $collectiondata['follows'] $key $colletion}-->
|
||||
<!--{if $ctorderid && ($ctorderid % $forumcolumns == 0)}-->
|
||||
</tr>
|
||||
<!--{if $ctorderid < $forumscount}-->
|
||||
<tr class="fl_row">
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
|
||||
<div class="fl_icn_g">
|
||||
<a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}" target="_blank"><img src="{IMGDIR}/forum{if $followcollections[$key]['lastvisit'] < $colletion['lastupdate']}_new{/if}.gif" alt="$colletion[name]" /></a>
|
||||
</div>
|
||||
<dl>
|
||||
<dt><a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}">$colletion[name]</a></dt>
|
||||
<dd><em>{lang forum_threads}: <!--{echo dnumber($colletion[threadnum])}--></em>, <em>{lang collection_commentnum}: <!--{echo dnumber($colletion[commentnum])}--></em></dd>
|
||||
<dd>
|
||||
<!--{if $colletion['lastpost']}-->
|
||||
<!--{if $forumcolumns < 3}-->
|
||||
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($colletion[lastsubject], 30)}--></a> <cite><!--{date($colletion[lastposttime])}--> <!--{if $colletion['lastposter']}-->$colletion['lastposter']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost">{lang forum_lastpost}: <!--{date($colletion[lastposttime])}--></a>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
</dd>
|
||||
<!--{hook/index_followcollection_extra $colletion[ctid]}-->
|
||||
</dl>
|
||||
</td>
|
||||
<!--{eval $ctorderid++;}-->
|
||||
|
||||
<!--{/loop}-->
|
||||
<!--{if ($columnspad = $ctorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{/if}-->
|
||||
<!--{if empty($gid) && !empty($forum_favlist)}-->
|
||||
<!--{eval $forumscount = count($forum_favlist);}-->
|
||||
<!--{eval $forumcolumns = $forumscount > 3 ? ($forumscount == 4 ? 4 : 5) : 1;}-->
|
||||
|
||||
<!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->
|
||||
|
||||
<div class="bm bmw {if $forumcolumns} flg{/if} cl">
|
||||
<div class="bm_h cl">
|
||||
<span class="o">
|
||||
<img id="category_0_img" src="{IMGDIR}/$collapse['collapseimg_0']" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_0');" />
|
||||
</span>
|
||||
<h2><a href="home.php?mod=space&do=favorite&type=forum">{lang forum_myfav}</a></h2>
|
||||
</div>
|
||||
<div id="category_0" class="bm_c" style="{echo $collapse['category_0']}">
|
||||
<table cellspacing="0" cellpadding="0" class="fl_tb">
|
||||
<tr>
|
||||
<!--{eval $favorderid = 0;}-->
|
||||
<!--{loop $forum_favlist $key $favorite}-->
|
||||
<!--{if $favforumlist[$favorite[id]]}-->
|
||||
<!--{eval $forum=$favforumlist[$favorite[id]];}-->
|
||||
<!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? $_G['scheme'].'://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
|
||||
<!--{if $forumcolumns>1}-->
|
||||
<!--{if $favorderid && ($favorderid % $forumcolumns == 0)}-->
|
||||
</tr>
|
||||
<!--{if $favorderid < $forumscount}-->
|
||||
<tr class="fl_row">
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
|
||||
<div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
|
||||
<!--{if $forum[icon]}-->
|
||||
$forum[icon]
|
||||
<!--{else}-->
|
||||
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
|
||||
<dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
|
||||
<!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
|
||||
<dd>
|
||||
<!--{if $forum['permission'] == 1}-->
|
||||
{lang private_forum}
|
||||
<!--{else}-->
|
||||
<!--{if $forum['redirect']}-->
|
||||
<a href="$forumurl" class="xi2">{lang url_link}</a>
|
||||
<!--{elseif is_array($forum['lastpost'])}-->
|
||||
<!--{if $forumcolumns < 3}-->
|
||||
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</dd>
|
||||
<!--{hook/index_favforum_extra $forum[fid]}-->
|
||||
</dl>
|
||||
</td>
|
||||
<!--{eval $favorderid++;}-->
|
||||
<!--{else}-->
|
||||
<td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
|
||||
<!--{if $forum[icon]}-->
|
||||
$forum[icon]
|
||||
<!--{else}-->
|
||||
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
<td>
|
||||
<h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
|
||||
<!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
|
||||
<!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
|
||||
<!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
|
||||
<!--{hook/index_favforum_extra $forum[fid]}-->
|
||||
</td>
|
||||
<td class="fl_i">
|
||||
<!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
|
||||
</td>
|
||||
<td class="fl_by">
|
||||
<div>
|
||||
<!--{if $forum['permission'] == 1}-->
|
||||
{lang private_forum}
|
||||
<!--{else}-->
|
||||
<!--{if $forum['redirect']}-->
|
||||
<a href="$forumurl" class="xi2">{lang url_link}</a>
|
||||
<!--{elseif is_array($forum['lastpost'])}-->
|
||||
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="fl_row">
|
||||
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{if ($columnspad = $favorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--{ad/intercat/bm a_c/-1}-->
|
||||
<!--{/if}-->
|
||||
<!--{loop $catlist $key $cat}-->
|
||||
<!--{hook/index_catlist $cat[fid]}-->
|
||||
<div class="bm bmw {if $cat['forumcolumns']} flg{/if} cl">
|
||||
<div class="bm_h cl">
|
||||
<span class="o">
|
||||
<img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');" />
|
||||
</span>
|
||||
<!--{if $cat['moderators']}--><span class="y">{lang forum_category_modedby}: $cat[moderators]</span><!--{/if}-->
|
||||
<!--{eval $caturl = !empty($cat['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? $_G['scheme'].'://'.$cat['domain'].'.'.$_G['setting']['domain']['root']['forum'] : '';}-->
|
||||
<h2><a href="{if !empty($caturl)}$caturl{else}forum.php?gid=$cat[fid]{/if}" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></h2>
|
||||
</div>
|
||||
<div id="category_$cat[fid]" class="bm_c" style="{echo $collapse['category_'.$cat[fid]]}">
|
||||
<table cellspacing="0" cellpadding="0" class="fl_tb">
|
||||
<tr>
|
||||
<!--{loop $cat[forums] $forumid}-->
|
||||
<!--{eval $forum=$forumlist[$forumid];}-->
|
||||
<!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? $_G['scheme'].'://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
|
||||
<!--{if $cat['forumcolumns']}-->
|
||||
<!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
|
||||
</tr>
|
||||
<!--{if $forum['orderid'] < $cat['forumscount']}-->
|
||||
<tr class="fl_row">
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<td class="fl_g" width="$cat[forumcolwidth]">
|
||||
<div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
|
||||
<!--{if $forum[icon]}-->
|
||||
$forum[icon]
|
||||
<!--{else}-->
|
||||
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
|
||||
<dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
|
||||
<!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
|
||||
<dd>
|
||||
<!--{if $forum['permission'] == 1}-->
|
||||
{lang private_forum}
|
||||
<!--{else}-->
|
||||
<!--{if $forum['redirect']}-->
|
||||
<a href="$forumurl" class="xi2">{lang url_link}</a>
|
||||
<!--{elseif is_array($forum['lastpost'])}-->
|
||||
<!--{if $cat['forumcolumns'] < 3}-->
|
||||
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</dd>
|
||||
<!--{hook/index_forum_extra $forum[fid]}-->
|
||||
</dl>
|
||||
</td>
|
||||
<!--{else}-->
|
||||
<td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
|
||||
<!--{if $forum[icon]}-->
|
||||
$forum[icon]
|
||||
<!--{else}-->
|
||||
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
<td>
|
||||
<h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
|
||||
<!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
|
||||
<!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
|
||||
<!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
|
||||
<!--{hook/index_forum_extra $forum[fid]}-->
|
||||
</td>
|
||||
<td class="fl_i">
|
||||
<!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
|
||||
</td>
|
||||
<td class="fl_by">
|
||||
<div>
|
||||
<!--{if $forum['permission'] == 1}-->
|
||||
{lang private_forum}
|
||||
<!--{else}-->
|
||||
<!--{if $forum['redirect']}-->
|
||||
<a href="$forumurl" class="xi2">{lang url_link}</a>
|
||||
<!--{elseif is_array($forum['lastpost'])}-->
|
||||
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="fl_row">
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
$cat['endrows']
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!--{ad/intercat/bm a_c/$cat[fid]}-->
|
||||
<!--{/loop}-->
|
||||
<!--{if !empty($collectiondata['data'])}-->
|
||||
|
||||
<!--{eval $forumscount = count($collectiondata['data']);}-->
|
||||
<!--{eval $forumcolumns = 4;}-->
|
||||
|
||||
<!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->
|
||||
|
||||
<div class="bm bmw {if $forumcolumns} flg{/if} cl">
|
||||
<div class="bm_h cl">
|
||||
<span class="o">
|
||||
<img id="category_-2_img" src="{IMGDIR}/$collapse['collapseimg_-2']" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_-2');" />
|
||||
</span>
|
||||
<h2><a href="forum.php?mod=collection">{lang recommend_collection}</a></h2>
|
||||
</div>
|
||||
<div id="category_-2" class="bm_c" style="{echo $collapse['category_-2']}">
|
||||
<table cellspacing="0" cellpadding="0" class="fl_tb">
|
||||
<tr>
|
||||
<!--{eval $ctorderid = 0;}-->
|
||||
<!--{loop $collectiondata['data'] $key $colletion}-->
|
||||
<!--{if $ctorderid && ($ctorderid % $forumcolumns == 0)}-->
|
||||
</tr>
|
||||
<!--{if $ctorderid < $forumscount}-->
|
||||
<tr class="fl_row">
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
|
||||
<div class="fl_icn_g">
|
||||
<a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}" target="_blank"><img src="{IMGDIR}/forum.gif" alt="$colletion[name]" /></a>
|
||||
</div>
|
||||
<dl>
|
||||
<dt><a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}">$colletion[name]</a></dt>
|
||||
<dd><em>{lang forum_threads}: <!--{echo dnumber($colletion[threadnum])}--></em>, <em>{lang collection_commentnum}: <!--{echo dnumber($colletion[commentnum])}--></em></dd>
|
||||
<dd>
|
||||
<!--{if $colletion['lastpost']}-->
|
||||
<!--{if $forumcolumns < 3}-->
|
||||
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($colletion[lastsubject], 30)}--></a> <cite><!--{date($colletion[lastposttime])}--> <!--{if $colletion['lastposter']}-->$colletion['lastposter']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost">{lang forum_lastpost}: <!--{date($colletion[lastposttime])}--></a>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
</dd>
|
||||
<!--{hook/index_datacollection_extra $colletion[ctid]}-->
|
||||
</dl>
|
||||
</td>
|
||||
<!--{eval $ctorderid++;}-->
|
||||
|
||||
<!--{/loop}-->
|
||||
<!--{if ($columnspad = $ctorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{/if}-->
|
||||
|
||||
</div>
|
||||
|
||||
<!--{hook/index_middle}-->
|
||||
<div class="wp mtn">
|
||||
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
|
||||
<!--{if empty($gid) && $_G['setting']['whosonlinestatus']}-->
|
||||
<div id="online" class="bm oll">
|
||||
<div class="bm_h">
|
||||
<!--{if $detailstatus}-->
|
||||
<span class="o"><a href="forum.php?showoldetails=no#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_no.gif" alt="{lang spread}" /></a></span>
|
||||
<h3>
|
||||
<strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
|
||||
<span class="xs1">- <strong>$onlinenum</strong> {lang onlines}
|
||||
- <strong>$membercount</strong> {lang index_members}(<strong>$invisiblecount</strong> {lang index_invisibles}),
|
||||
<strong>$guestcount</strong> {lang index_guests}
|
||||
- {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
|
||||
</h3>
|
||||
<!--{else}-->
|
||||
<!--{if empty($_G['setting']['sessionclose'])}-->
|
||||
<span class="o"><a href="forum.php?showoldetails=yes#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_yes.gif" alt="{lang spread}" /></a></span>
|
||||
<!--{/if}-->
|
||||
<h3>
|
||||
<strong>
|
||||
<!--{if !empty($_G['setting']['whosonlinestatus'])}-->
|
||||
{lang onlinemember}
|
||||
<!--{else}-->
|
||||
<a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a>
|
||||
<!--{/if}-->
|
||||
</strong>
|
||||
<span class="xs1">- {lang total} <strong>$onlinenum</strong> {lang onlines}
|
||||
<!--{if $membercount}-->- <strong>$membercount</strong> {lang index_members},<strong>$guestcount</strong> {lang index_guests}<!--{/if}-->
|
||||
- {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
|
||||
</h3>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{if $_G['setting']['whosonlinestatus'] && $detailstatus}-->
|
||||
<dl id="onlinelist" class="bm_c">
|
||||
<dt class="ptm pbm bbda">$_G[cache][onlinelist][legend]</dt>
|
||||
<!--{if $detailstatus}-->
|
||||
<dd class="ptm pbm">
|
||||
<ul class="cl">
|
||||
<!--{if $whosonline}-->
|
||||
<!--{loop $whosonline $key $online}-->
|
||||
<li title="{lang time}: $online[lastactivity]">
|
||||
<img src="{if $_G['setting']['version'] !='X3.5'}{STATICURL}image/common/{/if}$online['icon']" alt="icon" />
|
||||
<!--{if $online['uid']}-->
|
||||
<a href="home.php?mod=space&uid=$online[uid]">$online[username]</a>
|
||||
<!--{else}-->
|
||||
$online[username]
|
||||
<!--{/if}-->
|
||||
</li>
|
||||
<!--{/loop}-->
|
||||
<!--{else}-->
|
||||
<li style="width: auto">{lang online_only_guests}</li>
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
</dd>
|
||||
<!--{/if}-->
|
||||
</dl>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if empty($gid) && ($_G['cache']['forumlinks'][0] || $_G['cache']['forumlinks'][1] || $_G['cache']['forumlinks'][2])}-->
|
||||
<div class="bm lk">
|
||||
<div id="category_lk" class="bm_c ptm">
|
||||
<!--{if $_G['cache']['forumlinks'][0]}-->
|
||||
<ul class="m mbn cl">$_G['cache']['forumlinks'][0]</ul>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['cache']['forumlinks'][1]}-->
|
||||
<div class="mbn cl">
|
||||
$_G['cache']['forumlinks'][1]
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['cache']['forumlinks'][2]}-->
|
||||
<ul class="x mbm cl">
|
||||
$_G['cache']['forumlinks'][2]
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/index_bottom}-->
|
||||
</div>
|
||||
|
||||
<!--{if $_G['setting']['forumallowside']}-->
|
||||
<div id="sd" class="sd">
|
||||
<!--{hook/index_side_top}-->
|
||||
<div class="drag">
|
||||
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<!--{hook/index_side_bottom}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<!--{if empty($_G['setting']['disfixednv_forumindex']) }--><script>fixed_top_nv();</script><!--{/if}-->
|
||||
|
||||
|
||||
|
||||
<!--{template common/footer}-->
|
580
template/ahome_common/forum/forumdisplay.htm
Normal file
@@ -0,0 +1,580 @@
|
||||
<!--{template common/header}-->
|
||||
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}forum_moderate.js?{VERHASH}"></script>
|
||||
<!--{/if}-->
|
||||
<style id="diy_style" type="text/css"></style>
|
||||
<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
|
||||
<div id="pt" class="bm cl">
|
||||
<div class="z">
|
||||
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>»</em><a href="forum.php">{$_G[setting][navs][2][navname]}</a>$navigation
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{ad/text/wp a_t}-->
|
||||
<div class="wp">
|
||||
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<div class="boardnav">
|
||||
<div id="ct" class="wp cl{if $_G['forum']['allowside']} ct2{/if}"{if $leftside} style="margin-left:{$_G['leftsidewidth_mwidth']}px"{/if}>
|
||||
<!--{if $leftside}-->
|
||||
<div id="sd_bdl" class="bdl" onmouseover="showMenu({'ctrlid':this.id, 'pos':'dz'});" style="width:{$_G['setting']['leftsidewidth']}px;margin-left:-{$_G['leftsidewidth_mwidth']}px">
|
||||
<!--{hook/forumdisplay_leftside_top}-->
|
||||
<!--[diy=diyleftsidetop]--><div id="diyleftsidetop" class="area"></div><!--[/diy]-->
|
||||
|
||||
<div class="tbn" id="forumleftside">
|
||||
<!--{subtemplate forum/forumdisplay_leftside}-->
|
||||
</div>
|
||||
|
||||
<!--[diy=diyleftsidebottom]--><div id="diyleftsidebottom" class="area"></div><!--[/diy]-->
|
||||
<!--{hook/forumdisplay_leftside_bottom}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<div class="mn">
|
||||
<div class="bm bml pbn">
|
||||
<!--{if $_G[forum][banner] && !$subforumonly}--><img src="$_G[forum][banner]" alt="$_G['forum'][name]" /><!--{/if}-->
|
||||
<div class="bm_h cl">
|
||||
<!--{if $_G['page'] == 1 && $_G['forum']['rules']}--><span class="o"><img id="forum_rules_{$_G[fid]}_img" src="{IMGDIR}/collapsed_{$collapse[forum_rulesimg]}.gif" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('forum_rules_{$_G[fid]}')" /></span><!--{/if}-->
|
||||
<span class="y">
|
||||
<a href="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum&formhash={FORMHASH}" id="a_favorite" class="fa_fav" onclick="showWindow(this.id, this.href, 'get', 0);">{lang forum_favorite} <strong class="xi1" id="number_favorite" {if !$_G[forum][favtimes]} style="display:none;"{/if}>(<span id="number_favorite_num">$_G[forum][favtimes]</span>)</strong></a>
|
||||
<!--{if rssforumperm($_G['forum']) && $_G[setting][rssstatus] && !$_GET['archiveid'] && !$subforumonly}-->
|
||||
<!--<span class="pipe">|</span><a href="forum.php?mod=rss&fid=$_G[fid]&auth=$rssauth" class="fa_rss" target="_blank" title="RSS">{lang rss_subscribe_this}</a>-->
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($forumarchive)}-->
|
||||
<span class="pipe">|</span><a id="forumarchive" href="javascript:;" class="fa_achv" onmouseover="showMenu(this.id)"><!--{if $_GET['archiveid']}-->$forumarchive[$_GET['archiveid']]['displayname']<!--{else}-->{lang forum_archive}<!--{/if}--></a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_forumaction}-->
|
||||
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<!--{if $_G['forum']['recyclebin']}-->
|
||||
<span class="pipe">|</span><a href="{if $_G['adminid'] == 1}admin.php?mod=forum&action=recyclebin&frames=yes{elseif $_G['forum']['ismoderator']}forum.php?mod=modcp&action=recyclebin&fid=$_G[fid]{/if}" class="fa_bin" target="_blank">{lang forum_recyclebin}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}-->
|
||||
<span class="pipe">|</span><strong>
|
||||
<!--{if $_G['forum']['status'] != 3}-->
|
||||
<a href="forum.php?mod=modcp&fid=$_G[fid]">{lang modcp}</a>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=group&action=manage&fid=$_G[fid]">{lang modcp}</a>
|
||||
<!--{/if}-->
|
||||
</strong>
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_modlink}-->
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
<h1 class="xs2">
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]">$_G['forum'][name]</a>
|
||||
<!--{if !$subforumonly}--><span class="xs1 xw0 i">{lang index_today}: <strong class="xi1">$_G[forum][todayposts]</strong><!--{if $_G[forum][todayposts]}--><!--{if $_G[forum][todayposts] < $_G[forum][yesterdayposts]}--><b class="ico_fall"> </b><!--{else}--><b class="ico_increase"> </b><!--{/if}--><!--{/if}--><span class="pipe">|</span>{lang index_threads}: <strong class="xi1">$_G[forum][threads]</strong><!--{if $_G[forum][rank]}--><span class="pipe">|</span>{lang rank}: <strong class="xi1" title="{lang previous_rank}:$_G[forum][oldrank]">$_G[forum][rank]</strong><!--{if $_G[forum][rank] <= $_G[forum][oldrank]}--><b class="ico_increase"> </b><!--{else}--><b class="ico_fall"> </b><!--{/if}--><!--{/if}--></span><!--{/if}-->
|
||||
</h1>
|
||||
</div>
|
||||
<!--{if (!empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])) || $moderatedby || ($_G['page'] == 1 && $_G['forum']['rules'])}-->
|
||||
<div class="bm_c cl pbn">
|
||||
<!--{if !empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])}-->
|
||||
<div class="pbn">{lang forum_domain}: <a href="{$_G['scheme']}://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}" id="group_link">{$_G['scheme']}://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}</a></div>
|
||||
<!--{/if}-->
|
||||
<!--{if $moderatedby}--><div>{lang forum_modedby}: <span class="xi2">$moderatedby</span></div><!--{/if}-->
|
||||
<!--{if $_G['page'] == 1 && $_G['forum']['rules']}-->
|
||||
<div id="forum_rules_{$_G[fid]}" style="$collapse['forum_rules'];">
|
||||
<div class="ptn xg2">$_G['forum'][rules]</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($forumarchive)}-->
|
||||
<div id="forumarchive_menu" class="p_pop" style="display:none">
|
||||
<ul>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]">{lang threads_all}</a></li>
|
||||
<!--{loop $forumarchive $id $info}-->
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&archiveid=$id">{$info['displayname']} ({$info['threads']})</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<!--{hook/forumdisplay_top}-->
|
||||
|
||||
<!--{if $subexists && $_G['page'] == 1}--><!--{template forum/forumdisplay_subforum}--><!--{/if}-->
|
||||
|
||||
<div class="drag">
|
||||
<!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
|
||||
<!--{if !empty($_G['forum']['recommendlist'])}-->
|
||||
<div class="bm bmw">
|
||||
<div class="bm_h cl">
|
||||
<h2>{lang forum_recommend}</h2>
|
||||
</div>
|
||||
<div class="bm_c cl">
|
||||
<!--{subtemplate forum/recommend}-->
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/forumdisplay_middle}-->
|
||||
|
||||
<!--{if !$subforumonly}-->
|
||||
|
||||
<!--{if $recommendgroups && !$_G['forum']['allowside']}-->
|
||||
<div class="bm bmw fl{if $_G['forum']['forumcolumns']} flg{/if}">
|
||||
<div class="bm_h cl">
|
||||
<span class="o"><img id="recommendgroups_{$_G[forum][fid]}_img" src="{IMGDIR}/$collapseimg[recommendgroups]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('recommendgroups_{$_G[forum][fid]}');" /></span>
|
||||
<h2>{lang recommended_groups}</h2>
|
||||
</div>
|
||||
<div class="bm_c" id="recommendgroups_{$_G[forum][fid]}" style="$collapse[recommendgroups]">
|
||||
<table cellspacing="0" cellpadding="0" class="fl_tb">
|
||||
<!--{loop $recommendgroups $key $group}-->
|
||||
<!--{if $_G['forum']['forumcolumns']}-->
|
||||
<!--{if $key && ($key % $_G['forum']['forumcolumns'] == 0)}-->
|
||||
</tr>
|
||||
<!--{if $key < $_G['forum']['forumcolumns']}-->
|
||||
<tr class="fl_row">
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<td class="fl_g">
|
||||
<div class="fl_icn_g">
|
||||
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank"><img src="$group[icon]" alt="$group[name]" width="32" /></a>
|
||||
</div>
|
||||
<dl>
|
||||
<dt><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><span class="xg1 xw0"> ($group[membernum] {lang activity_member_unit})</span>
|
||||
<dd><em>{lang forum_threads}: $group[threads]</em></dd>
|
||||
<dd>
|
||||
<!--{if is_array($group['lastpost'])}-->
|
||||
<!--{if $_G['forum']['forumcolumns'] < 3}-->
|
||||
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($group[lastpost][subject], 30)}--></a> <cite>$group[lastpost][dateline] <!--{if $group['lastpost']['author']}--><a href="home.php?mod=space&username={$group[lastpost][encode_author]}">{$group[lastpost][author]}</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2">$group[lastpost][dateline]</a>
|
||||
<!--{/if}--> <!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
</dd>
|
||||
</dl>
|
||||
</td>
|
||||
<!--{else}-->
|
||||
<tr {if $key != 0}class="fl_row"{/if}>
|
||||
<td class="fl_icn">
|
||||
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank"><img src="$group[icon]" alt="$group[name]" width="32" /></a>
|
||||
</td>
|
||||
<td>
|
||||
<h2><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><span class="xg1 xw0"> ($group[membernum] {lang activity_member_unit})</span></h2>
|
||||
<p><!--{echo cutstr($group[description], 100)}--></p>
|
||||
</td>
|
||||
<td class="fl_i">
|
||||
<span class="xi2">$group[threads] {lang index_threads}</span>
|
||||
</td>
|
||||
<td class="fl_by">
|
||||
<div>
|
||||
<!--{if is_array($group['lastpost'])}-->
|
||||
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($group[lastpost][subject], 30)}--></a> <cite>$group[lastpost][dateline] <!--{if $group['lastpost']['author']}--><a href="home.php?mod=space&username={$group[lastpost][encode_author]}">{$group[lastpost][author]}</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $threadmodcount}--><div class="bm"><div class="ntc_l hm xi2"><strong>{lang forum_moderate_unhandled}</strong></div></div><!--{/if}-->
|
||||
|
||||
<!--{if $livethread}-->
|
||||
<div id="livethread" class="tl bm bmw cl" style="padding:10px 15px;">
|
||||
<div class="livethreadtitle vm">
|
||||
<span class="replynumber xg1">{lang reply} <span id="livereplies" class="xi1">$livethread[replies]</span></span>
|
||||
<a href="forum.php?mod=viewthread&tid=$livethread[tid]" target="_blank">$livethread[subject]</a> <img src="{IMGDIR}/livethreadtitle.png" />
|
||||
</div>
|
||||
<div class="livethreadcon">$livemessage</div>
|
||||
<div id="livereplycontentout">
|
||||
<div id="livereplycontent">
|
||||
</div>
|
||||
</div>
|
||||
<div id="liverefresh">{lang forum_live_newreply_refresh}</div>
|
||||
<div id="livefastreply">
|
||||
<form id="livereplypostform" method="post" action="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$livethread[tid]&replysubmit=yes&infloat=yes&handlekey=livereplypost&inajax=1" onsubmit="return livereplypostvalidate(this)">
|
||||
<div id="livefastcomment">
|
||||
<textarea id="livereplymessage" name="message" style="color:gray;<!--{if !$liveallowpostreply}-->display:none;<!--{/if}-->">{lang forum_live_fastreply_notice}</textarea>
|
||||
<!--{if !$liveallowpostreply}-->
|
||||
<div>
|
||||
<!--{if !$_G[uid]}-->
|
||||
{lang login_to_reply} <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">{lang login}</a> | <a href="member.php?mod={$_G[setting][regname]}" class="xi2">$_G['setting']['reglinkname']</a>
|
||||
<!--{else}-->
|
||||
{lang no_permission_to_post}<a href="javascript:;" onclick="ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));" class="xi2">{lang click_to_show_reason}</a>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<div id="livepostsubmit" style="display:none;">
|
||||
<!--{if $secqaacheck || $seccodecheck}-->
|
||||
<!--{block sectpl}--><sec> <span id="sec<hash>" onclick="showMenu(this.id)"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div><!--{/block}-->
|
||||
<div class="mtm sec" style="text-align:right;"><!--{subtemplate common/seccheck}--></div>
|
||||
<!--{/if}-->
|
||||
<p class="ptm pnpost" style="margin-bottom:10px;">
|
||||
<button type="submit" name="replysubmit" class="pn pnc vm" style="float:right;" value="replysubmit" id="livereplysubmit">
|
||||
<strong>{lang forum_live_post}</strong>
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<input type="hidden" name="subject" value=" ">
|
||||
</form>
|
||||
</div>
|
||||
<span id="livereplypostreturn"></span>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var postminchars = parseInt('$_G['setting']['minpostsize']');
|
||||
var postmaxchars = parseInt('$_G['setting']['maxpostsize']');
|
||||
var disablepostctrl = parseInt('{$_G['group']['disablepostctrl']}');
|
||||
var replycontentlist = new Array();
|
||||
var addreplylist = new Array();
|
||||
var timeoutid = timeid = movescrollid = waitescrollid = null;
|
||||
var replycontentnum = 0;
|
||||
getnewlivepostlist(1);
|
||||
timeid = setInterval(getnewlivepostlist, 5000);
|
||||
$('livereplycontent').style.position = 'absolute';
|
||||
$('livereplycontent').style.width = ($('livereplycontentout').clientWidth - 50) + 'px';
|
||||
$('livereplymessage').onfocus = function() {
|
||||
if(this.style.color == 'gray') {
|
||||
this.value = '';
|
||||
this.style.color = 'black';
|
||||
$('livepostsubmit').style.display = 'block';
|
||||
this.style.height = '56px';
|
||||
$('livefastcomment').style.height = '57px';
|
||||
}
|
||||
};
|
||||
$('livereplymessage').onblur = function() {
|
||||
if(this.value == '') {
|
||||
this.style.color = 'gray';
|
||||
this.value = '{lang forum_live_fastreply_notice}';
|
||||
}
|
||||
};
|
||||
|
||||
$('liverefresh').onclick = function() {
|
||||
$('livereplycontent').style.position = 'absolute';
|
||||
getnewlivepostlist();
|
||||
this.style.display = 'none';
|
||||
};
|
||||
|
||||
$('livereplycontentout').onmouseover = function(e) {
|
||||
|
||||
if($('livereplycontent').style.position == 'absolute' && $('livereplycontent').clientHeight > 215) {
|
||||
$('livereplycontent').style.position = 'static';
|
||||
this.scrollTop = this.scrollHeight;
|
||||
}
|
||||
|
||||
if(this.scrollTop + this.clientHeight != this.scrollHeight) {
|
||||
clearInterval(timeid);
|
||||
clearTimeout(timeoutid);
|
||||
clearInterval(movescrollid);
|
||||
timeid = timeoutid = movescrollid = null;
|
||||
|
||||
if(waitescrollid == null) {
|
||||
waitescrollid = setTimeout(function() {
|
||||
$('liverefresh').style.display = 'block';
|
||||
}, 60000 * 10);
|
||||
}
|
||||
} else {
|
||||
clearTimeout(waitescrollid);
|
||||
waitescrollid = null;
|
||||
}
|
||||
};
|
||||
|
||||
$('livereplycontentout').onmouseout = function(e) {
|
||||
if(this.scrollTop + this.clientHeight == this.scrollHeight) {
|
||||
$('livereplycontent').style.position = 'absolute';
|
||||
clearInterval(timeid);
|
||||
timeid = setInterval(getnewlivepostlist, 10000);
|
||||
}
|
||||
};
|
||||
|
||||
function getnewlivepostlist(first) {
|
||||
var x = new Ajax('JSON');
|
||||
x.getJSON('forum.php?mod=misc&action=livelastpost&fid=$livethread[fid]', function(s, x) {
|
||||
var count = s.data.count;
|
||||
$('livereplies').innerHTML = count;
|
||||
var newpostlist = s.data.list;
|
||||
for(i in newpostlist) {
|
||||
var postid = i;
|
||||
var postcontent = '';
|
||||
postcontent += newpostlist[i].authorid ? '<dt><a href="home.php?mod=space&uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].avatar + '</a></dt>' : '<dt></dt>';
|
||||
postcontent += newpostlist[i].authorid ? '<dd><a href="home.php?mod=space&uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].author + '</a></dd>' : '<dd>' + newpostlist[i].author + '</dd>';
|
||||
postcontent += '<dd>' + htmlspecialchars(newpostlist[i].message) + '</dd>';
|
||||
postcontent += '<dd class="dateline">' + newpostlist[i].dateline + '</dd>';
|
||||
if(replycontentlist[postid]) {
|
||||
$('livereply_' + postid).innerHTML = postcontent;
|
||||
continue;
|
||||
}
|
||||
addreplylist[postid] = '<dl id="livereply_' + postid + '">' + postcontent + '</dl>';
|
||||
}
|
||||
if(first) {
|
||||
for(i in addreplylist) {
|
||||
replycontentlist[i] = addreplylist[i];
|
||||
replycontentnum++;
|
||||
var div = document.createElement('div');
|
||||
div.innerHTML = addreplylist[i];
|
||||
$('livereplycontent').appendChild(div);
|
||||
delete addreplylist[i];
|
||||
}
|
||||
} else {
|
||||
livecontentfacemove();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function livecontentfacemove() {
|
||||
//note <20>Ӷ<EFBFBD><D3B6><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
var reply = '';
|
||||
for(i in addreplylist) {
|
||||
reply = replycontentlist[i] = addreplylist[i];
|
||||
replycontentnum++;
|
||||
delete addreplylist[i];
|
||||
break;
|
||||
}
|
||||
if(reply) {
|
||||
var div = document.createElement('div');
|
||||
div.innerHTML = reply;
|
||||
var oldclientHeight = $('livereplycontent').clientHeight;
|
||||
$('livereplycontent').appendChild(div);
|
||||
$('livereplycontentout').style.overflowY = 'hidden';
|
||||
$('livereplycontent').style.bottom = oldclientHeight - $('livereplycontent').clientHeight + 'px';
|
||||
|
||||
if(replycontentnum > 20) {
|
||||
$('livereplycontent').removeChild($('livereplycontent').firstChild);
|
||||
for(i in replycontentlist) {
|
||||
delete replycontentlist[i];
|
||||
break;
|
||||
}
|
||||
replycontentnum--;
|
||||
}
|
||||
|
||||
if(!movescrollid) {
|
||||
movescrollid = setInterval(function() {
|
||||
if(parseInt($('livereplycontent').style.bottom) < 0) {
|
||||
$('livereplycontent').style.bottom =
|
||||
((parseInt($('livereplycontent').style.bottom) + 5) > 0 ? 0 : (parseInt($('livereplycontent').style.bottom) + 5)) + 'px';
|
||||
} else {
|
||||
$('livereplycontentout').style.overflowY = 'auto';
|
||||
clearInterval(movescrollid);
|
||||
movescrollid = null;
|
||||
timeoutid = setTimeout(livecontentfacemove, 1000);
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function livereplypostvalidate(theform) {
|
||||
var s;
|
||||
if(theform.message.value == '' || $('livereplymessage').style.color == 'gray') {
|
||||
s = '{lang forum_live_nocontent_error}';
|
||||
}
|
||||
if(!disablepostctrl && ((postminchars != 0 && mb_strlen(theform.message.value) < postminchars) || (postmaxchars != 0 && mb_strlen(theform.message.value) > postmaxchars))) {
|
||||
s = {lang forum_live_nolength_error};
|
||||
}
|
||||
if(s) {
|
||||
showError(s);
|
||||
doane();
|
||||
$('livereplysubmit').disabled = false;
|
||||
return false;
|
||||
}
|
||||
$('livereplysubmit').disabled = true;
|
||||
theform.message.value = theform.message.value.replace(/([^>=\]"'\/]|^)((((https?|ftp):\/\/)|www\.)([\w\-]+\.)*[\w\-\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!]*)+\.(jpg|gif|png|bmp))/ig, '$1[img]$2[/img]');
|
||||
theform.message.value = parseurl(theform.message.value);
|
||||
ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));
|
||||
return false;
|
||||
}
|
||||
|
||||
function succeedhandle_livereplypost(url, msg, param) {
|
||||
$('livereplymessage').value = '';
|
||||
$('livereplycontent').style.position = 'absolute';
|
||||
if(param['sechash']) {
|
||||
updatesecqaa(param['sechash']);
|
||||
updateseccode(param['sechash']);
|
||||
}
|
||||
getnewlivepostlist();
|
||||
}
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
<div id="pgt" class="bm bw0 pgs cl">
|
||||
<span id="fd_page_top">$multipage</span>
|
||||
<span class="pgb y" {if $_G[setting][visitedforums]}id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'34'})"{/if} ><a href="forum.php">{lang return_index}</a></span>
|
||||
<!--{if !$_GET['archiveid']}--><a href="javascript:;" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} title="{lang send_posts}"><div class="postbtn">+ {lang send_posts}</div></a><!--{/if}-->
|
||||
<!--{hook/forumdisplay_postbutton_top}-->
|
||||
</div>
|
||||
<!--{if ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || count($_G['forum']['threadsorts']['types']) > 0}-->
|
||||
<ul id="thread_types" class="ttp bm cl">
|
||||
<!--{hook/forumdisplay_threadtype_inner}-->
|
||||
<li id="ttp_all" {if !$_GET['typeid'] && !$_GET['sortid']}class="xw1 a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['forum']['threadsorts']['defaultshow']}&filter=sortall&sortall=1{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang forum_viewall}</a></li>
|
||||
<!--{if $_G['forum']['threadtypes']}-->
|
||||
<!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
|
||||
<!--{if $_GET['typeid'] == $id}-->
|
||||
<li class="xw1 a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['sortid']}&filter=sortid&sortid=$_GET['sortid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name<!--{if $showthreadclasscount[typeid][$id]}--><span class="xg1 num">$showthreadclasscount[typeid][$id]</span><!--{/if}--></a></li>
|
||||
<!--{else}-->
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$id$forumdisplayadd[typeid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name<!--{if $showthreadclasscount[typeid][$id]}--><span class="xg1 num">$showthreadclasscount[typeid][$id]</span><!--{/if}--></a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_G['forum']['threadsorts']}-->
|
||||
<!--{if $_G['forum']['threadtypes']}--><li><span class="pipe">|</span></li><!--{/if}-->
|
||||
<!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
|
||||
<!--{if $_GET['sortid'] == $id}-->
|
||||
<li class="xw1 a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['typeid']}&filter=typeid&typeid=$_GET['typeid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="xg1 num">$showthreadclasscount[sortid][$id]</span><!--{/if}--></a></li>
|
||||
<!--{else}-->
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$id$forumdisplayadd[sortid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="xg1 num">$showthreadclasscount[sortid][$id]</span><!--{/if}--></a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_filter_extra}-->
|
||||
</ul>
|
||||
<script type="text/javascript">showTypes('thread_types');</script>
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_threadtype_extra}-->
|
||||
<!--{if empty($_G['forum']['sortmode'])}-->
|
||||
<!--{subtemplate forum/forumdisplay_list}-->
|
||||
<!--{else}-->
|
||||
<!--{subtemplate forum/forumdisplay_sort}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
|
||||
<!--{if $fastpost}-->
|
||||
<!--{template forum/forumdisplay_fastpost}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/forumdisplay_bottom}-->
|
||||
<!--[diy=diyforumdisplaybottom]--><div id="diyforumdisplaybottom" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
|
||||
<!--{if $_G['forum']['allowside']}-->
|
||||
<div class="sd">
|
||||
<!--{hook/forumdisplay_side_top}-->
|
||||
<!--{if !$subforumonly}-->
|
||||
<div class="bm">
|
||||
<div class="bm_h">
|
||||
<h2>{lang their}: <!--{eval echo cutstr($_G['cache']['forums'][$_G['forum']['fup']]['name'], 22, '')}--></h2>
|
||||
</div>
|
||||
<div class="bm_c">
|
||||
<ul class="xl xl2 cl">
|
||||
<!--{loop $_G['cache']['forums'] $bforum}-->
|
||||
<!--{if $bforum['fup'] == $_G['forum']['fup'] && $bforum['status']}-->
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$bforum[fid]">$bforum['name']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{if $recommendgroups}-->
|
||||
<div class="bm">
|
||||
<div class="bm_h cl">
|
||||
<h2>{lang recommended_groups}</h2>
|
||||
</div>
|
||||
<div class="bm_c cl">
|
||||
<ul class="ml mls cl">
|
||||
<!--{loop $recommendgroups $key $group}-->
|
||||
<li>
|
||||
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank" class="avt"><img src="$group[icon]" alt="$group[name]"></a>
|
||||
<p><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a></p>
|
||||
</li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !($_G['forum']['simple'] & 1) && $_G[setting][whosonlinestatus]}-->
|
||||
<div class="bm">
|
||||
<!--{if $detailstatus}-->
|
||||
<div class="bm_h cl">
|
||||
<span class="o y"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&page=$page&showoldetails=no#online"><img src="{IMGDIR}/collapsed_no.gif" alt="" /></a></span>
|
||||
<h2>{lang forum_activeusers} ($onlinenum)</h2>
|
||||
</div>
|
||||
<div class="bm_c">
|
||||
<ul class="ml mls cl">
|
||||
<!--{loop $whosonline $key $online}-->
|
||||
<li>
|
||||
<a href="home.php?mod=space&uid=$online[uid]" class="avt"><!--{avatar($online[uid],small)}--></a>
|
||||
<!--{if $online['uid']}-->
|
||||
<p><a href="home.php?mod=space&uid=$online[uid]">$online[username]</a></p>
|
||||
<!--{else}-->
|
||||
<p>$online[username]</p>
|
||||
<!--{/if}-->
|
||||
<span>$online[lastactivity]{LF}</span>
|
||||
</li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<div class="bm_h cl">
|
||||
<span class="o y"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&page=$page&showoldetails=yes#online" class="nobdr"><img src="{IMGDIR}/collapsed_yes.gif" alt="" /></a></span>
|
||||
<h2>{lang forum_activeusers} ($onlinenum)</h2>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<div class="drag">
|
||||
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<!--{hook/forumdisplay_side_bottom}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
<!--{if $_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])}-->
|
||||
<ul class="p_pop" id="newspecial_menu" style="display: none">
|
||||
<!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang post_newthread}</a></li><!--{/if}-->
|
||||
<!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
|
||||
<!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
|
||||
<!--{if $_G['forum']['threadsorts']['show'][$id]}-->
|
||||
<li class="popupmenu_option"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id">$threadsorts</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostpoll']}--><li class="poll"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostreward']}--><li class="reward"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostdebate']}--><li class="debate"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostactivity']}--><li class="activity"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowposttrade']}--><li class="trade"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
|
||||
<!--{if $_G['setting']['threadplugins']}-->
|
||||
<!--{loop $_G['forum']['threadplugin'] $tpid}-->
|
||||
<!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
|
||||
<li class="popupmenu_option"{if $_G['setting']['threadplugins'][$tpid][icon]} style="background-image:url(source/plugin/$tpid/$_G[setting][threadplugins][$tpid][icon])"{/if}><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&specialextra=$tpid">{$_G[setting][threadplugins][$tpid][name]}</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_G['setting']['visitedforums'] && $_G['forum']['status'] != 3}-->
|
||||
<div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td id="v_forums">
|
||||
<h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
|
||||
<ul class="xl xl1">
|
||||
$_G['setting']['visitedforums']
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['setting']['threadmaxpages'] > 1 && $page && !$subforumonly}-->
|
||||
<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <!--{if $page > 1}-->1<!--{else}-->0<!--{/if}-->, <!--{if $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->1<!--{else}-->0<!--{/if}-->, 'forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&{$multipage_archive}', $page);}</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && empty($_GET['filter']) }-->
|
||||
<script type="text/javascript">checkForumnew_handle = setTimeout(function () {checkForumnew($_G[fid], lasttime);}, checkForumtimeout);</script>
|
||||
<!--{/if}-->
|
||||
<div class="wp mtn">
|
||||
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<!--{if empty($_G['setting']['disfixednv_forumdisplay']) }--><script>fixed_top_nv();</script><!--{/if}-->
|
||||
|
||||
|
||||
|
||||
<!--{template common/footer}-->
|
163
template/ahome_common/forum/forumdisplay_fastpost.htm
Normal file
@@ -0,0 +1,163 @@
|
||||
<script type="text/javascript">
|
||||
var postminchars = parseInt('$_G['setting']['minpostsize']');
|
||||
var postmaxchars = parseInt('$_G['setting']['maxpostsize']');
|
||||
var disablepostctrl = parseInt('{$_G['group']['disablepostctrl']}');
|
||||
var fid = parseInt('$_G[fid]');
|
||||
</script>
|
||||
<div id="f_pst" class="bm" style="background:#FAFAFA;">
|
||||
<div class="bm_c">
|
||||
<form method="post" autocomplete="off" id="fastpostform" action="forum.php?mod=post&action=newthread&fid=$_G[fid]&topicsubmit=yes&infloat=yes&handlekey=fastnewpost" onSubmit="return fastpostvalidate(this)">
|
||||
<!--{hook/forumdisplay_fastpost_content}-->
|
||||
|
||||
<div id="fastpostreturn" style="margin:-5px 0 5px"></div>
|
||||
<h2 style="margin-bottom:20px;font-size:16px;">{lang quick_post}</h2>
|
||||
<div class="pbt cl">
|
||||
<!--{if $_G['forum'][threadtypes][types]}-->
|
||||
<div class="ftid">
|
||||
<select name="typeid" id="typeid_fast" width="80">
|
||||
<option value="0" selected="selected">{lang select_thread_catgory}</option>
|
||||
<!--{loop $_G['forum'][threadtypes][types] $typeid $name}-->
|
||||
<!--{if empty($_G['forum']['threadtypes']['moderators'][$typeid]) || $_G['forum']['ismoderator']}-->
|
||||
<option value="$typeid"><!--{echo strip_tags($name);}--></option>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</select>
|
||||
</div>
|
||||
<script type="text/javascript" reload="1">simulateSelect('typeid_fast');</script>
|
||||
<!--{/if}-->
|
||||
<input type="text" id="subject" name="subject" class="px" value="" onkeyup="strLenCalc(this, 'checklen', 80);" tabindex="11" style="width: 25em" />
|
||||
<span id="checklen">{lang comment_message1} <strong>80</strong> {lang comment_message2}</span>
|
||||
</div>
|
||||
|
||||
<div class="cl">
|
||||
<!--{if $_G[setting][fastsmilies]}--><div id="fastsmiliesdiv" class="y"><div id="fastsmiliesdiv_data"><div id="fastsmilies"></div></div></div><!--{/if}-->
|
||||
<div{if $_G[setting][fastsmilies]} class="hasfsl"{/if} id="fastposteditor">
|
||||
<div class="tedt">
|
||||
<div class="bar">
|
||||
<span class="y">
|
||||
<!--{hook/forumdisplay_fastpost_func_extra}-->
|
||||
<a href="forum.php?mod=post&action=newthread&fid=$_G[fid]" onclick="switchAdvanceMode(this.href);doane(event);">{lang post_advancemode}</a>
|
||||
</span>
|
||||
<!--{eval $seditor = array('fastpost', array('at', 'bold', 'color', 'img', 'link', 'quote', 'code', 'smilies'), !$allowfastpost ? 1 : 0, $allowpostattach && $allowfastpost ? '<span class="pipe z">|</span><span id="spanButtonPlaceholder">'.lang('template', 'upload').'</span>' : '');}-->
|
||||
<!--{hook/forumdisplay_fastpost_ctrl_extra}-->
|
||||
<!--{subtemplate common/seditor}-->
|
||||
</div>
|
||||
<div class="area">
|
||||
<!--{if $allowfastpost}-->
|
||||
<textarea rows="6" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, '$(\'fastpostsubmit\').click()');" tabindex="12" class="pt"{eval echo getreplybg($_G['forum']['replybg']);}></textarea>
|
||||
<!--{else}-->
|
||||
<div class="pt hm">
|
||||
<!--{if !$_G['uid']}-->
|
||||
<!--{if !$_G['connectguest']}-->
|
||||
{lang login_to_post} <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">{lang login}</a> | <a href="member.php?mod={$_G[setting][regname]}" class="xi2">$_G['setting']['reglinkname']</a>
|
||||
<!--{else}-->
|
||||
{lang connect_fill_profile_to_post}
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
{lang no_permission_to_post}<a href="javascript:;" onclick="$('newspecial').onclick()" class="xi2">{lang click_to_show_reason}</a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/global_login_text}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="seccheck_fastpost">
|
||||
<!--{if $fastpost && ($secqaacheck || $seccodecheck)}-->
|
||||
<!--{subtemplate forum/seccheck_post}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="usesig" value="$usesigcheck" />
|
||||
</div>
|
||||
|
||||
<!--{if $allowpostattach}-->
|
||||
<script type="text/javascript">
|
||||
var editorid = '';
|
||||
var ATTACHNUM = {'imageused':0,'imageunused':0,'attachused':0,'attachunused':0}, ATTACHUNUSEDAID = new Array(), IMGUNUSEDAID = new Array();
|
||||
</script>
|
||||
|
||||
<input type="hidden" name="posttime" id="posttime" value="{TIMESTAMP}" />
|
||||
<div class="upfl{if empty($_GET[from]) && $_G[setting][fastsmilies]} hasfsl{/if}">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="attach_tblheader" style="display: none">
|
||||
<tr>
|
||||
<td>{lang e_attach_insert}</td>
|
||||
<td class="atds">{lang description}</td>
|
||||
<!--{if $_G['group']['allowsetattachperm']}-->
|
||||
<td class="attv">
|
||||
{lang readperm}
|
||||
<img src="{IMGDIR}/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="{lang post_select_usergroup_readacces}" />
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['maxprice']}--><td class="attpr">{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</td><!--{/if}-->
|
||||
<td class="attc"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="fieldset flash" id="attachlist"></div>
|
||||
<!--{if empty($_G['setting']['pluginhooks']['forumdisplay_fastpost_upload_extend'])}-->
|
||||
<!--{subtemplate common/upload}-->
|
||||
<script type="text/javascript">
|
||||
var upload = new SWFUpload({
|
||||
upload_url: "{$_G[siteurl]}misc.php?mod=swfupload&action=swfupload&operation=upload&fid=$_G[fid]",
|
||||
post_params: {"uid" : "$_G[uid]", "hash":"$swfconfig[hash]"},
|
||||
file_size_limit : "$swfconfig[max]",
|
||||
file_types : "$swfconfig[attachexts][ext]",
|
||||
file_types_description : "$swfconfig[attachexts][depict]",
|
||||
file_upload_limit : $swfconfig['limit'],
|
||||
file_queue_limit : 0,
|
||||
swfupload_preload_handler : preLoad,
|
||||
swfupload_load_failed_handler : loadFailed,
|
||||
file_dialog_start_handler : fileDialogStart,
|
||||
file_queued_handler : fileQueued,
|
||||
file_queue_error_handler : fileQueueError,
|
||||
file_dialog_complete_handler : fileDialogComplete,
|
||||
upload_start_handler : uploadStart,
|
||||
upload_progress_handler : uploadProgress,
|
||||
upload_error_handler : uploadError,
|
||||
upload_success_handler : uploadSuccess,
|
||||
upload_complete_handler : uploadComplete,
|
||||
button_image_url : "{IMGDIR}/uploadbutton_small.png",
|
||||
button_placeholder_id : "spanButtonPlaceholder",
|
||||
button_width: 17,
|
||||
button_height: 25,
|
||||
button_cursor:SWFUpload.CURSOR.HAND,
|
||||
button_window_mode: "transparent",
|
||||
custom_settings : {
|
||||
progressTarget : "attachlist",
|
||||
uploadSource: 'forum',
|
||||
uploadType: 'attach',
|
||||
<!--{if $swfconfig['maxsizeperday']}-->
|
||||
maxSizePerDay: $swfconfig['maxsizeperday'],
|
||||
<!--{/if}-->
|
||||
<!--{if $swfconfig['maxattachnum']}-->
|
||||
maxAttachNum: $swfconfig['maxattachnum'],
|
||||
<!--{/if}-->
|
||||
uploadFrom: 'fastpost'
|
||||
},
|
||||
debug: false
|
||||
});
|
||||
</script>
|
||||
<!--{else}-->
|
||||
<!--{hook/forumdisplay_fastpost_upload_extend}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<p class="ptm pnpost">
|
||||
<a href="home.php?mod=spacecp&ac=credit&op=rule&fid=$_G[fid]" class="y" target="_blank">{lang post_credits_rule}</a>
|
||||
<button {if $fastpost}type="submit" {elseif !$_G['uid']}type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" {/if}{if !$seccodecheck && !$secqaacheck}onmouseover="checkpostrule('seccheck_fastpost', 'ac=newthread');this.onmouseover=null" {/if}name="topicsubmit" id="fastpostsubmit" value="topicsubmit" tabindex="13" class="pn pnc"><strong>{lang post_newthread}</strong></button>
|
||||
<!--{hook/forumdisplay_fastpost_btn_extra}-->
|
||||
<!--{if !empty($_G['setting']['pluginhooks']['forumdisplay_fastpost_sync_method'])}-->
|
||||
<span>
|
||||
{lang post_sync_method}:
|
||||
<!--{hook/forumdisplay_fastpost_sync_method}-->
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
<!--{if helper_access::check_module('follow')}-->
|
||||
<label><input type="checkbox" name="adddynamic" class="pc" value="1" {if $_G['forum']['allowfeed'] && !$_G[tid] && empty($_G['forum']['viewperm'])}checked="checked"{/if} />{lang post_relay}</label>
|
||||
<!--{/if}-->
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
489
template/ahome_common/forum/forumdisplay_list.htm
Normal file
@@ -0,0 +1,489 @@
|
||||
<div id="threadlist" class="tl bm bmw"{if $_G['uid']} style="position: relative;"{/if}>
|
||||
|
||||
<!--{if $quicksearchlist && !$_GET['archiveid']}-->
|
||||
<!--{subtemplate forum/search_sortoption}-->
|
||||
<!--{/if}-->
|
||||
<div class="th">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<th colspan="{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}3{else}2{/if}">
|
||||
<!--{if CURMODULE != 'guide'}-->
|
||||
<div class="tf">
|
||||
<span id="atarget" {if $_G['cookie']['atarget'] > 0}onclick="setatarget(-1)" class="y atarget_1"{else}onclick="setatarget(1)" class="y"{/if} title="{lang new_window_thread}">{lang new_window}</span>
|
||||
<!--{if $_GET['specialtype'] == 'reward'}-->
|
||||
<a id="filter_reward" href="javascript:;" class="showmenu xi2{if $_GET['rewardtype']} xw1{/if}" onclick="showMenu(this.id)"><!--{if $_GET['rewardtype'] == ''}-->{lang all_reward}<!--{elseif $_GET['rewardtype'] == '1'}-->{lang rewarding}<!--{elseif $_GET['rewardtype'] == '2'}-->{lang reward_solved}<!--{/if}--></a>
|
||||
<!--{/if}-->
|
||||
<a id="filter_special" href="javascript:;" class="showmenu xi2{if $_GET['specialtype']} xw1{/if}" onclick="showMenu(this.id)"><!--{if $_GET['specialtype'] == 'poll'}-->{lang thread_poll}<!--{elseif $_GET['specialtype'] == 'trade'}-->{lang thread_trade}<!--{elseif $_GET['specialtype'] == 'reward'}-->{lang thread_reward}<!--{elseif $_GET['specialtype'] == 'activity'}-->{lang thread_activity}<!--{elseif $_GET['specialtype'] == 'debate'}-->{lang thread_debate}<!--{else}-->{lang threads_all}<!--{/if}--></a>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'lastpost'} xw1{/if}">{lang latest}</a>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=heat&orderby=heats$forumdisplayadd[heat]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'heat'} xw1{/if}">{lang order_heats}</a>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=hot" class="xi2{if $_GET['filter'] == 'hot'} xw1{/if}">{lang hot_thread}</a>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=digest&digest=1$forumdisplayadd[digest]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'digest'} xw1{/if}">{lang digest_posts}</a>
|
||||
<a id="filter_dateline" href="javascript:;" class="showmenu xi2{if $_GET['dateline']} xw1{/if}" onclick="showMenu(this.id)">{lang more}</a>
|
||||
<!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']}-->
|
||||
<a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh"></a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_GET['filter'] == 'hot'}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}calendar.js?{VERHASH}"></script>
|
||||
<span>$ctime</span>
|
||||
<img src="{IMGDIR}/date_magnify.png" class="cur1" alt="" id="hottime" value="$ctime" fid="$_G[fid]" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />
|
||||
<!--{/if}-->
|
||||
<span id="clearstickthread" style="display: none;">
|
||||
<span class="pipe">|</span>
|
||||
<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="{lang showdisplayorder}">{lang showdisplayorder}</a>
|
||||
</span>
|
||||
<!--{hook/forumdisplay_filter_extra}-->
|
||||
</div>
|
||||
<!--{else}-->
|
||||
{lang title}
|
||||
<!--{/if}-->
|
||||
</th>
|
||||
<!--{if empty($_G['forum']['picstyle'])}-->
|
||||
<!--{if CURMODULE == 'guide'}-->
|
||||
<td class="by">{lang forum_group}</td>
|
||||
<!--{/if}-->
|
||||
<td class="by" style="width:170px !important">{lang author}</td>
|
||||
<td class="num" style="width:80px !important">{lang replies}</td>
|
||||
<td class="by">{lang lastpost}</td>
|
||||
<!--{else}-->
|
||||
<td class="by" colspan="3">
|
||||
<a{if empty($_G['cookie']['forumdefstyle'])} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=yes" class="chked"{else} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=no" class="unchk"{/if} title="{lang view_thread_imagemode}{lang view_thread}">{lang view_thread_imagemode}</a>
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="bm_c">
|
||||
<!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
|
||||
<script type="text/javascript">var lasttime = $_G['timestamp'];var listcolspan= '{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}6{else}5{/if}';</script>
|
||||
<!--{/if}-->
|
||||
<div id="forumnew" style="display:none"></div>
|
||||
<form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&action=moderate&fid=$_G[fid]&infloat=yes&nopost=yes">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="listextra" value="$extra" />
|
||||
<table summary="forum_$_G[fid]" cellspacing="0" cellpadding="0" id="threadlisttableid">
|
||||
<!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="icn"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td>
|
||||
<!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}--><td class="o"> </td><!--{/if}-->
|
||||
<th><span class="xst">{lang announcement}: <!--{if empty($announcement['type'])}--><a href="forum.php?mod=announcement&id=$announcement[id]#$announcement[id]" target="_blank">$announcement[subject]</a><!--{else}--><a href="$announcement[message]" target="_blank">$announcement[subject]</a><!--{/if}--></span></th>
|
||||
<td class="by" style="width:170px !important;">
|
||||
<div class="listavat">{echo avatar($thread[authorid],'small');}</div>
|
||||
<cite><a href="home.php?mod=space&uid=$announcement[authorid]" c="1">$announcement[author]</a></cite>
|
||||
<em>$announcement[starttime]</em>
|
||||
</td>
|
||||
<td class="num" style="width:80px !important"> </td>
|
||||
<td class="by"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !$separatepos || !$_G['setting']['forumseparator']}-->
|
||||
<tbody id="separatorline" class="emptb"><tr><td class="icn"></td><!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}--><td class="o"></td><!--{/if}--><th></th><td class="by" style="width:170px !important;"></td><td class="num" style="width:80px !important"></td><td class="by"></td></tr></tbody>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_threadcount']}-->
|
||||
<!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
|
||||
<!--{loop $_G['forum_threadlist'] $key $thread}-->
|
||||
<!--{if $_G[setting][forumseparator] == 1 && $separatepos == $key + 1}-->
|
||||
<tbody id="separatorline">
|
||||
<tr class="ts">
|
||||
<td> </td>
|
||||
<!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}--><td> </td><!--{/if}-->
|
||||
<th><!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && !$_GET['filter']}--><a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh">{lang forum_thread}</a><!--{else}--> <!--{/if}--></th><td> </td><td> </td><td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<script type="text/javascript">hideStickThread();</script>
|
||||
<!--{/if}-->
|
||||
<!--{if $separatepos <= $key + 1}-->
|
||||
<!--{ad/threadlist}-->
|
||||
<!--{/if}-->
|
||||
<tbody id="$thread[id]"{if $_G['hiddenexists'] && $thread['hidden']} style='display:none'{/if}>
|
||||
<tr>
|
||||
|
||||
<td class="icn">
|
||||
<a href="forum.php?mod=viewthread&tid=$thread[icontid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" title="{if $thread['displayorder'] == 1}{lang thread_type1} - {/if}
|
||||
{if $thread['displayorder'] == 2}{lang thread_type2} - {/if}
|
||||
{if $thread['displayorder'] == 3}{lang thread_type3} - {/if}
|
||||
{if $thread['displayorder'] == 4}{lang thread_type4} - {/if}
|
||||
{if $thread[folder] == 'lock'}{lang closed_thread} - {/if}
|
||||
{if $thread['special'] == 1}{lang thread_poll} - {/if}
|
||||
{if $thread['special'] == 2}{lang thread_trade} - {/if}
|
||||
{if $thread['special'] == 3}{lang thread_reward} - {/if}
|
||||
{if $thread['special'] == 4}{lang thread_activity} - {/if}
|
||||
{if $thread['special'] == 5}{lang thread_debate} - {/if}
|
||||
{if $thread[folder] == "new"}{lang have_newreplies} - {/if}
|
||||
{lang target_blank}" target="_blank">
|
||||
<!--{if $thread[folder] == 'lock'}-->
|
||||
<img src="{IMGDIR}/folder_lock.gif" />
|
||||
<!--{elseif $thread['special'] == 1}-->
|
||||
<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
|
||||
<!--{elseif $thread['special'] == 2}-->
|
||||
<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
|
||||
<!--{elseif $thread['special'] == 3}-->
|
||||
<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
|
||||
<!--{elseif $thread['special'] == 4}-->
|
||||
<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
|
||||
<!--{elseif $thread['special'] == 5}-->
|
||||
<img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
|
||||
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
|
||||
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
|
||||
<!--{else}-->
|
||||
<img src="{IMGDIR}/folder_$thread[folder].gif" />
|
||||
<!--{/if}-->
|
||||
</a>
|
||||
</td>
|
||||
|
||||
<!--{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}-->
|
||||
<td class="o">
|
||||
<!--{if $thread['fid'] == $_G[fid]}-->
|
||||
<!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
|
||||
<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
|
||||
<!--{else}-->
|
||||
<input type="checkbox" disabled="disabled" />
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<input type="checkbox" disabled="disabled" />
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
|
||||
<th>
|
||||
<a href="javascript:;" id="content_$thread[tid]" class="showcontent y" title="{lang content_actions}" onclick="CONTENT_TID='$thread[tid]';CONTENT_ID='$thread[id]';showMenu({'ctrlid':this.id,'menuid':'content_menu'})"></a>
|
||||
<!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
|
||||
<a href="javascript:void(0);" onclick="hideStickThread('$thread[tid]')" class="showhide y" title="{lang hidedisplayorder}">{lang hidedisplayorder}</a></em>
|
||||
<!--{/if}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<!--{if !$_G['setting']['forumdisplaythreadpreview'] && !($thread['readperm'] && $thread['readperm'] > $_G['group']['readaccess'] && !$_G['forum']['ismoderator'] && $thread['authorid'] != $_G['uid'])}-->
|
||||
<!--{if !(!empty($_G['setting']['antitheft']['allow']) && empty($_G['setting']['antitheft']['disable']['thread']) && empty($_G['forum']['noantitheft']))}-->
|
||||
<a class="tdpre y" href="javascript:void(0);" onclick="previewThread('{echo $thread['moved'] ? $thread[closed] : $thread[tid]}', '$thread[id]');">{lang preview}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_thread $key}-->
|
||||
$thread[typehtml] $thread[sorthtml]
|
||||
<!--{if $thread['moved']}-->
|
||||
{lang thread_moved}:<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} class="s xst">$thread[subject]</a>
|
||||
<!--{if $_G['setting']['threadhidethreshold'] && $thread['hidden'] >= $_G['setting']['threadhidethreshold']}--><span class="xg1">{lang hidden}</span> <!--{/if}-->
|
||||
<!--{if $thread[icon] >= 0}-->
|
||||
<img src="{STATICURL}image/stamp/{$_G[cache][stamps][$thread[icon]][url]}" alt="{$_G[cache][stamps][$thread[icon]][text]}" align="absmiddle" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['rushreply']}-->
|
||||
<img src="{IMGDIR}/rushreply_s.png" alt="{lang rushreply}" align="absmiddle" />
|
||||
<!--{if $rushinfo[$thread[tid]]}-->
|
||||
<span id="rushtimer_$thread[tid]"> {lang havemore_special} <span id="rushtimer_body_$thread[tid]"></span> <script language="javascript">settimer($rushinfo[$thread[tid]]['timer'], 'rushtimer_body_$thread[tid]');</script>{if $rushinfo[$thread[tid]]['timertype'] == 'start'} {lang header_start} {else} {lang over} {/if} {lang right_special}</span>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $stemplate && $sortid}-->$stemplate[$sortid][$thread[tid]]<!--{/if}-->
|
||||
<!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread[readperm]</span>]<!--{/if}-->
|
||||
<!--{if $thread['price'] > 0}-->
|
||||
<!--{if $thread['special'] == '3'}-->
|
||||
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=1" title="{lang show_rewarding_only}"><span class="xi1">[{lang thread_reward} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span></a>
|
||||
<!--{else}-->
|
||||
- [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
|
||||
<!--{/if}-->
|
||||
<!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
|
||||
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=2" title="{lang show_rewarded_only}">[{lang reward_solved}]</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['attachment'] == 2}-->
|
||||
<img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
|
||||
<!--{elseif $thread['attachment'] == 1}-->
|
||||
<img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['mobile']}-->
|
||||
<img src="{IMGDIR}/mobile-attach-$thread['mobile'].png" alt="{lang post_mobile}" align="absmiddle" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
|
||||
<img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['displayorder'] == 0}-->
|
||||
<!--{if $thread[recommendicon] && $filter != 'recommend'}-->
|
||||
<img src="{IMGDIR}/recommend_$thread[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread[recommends]" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread[heatlevel]}-->
|
||||
<img src="{IMGDIR}/hot_$thread[heatlevel].gif" align="absmiddle" alt="heatlevel" title="{lang heats}: {$thread[heats]}" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['rate'] > 0}-->
|
||||
<img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
|
||||
<!--{elseif $thread['rate'] < 0}-->
|
||||
<img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['replycredit'] > 0}-->
|
||||
- <span class="xi1">[{lang replycredit} <strong> $thread['replycredit']</strong> ]</span>
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_thread_subject $key}-->
|
||||
<!--{if $thread[multipage]}-->
|
||||
<span class="tps">$thread[multipage]</span>
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['weeknew']}-->
|
||||
<a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost" class="xi1">New</a>
|
||||
<!--{/if}-->
|
||||
<!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $groupnames[$thread[tid]]}-->
|
||||
<span class="fromg xg1"> [{lang from}: <a href="forum.php?mod=forumdisplay&fid={$groupnames[$thread[tid]][fid]}" target="_blank" class="xg1">{$groupnames[$thread[tid]][name]}</a>]</span>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</th>
|
||||
<!--{if CURMODULE == 'guide'}-->
|
||||
<td class="by" ><a href="forum.php?mod=forumdisplay&fid=$thread[fid]" target="_blank">$forumnames[$thread[fid]]['name']</a></td>
|
||||
<!--{/if}-->
|
||||
|
||||
<td class="by" style="width:170px;">
|
||||
<!--{hook/forumdisplay_author $key}-->
|
||||
<cite>
|
||||
<!--{if $thread['authorid'] && $thread['author']}-->
|
||||
<div class="listavat" >
|
||||
{echo avatar($thread[authorid],'small');}
|
||||
</div>
|
||||
<a href="home.php?mod=space&uid=$thread[authorid]" c="1"{if $groupcolor[$thread[authorid]]} style="color: $groupcolor[$thread[authorid]];"{/if}>$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<div class="listavat">
|
||||
{echo avatar(0,'small');}
|
||||
</div>
|
||||
$_G[setting][anonymoustext]
|
||||
<!--{/if}-->
|
||||
</cite>
|
||||
<em><span{if $thread['istoday']} class="xi1"{/if}>$thread[dateline]</span></em>
|
||||
</td>
|
||||
|
||||
<td class="num" style="width:80px;"><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2">$thread[allreplies]</a><em><!--{if $thread['isgroup'] != 1}-->$thread[views]<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></em></td>
|
||||
<td class="by">
|
||||
<cite><!--{if $thread['lastposter']}--><a href="{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<em><a href="{if $thread[digest] != -2 && !$thread[ordertype]}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]{if !$thread[ordertype]}&page={echo max(1, $thread[pages]);}{/if}{/if}">$thread[lastpost]</a></em>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
<!--{/loop}-->
|
||||
</table><!-- end of table "forum_G[fid]" branch 1/3 -->
|
||||
<!--{if $_G['hiddenexists']}-->
|
||||
<div id="hiddenthread"{if $thread['hidden']} class="last"{/if}><a href="javascript:;" onclick="display_blocked_thread()">{lang other_reply_hide}</a></div>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
</table><!-- end of table "forum_G[fid]" branch 2/3 -->
|
||||
<ul id="waterfall" class="ml waterfall cl">
|
||||
<!--{loop $_G['forum_threadlist'] $key $thread}-->
|
||||
<!--{if $_G['hiddenexists'] && $thread['hidden']}-->
|
||||
<!--{eval continue;}-->
|
||||
<!--{/if}-->
|
||||
<!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{eval $waterfallwidth = $_G[setting][forumpicstyle][thumbwidth] + 24; }-->
|
||||
<li style="width:{$waterfallwidth}px">
|
||||
<!--{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}-->
|
||||
<div style="position:absolute;margin:1px;padding:2px;background:#FFF">
|
||||
<!--{if $thread['fid'] == $_G[fid]}-->
|
||||
<!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
|
||||
<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
|
||||
<!--{else}-->
|
||||
<input type="checkbox" disabled="disabled" />
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<input type="checkbox" disabled="disabled" />
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<div class="c cl">
|
||||
<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" {if $thread['isgroup'] == 1 || $thread['forumstick'] || CURMODULE == 'guide'} target="_blank"{else} onclick="atarget(this)"{/if} title="$thread[subject]" class="z">
|
||||
<!--{if $thread['cover']}-->
|
||||
<img src="$thread[coverpath]" alt="$thread[subject]" width="{$_G[setting][forumpicstyle][thumbwidth]}" />
|
||||
<!--{else}-->
|
||||
<span class="nopic" style="width:{$_G[setting][forumpicstyle][thumbwidth]}px; height:{$_G[setting][forumpicstyle][thumbwidth]}px;"></span>
|
||||
<!--{/if}-->
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="xw0">
|
||||
<!--{hook/forumdisplay_thread $key}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} title="$thread[subject]">$thread[subject]</a>
|
||||
</h3>
|
||||
<div class="auth cl">
|
||||
<cite class="xg1 y">
|
||||
{lang like}: <!--{if $thread[recommends]}-->$thread[recommends]<!--{else}-->0<!--{/if}-->
|
||||
{lang reply}: <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" title="$thread[replies] {lang reply}">$thread[replies]</a>
|
||||
</cite>
|
||||
<!--{hook/forumdisplay_author $key}-->
|
||||
<!--{if $thread['authorid'] && $thread['author']}-->
|
||||
<a href="home.php?mod=space&uid=$thread[authorid]">$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
|
||||
<!--{else}-->
|
||||
$_G[setting][anonymoustext]
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
<div id="tmppic" style="display: none;"></div>
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}redef.js?{VERHASH}"></script>
|
||||
<script type="text/javascript" reload="1">
|
||||
var wf = {};
|
||||
|
||||
_attachEvent(window, "load", function () {
|
||||
if($("waterfall")) {
|
||||
wf = waterfall();
|
||||
}
|
||||
|
||||
<!--{if $page < $_G['page_next'] && !$subforumonly}-->
|
||||
var page = $page + 1,
|
||||
maxpage = Math.min($page + 10,$maxpage + 1),
|
||||
stopload = 0,
|
||||
scrolltimer = null,
|
||||
tmpelems = [],
|
||||
tmpimgs = [],
|
||||
markloaded = [],
|
||||
imgsloaded = 0,
|
||||
loadready = 0,
|
||||
showready = 1,
|
||||
nxtpgurl = 'forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&page=',
|
||||
wfloading = "<img src=\"{IMGDIR}/loading.gif\" alt=\"\" width=\"16\" height=\"16\" class=\"vm\" /> {lang onloading}...",
|
||||
pgbtn = $("pgbtn").getElementsByTagName("a")[0];
|
||||
|
||||
function loadmore() {
|
||||
var url = nxtpgurl + page + '&t=' + parseInt((+new Date()/1000)/(Math.random()*1000));
|
||||
var x = new Ajax("HTML");
|
||||
x.get(url, function (s) {
|
||||
s = s.replace(/\n|\r/g, "");
|
||||
if(s.indexOf("id=\"pgbtn\"") == -1) {
|
||||
$("pgbtn").style.display = "none";
|
||||
stopload++;
|
||||
window.onscroll = null;
|
||||
}
|
||||
|
||||
s = s.substring(s.indexOf("<ul id=\"waterfall\""), s.indexOf("<div id=\"tmppic\""));
|
||||
s = s.replace("id=\"waterfall\"", "");
|
||||
$("tmppic").innerHTML = s;
|
||||
loadready = 1;
|
||||
});
|
||||
}
|
||||
|
||||
window.onscroll = function () {
|
||||
if(scrolltimer == null) {
|
||||
scrolltimer = setTimeout(function () {
|
||||
try {
|
||||
if(page < maxpage && stopload < 2 && showready && ((document.documentElement.scrollTop || document.body.scrollTop) + document.documentElement.clientHeight + 500) >= document.documentElement.scrollHeight) {
|
||||
pgbtn.innerHTML = wfloading;
|
||||
loadready = 0;
|
||||
showready = 0;
|
||||
loadmore();
|
||||
tmpelems = $("tmppic").getElementsByTagName("li");
|
||||
var waitingtimer = setInterval(function () {
|
||||
stopload >= 2 && clearInterval(waitingtimer);
|
||||
if(loadready && stopload < 2) {
|
||||
if(!tmpelems.length) {
|
||||
page++;
|
||||
pgbtn.href = nxtpgurl + Math.min(page, $maxpage);
|
||||
pgbtn.innerHTML = "{lang next_page_extra}";
|
||||
showready = 1;
|
||||
clearInterval(waitingtimer);
|
||||
}
|
||||
for(var i = 0, j = tmpelems.length; i < j; i++) {
|
||||
if(tmpelems[i]) {
|
||||
tmpimgs = tmpelems[i].getElementsByTagName("img");
|
||||
imgsloaded = 0;
|
||||
for(var m = 0, n = tmpimgs.length; m < n; m++) {
|
||||
tmpimgs[m].onerror = function () {
|
||||
this.style.display = "none";
|
||||
};
|
||||
markloaded[m] = tmpimgs[m].complete ? 1 : 0;
|
||||
imgsloaded += markloaded[m];
|
||||
}
|
||||
if(imgsloaded == tmpimgs.length) {
|
||||
$("waterfall").appendChild(tmpelems[i]);
|
||||
wf = waterfall({
|
||||
"index": wf.index,
|
||||
"totalwidth": wf.totalwidth,
|
||||
"totalheight": wf.totalheight,
|
||||
"columnsheight": wf.columnsheight
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}, 40);
|
||||
}
|
||||
} catch(e) {}
|
||||
scrolltimer = null;
|
||||
}, 320);
|
||||
}
|
||||
};
|
||||
<!--{/if}-->
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<tbody class="bw0_all"><tr><th colspan="{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}6{else}5{/if}"><p class="emp">{lang forum_nothreads}</p></th></tr></tbody>
|
||||
</table><!-- end of table "forum_G[fid]" branch 3/3 -->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum']['ismoderator'] && $_G['forum_threadcount']}-->
|
||||
<!--{template forum/topicadmin_modlayer}-->
|
||||
<!--{/if}-->
|
||||
</form>
|
||||
</div>
|
||||
<!--{hook/forumdisplay_threadlist_bottom}-->
|
||||
</div>
|
||||
|
||||
<!--{if !IS_ROBOT}-->
|
||||
<div id="filter_special_menu" class="p_pop" style="display:none" change="location.href='forum.php?mod=forumdisplay&fid=$_G[fid]&filter='+$('filter_special').value">
|
||||
<ul>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang all}{lang forum_threads}</a></li>
|
||||
<!--{if $showpoll}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=poll$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_poll}</a></li><!--{/if}-->
|
||||
<!--{if $showtrade}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=trade$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_trade}</a></li><!--{/if}-->
|
||||
<!--{if $showreward}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_reward}</a></li><!--{/if}-->
|
||||
<!--{if $showactivity}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=activity$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_activity}</a></li><!--{/if}-->
|
||||
<!--{if $showdebate}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=debate$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_debate}</a></li><!--{/if}-->
|
||||
</ul>
|
||||
</div>
|
||||
<div id="filter_reward_menu" class="p_pop" style="display:none" change="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype='+$('filter_reward').value">
|
||||
<ul>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang all_reward}</a></li>
|
||||
<!--{if $showpoll}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=1">{lang rewarding}</a></li><!--{/if}-->
|
||||
<!--{if $showtrade}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=2">{lang reward_solved}</a></li><!--{/if}-->
|
||||
</ul>
|
||||
</div>
|
||||
<div id="filter_dateline_menu" class="p_pop" style="display:none">
|
||||
<ul class="pop_moremenu">
|
||||
<li>{lang orderby}:
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=author&orderby=dateline$forumdisplayadd[author]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'dateline'}class="xw1"{/if}>{lang list_post_time}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=replies$forumdisplayadd[reply]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'replies'}class="xw1"{/if}>{lang replies}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=views$forumdisplayadd[view]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'views'}class="xw1"{/if}>{lang views}</a>
|
||||
</li>
|
||||
<li>{lang time}:
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if !$_GET['dateline']}class="xw1"{/if}>{lang all}{lang search_any_date}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=86400$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '86400'}class="xw1"{/if}>{lang last_1_days}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=172800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '172800'}class="xw1"{/if}>{lang last_2_days}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=604800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '604800'}class="xw1"{/if}>{lang list_one_week}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=2592000$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '2592000'}class="xw1"{/if}>{lang list_one_month}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=7948800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '7948800'}class="xw1"{/if}>{lang list_three_month}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--{if !$_G['setting']['closeforumorderby']}-->
|
||||
<div id="filter_orderby_menu" class="p_pop" style="display:none">
|
||||
<ul>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang list_default_sort}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=author&orderby=dateline$forumdisplayadd[author]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang list_post_time}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=replies$forumdisplayadd[reply]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang replies}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=views$forumdisplayadd[view]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang views}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang lastpost}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=heat&orderby=heats$forumdisplayadd[heat]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang order_heats}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $multipage && $filter != 'hot'}-->
|
||||
<div id="pgbtn" class="pgbtn"><a href="forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&{$multipage_archive}&page=$nextpage" hidefocus="true">{lang next_page_extra}</a></div>
|
||||
<!--{/if}-->
|
||||
<div class="bm bw0 pgs cl">
|
||||
<span id="fd_page_bottom">$multipage</span>
|
||||
<span {if $_G[setting][visitedforums]}id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if} class="pgb y"><a href="forum.php">{lang return_index}</a></span>
|
||||
<!--{hook/forumdisplay_postbutton_bottom}-->
|
||||
</div>
|
504
template/ahome_common/forum/viewthread.htm
Normal file
@@ -0,0 +1,504 @@
|
||||
<!--{template common/header}-->
|
||||
|
||||
<script type="text/javascript">var fid = parseInt('$_G[fid]'), tid = parseInt('$_G[tid]');</script>
|
||||
<!--{if $modmenu['thread'] || $modmenu['post']}-->
|
||||
<script type="text/javascript" src="{$_G['setting']['jspath']}forum_moderate.js?{VERHASH}"></script>
|
||||
<!--{/if}-->
|
||||
|
||||
<script type="text/javascript" src="{$_G['setting']['jspath']}forum_viewthread.js?{VERHASH}"></script>
|
||||
<script type="text/javascript">zoomstatus = parseInt($_G['setting']['zoomstatus']);var imagemaxwidth = '{$_G['setting']['imagemaxwidth']}';var aimgcount = new Array();</script>
|
||||
|
||||
<style id="diy_style" type="text/css"></style>
|
||||
<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
|
||||
<div id="pt" class="bm cl">
|
||||
<div class="z">
|
||||
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>»</em><a href="forum.php">{$_G[setting][navs][2][navname]}</a>$navigation <em>›</em> <a href="forum.php?mod=viewthread&tid=$_G[tid]">$_G[forum_thread][short_subject]</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{hook/viewthread_top}-->
|
||||
<!--{ad/text/wp a_t}-->
|
||||
|
||||
<style id="diy_style" type="text/css"></style>
|
||||
<div class="wp">
|
||||
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<div id="ct" class="wp cl">
|
||||
<div id="pgt" class="pgs mbm cl {if $modmenu['thread']}pbm bbs{/if}">
|
||||
<div class="pgt">$multipage</div>
|
||||
<span class="y pgb"{if $_G['setting']['visitedforums']} id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'34'})"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span>
|
||||
<!--{if $_G['forum']['threadsorts'] && $_G['forum']['threadsorts']['templatelist']}-->
|
||||
<!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
|
||||
<button id="newspecial" class="pn pnc" onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id'"><strong>{lang i_want}$name</strong></button>
|
||||
<!--{/loop}-->
|
||||
<!--{else}-->
|
||||
<!--{if !$_G['forum_thread']['is_archived']}--><a id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} href="javascript:;" title="{lang send_posts}"><div class="postbtn">+ {lang send_posts}</div></a><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $allowpostreply && !$_G['forum_thread']['archiveid']}-->
|
||||
<a id="post_reply" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}"><div class="replybtn">{lang reply}</div></a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postbutton_top}-->
|
||||
</div>
|
||||
|
||||
<!--{if $_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])}-->
|
||||
<ul class="p_pop" id="newspecial_menu" style="display: none">
|
||||
<!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang post_newthread}</a></li><!--{/if}-->
|
||||
<!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
|
||||
<!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
|
||||
<!--{if $_G['forum']['threadsorts']['show'][$id]}-->
|
||||
<li class="popupmenu_option"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&sortid=$id">$threadsorts</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostpoll']}--><li class="poll"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostreward']}--><li class="reward"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostdebate']}--><li class="debate"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostactivity']}--><li class="activity"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowposttrade']}--><li class="trade"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
|
||||
<!--{if $_G['setting']['threadplugins']}-->
|
||||
<!--{loop $_G['forum']['threadplugin'] $tpid}-->
|
||||
<!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
|
||||
<li class="popupmenu_option"{if $_G['setting']['threadplugins'][$tpid][icon]} style="background-image:url(source/plugin/$tpid/$_G['setting']['threadplugins'][$tpid][icon])"{/if}><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&specialextra=$tpid">{$_G['setting']['threadplugins'][$tpid][name]}</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $modmenu['post']}-->
|
||||
<div id="mdly" class="fwinmask" style="display:none;z-index:350;">
|
||||
<table cellspacing="0" cellpadding="0" class="fwin">
|
||||
<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">
|
||||
<div class="f_c">
|
||||
<div class="c">
|
||||
<h3>{lang admin_select} <strong id="mdct" class="xi1"></strong> {lang piece}: </h3>
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<!--{if $_G['group']['allowwarnpost']}--><a href="javascript:;" onclick="modaction('warn')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowbanpost']}--><a href="javascript:;" onclick="modaction('banpost')">{lang modmenu_banpost}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowdelpost'] && !$rushreply}--><a href="javascript:;" onclick="modaction('delpost')">{lang modmenu_deletepost}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum']['ismoderator'] && $_G['group']['allowstickreply'] || $_G['forum_thread']['authorid'] == $_G['uid']}--><a href="javascript:;" onclick="modaction('stickreply')">{lang modmenu_stickpost}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['pushedaid'] && $allowpostarticle}--><a href="javascript:;" onclick="modaction('pushplus', '', 'aid=$_G[forum_thread][pushedaid]', 'portal.php?mod=portalcp&ac=article&op=pushplus')">{lang modmenu_pushplus}</a><span class="pipe">|</span><!--{/if}-->
|
||||
</div>
|
||||
</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>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $modmenu['thread']}-->
|
||||
<div id="modmenu" class="xi2 pbm" style="vertical-align">
|
||||
<!--{eval $modopt=0;}-->
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<!--{if $_G['group']['allowdelpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(3, 'delete')">{lang modmenu_deletethread}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowbumpthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(3, 'bump')">{lang modmenu_updown}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowstickthread'] && ($_G['forum_thread']['displayorder'] <= 3 || $_G['adminid'] == 1) && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'stick')">{lang modmenu_stickthread}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowlivethread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('live')">{lang modmenu_live}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowhighlightthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'highlight')">{lang modmenu_highlight}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowdigestthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'digest')">{lang modmenu_digestpost}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowrecommendthread'] && !empty($_G['forum']['modrecommend']['open']) && $_G['forum']['modrecommend']['sort'] != 1 && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'recommend')">{lang modmenu_recommend}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowstampthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('stamp')">{lang modmenu_stamp}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowstamplist'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('stamplist')">{lang modmenu_icon}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowclosethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(4)"><!--{if !$_G['forum_thread']['closed']}-->{lang modmenu_switch_off}<!--{else}-->{lang modmenu_switch_on}<!--{/if}--></a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowmovethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(2, 'move')">{lang modmenu_move}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowedittypethread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(2, 'type')">{lang modmenu_type}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if !$_G['forum_thread']['special'] && !$_G['forum_thread']['is_archived']}-->
|
||||
<!--{if $_G['group']['allowcopythread'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('copy')">{lang modmenu_copy}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowmergethread'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('merge')">{lang modmenu_merge}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowrefund'] && $_G['forum_thread']['price'] > 0}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('refund')">{lang modmenu_restore}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowsplitthread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('split')">{lang modmenu_split}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowrepairthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('repair')">{lang modmenu_repair}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['is_archived'] && $_G['adminid'] == 1}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('restore', '', 'archiveid={$_G[forum_thread][archiveid]}')">{lang modmenu_archive}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['forum_firstpid']}-->
|
||||
<!--{if $_G['group']['allowwarnpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('warn', '$_G[forum_firstpid]')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowbanpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('banpost', '$_G[forum_firstpid]')">{lang modmenu_banthread}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowremovereward'] && $_G['forum_thread']['special'] == 3 && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('removereward')">{lang modmenu_removereward}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['forum']['status'] == 3 && in_array($_G['adminid'], array('1','2')) && $_G['forum_thread']['closed'] < 1}--><a href="javascript:;" onclick="modthreads(5, 'recommend_group');return false;">{lang modmenu_grouprecommend}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowmanagetag']}--><a href="javascript:;" onclick="showWindow('mods', 'forum.php?mod=tag&op=manage&tid=$_G[tid]', 'get', 0)">{lang post_tag}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['alloweditusertag']}--><a href="javascript:;" onclick="showWindow('usertag', 'forum.php?mod=misc&action=usertag&tid=$_G[tid]', 'get', 0)">{lang usertag}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $allowpusharticle && $allowpostarticle}--><!--{eval $modopt++}--><a href="portal.php?mod=portalcp&ac=article&from_idtype=tid&from_id=$_G['tid']">{lang modmenu_pusharticle}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{hook/viewthread_modoption}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/viewthread_beginline}-->
|
||||
|
||||
<div id="postlist" class="pl bm">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls ptn pbn">
|
||||
<!--{if $_G['page'] > 1}-->
|
||||
<div id="tath" class="cl">
|
||||
<!--{if $_G[forum_thread][authorid] && $_G[forum_thread][author]}-->
|
||||
<a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]"><!--{avatar($_G[forum_thread][authorid],small)}--></a>
|
||||
{lang thread_author}: <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]">$_G[forum_thread][author]</a>
|
||||
<!--{else}-->
|
||||
{lang thread_author}:
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<a href="home.php?mod=space&uid=$_G[forum_thread][authorid]">{lang anonymous}</a>
|
||||
<!--{else}-->
|
||||
{lang anonymous}
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<div class="hm ptn">
|
||||
<span class="xg1">{lang show}:</span> <span class="xi1">$_G[forum_thread][views]</span><span class="pipe">|</span><span class="xg1">{lang reply}:</span> <span class="xi1">$_G[forum_thread][allreplies]</span>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
<td class="plc ptm pbn vwthd">
|
||||
<!--{if !IS_ROBOT}-->
|
||||
<div class="y">
|
||||
<!--{if $post['invisible'] == 0}--><a href="forum.php?mod=viewthread&action=printable&tid=$_G[tid]" title="{lang thread_printable}" target="_blank"><img src="{IMGDIR}/print.png" alt="{lang thread_printable}" class="vm" /></a>
|
||||
<!--{/if}-->
|
||||
<a href="forum.php?mod=redirect&goto=nextoldset&tid=$_G[tid]" title="{lang last_thread}"><img src="{IMGDIR}/thread-prev.png" alt="{lang last_thread}" class="vm" /></a>
|
||||
<a href="forum.php?mod=redirect&goto=nextnewset&tid=$_G[tid]" title="{lang next_thread}"><img src="{IMGDIR}/thread-next.png" alt="{lang next_thread}" class="vm" /></a>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['setting']['close_leftinfo_userctrl']}-->
|
||||
<span class="xg1 side_btn">
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<a onclick="setcookie('close_leftinfo', 1);location.reload();" title="{lang collapse_the_left}" class="btn_s_close" href="javascript:;"><img src="{IMGDIR}/control_l.png" alt="{lang collapse_the_left}" class="vm" /></a>
|
||||
<!--{else}-->
|
||||
<a onclick="setcookie('close_leftinfo', 2);location.reload();" title="{lang open_the_left}" class="btn_s_open" href="javascript:;"><img src="{IMGDIR}/control_r.png" alt="{lang open_the_left}" class="vm" /></a>
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
<h1 class="ts">
|
||||
<!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->
|
||||
<!--{if !IS_ROBOT && ($_G['forum']['threadtypes']['listable'] || $_G['forum']['status'] == 3)}-->
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$_G[forum_thread][typeid]">[{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]</a>
|
||||
<!--{else}-->
|
||||
[{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $threadsorts && $_G['forum_thread']['sortid']}-->
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G[forum_thread][sortid]">[{$_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']]}]</a>
|
||||
<!--{/if}-->
|
||||
<span id="thread_subject">$_G[forum_thread][subject]</span>
|
||||
</h1>
|
||||
<span class="xg1">
|
||||
<!--{if $_G['forum_thread'][displayorder] == -2}-->({lang moderating})
|
||||
<!--{elseif $_G['forum_thread'][displayorder] == -3}-->({lang have_ignored})
|
||||
<!--{elseif $_G['forum_thread'][displayorder] == -4}-->({lang draft})
|
||||
<!--{if $post['first'] && $post['invisible'] == -3}-->
|
||||
<a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['setting']['threadhidethreshold'] && $_G['forum_thread']['hidden'] >= $_G['setting']['threadhidethreshold']}-->
|
||||
<!--{if $_G['forum_thread']['authorid'] == $_G['uid']}--><a class="psave" id="hiderecover" title="{lang hiderecover_tips}" href="forum.php?mod=misc&action=hiderecover&tid=$_G[tid]&formhash={FORMHASH}" onclick="showWindow(this.id, this.href, 'get', 0);">{lang hidden}</a><!--{else}-->({lang hidden})<!--{/if}-->
|
||||
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['recommendlevel']}-->
|
||||
<img src="{IMGDIR}/recommend_$_G['forum_thread']['recommendlevel'].gif" alt="" title="{lang thread_recommend} $_G['forum_thread'][recommends]" />
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_thread'][heatlevel]}-->
|
||||
<img src="{IMGDIR}/hot_$_G['forum_thread'][heatlevel].gif" alt="" title="{lang heats}: $_G['forum_thread']['heats']" />
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['closed'] == 1}-->
|
||||
<img src="{IMGDIR}/locked.gif" alt="{lang close}" title="{lang close}" class="vm" />
|
||||
<!--{/if}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$_G[tid]$fromuid" onclick="return copyThreadUrl(this, '$_G[setting][bbname]')" {if $fromuid}title="{lang share_url_copy_comment}"{/if}>[{lang share_url_copy}]</a>
|
||||
</span>
|
||||
<!--{hook/viewthread_title_extra}-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{if $_G['forum_thread']['replycredit'] > 0 || $rushreply}-->
|
||||
<div id="pl_top">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr class="ad">
|
||||
<td class="pls"></td>
|
||||
<td class="plc"></td>
|
||||
</tr>
|
||||
<!--{if $_G['forum_thread']['replycredit'] > 0 }-->
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls vm ptm">
|
||||
<!--{else}-->
|
||||
<td class="pls ptm pbm xi1" colspan="2">
|
||||
<!--{/if}-->
|
||||
<img src="{IMGDIR}/thread_prize_s.png" class="hm" alt="{lang replycredit}" />
|
||||
<strong>{$_G['forum_thread']['replycredit']} {$_G['setting']['extcredits'][$_G[forum_thread][replycredit_rule][extcreditstype]][unit]}{$_G['setting']['extcredits'][$_G[forum_thread][replycredit_rule][extcreditstype]][title]}</strong>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
</td>
|
||||
<td class="plc ptm pbm xi1">
|
||||
<!--{else}-->
|
||||
|
||||
<!--{/if}-->
|
||||
{lang thread_replycredit_tips1} {lang thread_replycredit_tips2}<!--{if $_G['forum_thread']['replycredit_rule'][random] > 0}--><span class="xg1">{lang thread_replycredit_tips3}</span><!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--{if $rushreply}-->
|
||||
<tr class="ad">
|
||||
<td class="pls"></td>
|
||||
<td class="plc"></td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $rushreply}-->
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls vm ptm">
|
||||
<img src="{IMGDIR}/rushreply_s.png" class="vm" alt="{lang rushreply}" />
|
||||
<strong>{lang rushreply}</strong>
|
||||
</td>
|
||||
<td class="plc ptm pbm xi1">
|
||||
<!--{else}-->
|
||||
<td class="plc ptm pbm xi1" colspan="2">
|
||||
<img src="{IMGDIR}/rushreply_s.png" class="vm" alt="{lang rushreply}" />
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[rewardfloor]}-->
|
||||
<span class="y">
|
||||
<!--{if $_G['uid'] == $_G['thread']['authorid'] || $_G['forum']['ismoderator']}--><a href="javascript:;" onclick="showWindow('membernum', 'forum.php?mod=ajax&action=get_rushreply_membernum&tid=$_G[tid]')" class="y pn xi2"><span>{lang thread_rushreply_statnum}</span></a><!--{/if}-->
|
||||
<!--{if !$_GET['checkrush']}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" class="y pn xi2"><span>{lang rushreply_view}</span></a>
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[creditlimit] == ''}-->
|
||||
{lang thread_rushreply}
|
||||
<!--{else}-->
|
||||
{lang thread_rushreply_limit}
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult['timer']}-->
|
||||
<span id="rushtimer_$thread[tid]"> {lang havemore_special} <span id="rushtimer_body_$thread[tid]"></span> <script language="javascript">settimer($rushresult['timer'], 'rushtimer_body_$thread[tid]');</script>{if $rushresult['timertype'] == 'start'} {lang header_start} {else} {lang over} {/if} {lang right_special}</span>
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[stopfloor]}-->
|
||||
{lang thread_rushreply_end}$rushresult[stopfloor]
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[rewardfloor]}-->
|
||||
{lang thread_rushreply_floor}: $rushresult[rewardfloor]
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[rewardfloor] && $_GET['checkrush']}-->
|
||||
<p class="ptn">
|
||||
<!--{if $countrushpost}-->[<strong>$countrushpost</strong>]{lang thread_rushreply_rewardnum}<!--{else}--> {lang thread_rushreply_noreward} <!--{/if}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$_G[tid]" class="xi2">{lang thread_rushreply_check_back}</a>
|
||||
</p>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/viewthread_title_row}-->
|
||||
|
||||
<table cellspacing="0" cellpadding="0" class="ad">
|
||||
<tr>
|
||||
<td class="pls">
|
||||
<!--{if !$close_leftinfo}-->
|
||||
</td>
|
||||
<td class="plc">
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{eval $postcount = 0;}-->
|
||||
<!--{loop $postlist $post}-->
|
||||
<!--{if $rushreply && $_GET['checkrush'] && $post['rewardfloor'] != 1}-->
|
||||
<!--{eval continue;}-->
|
||||
<!--{/if}-->
|
||||
<div id="post_$post[pid]" {if $_G['blockedpids'] && $post['inblacklist']}style="display:none;"{/if}>
|
||||
<!--{subtemplate forum/viewthread_node}-->
|
||||
</div>
|
||||
<!--{eval $postcount++;}-->
|
||||
<!--{/loop}-->
|
||||
<div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div>
|
||||
<!--{if $_G['blockedpids']}-->
|
||||
<div id='hiddenpoststip'><a href='javascript:display_blocked_post();'>{lang other_reply_hide}</a></div>
|
||||
<div id="hiddenposts"></div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<!--{if $modmenu['thread']}-->
|
||||
<div class="xi2 mbm pbm bbs">
|
||||
<script type="text/javascript">
|
||||
$('modmenu').lastChild.style.visibility = 'hidden';
|
||||
document.write($('modmenu').innerHTML);
|
||||
</script>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<form method="post" autocomplete="off" name="modactions" id="modactions">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="optgroup" />
|
||||
<input type="hidden" name="operation" />
|
||||
<input type="hidden" name="listextra" value="$_GET[extra]" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
</form>
|
||||
|
||||
$_G['forum_tagscript']
|
||||
|
||||
<!--{if $multipage && $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->
|
||||
<!--{eval $nxtpage = $page + 1;}-->
|
||||
<div class="pgbtn"><a href="forum.php?mod=viewthread&tid=$_G[tid]{if $_GET[authorid]}&authorid=$_GET[authorid]{/if}&page=$nxtpage" hidefocus="true" class="bm_h">{lang next_page_extra}</a></div>
|
||||
<!--{/if}-->
|
||||
|
||||
<div class="pgs mtm mbm cl">
|
||||
$multipage
|
||||
<span class="pgb y"{if $_G['setting']['visitedforums']} id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span>
|
||||
<!--{if !$_G['forum_thread']['is_archived']}-->
|
||||
<a id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} href="javascript:;" title="{lang send_posts}"><div class="postbtn">+ {lang send_posts}</div></a>
|
||||
<!--{/if}-->
|
||||
<!--{if $allowpostreply && !$_G['forum_thread']['archiveid']}-->
|
||||
<a id="post_replytmp" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}"><div class="replybtn">{lang reply}</div></a>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<!--{hook/viewthread_middle}-->
|
||||
<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
|
||||
<!--{if $fastpost}-->
|
||||
<!--{subtemplate forum/viewthread_fastpost}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/viewthread_bottom}-->
|
||||
|
||||
<!--{if ($_G['setting']['visitedforums']) && $_G['forum']['status'] != 3}-->
|
||||
<div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td id="v_forums">
|
||||
<h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
|
||||
<ul class="xl xl1">
|
||||
$_G['setting']['visitedforums']
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['medal_list']}-->
|
||||
<!--{loop $_G['medal_list'] $medalid $medal}-->
|
||||
<div id="md_{$medalid}_menu" class="tip tip_4" style="display: none;">
|
||||
<div class="tip_horn"></div>
|
||||
<div class="tip_c">
|
||||
<h4>$medal[name]</h4>
|
||||
<p>$medal[description]</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !IS_ROBOT && !empty($_G[setting][lazyload])}-->
|
||||
<script type="text/javascript">
|
||||
new lazyload();
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !IS_ROBOT && $_G['setting']['threadmaxpages'] > 1}-->
|
||||
<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <!--{if $page > 1}-->1<!--{else}-->0<!--{/if}-->, <!--{if $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->1<!--{else}-->0<!--{/if}-->, 'forum.php?mod=viewthread&tid=$_G[tid]<!--{if $_GET[authorid]}-->&authorid=$_GET[authorid]<!--{/if}-->', $page);}</script>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<div class="wp mtn">
|
||||
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<!--{if $_G['relatedlinks'] || $_GET['highlight']}-->
|
||||
<script type="text/javascript">
|
||||
var relatedlink = [];
|
||||
<!--{loop $_G['relatedlinks'] $key $link}-->
|
||||
relatedlink[$key] = {'sname':'$link[name]', 'surl':'$link[url]'};
|
||||
<!--{/loop}-->
|
||||
{eval $highlights = explode(' ', str_replace(array('\'', chr(125)), array(''', '}'), dhtmlspecialchars($_GET['highlight'])));}
|
||||
<!--{loop $highlights $word}-->
|
||||
{eval $key++;}
|
||||
relatedlink[$key] = {'sname':'$word', 'surl':''};
|
||||
<!--{/loop}-->
|
||||
relatedlinks('postmessage_$_G[forum_firstpid]');
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !empty($_G['cookie']['clearUserdata']) && $_G['cookie']['clearUserdata'] == 'forum'}-->
|
||||
<script type="text/javascript">saveUserdata('forum_'+discuz_uid, '')</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
|
||||
function showsetcover(obj) {
|
||||
if(obj.parentNode.id == 'postmessage_$_G[forum_firstpid]') {
|
||||
var defheight = $_G['setting']['forumpicstyle']['thumbheight'];
|
||||
var defwidth = $_G['setting']['forumpicstyle']['thumbwidth'];
|
||||
var newimgid = 'showcoverimg';
|
||||
var imgsrc = obj.src ? obj.src : obj.file;
|
||||
if(!imgsrc) return;
|
||||
|
||||
var tempimg=new Image();
|
||||
tempimg.src=imgsrc;
|
||||
if(tempimg.complete) {
|
||||
if(tempimg.width < defwidth || tempimg.height < defheight) return;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
if($(newimgid) && obj.id != newimgid) {
|
||||
$(newimgid).id = 'img'+Math.random();
|
||||
}
|
||||
if($(newimgid+'_menu')) {
|
||||
var menudiv = $(newimgid+'_menu');
|
||||
} else {
|
||||
var menudiv = document.createElement('div');
|
||||
menudiv.className = 'tip tip_4 aimg_tip';
|
||||
menudiv.id = newimgid+'_menu';
|
||||
menudiv.style.position = 'absolute';
|
||||
menudiv.style.display = 'none';
|
||||
obj.parentNode.appendChild(menudiv);
|
||||
}
|
||||
menudiv.innerHTML = '<div class="tip_c xs0"><a onclick="showWindow(\'setcover_'+newimgid+'\', this.href)" href="forum.php?mod=ajax&action=setthreadcover&tid=$_G[tid]&pid=$_G[forum_firstpid]&fid=$_G[fid]&imgurl='+imgsrc+'">{lang set_cover}</a></div>';
|
||||
obj.id = newimgid;
|
||||
showMenu({'ctrlid':newimgid,'pos':'12'});
|
||||
}
|
||||
return;
|
||||
}
|
||||
<!--{/if}-->
|
||||
function succeedhandle_followmod(url, msg, values) {
|
||||
var fObj = $('followmod_'+values['fuid']);
|
||||
if(values['type'] == 'add') {
|
||||
fObj.innerHTML = '{lang nofollow}';
|
||||
fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
|
||||
} else if(values['type'] == 'del') {
|
||||
fObj.innerHTML = '{lang follow}';
|
||||
fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid='+values['fuid'];
|
||||
}
|
||||
}
|
||||
<!--{if $_G['blockedpids']}-->
|
||||
var blockedPIDs = [<!--{echo implode(',', $_G['blockedpids'])}-->];
|
||||
<!--{/if}-->
|
||||
<!--{if $postlist && empty($_G['setting']['disfixedavatar'])}-->
|
||||
fixed_avatar([<!--{echo implode(',', array_keys($postlist))}-->], {if empty($_G['setting']['disfixednv_viewthread']) }1{else}0{/if});
|
||||
<!--{elseif empty($_G['setting']['disfixednv_viewthread'])}-->
|
||||
fixed_top_nv();
|
||||
<!--{/if}-->
|
||||
// 下面四行是我套了一个判断语句,代替499行(原代码),不然总是报错,虽然不影响什么
|
||||
var btn = document.getElementById('vreplysubmit');
|
||||
if (btn) {
|
||||
btn.className = "pn";
|
||||
}
|
||||
// 到这里截止,为了替换下面一行
|
||||
// document.getElementById('vreplysubmit').className = "pn";
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!--{template common/footer}-->
|
551
template/ahome_common/forum/viewthread_node.htm
Normal file
@@ -0,0 +1,551 @@
|
||||
<!--{eval
|
||||
$needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);
|
||||
$postshowavatars = !($_G['setting']['bannedmessages'] & 2 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)));
|
||||
}-->
|
||||
<!--{block authorverifys}-->
|
||||
<!--{loop $post['verifyicon'] $vid}-->
|
||||
<a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><!--{if $_G['setting']['verify'][$vid]['icon']}--><img src="$_G['setting']['verify'][$vid]['icon']" class="vm" alt="$_G['setting']['verify'][$vid][title]" title="$_G['setting']['verify'][$vid][title]" /><!--{else}-->$_G['setting']['verify'][$vid]['title']<!--{/if}--></a>
|
||||
<!--{/loop}-->
|
||||
<!--{loop $post['unverifyicon'] $vid}-->
|
||||
<a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><img src="$_G['setting']['verify'][$vid]['unverifyicon']" class="vm" alt="$_G['setting']['verify'][$vid][title]" title="$_G['setting']['verify'][$vid][title]" /></a>
|
||||
<!--{/loop}-->
|
||||
<!--{/block}-->
|
||||
<!--{if $post['first'] && $_G['forum_threadstamp']}-->
|
||||
<div id="threadstamp"><img src="{STATICURL}image/stamp/$_G[forum_threadstamp][url]" title="$_G[forum_threadstamp][text]" /></div>
|
||||
<!--{/if}-->
|
||||
<!--{if empty($post['deleted'])}-->
|
||||
<table id="pid$post[pid]" class="plhin" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
$post[newpostanchor] $post[lastpostanchor]
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls" rowspan="2">
|
||||
<div id="favatar$post[pid]" class="pls favatar">
|
||||
|
||||
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
|
||||
<div class="p_pop blk bui card_gender_$post['gender']" id="userinfo$post[pid]" style="min-width:450px;display: none;{if $_G['setting']['authoronleft']}float:left;margin-top:-16px;{/if}">
|
||||
<div class="m z">
|
||||
<div id="userinfo$post[pid]_ma"></div>
|
||||
<!--{hook/viewthread_profileside $postcount}-->
|
||||
</div>
|
||||
<div class="i y" style="width:300px;">
|
||||
<div>
|
||||
<strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2"{if $post[groupcolor]} style="color: $post[groupcolor]"{/if}>$post[author]</a></strong>
|
||||
<!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
|
||||
<!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['authorinvisible'])}-->
|
||||
<em>{lang online}</em>
|
||||
<!--{else}-->
|
||||
<em>{lang offline}</em>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
{eval viewthread_profile_node('top', $post);}
|
||||
<div class="imicn">
|
||||
<!--{if $post['qq'] && !$post['privacy']['profile']['qq']}--><a href="//wpa.qq.com/msgrd?v=3&uin=$post[qq]&site=$_G['setting']['bbname']&menu=yes&from=discuz" target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
|
||||
<!--{if $post['icq'] && !$post['privacy']['profile']['icq']}--><a href="//wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
|
||||
<!--{if $post['yahoo'] && !$post['privacy']['profile']['yahoo']}--><a href="//edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!" /></a><!--{/if}-->
|
||||
<!--{if $post['taobao'] && !$post['privacy']['profile']['taobao']}--><a href="javascript:;" onclick="window.open('//amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&site=cntaobao&s=2&charset=utf-8')" title="{lang taobao}"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}-->
|
||||
<!--{if $post['site'] && !$post['privacy']['profile']['site']}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}" /></a><!--{/if}-->
|
||||
<a href="home.php?mod=space&uid=$post[authorid]&do=profile" target="_blank" title="{lang member_viewpro}"><img src="{IMGDIR}/userinfo.gif" alt="{lang member_viewpro}" /></a>
|
||||
<!--{hook/viewthread_imicons $postcount}-->
|
||||
<!--{if $_G['setting']['magicstatus']}-->
|
||||
<!--{if !empty($_G['setting']['magics']['showip'])}-->
|
||||
<a href="home.php?mod=magic&mid=showip&idtype=user&id={echo rawurlencode($post[author])}" id="a_showip_li_{$post[pid]}" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/showip.small.gif" alt="" /> $_G['setting']['magics']['showip']</a>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']}-->
|
||||
<a href="home.php?mod=magic&mid=checkonline&idtype=user&id={echo rawurlencode($post[author])}" id="a_repent_$post[pid]" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/checkonline.small.gif" alt="" /> $_G['setting']['magics']['checkonline']</a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_magic_user $postcount}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<div id="avatarfeed"><span id="threadsortswait"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<!--{if !$postshowavatars}-->
|
||||
<div class="avatar">{lang member_avatar_banned}</div>
|
||||
<!--{elseif $post['avatar'] && $showavatars}-->
|
||||
<!--{if $post[mobiletype]}-->
|
||||
<div class="mobile-type mobile-type-$post[mobiletype]">
|
||||
<a></a>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<div class="avatar"{if !($_G['setting']['threadguestlite'] && !$_G['uid'])} onmouseover="showauthor(this, 'userinfo$post[pid]')"{/If}><a href="home.php?mod=space&uid=$post[authorid]" class="avtm" target="_blank">$post[avatar]</a></div>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_avatar $postcount}-->
|
||||
</div>
|
||||
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
|
||||
<!--{if $_G['setting']['authoronleft']}-->
|
||||
<div class="pi">
|
||||
<div class="authi"><a href="home.php?mod=space&uid=$post['authorid']" target="_blank" class="xw1"{if $post[groupcolor]} style="color: $post[groupcolor]"{/if}>$post[author]</a>$authorverifys</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_sidetop $postcount}-->
|
||||
<!--{if !($_G['setting']['threadguestlite'] && !$_G['uid'])}-->
|
||||
{eval viewthread_profile_node('left', $post);}
|
||||
<!--{if $post[authorid] != $_G[uid]}-->
|
||||
<ul class="xl xl2 o cl">
|
||||
<!--{if helper_access::check_module('follow')}-->
|
||||
<li class="addflw">
|
||||
<a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2" onclick="showWindow('followmod', this.href, 'get', 0);">{lang follow}</a>
|
||||
</li>
|
||||
<!--{/if}-->
|
||||
<li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]&tid=$post[tid]" onclick="showWindow('sendpm', this.href);" title="{lang viewthread_left_sendpm}" class="xi2">{lang viewthread_left_sendpm}</a></li>
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/viewthread_sidebottom $postcount}-->
|
||||
<!--{elseif getstatus($post['status'], 5)}-->
|
||||
<!--{if $_G['setting']['authoronleft']}-->
|
||||
<div class="pi">
|
||||
<div class="authi"><a href="javascript:;" class="xw1">$post[author]</a></div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $showavatars}-->
|
||||
<div>
|
||||
<div class="avatar avtm"><a href="javascript:;">$post[avatar]</a></div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<div class="pi">
|
||||
<!--{if !$post['authorid']}-->
|
||||
<a href="javascript:;">$_G[setting][anonymoustext] <em>$post[useip]{if $post[port]}:$post[port]{/if}</em></a>
|
||||
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
|
||||
<!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$_G[setting][anonymoustext]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}-->
|
||||
<!--{else}-->
|
||||
$post[author] <em>{lang member_deleted}</em>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if ($_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'])) && !getstatus($post['status'], 5)}-->
|
||||
<p class="cp_pls cl">
|
||||
<!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip']}-->
|
||||
<a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_G['forum_auditstatuson']}&modthreadkey=$_GET[modthreadkey]{/if}" onclick="ajaxmenu(this, 0, 0, 2);doane(event)">IP</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowedituser']}-->
|
||||
<a href="{if $_G['adminid'] == 1}admin.php?frames=yes&action=members&operation=search&uid=$post[authorid]&submit=yes{else}forum.php?mod=modcp&action=member&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowbanuser']}-->
|
||||
<!--{if $_G['adminid'] == 1}-->
|
||||
<a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
|
||||
<!--{if $_G['adminid'] == 1}-->
|
||||
<a href="forum.php?mod=ajax&action=quickclear&uid=$post[authorid]" onclick="showWindow('qclear_$post[authorid]', this.href, 'get', 0)">{lang clear}</a>
|
||||
<!--{/if}-->
|
||||
</p>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
<td class="plc"<!--{if $close_leftinfo}--> style="width:100%"<!--{/if}-->>
|
||||
<div class="pi"<!--{if $close_leftinfo && !$post['anonymous'] && $postshowavatars && $showavatars}--> style="height:48px"<!--{/if}-->>
|
||||
<!--{if !IS_ROBOT}-->
|
||||
<!--{if !$postcount && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
|
||||
<div id="fj" class="y">
|
||||
<label class="z">{lang thread_redirect_postno}</label>
|
||||
<input type="text" class="px p_fre z" size="2" onkeyup="$('fj_btn').href='forum.php?mod=redirect&ptid=$_G[tid]&authorid=$_GET[authorid]&postno='+this.value" onkeydown="if(event.keyCode==13) {window.location=$('fj_btn').href;return false;}" title="{lang thread_redirect_postno_tips}" />
|
||||
<a href="javascript:;" id="fj_btn" class="z" title="{lang thread_redirect_postno_tips}"><img src="{IMGDIR}/fj_btn.png" alt="{lang thread_redirect_postno_tips}" class="vm" /></a>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['warned']}-->
|
||||
<a href="forum.php?mod=misc&action=viewwarning&tid=$_G[tid]&uid=$post[authorid]" title="{lang warn_get}" class="y" onclick="showWindow('viewwarning', this.href)"><img src="{IMGDIR}/warning.gif" alt="{lang warn_get}" /></a>
|
||||
<!--{/if}-->
|
||||
<strong>
|
||||
<a href="{if $post[first]}forum.php?mod=viewthread&tid=$_G[tid]$fromuid{else}forum.php?mod=redirect&goto=findpost&ptid=$_G[tid]&pid=$post[pid]$fromuid{/if}" {if $fromuid}title="{lang share_url_copy_comment}"{/if} id="postnum$post[pid]" onclick="setCopy(this.href, '{lang post_copied}');return false;">
|
||||
<!--{if isset($post[isstick])}-->
|
||||
<img src ="{IMGDIR}/settop.png" title="{lang replystick}" class="vm" /> {lang from} {$post[number]}{$postnostick}
|
||||
<!--{elseif $post[number] == -1}-->
|
||||
{lang recommend}
|
||||
<!--{else}-->
|
||||
<!--{if !empty($postno[$post[number]])}-->
|
||||
$postno[$post[number]]
|
||||
<!--{else}-->
|
||||
<em>{$post[number]}</em>{$postno[0]}
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</a>
|
||||
</strong>
|
||||
<!--{/if}-->
|
||||
<div class="pti">
|
||||
<div class="pdbt">
|
||||
<!--{if !$post['first'] && $post['rewardfloor']}-->
|
||||
<label class="pdbts pdbts_1">
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="v">{lang prosit}</a>
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="b">{lang rushreply_hit}</a>
|
||||
</label>
|
||||
<!--{/if}-->
|
||||
<!--{if !$post[first] && $_G['forum_thread']['special'] == 5}-->
|
||||
<label class="pdbts pdbts_{echo intval($post[stand])}">
|
||||
<!--{if $post[stand] == 1}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=1" title="{lang debate_view_square}">{lang debate_square}</a>
|
||||
<!--{elseif $post[stand] == 2}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a>
|
||||
<!--{else}--><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}-->
|
||||
<!--{if $post[stand]}-->
|
||||
<a class="b" href="forum.php?mod=misc&action=debatevote&tid=$_G[tid]&pid=$post[pid]" id="voterdebate_$post[pid]" onclick="ajaxmenu(this);doane(event);">{lang debate_support} $post[voters]</a>
|
||||
<!--{/if}-->
|
||||
</label>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<div class="authi">
|
||||
<!--{if $close_leftinfo && !$post['anonymous'] && $postshowavatars && $showavatars}-->
|
||||
<a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2 z" style="padding-right:10px;">{echo avatar($post['authorid'], 'small')}</a>
|
||||
<!--{/if}-->
|
||||
<!--{eval $_self = $thread['author'] && $post['author'] == $thread['author'] && $post['position'] !== '1';}-->
|
||||
<!--{if $_self }-->
|
||||
<img class="authicn vm" id="authicon$post[pid]" src="{IMGDIR}/ico_lz.png" />
|
||||
<!--{else}-->
|
||||
<!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
|
||||
<img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
|
||||
<!--{else}-->
|
||||
<img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $post['authorid'] && !$post['anonymous']}-->
|
||||
<!--{if $_self}-->
|
||||
{lang thread_author}<span class="pipe">|</span>
|
||||
<!--{/if}-->
|
||||
<!--{if !$_G['setting']['authoronleft']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a>$authorverifys<!--{/if}-->
|
||||
<!--{if $close_leftinfo}--><!--{/if}-->
|
||||
<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
|
||||
<!--{if $post['status'] & 8}-->
|
||||
<span class="xg1"><!--{if $_G['setting']['mobile']['mobilecomefrom']}-->{$_G['setting']['mobile']['mobilecomefrom']}<!--{else}-->{lang from_mobile}<!--{/if}--></span>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['invisible'] == 0}-->
|
||||
<span class="pipe">|</span>
|
||||
<!--{if !IS_ROBOT && !$_GET['authorid'] && !$_G['forum_thread']['archiveid']}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
|
||||
<!--{elseif !$_G['forum_thread']['archiveid']}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{elseif getstatus($post['status'], 5)}-->
|
||||
<!--{if !$_G['setting']['authoronleft']}--><a href="javascript:;" class="xi2">$post[author]</a><!--{/if}-->
|
||||
<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
|
||||
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous'] || !$post['authorid'] && !$post['username']}-->
|
||||
$_G[setting][anonymoustext]
|
||||
<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
|
||||
<!--{/if}-->
|
||||
<!--{if !IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
|
||||
<!--{if $_G['forum_thread']['attachment'] == 2 && $_G['group']['allowgetimage'] && (!$_G['setting']['guestviewthumb']['flag'] || $_G['setting']['guestviewthumb']['flag'] && $_G['uid'])}-->
|
||||
<span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&from=album">{lang view_bigpic}</a>
|
||||
<!--{/if}-->
|
||||
<span class="none"><img src="{IMGDIR}/arw_r.gif" class="vm" alt="{lang replycredit}" /></span>
|
||||
<!--{if !$rushreply}-->
|
||||
<!--{if $ordertype != 1}-->
|
||||
<span class="pipe show">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=1" class="show">{lang post_descview}</a>
|
||||
<!--{else}-->
|
||||
<span class="pipe show">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=2" class="show">{lang post_ascview}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first']}-->
|
||||
<span class="pipe show">|</span><a href="javascript:;" onclick="readmode($('thread_subject').innerHTML, $post[pid]);" class="show">{lang read_mode}</a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postheader $postcount}-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{ad ad_a_pr/thread/a_pr/3/$postcount}-->
|
||||
|
||||
<div class="pct">
|
||||
<!--{ad/thread/a_pt/2/$postcount}-->
|
||||
<!--{if empty($ad_a_pr_css)}-->
|
||||
<style type="text/css">.pcb{margin-right:0}</style>
|
||||
<!--{eval $ad_a_pr_css=1;}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !$post['first'] && $post['replycredit'] > 0}-->
|
||||
<div class="cm">
|
||||
<h3 class="psth xs1"><span class="icon_ring vm"></span>
|
||||
{lang replycredit} <span class="xw1 xs2 xi1">+{$post['replycredit']}</span> {$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][unit]}{$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][title]}
|
||||
</h3>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{subtemplate forum/viewthread_node_body}-->
|
||||
</div>
|
||||
|
||||
<!--{if helper_access::check_module('collection') && !$_G['forum']['disablecollect']}-->
|
||||
<!--{if $post['relatecollection']}-->
|
||||
<div class="cm">
|
||||
<h3 class="psth xs1"><span class="icon_ring vm"></span>{lang collection_related}</h3>
|
||||
<ul class="mbw xl xl2 cl">
|
||||
<!--{loop $post['relatecollection'] $var}-->
|
||||
<li>· <a href="forum.php?mod=collection&action=view&ctid=$var[ctid]" title="$var[name]" target="_blank" class="xi2 xw1">$var[name]</a><span class="pipe">|</span><span class="xg1">{lang collection_threadnum}: $var[threadnum], {lang collection_follow}: $var[follownum]</span></li>
|
||||
<!--{/loop}-->
|
||||
<!--{if $post['releatcollectionmore']}-->
|
||||
<li>· <a href="forum.php?mod=collection&tid=$_G[tid]" target="_blank" class="xi2 xw1">{lang more}</a></li>
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--{if $post['sourcecollection']['ctid']}-->
|
||||
<div>
|
||||
{lang collection_fromctid}
|
||||
<form action="forum.php?mod=collection&action=comment&ctid={$ctid}&tid={$_G[tid]}" method="POST" class="ptm pbm cl">
|
||||
<input type="hidden" name="ratescore" id="ratescore" />
|
||||
<span class="clct_ratestar">
|
||||
<span class="btn">
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',1)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',1,'ratescore')">1</a>
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',2)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',2,'ratescore')">2</a>
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',3)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',3,'ratescore')">3</a>
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',4)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',4,'ratescore')">4</a>
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',5)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',5,'ratescore')">5</a>
|
||||
</span>
|
||||
<span id="clct_ratestar_star" class="star star$memberrate"></span>
|
||||
</span>
|
||||
<button type="submit" value="submit" class="pn"><span>{lang collection_rate}</span></button>
|
||||
</form>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</td></tr>
|
||||
<tr><td class="plc plm">
|
||||
<!--{if $locations[$post[pid]]}-->
|
||||
<div class="mobile-location">$locations[$post[pid]][location]</div>
|
||||
<!--{/if}-->
|
||||
<!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
|
||||
|
||||
<!--{if $post['invisible'] == 0}-->
|
||||
<div id="p_btn" class="mtw mbm hm cl">
|
||||
<!--{if !empty($_G['setting']['pluginhooks']['viewthread_share_method'])}-->
|
||||
<div class="tshare cl">
|
||||
<b>{lang viewthread_share_to}: </b>
|
||||
<!--{hook/viewthread_share_method}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]&formhash={FORMHASH}" id="k_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('favoritenumber').innerHTML + ' {lang activity_member_unit}{lang thread_favorite}'" title="{lang fav_thread}"><i><img src="{IMGDIR}/fav.gif" alt="{lang thread_favorite}" />{lang thread_favorite}<span id="favoritenumber"{if !$_G['forum_thread']['favtimes']} style="display:none"{/if}>{$_G['forum_thread']['favtimes']}</span></i></a>
|
||||
<!--{if $_G['group']['raterange'] && $post['authorid'] && ($post['first'] || $_G['groupid'] == 1)}-->
|
||||
<a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{lang rate_position}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
|
||||
<!--{/if}-->
|
||||
<!--{if !$post['anonymous'] && $post['first'] && helper_access::check_module('follow')}-->
|
||||
<a class="followp" href="home.php?mod=spacecp&ac=follow&op=relay&tid=$_G[tid]&from=forum" onclick="showWindow('relaythread', this.href, 'get', 0);" title="{lang follow_spread}"><i><img src="{IMGDIR}/rt.png" alt="{lang thread_realy}" />{lang thread_realy}<!--{if $_G['forum_thread']['relay']}--><span id="relaynumber" style="display:none">{$_G['forum_thread']['relay']}</span><!--{/if}--></i></a>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first'] && helper_access::check_module('share')}-->
|
||||
<a class="sharep" href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" onclick="showWindow('sharethread', this.href, 'get', 0);" title="{lang share_digest}"><i><img src="{IMGDIR}/oshr.png" alt="{lang thread_share}" />{lang thread_share}<!--{if $_G['forum_thread']['sharetimes']}--><span id="sharenumber">{$_G['forum_thread']['sharetimes']}</span><!--{/if}--></i></a>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !$_G['forum']['disablecollect'] && helper_access::check_module('collection')}-->
|
||||
<a href="forum.php?mod=collection&action=edit&op=addthread&tid=$_G[tid]" id="k_collect" onclick="showWindow(this.id, this.href);return false;" onmouseover="this.title = $('collectionnumber').innerHTML + ' {lang activity_member_unit}{lang collection}'" title="{lang thread_collect}"><i><img src="{IMGDIR}/collection.png" alt="{lang thread_share}" />{lang collection}<span id="collectionnumber"{if !$post['releatcollectionnum']} style="display:none"{/if}>{$post['releatcollectionnum']}</span></i></a>
|
||||
<!--{/if}-->
|
||||
<!--{if ($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']}-->
|
||||
<!--{if !empty($_G['setting']['recommendthread']['addtext'])}-->
|
||||
<a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate({$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_add').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][addtext]'" title="{lang maketoponce}"><i><img src="{IMGDIR}/rec_add.gif" alt="$_G['setting']['recommendthread'][addtext]" />$_G['setting']['recommendthread'][addtext]<span id="recommendv_add"{if !$_G['forum_thread']['recommend_add']} style="display:none"{/if}>$_G[forum_thread][recommend_add]</span></i></a>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['recommendthread']['subtracttext'])}-->
|
||||
<!--<a id="recommend_subtract" href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate(-{$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_subtract').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][subtracttext]'" title="{lang makebottomonce}"><i><img src="{IMGDIR}/rec_subtract.gif" alt="$_G['setting']['recommendthread'][subtracttext]" />$_G['setting']['recommendthread'][subtracttext]<span id="recommendv_subtract"{if !$_G['forum_thread']['recommend_sub']} style="display:none"{/if}>$_G[forum_thread][recommend_sub]</span></i></a>-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_useraction}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $post['relateitem']}-->
|
||||
<div class="mtw mbw">
|
||||
<h3 class="pbm mbm bbda">{lang related_thread}</h3>
|
||||
<ul class="xl xl2 cl">
|
||||
<!--{loop $post['relateitem'] $var}-->
|
||||
<li>• <a href="forum.php?mod=viewthread&tid=$var[tid]" title="$var[subject]" target="_blank">$var[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
|
||||
<div class="sign">{lang member_signature_banned}</div>
|
||||
<!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->
|
||||
<div class="sign" style="max-height:{$_G['setting']['maxsigrows']}px;maxHeightIE:{$_G['setting']['maxsigrows']}px;">$post[signature]</div>
|
||||
<!--{elseif !$post['anonymous'] && $showsignatures && $_G['setting']['globalsightml']}-->
|
||||
<div class="sign">$_G['setting']['globalsightml']</div>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postsightmlafter $postcount}-->
|
||||
<!--{ad/thread/a_pb/1/$postcount}-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="_postposition$post['pid']"></tr>
|
||||
<!--{if !$_G['forum_thread']['archiveid']}-->
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls"></td>
|
||||
<!--{/if}-->
|
||||
<td class="plc" style="overflow:visible;{if $close_leftinfo}--> width:100%{/if}">
|
||||
<div class="po hin">
|
||||
<!--{if !$post['first'] && $modmenu['post']}-->
|
||||
<span class="y">
|
||||
<label for="manage$post[pid]">
|
||||
<input type="checkbox" id="manage$post[pid]" class="pc" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" autocomplete="off" />
|
||||
{lang manage}
|
||||
</label>
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
<div class="pob cl">
|
||||
<em>
|
||||
<!--{if $post['invisible'] == 0}-->
|
||||
<!--{if $allowpostreply && $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang comments}</a><!--{/if}-->
|
||||
<!--{if (!$_G['uid'] || $allowpostreply) && !$needhiddenreply}-->
|
||||
<!--{if $post['first']}-->
|
||||
<a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
|
||||
<!--{else}-->
|
||||
<a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && ($post['authorid'] == $_G['uid'] && $_G['forum_thread']['closed'] == 0) && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
|
||||
<a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
|
||||
<!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid'] && $_G['setting']['postappend']}-->
|
||||
<a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first'] && $post['invisible'] == -3}-->
|
||||
<!--<a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>-->
|
||||
<!--{/if}-->
|
||||
<!--{if $post['invisible'] == -2 && !$post['first']}-->
|
||||
<span class="xg1">({lang moderate_need})</span>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;" onclick="modaction('recommend', '$_G[forum_firstpid]', 'op=recommend&idtype={if $_G[forum_thread][isgroup]}gtid{else}tid{/if}&id=$_G[tid]&pid=$post[pid]', 'portal.php?mod=portalcp&ac=portalblock')">{lang modmenu_blockrecommend}</a><!--{/if}-->
|
||||
<!--{if !$_G['forum_thread']['special'] && !$rushreply && !$hiddenreplies && $_G['setting']['repliesrank'] && !$post['first'] && !($post['isWater'] && $_G['setting']['filterednovote'])}-->
|
||||
<a class="replyadd" href="forum.php?mod=misc&action=postreview&do=support&tid=$_G[tid]&pid=$post[pid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', '');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = ($('review_support_$post[pid]').innerHTML ? $('review_support_$post[pid]').innerHTML : 0) + ' {lang activity_member_unit} {lang support_reply}'">{lang support_reply} <span id="review_support_$post[pid]">$post[postreview][support]</span></a>
|
||||
<!--<a class="replysubtract" href="forum.php?mod=misc&action=postreview&do=against&tid=$_G[tid]&pid=$post[pid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', '');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = ($('review_against_$post[pid]').innerHTML ? $('review_against_$post[pid]').innerHTML : 0) + ' {lang activity_member_unit} {lang against_reply}'">{lang against_reply} <span id="review_against_$post[pid]">$post[postreview][against]</span></a>-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postfooter $postcount}-->
|
||||
</em>
|
||||
|
||||
<p>
|
||||
<!--{if $post['invisible'] == 0}-->
|
||||
<!--{if $_G['setting']['magicstatus']}-->
|
||||
<a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
|
||||
<a href="javascript:;" onclick="setanswer($post['pid'], '$_GET[from]')">{lang reward_set_bestanswer}</a>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if ($post['first'] || $_G['groupid'] == 1) && $_G['group']['raterange'] && $post['authorid']}-->
|
||||
<a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !empty($postlist[$post[pid]]['totalrate']) && $_G['forum']['ismoderator']}-->
|
||||
<a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['authorid'] != $_G['uid']}-->
|
||||
<a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postaction $postcount}-->
|
||||
</p>
|
||||
|
||||
<!--{if $_G['setting']['magicstatus']}-->
|
||||
<ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
|
||||
<!--{if $post['first']}-->
|
||||
<!--{if !empty($_G['setting']['magics']['bump'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['stick'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['close'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['open'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['highlight'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['sofa'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['jack'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_magic_thread}-->
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
|
||||
<li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/repent.small.gif" />$_G['setting']['magics']['repent']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
|
||||
<li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['namepost'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_magic_post $postcount}-->
|
||||
</ul>
|
||||
<script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<tr class="ad">
|
||||
<td class="pls">
|
||||
<!--{if !$close_leftinfo}-->
|
||||
</td>
|
||||
<td class="plc">
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
|
||||
<ul class="ttp cl">
|
||||
<li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
|
||||
<li{if !isset($_GET['stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]" hidefocus="true">{lang all}</a></li>
|
||||
<li{if $_GET['stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
|
||||
<li{if $_GET['stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
|
||||
<li{if isset($_GET['stand']) && $_GET['stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p/$postcount}--><!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{if !empty($aimgs[$post[pid]])}-->
|
||||
<script type="text/javascript" reload="1">
|
||||
aimgcount[{$post[pid]}] = [<!--{echo dimplode($aimgs[$post[pid]]);}-->];
|
||||
attachimggroup($post['pid']);
|
||||
<!--{if empty($_G['setting']['lazyload'])}-->
|
||||
<!--{if !$post['imagelistthumb']}-->
|
||||
attachimgshow($post[pid]);
|
||||
<!--{else}-->
|
||||
attachimgshow($post[pid], 1);
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
var aimgfid = 0;
|
||||
<!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
|
||||
aimgfid = $_G[fid];
|
||||
<!--{/if}-->
|
||||
<!--{if $post['imagelistthumb']}-->
|
||||
attachimglstshow($post['pid'], <!--{echo intval($_G['setting']['lazyload'])}-->, aimgfid, '{$_G[setting][showexif]}');
|
||||
<!--{/if}-->
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls"></td>
|
||||
<!--{/if}-->
|
||||
<td class="plc"<!--{if $close_leftinfo}--> style="width:100%"<!--{/if}-->>
|
||||
<div class="pi">
|
||||
<strong><a><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a></strong>
|
||||
</div>
|
||||
<div class="pct">{lang post_deleted}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="ad">
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls"></td>
|
||||
<!--{/if}-->
|
||||
<td class="plc"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_endline $postcount}-->
|
300
template/ahome_common/home/spacecp_profile.htm
Normal file
@@ -0,0 +1,300 @@
|
||||
<!--{template common/header}-->
|
||||
|
||||
|
||||
<!--{subtemplate home/spacecp_header}-->
|
||||
<!--{if $validate}-->
|
||||
<p class="tbmu mbm">{lang validator_comment}</p>
|
||||
<form action="member.php?mod=regverify" method="post" autocomplete="off">
|
||||
<input type="hidden" value="{FORMHASH}" name="formhash" />
|
||||
<table summary="{lang memcp_profile}" cellspacing="0" cellpadding="0" class="tfm">
|
||||
<tr>
|
||||
<th>{lang validator_remark}</th>
|
||||
<td>$validate[remark]</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{lang validator_message}</th>
|
||||
<td><input type="text" class="px" name="regmessagenew" value="" /></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<td colspan="2">
|
||||
<button type="submit" name="verifysubmit" value="true" class="pn pnc" /><strong>{lang validator_submit}</strong></button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div></div>
|
||||
<div class="appl">
|
||||
<!--{subtemplate home/spacecp_footer}-->
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<!--{if $operation == 'password'}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}register.js?{VERHASH}"></script>
|
||||
<p class="bbda pbm mbm">
|
||||
<!--{if !$_G['member']['freeze']}-->
|
||||
<!--{if !$_G['setting']['connect']['allow'] || !$conisregister}-->{lang old_password_comment}<!--{elseif $wechatuser}-->{lang wechat_config_newpassword_comment}<!--{else}-->{lang connect_config_newpassword_comment}<!--{/if}-->
|
||||
<!--{elseif $_G['member']['freeze'] == 1}-->
|
||||
<strong class="xi1">{lang freeze_pw_tips}</strong>
|
||||
<!--{elseif $_G['member']['freeze'] == 2}-->
|
||||
<strong class="xi1">{lang freeze_email_tips}</strong>
|
||||
<!--{/if}-->
|
||||
</p>
|
||||
<form action="home.php?mod=spacecp&ac=profile" method="post" autocomplete="off">
|
||||
<input type="hidden" value="{FORMHASH}" name="formhash" />
|
||||
<table summary="{lang memcp_profile}" cellspacing="0" cellpadding="0" class="tfm">
|
||||
<!--{if !$_G['setting']['connect']['allow'] || !$conisregister}-->
|
||||
<tr>
|
||||
<th><span class="rq" title="{lang required}">*</span>{lang old_password}</th>
|
||||
<td><input type="password" name="oldpassword" id="oldpassword" class="px" /></td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<tr>
|
||||
<th>{lang new_password}</th>
|
||||
<td>
|
||||
<input type="password" name="newpassword" id="newpassword" class="px" />
|
||||
<p class="d" id="chk_newpassword">{lang memcp_profile_passwd_comment}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{lang new_password_confirm}</th>
|
||||
<td>
|
||||
<input type="password" name="newpassword2" id="newpassword2"class="px" />
|
||||
<p class="d" id="chk_newpassword2">{lang memcp_profile_passwd_comment}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="contact"{if $_GET[from] == 'contact'} style="background-color: {$_G['style']['specialbg']};"{/if}>
|
||||
<th>{lang email}</th>
|
||||
<td>
|
||||
<input type="text" name="emailnew" id="emailnew" value="$space[email]" class="px" />
|
||||
<p class="d">
|
||||
<!--{if empty($space['newemail'])}-->
|
||||
{lang email_been_active}
|
||||
<!--{else}-->
|
||||
$acitvemessage
|
||||
<!--{/if}-->
|
||||
</p>
|
||||
<!--{if $_G['setting']['regverify'] == 1 && (($_G['group']['grouptype'] == 'member' && $_G['adminid'] == 0) || $_G['groupid'] == 8) || $_G['member']['freeze']}--><p class="d">{lang memcp_profile_email_comment}</p><!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!--{if $_G['member']['freeze'] == 2}-->
|
||||
<tr>
|
||||
<th>{lang freeze_reason}</th>
|
||||
<td>
|
||||
<textarea rows="3" cols="80" name="freezereson" class="pt">$space[freezereson]</textarea>
|
||||
<p class="d" id="chk_newpassword2">{lang freeze_reason_comment}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
|
||||
<tr>
|
||||
<th>{lang security_question}</th>
|
||||
<td>
|
||||
<select name="questionidnew" id="questionidnew">
|
||||
<option value="" selected>{lang memcp_profile_security_keep}</option>
|
||||
<option value="0">{lang security_question_0}</option>
|
||||
<option value="1">{lang security_question_1}</option>
|
||||
<option value="2">{lang security_question_2}</option>
|
||||
<option value="3">{lang security_question_3}</option>
|
||||
<option value="4">{lang security_question_4}</option>
|
||||
<option value="5">{lang security_question_5}</option>
|
||||
<option value="6">{lang security_question_6}</option>
|
||||
<option value="7">{lang security_question_7}</option>
|
||||
</select>
|
||||
<p class="d">{lang memcp_profile_security_comment}</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>{lang security_answer}</th>
|
||||
<td>
|
||||
<input type="text" name="answernew" id="answernew" class="px" />
|
||||
<p class="d">{lang memcp_profile_security_answer_comment}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{if $secqaacheck || $seccodecheck}-->
|
||||
</table>
|
||||
<!--{eval $sectpl = '<table cellspacing="0" cellpadding="0" class="tfm"><tr><th><sec></th><td><sec><p class="d"><sec></p></td></tr></table>';}-->
|
||||
<!--{subtemplate common/seccheck}-->
|
||||
<table summary="{lang memcp_profile}" cellspacing="0" cellpadding="0" class="tfm">
|
||||
<!--{/if}-->
|
||||
<tr>
|
||||
<th> </th>
|
||||
<td><button type="submit" name="pwdsubmit" value="true" class="pn pnc" /><strong>{lang save}</strong></button></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="passwordsubmit" value="true" />
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
var strongpw = new Array();
|
||||
<!--{if $_G['setting']['strongpw']}-->
|
||||
<!--{loop $_G['setting']['strongpw'] $key $val}-->
|
||||
strongpw[$key] = $val;
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
var pwlength = <!--{if $_G['setting']['pwlength']}-->$_G['setting']['pwlength']<!--{else}-->0<!--{/if}-->;
|
||||
checkPwdComplexity($('newpassword'), $('newpassword2'), true);
|
||||
</script>
|
||||
<!--{else}-->
|
||||
<!--{hook/spacecp_profile_top}-->
|
||||
<!--{subtemplate home/spacecp_profile_nav}-->
|
||||
<!--{if $vid}-->
|
||||
<p class="tbms mtm {if !$showbtn}tbms_r{/if}"><!--{if $showbtn}-->{lang spacecp_profile_message1}<!--{else}-->{lang spacecp_profile_message2}<!--{/if}--></p>
|
||||
<!--{/if}-->
|
||||
<iframe id="frame_profile" name="frame_profile" style="display: none"></iframe>
|
||||
<form action="{if $operation != 'plugin'}home.php?mod=spacecp&ac=profile&op=$operation{else}home.php?mod=spacecp&ac=plugin&op=profile&id=$_GET[id]{/if}" method="post" enctype="multipart/form-data" autocomplete="off"{if $operation != 'plugin'} target="frame_profile"{/if} onsubmit="clearErrorInfo();">
|
||||
<input type="hidden" value="{FORMHASH}" name="formhash" />
|
||||
<!--{if $_GET[vid]}-->
|
||||
<input type="hidden" value="$_GET[vid]" name="vid" />
|
||||
<!--{/if}-->
|
||||
<table cellspacing="0" cellpadding="0" class="tfm" id="profilelist">
|
||||
<tr>
|
||||
<th style="padding-top:20px;padding-bottom:20px;">{lang username}</th>
|
||||
<td style="padding-top:20px;padding-bottom:20px;">$_G[member][username]</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<!--{loop $settings $key $value}-->
|
||||
<!--{if $value[available]}-->
|
||||
<tr id="tr_$key">
|
||||
<th id="th_$key"><!--{if $value[required]}--><span class="rq" title="{lang required}">*</span><!--{/if}-->$value[title]</th>
|
||||
<td id="td_$key">
|
||||
$htmls[$key]
|
||||
</td>
|
||||
<td class="p">
|
||||
<!--{if $vid}-->
|
||||
<input type="hidden" name="privacy[$key]" value="3" />
|
||||
<!--{else}-->
|
||||
<select name="privacy[$key]">
|
||||
<option value="0"{if $privacy[$key] == "0"} selected="selected"{/if}>{lang open_privacy}</option>
|
||||
<option value="1"{if $privacy[$key] == "1"} selected="selected"{/if}>{lang friend_privacy}</option>
|
||||
<option value="3"{if $privacy[$key] == "3"} selected="selected"{/if}>{lang secrecy}</option>
|
||||
</select>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{if $allowcstatus && in_array('customstatus', $allowitems)}-->
|
||||
<tr>
|
||||
<th id="th_customstatus">{lang permission_basic_status}</th>
|
||||
<td id="td_customstatus">
|
||||
<input type="text" value="$space[customstatus]" name="customstatus" id="customstatus" class="px" />
|
||||
<div class="rq mtn" id="showerror_customstatus"></div>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['maxsigsize'] && in_array('sightml', $allowitems)}-->
|
||||
<tr>
|
||||
<th id="th_sightml">{lang personal_signature}</th>
|
||||
<td id="td_sightml">
|
||||
<div class="tedt">
|
||||
<div class="bar">
|
||||
<span class="y"><a href="javascript:;" onclick="$('signhtmlpreview').innerHTML = bbcode2html($('sightmlmessage').value)">{lang preview}</a></span>
|
||||
<!--{if $_G['group']['allowsigbbcode']}-->
|
||||
<!--{if $_G['group']['allowsigimgcode']}-->
|
||||
<!--{eval $seditor = array('sightml', array('bold', 'color', 'img', 'link', 'smilies'));}-->
|
||||
<!--{else}-->
|
||||
<!--{eval $seditor = array('sightml', array('bold', 'color', 'link', 'smilies'));}-->
|
||||
<!--{/if}-->
|
||||
<!--{subtemplate common/seditor}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<div class="area">
|
||||
<textarea rows="3" cols="80" name="sightml" id="sightmlmessage" class="pt" onkeydown="ctrlEnter(event, 'profilesubmitbtn');">$space[sightml]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div id="signhtmlpreview"></div>
|
||||
<div id="showerror_sightml" class="rq mtn"></div>
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}bbcode.js?{VERHASH}"></script>
|
||||
<script type="text/javascript">var forumallowhtml = 0,allowhtml = 0,allowsmilies = 0,allowbbcode = parseInt('{$_G[group][allowsigbbcode]}'),allowimgcode = parseInt('{$_G[group][allowsigimgcode]}');var DISCUZCODE = [];DISCUZCODE['num'] = '-1';DISCUZCODE['html'] = [];</script>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<!--{if in_array('timeoffset', $allowitems)}-->
|
||||
<tr>
|
||||
<th id="th_timeoffset">{lang time_zone}</th>
|
||||
<td id="td_timeoffset">
|
||||
<!--{eval $timeoffset = array({lang timezone});}-->
|
||||
<select name="timeoffset">
|
||||
<!--{loop $timeoffset $key $desc}-->
|
||||
<option value="$key"{if $key==$space[timeoffset]} selected="selected"{/if}>$desc</option>
|
||||
<!--{/loop}-->
|
||||
</select>
|
||||
<p class="mtn">{lang current_time} : <!--{date($_G[timestamp])}--></p>
|
||||
<p class="d">{lang time_zone_message}</p>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $operation == 'contact'}-->
|
||||
<tr>
|
||||
<th id="th_sightml">Email</th>
|
||||
<td id="td_sightml">$space[email] (<a href="home.php?mod=spacecp&ac=profile&op=password&from=contact#contact">{lang modify}</a>)</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $operation == 'plugin'}-->
|
||||
<!--{eval include(template($_GET['id']));}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/spacecp_profile_extra}-->
|
||||
<!--{if $showbtn}-->
|
||||
<tr>
|
||||
<th> </th>
|
||||
<td colspan="2">
|
||||
<input type="hidden" name="profilesubmit" value="true" />
|
||||
<button type="submit" name="profilesubmitbtn" id="profilesubmitbtn" value="true" class="pn pnc" /><strong>{lang save}</strong></button>
|
||||
<span id="submit_result" class="rq"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
</table>
|
||||
<!--{hook/spacecp_profile_bottom}-->
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
function show_error(fieldid, extrainfo) {
|
||||
var elem = $('th_'+fieldid);
|
||||
if(elem) {
|
||||
elem.className = "rq";
|
||||
fieldname = elem.innerHTML;
|
||||
extrainfo = (typeof extrainfo == "string") ? extrainfo : "";
|
||||
$('showerror_'+fieldid).innerHTML = "{lang check_date_item} " + extrainfo;
|
||||
$(fieldid).focus();
|
||||
}
|
||||
}
|
||||
function show_success(message) {
|
||||
message = message == '' ? '{lang update_date_success}' : message;
|
||||
showDialog(message, 'right', '{lang reminder}', function(){
|
||||
top.window.location.href = top.window.location.href;
|
||||
}, 0, null, '', '', '', '', 3);
|
||||
}
|
||||
function clearErrorInfo() {
|
||||
var spanObj = $('profilelist').getElementsByTagName("div");
|
||||
for(var i in spanObj) {
|
||||
if(typeof spanObj[i].id != "undefined" && spanObj[i].id.indexOf("_")) {
|
||||
var ids = explode('_', spanObj[i].id);
|
||||
if(ids[0] == "showerror") {
|
||||
spanObj[i].innerHTML = '';
|
||||
$('th_'+ids[1]).className = '';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="appl">
|
||||
<!--{subtemplate home/spacecp_footer}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!--{template common/footer}-->
|
10
template/ahome_common/home/spacecp_usergroup_header.htm
Normal file
@@ -0,0 +1,10 @@
|
||||
<ul class="tb cl">
|
||||
<!--{if $usergroups}-->
|
||||
<li class="y$activegs[my] showmenu" id="gmy" onmouseover="showMenu(this.id)"><a href="home.php?mod=spacecp&ac=usergroup">{lang my_usergroups}</a></li>
|
||||
<li class="y$activegs[upgrade] showmenu" id="gupgrade" onmouseover="showMenu(this.id)"><a>{lang usergroup_group2}</a></li>
|
||||
<li class="y$activegs[admin] showmenu"id="gadmin" onmouseover="showMenu(this.id)"><a>{lang usergroup_group3}</a></li>
|
||||
<!--{/if}-->
|
||||
<li$activeus[usergroup]><a href="home.php?mod=spacecp&ac=usergroup">{lang my_usergroups}</a></li>
|
||||
<li$activeus[list] $activeus[expiry]><a href="home.php?mod=spacecp&ac=usergroup&do=list">{lang usergroups_joinbuy}</a></li>
|
||||
<li$activeus[forum]><a href="home.php?mod=spacecp&ac=usergroup&do=forum">{lang my}{$_G['setting']['navs'][2]['navname']}{lang rights}</a></li>
|
||||
</ul>
|
0
template/ahome_common/index.htm
Normal file
BIN
template/ahome_common/preview.jpg
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
template/ahome_common/preview_large.jpg
Normal file
After Width: | Height: | Size: 23 KiB |
59
template/ahome_common/search/header.htm
Normal file
@@ -0,0 +1,59 @@
|
||||
<!--{subtemplate common/header_common}-->
|
||||
</head>
|
||||
|
||||
<body id="nv_search" onkeydown="if(event.keyCode==27) return false;">
|
||||
<div id="append_parent"></div><div id="ajaxwaitid"></div>
|
||||
<div id="toptb" class="cl" style="background:#333">
|
||||
<div class="z">
|
||||
<a href="./" id="navs" class="showmenu xi2" onmouseover="showMenu(this.id)">{lang return_homepage}</a>
|
||||
</div>
|
||||
<div class="y">
|
||||
<!--{if $_G['uid']}-->
|
||||
<strong><a href="home.php?mod=space" target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a></strong>
|
||||
<a href="javascript:;" id="myspace" class="showmenu xi2" onmouseover="showMenu(this.id);">{lang my_nav}</a>
|
||||
<!--{hook/global_usernav_extra1}-->
|
||||
<a href="home.php?mod=spacecp">{lang setup}</a>
|
||||
<!--{if $_G['uid'] && ($_G['group']['radminid'] == 1 || getstatus($_G['member']['allowadmincp'], 1))}--><a href="admin.php" target="_blank">{lang admincp}</a><!--{/if}-->
|
||||
<!--{hook/global_usernav_extra2}-->
|
||||
<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
|
||||
<!--{elseif !empty($_G['cookie']['loginuser'])}-->
|
||||
<strong><a id="loginuser"><!--{echo dhtmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
|
||||
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang activation}</a>
|
||||
<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
|
||||
<!--{else}-->
|
||||
<a href="member.php?mod={$_G[setting][regname]}">$_G['setting']['reglinkname']</a>
|
||||
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang login}</a>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</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]
|
||||
|
||||
<!--{if $_G['setting']['navs']}-->
|
||||
<ul class="p_pop h_pop" id="navs_menu" style="display: none">
|
||||
<!--{loop $_G['setting']['navs'] $nav}-->
|
||||
<!--{eval $nav_showmenu = strpos($nav['nav'], 'onmouseover="showMenu(');}-->
|
||||
<!--{eval $nav_navshow = strpos($nav['nav'], 'onmouseover="navShow(')}-->
|
||||
<!--{if $nav_hidden !== false || $nav_navshow !== false}-->
|
||||
<!--{eval $nav['nav'] = preg_replace("/onmouseover\=\"(.*?)\"/i", '',$nav['nav'])}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li $nav[nav]></li><!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
|
||||
<ul id="myspace_menu" class="p_pop" style="display:none;">
|
||||
<!--{loop $_G['setting']['mynavs'] $nav}-->
|
||||
<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->
|
||||
<li>$nav[code]</li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</ul>
|
BIN
template/ahome_common/src/default/background3.jpg
Executable file
After Width: | Height: | Size: 410 KiB |
BIN
template/ahome_common/src/default/background4.jpg
Executable file
After Width: | Height: | Size: 184 KiB |
BIN
template/ahome_common/src/default/background5.jpg
Executable file
After Width: | Height: | Size: 280 KiB |
BIN
template/ahome_common/src/default/bg.jpg
Normal file
After Width: | Height: | Size: 107 KiB |
BIN
template/ahome_common/src/default/blanklogo.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
template/ahome_common/src/default/half-transparent.png
Normal file
After Width: | Height: | Size: 980 B |
BIN
template/ahome_common/src/default/logo.AVIF
Executable file
After Width: | Height: | Size: 27 KiB |
BIN
template/ahome_common/src/default/logo.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
template/ahome_common/src/default/logo4.png
Executable file
After Width: | Height: | Size: 641 KiB |
BIN
template/ahome_common/src/default/mypost.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
template/ahome_common/src/default/newreply.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
template/ahome_common/src/default/panel-toggle-drop.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
template/ahome_common/src/default/panel-toggle-space.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
template/ahome_common/src/default/panel-toggle.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
template/ahome_common/src/default/search.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
template/ahome_common/src/default/switch_width.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
template/ahome_common/style/t1/background.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
template/ahome_common/style/t1/bgimg.jpg
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
template/ahome_common/style/t1/create_group.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
template/ahome_common/style/t1/flw_post.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
template/ahome_common/style/t1/hotspot.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
template/ahome_common/style/t1/mood_input.png
Normal file
After Width: | Height: | Size: 555 B |
BIN
template/ahome_common/style/t1/mood_input_btn.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
template/ahome_common/style/t1/nv.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
template/ahome_common/style/t1/nv_a.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
template/ahome_common/style/t1/pn.png
Normal file
After Width: | Height: | Size: 592 B |
BIN
template/ahome_common/style/t1/pn_post.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
template/ahome_common/style/t1/pn_reply.png
Normal file
After Width: | Height: | Size: 988 B |
BIN
template/ahome_common/style/t1/pn_rt.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
template/ahome_common/style/t1/polljoins.gif
Normal file
After Width: | Height: | Size: 375 B |
BIN
template/ahome_common/style/t1/qmenu.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
template/ahome_common/style/t1/search.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
55
template/ahome_common/style/t1/style.css
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
[name]红[/name]
|
||||
[iconbgcolor]#DD0000[/iconbgcolor]
|
||||
Powered by Tsmini.com
|
||||
*/
|
||||
|
||||
.bm_h, .tl th, .tl td { border-bottom-color: #CDCDCD; }
|
||||
.fl .bm_h { border-color: #FCC; background: #FFECEC; }
|
||||
.bm_h a{color:#DD0000}
|
||||
.bm_h h2 a{color:#DD0000 !important}
|
||||
.bm_h .xw1 a{color:#DD0000 !important}
|
||||
a,link {color:#333}
|
||||
.tbmu .pnc{background:#DD0000 !important}
|
||||
|
||||
.postbtn {
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
background: linear-gradient(60deg, rgba(213,0,0,1) 0%, rgba(213,100,0,1) 100%);
|
||||
border-radius: 10px;
|
||||
color: #FFF;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.postbtn:hover {
|
||||
background: #a20000;
|
||||
}
|
||||
|
||||
|
||||
.pnc {
|
||||
background: #f63a00;
|
||||
}
|
||||
|
||||
.pnc:hover {
|
||||
background: #ff6b3d;
|
||||
}
|
||||
|
||||
.header {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: linear-gradient(60deg, rgba(233,67,67,1) 0%, rgba(209,0,0,1) 100%);
|
||||
background-size: 100% auto;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* <20>ض<EFBFBD><D8B6>尴ť */
|
||||
#create_group_btn { display: block; background: url(create_group.png) no-repeat 0 0; }
|
||||
#create_group_btn img { opacity: 0; filter: alpha(opacity=0); }
|
||||
/* <20>ض<EFBFBD><D8B6><EFBFBD><EFBFBD>㲥 */
|
||||
.moodfm_btn { background-image: url(mood_input_btn.png) !important; }
|
||||
#uhd, #flw_header .bar, .flw_replybox { background-color: #FFECEC; }
|
||||
#uhd .tb a, #flw_header .bar { border-top-color: #FFECEC; }
|
||||
.pg_follow #fastpostsubmit { background-image: url(flw_post.png); }
|
||||
.flw_replybox .pnc { background-image: url(pn_reply.png); }
|
||||
.flw_replybox td table .pnc { background-image: url(pn_rt.png); }
|
||||
#flw_post_extra .sec { border-color: #FFECEC; background-color: #FFECEC }
|
BIN
template/ahome_common/style/t1/titlebg.png
Normal file
After Width: | Height: | Size: 291 B |
BIN
template/ahome_common/style/t1/titlebg_sd.png
Normal file
After Width: | Height: | Size: 418 B |
BIN
template/ahome_common/style/t1/vlineb.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
template/ahome_common/style/t2/background.png
Normal file
After Width: | Height: | Size: 354 B |
BIN
template/ahome_common/style/t2/bgimg.jpg
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
template/ahome_common/style/t2/create_group.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
template/ahome_common/style/t2/flw_post.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
template/ahome_common/style/t2/hotspot.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
template/ahome_common/style/t2/mood_input_btn.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
template/ahome_common/style/t2/nv.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
template/ahome_common/style/t2/nv_a.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
template/ahome_common/style/t2/pn.png
Normal file
After Width: | Height: | Size: 584 B |
BIN
template/ahome_common/style/t2/pn_post.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
template/ahome_common/style/t2/pn_reply.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
template/ahome_common/style/t2/pn_rt.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
template/ahome_common/style/t2/polljoins.gif
Normal file
After Width: | Height: | Size: 375 B |
56
template/ahome_common/style/t2/style.css
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
[name]青[/name]
|
||||
[iconbgcolor]#429296[/iconbgcolor]
|
||||
Powered by Tsmini.com
|
||||
*/
|
||||
|
||||
.bm_h, .tl th, .tl td { border-bottom-color: #CDCDCD; }
|
||||
.fl .bm_h { border-color: #FCC; background: #ecfff6; }
|
||||
.bm_h a{color:#45926d}
|
||||
.bm_h .xw1 a{color:#45926d !important}
|
||||
.bm_h h2 a{color:#45926d !important}
|
||||
.tbmu .pnc{background:#45926d !important}
|
||||
a,link {color:#333}
|
||||
|
||||
.postbtn {
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
background: linear-gradient(60deg, rgba(69,132,102,1) 0%, rgba(118,184,152,1) 100%);
|
||||
border-radius: 10px;
|
||||
color: #FFF;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.postbtn:hover {
|
||||
background: #295841;
|
||||
}
|
||||
|
||||
|
||||
.pnc {
|
||||
background: #549475;
|
||||
}
|
||||
|
||||
.pnc:hover {
|
||||
background: #70b795;
|
||||
}
|
||||
|
||||
.header {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: linear-gradient(60deg, rgba(78,164,151,1) 0%, rgba(25,111,98,1) 100%);
|
||||
background-size: 100% auto;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* <20>ض<EFBFBD><D8B6>尴ť */
|
||||
#create_group_btn { display: block; background: url(create_group.png) no-repeat 0 0; }
|
||||
#create_group_btn img { opacity: 0; filter: alpha(opacity=0); }
|
||||
|
||||
/* <20>ض<EFBFBD><D8B6><EFBFBD><EFBFBD>㲥 */
|
||||
.moodfm_btn { background-image: url(mood_input_btn.png) !important; }
|
||||
#uhd, #flw_header .bar, .flw_replybox { background-color: #ecfff6; }
|
||||
#uhd .tb a, #flw_header .bar { border-top-color: #ecfff6; }
|
||||
.pg_follow #fastpostsubmit { background-image: url(flw_post.png); }
|
||||
.flw_replybox .pnc { background-image: url(pn_reply.png); }
|
||||
.flw_replybox td table .pnc { background-image: url(pn_rt.png); }
|
||||
#flw_post_extra .sec { border-color: #ecfff6; background-color: #ecfff6; }
|
BIN
template/ahome_common/style/t2/titlebg.png
Normal file
After Width: | Height: | Size: 307 B |
BIN
template/ahome_common/style/t2/titlebg_sd.png
Normal file
After Width: | Height: | Size: 440 B |
BIN
template/ahome_common/style/t2/vlineb.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
template/ahome_common/style/t3/background.png
Normal file
After Width: | Height: | Size: 339 B |
BIN
template/ahome_common/style/t3/bgimg.jpg
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
template/ahome_common/style/t3/create_group.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
template/ahome_common/style/t3/flw_post.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
template/ahome_common/style/t3/hotspot.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
template/ahome_common/style/t3/mood_input_btn.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
template/ahome_common/style/t3/nv.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
template/ahome_common/style/t3/nv_a.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
template/ahome_common/style/t3/pn.png
Normal file
After Width: | Height: | Size: 599 B |
BIN
template/ahome_common/style/t3/pn_post.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
template/ahome_common/style/t3/pn_reply.png
Normal file
After Width: | Height: | Size: 880 B |
BIN
template/ahome_common/style/t3/pn_rt.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
template/ahome_common/style/t3/polljoins.gif
Normal file
After Width: | Height: | Size: 375 B |
57
template/ahome_common/style/t3/style.css
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
[name]紫[/name]
|
||||
[iconbgcolor]#a846d1[/iconbgcolor]
|
||||
Powered by Tsmini.com
|
||||
*/
|
||||
|
||||
.bm_h, .tl th, .tl td { border-bottom-color: #CDCDCD; }
|
||||
.fl .bm_h { border-color: #FCC; background: #F8EFF8; }
|
||||
.bm_h a{color:#9846ba}
|
||||
.bm_h .xw1 a{color:#9846ba !important}
|
||||
.bm_h h2 a{color:#9846ba !important}
|
||||
.tbmu .pnc{background:#9846ba !important}
|
||||
a,link {color:#333}
|
||||
|
||||
.postbtn {
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
background: linear-gradient(60deg, rgba(147,62,183,1) 0%, rgba(175,95,209,1) 100%);
|
||||
border-radius: 10px;
|
||||
color: #FFF;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.postbtn:hover {
|
||||
background: #893ea9;
|
||||
}
|
||||
|
||||
|
||||
.pnc {
|
||||
background: #a12ed2;
|
||||
}
|
||||
|
||||
.pnc:hover {
|
||||
background: #b85fde;
|
||||
}
|
||||
|
||||
.header {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: linear-gradient(60deg, rgba(175,95,209,1) 0%, rgba(147,62,183,1) 100%);
|
||||
background-size: 100% auto;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* <20>ض<EFBFBD><D8B6>尴ť */
|
||||
|
||||
#create_group_btn { display: block; background: url(create_group.png) no-repeat 0 0; }
|
||||
#create_group_btn img { opacity: 0; filter: alpha(opacity=0); }
|
||||
|
||||
/* <20>ض<EFBFBD><D8B6><EFBFBD><EFBFBD>㲥 */
|
||||
.moodfm_btn { background-image: url(mood_input_btn.png) !important; }
|
||||
#uhd, #flw_header .bar, .flw_replybox { background-color: #FCF9FC; }
|
||||
#uhd .tb a, #flw_header .bar { border-top-color: #F8EFF8; }
|
||||
.pg_follow #fastpostsubmit { background-image: url(flw_post.png); }
|
||||
.flw_replybox .pnc { background-image: url(pn_reply.png); }
|
||||
.flw_replybox td table .pnc { background-image: url(pn_rt.png); }
|
||||
#flw_post_extra .sec { border-color: #F8EFF8; background-color: #FCF9FC; }
|
BIN
template/ahome_common/style/t3/titlebg.png
Normal file
After Width: | Height: | Size: 298 B |
BIN
template/ahome_common/style/t3/titlebg_sd.png
Normal file
After Width: | Height: | Size: 423 B |
BIN
template/ahome_common/style/t3/vlineb.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
template/ahome_common/style/t4/background.png
Normal file
After Width: | Height: | Size: 346 B |
BIN
template/ahome_common/style/t4/bgimg.jpg
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
template/ahome_common/style/t4/create_group.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
template/ahome_common/style/t4/flw_post.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
template/ahome_common/style/t4/hotspot.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
template/ahome_common/style/t4/mood_input.png
Normal file
After Width: | Height: | Size: 256 B |
BIN
template/ahome_common/style/t4/mood_input_btn.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
template/ahome_common/style/t4/nv.png
Normal file
After Width: | Height: | Size: 3.8 KiB |