123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598 |
- <!--{block return}-->
- <style>
- .robgz {
- color:#fc4201;
- }
- .eventtitle {
- font-size:14px;
- font-family:'Microsoft YaHei';
- line-height:26px;
- font-weight:bold;
- color:#0092ff;
- }
- .xjmenu {
- height:32px;
- }
- .xjmenu_a {
- width:80px;
- line-height:32px;
- float:left;
- height:32px;
- text-align:center;
- border-top:{$_G[style][specialborder]} 1px solid;
- border-left:{$_G[style][specialborder]} 1px solid;
- border-right:{$_G[style][specialborder]} 1px solid;
- border-bottom:{$_G[style][wrapbg]} 1px solid;
- margin-left:10px;
- font-weight:bold;
- cursor:pointer;
- background-color:{$_G[style][wrapbg]};
- margin-bottom:-1px;
- }
- .xjmenu_b {
- width:80px;
- line-height:32px;
- float:left;
- height:32px;
- text-align:center;
- margin-left:10px;
- cursor:pointer;
- background-color:{$_G[style][specialbg]};
- border:{$_G[style][specialborder]} 1px solid;
- margin-bottom:-1px;
- }
- .xjmain {
- border-top:{$_G[style][specialborder]} 1px solid;
- padding:15px;
- margin-bottom:10px;
- }
- a.bm_btn {
- display:inline-block;
- width:200px;
- height:28px;
- text-align:center;
- background: #ee5816;
- padding-top:2px;
- color:#FFFFFF;
- border:#c03b00 solid 1px;
- font-size:15px;
- font-weight:bold;
- text-decoration:none;
- }
- a:hover.bm_btn {
- background-color:#c03b00;
- }
- a.bm_btn2 {
- display:inline-block;
- width:200px;
- height:28px;
- text-align:center;
- background: #d0d0d0;
- padding-top:2px;
- color:#666666;
- font-size:15px;
- font-weight:bold;
- text-decoration:none;
- }
- a.bm_btn3 {
- display:inline-block;
- width:200px;
- height:28px;
- text-align:center;
- background: #008f00;
- padding-top:2px;
- color:#ffffff;
- font-size:15px;
- font-weight:bold;
- text-decoration:none;
- }
- a.pay_btn{
- display:inline-block;
- width:200px;
- height:28px;
- text-align:center;
- background: #ee5816;
- padding-top:2px;
- color:#FFFFFF;
- border:#c03b00 solid 1px;
- font-size:15px;
- font-weight:bold;
- text-decoration:none;
- margin-top:10px;
- }
- a:hover.pay_btn {
- margin-top:10px;
- background-color:#c03b00;
- }
- a.eventmenu {
- display:inline-block;
- padding:4px 6px 2px 6px;
- color:#777777;
- text-decoration:none;
- line-height:12px;
- margin-left:5px;
- }
- a:hover.eventmenu {
- display:inline-block;
- padding:4px 6px 2px 6px;
- color:#ffffff;
- text-decoration:none;
- line-height:12px;
- margin-left:5px;
- background-color:#aaaaaa;
- }
- a.eventmenu_select {
- display:inline-block;
- padding:4px 6px 2px 6px;
- color:#ffffff;
- text-decoration:none;
- line-height:12px;
- margin-left:5px;
- background-color:#aaaaaa;
- }
- .jlpg {
- text-align:right;
- padding-right:10px;
- }
- .jlpg strong {
- display:inline-block;
- height:20px;
- width:20px;
- border:1px solid #CCCCCC;
- font-size:12px;
- text-align:center;
- margin-right:5px;
- background-color:#CCCCCC;
- color:#FFFFFF;
- }
- .jlpg a {
- display:inline-block;
- height:20px;
- width:20px;
- border:1px solid #CCCCCC;
- font-size:12px;
- text-align:center;
- margin-right:5px;
- }
- .userlist{ border-top:1px solid {$_G[style][specialborder]}; border-left:1px solid {$_G[style][specialborder]}; line-height:28px; text-align:center;}
- .userlist td{ border-bottom:1px {$_G[style][specialborder]} solid;border-right:1px {$_G[style][specialborder]} solid; padding:5px; background-color:#FFF;}
- .ulmenu1{ cursor:pointer; width:120px; height:32px; text-align:center; background-color:{$_G[style][commonbg]}; margin-bottom:-1px; float:left; border-right:1px solid {$_G[style][specialborder]}; font-size:14px; padding-top:7px;}
- .ulmenu2{ cursor:pointer; width:120px; height:31px; text-align:center; background-color:{$_G[style][specialbg]}; float:left; border-right:1px solid {$_G[style][specialborder]}; font-size:14px; padding-top:7px;}
- </style>
- <!--{if $setting['project']['openproject']}-->
- <div style="line-height:40px;">
- <a href="plugin.php?id=xj_event:project_show&tid=$tid" target="_blank" style=" font-size:14px; height:50px; line-height:50px; background-color:#f4f4f4; text-align:center; border:1px solid #eee; display:block; margin-bottom:10px;">{lang xj_event:jrhdzt}</a>
- </div>
- <!--{/if}-->
- <ul class="xjmenu">
- <li class="xjmenu_a" onclick="remenu(1)" id="xjmenu1">{lang xj_event:hdjs}</li>
- <!--{if $setting[eventzy_enable]}-->
- <li class="xjmenu_b" onclick="remenu(2)" id="xjmenu2">{lang xj_event:huodong}{$setting[eventzy_name]}</li>
- <!--{/if}-->
- <!--{if $hg}-->
- <li class="xjmenu_b"><a href="forum.php?mod=viewthread&tid={$hg[tid]}" target="_blank">{lang xj_event:hdgg}</a></li>
- <!--{/if}-->
- <!--{if $timestamp>=$items[starttime] and $timestamp<=$items[endtime]}-->
- <li style="width:100px;line-height:32px;float:left;height:32px;text-align:center;margin-left:10px;margin-top:-1px; background:url(source/plugin/xj_event/images/d.png) no-repeat 0px 7px; padding-left:10px;">{lang xj_event:bhdjxz}</li>
- <!--{elseif $timestamp>$items[endtime]}-->
- <li style="width:100px;line-height:32px;float:left;height:32px;text-align:center;margin-left:10px;margin-top:-1px; background:url(source/plugin/xj_event/images/t.png) no-repeat 0px 7px; padding-left:10px;">{lang xj_event:bhdyjs}</li>
- <!--{elseif $timestamp<$items[starttime]}-->
- <li style="width:100px;line-height:32px;float:left;height:32px;text-align:center;margin-left:10px;margin-top:-1px; background:url(source/plugin/xj_event/images/w.png) no-repeat 0px 7px; padding-left:10px;">{lang xj_event:bhdwks}</li>
- <!--{/if}-->
- </ul>
- <div style="clear:both;"></div>
- <div class="xjmain" id="event1">
- <!--{if $items[postclass]==1}-->
- <div style="color:#777;line-height:26px; font-size:14px; font-family:'Microsoft YaHei'; width:320px; float:left;"> <span class="eventtitle">{lang xj_event:hdfs}:</span> $postclass<br />
- <span class="eventtitle">{lang xj_event:hdlx}:</span> $eventclass[1]<br />
- <span class="eventtitle">{lang xj_event:hddq}:</span> {$items[province]}{$citys}<br />
- <span class="eventtitle">{lang xj_event:kssj}:</span> {$starttime}<br />
- <span class="eventtitle">{lang xj_event:jssj}:</span> {$endtime}<br />
- <span class="eventtitle">{lang xj_event:hddd}:</span> {$items[event_address]}<br />
- <span class="eventtitle">{lang xj_event:hdgl}:</span> {$event_adminlist}<br />
- <span class="eventtitle">{lang xj_event:cjme}:</span>
- <!--{if $items[event_number]==0}-->
- {lang xj_event:buxian}
- <!--{else}-->
- <span class="robgz">{$items[event_number]} {lang xj_event:ren}</span>
- <!--{/if}-->
- <br />
- <span class="eventtitle">{lang xj_event:bmrs}:</span> <span class="robgz">{$applycountnumber}</span> {lang xj_event:ren} {lang xj_event:daish} <span class="robgz">{$applycountnumberd}</span> {lang xj_event:ren}<br />
- <!--{if $setting[cost]}-->
- <span class="eventtitle">{lang xj_event:cjfy}:</span> <br />
- <!--{loop $setting[cost] $value}-->
- <div style="clear:both; height:30px;">
- <span style="padding:2px 8px; color:#FFF; background-color:#f6320c; border-radius:5px; margin-bottom:5px; float:left;">
- {$value[cost_name]}:{$value[cost_price]}{lang xj_event:yuan}<!--{if $value[cost_credits]>0 && $items[use_extcredits]>0}-->{lang xj_event:huo}{$value[cost_credits]}$extcredit_title <!--{/if}-->
- <!--{if $value[cost_youhui] !== ''}-->
- <!--{eval $value[cost_youhui]=$value[cost_price]-$value[cost_youhui];}-->
- <!--{if $value[cost_youhui] > 0}-->
- {lang xj_event:vipzhekou}:{$value[cost_youhui]}{lang xj_event:yuan}
- <!--{else}-->
- {lang xj_event:vipzhekou}:{lang xj_event:mianfei}
- <!--{/if}-->
- <!--{/if}-->
- </span>
- </div>
- <!--{/loop}-->
- <div style="clear:both;"></div>
- <!--{else}-->
- <span class="eventtitle">{lang xj_event:cjfy}:</span>
- <!--{if $setting[eventaa]}-->
- AA <!--{if $items[use_cost]>0}-->{$items[use_cost]}{lang xj_event:yuan}{lang xj_event:zuoyou}<!--{/if}-->
- <!--{else}-->
- {$items[use_cost]} {lang xj_event:yuan} <!--{if $items[use_extcredits_num]>0 && $items[use_extcredits]>0}-->{lang xj_event:huo} {$items[use_extcredits_num]} $extcredit_title<!--{/if}-->
- <!--{/if}--><br />
- <!--{if $setting[vip_discount]!==''}-->
- <!--{eval $setting[vip_discount]=$items[use_cost]-$setting[vip_discount];}-->
- <span class="eventtitle">{lang xj_event:vipzhekou}:</span> <span class="robgz"><!--{if $setting[vip_discount]>0}-->{$setting[vip_discount]} {lang xj_event:yuan}<!--{else}-->{lang xj_event:mianfei}<!--{/if}--></span><br />
- <!--{/if}-->
- <!--{/if}-->
- <span class="eventtitle">{lang xj_event:bmjz}:</span> <span class="robgz">{$activityexpiration}</span><br />
-
- <!--{loop $setting[moreitem] $value}-->
- <span class="eventtitle">$value[itemname]:</span> $value[itemcontent]<br />
- <!--{/loop}-->
-
- <br />
- <!--线下活动按钮-->
- <!--条件当前时间小于(活动结束+30天)的时间-->
- <!--{if $timestamp<($items[endtime]+2592000)}-->
- <!--过了报名时间,没有报名的-->
- <!--{if $items['activityexpiration']<=$timestamp and $verify==null}-->
- <a href="javascript:" class="bm_btn2" title="{lang xj_event:bmjz}">{lang xj_event:bmjz}</a>
- <!--{else}-->
- <!--{if !$_G[uid]}-->
- <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href);return false;" class="bm_btn2" title="{lang xj_event:qdlhbm}">{lang xj_event:wycjqdl}</a>
- <!--{else}-->
- <!--{if $items['activitybegin']<$timestamp and $items['activityexpiration']>$timestamp and $verify==null}-->
- <!--{if !$setting[invitation][open] || ($setting[invitation][open] && $setting[invitation][code] == $_GET[icode])}-->
- <!--{if $bmbtnshow}-->
- <!--{if $setting[onlyappbymejoin]}-->
- <a href="javascript:" onclick="showDialog('{lang xj_event:qxzsjappkhdbm}','confirm','','parent.location.href=\'{$_G[cache][plugin][xj_event][appurl]}\'');" class="bm_btn">{lang xj_event:wycj}</a>
- <!--{elseif $setting[onlysubscribeweixin] && $weixinsubscribe!=1}-->
- <a href="javascript:" onclick="showDialog('{lang xj_event:qingxianguanzhuweixinhaozbm}','confirm','','parent.location.href=\'{$_G[cache][plugin][xj_event][weixinurl]}\'');" class="bm_btn">{lang xj_event:wycj}</a>
- <!--{else}-->
- <a href="javascript:" onclick="document.getElementById('eventjoin_iframe').src='plugin.php?id=xj_event:event_join&tid={$tid}';showDialog($('eventjoin').innerHTML, 'info', '{lang xj_event:wycj}');" class="bm_btn">{lang xj_event:wycj}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $setting[reply] && $replys<1}-->
- <a href="javascript:" class="bm_btn2">{lang xj_event:hfhkybm}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{elseif $items['activitybegin']>$timestamp and $verify==null}-->
- <a href="javascript:" class="bm_btn2">{lang xj_event:bmhwks}</a>
- <!--{else}-->
- <!--{if $verify==0}-->
- <!--{if !$pay_state}-->
- <a href="javascript:" onclick="showDialog($('canceljoin').innerHTML, 'info', '{lang xj_event:qxbm}')" class="bm_btn">{lang xj_event:qxbm}</a>
- <a href="javascript:" onclick="document.getElementById('modifyjoin_iframe').src='plugin.php?id=xj_event:event_join_modify&tid={$tid}';showDialog($('modifyjoin').innerHTML, 'info', '{lang xj_event:xgbmzl}');" class="bm_btn" style="margin-top:10px;">{lang xj_event:xgbmzl}</a>
- <!--{/if}-->
- <!--{if $setting[eventpay]}-->
- <!--{if $pay_state}-->
- <a href="javascript:" class="pay_btn" style="background-color:#06C; border:#06C;">{lang xj_event:fyyfdsh}</a>
- <!--{else}-->
- <a href="plugin.php?id=xj_event:event_pay&tid={$items[tid]}" class="pay_btn">{lang xj_event:zhifufy}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{else}-->
- <!--{if $setting[eventzy_enable]}-->
- <a href="forum.php?mod=post&action=newthread&fid=<!--{if $setting[eventzy_fid]}-->{$setting[eventzy_fid]}<!--{else}-->{$_G[fid]}<!--{/if}-->&eid={$items[eid]}" class="bm_btn3" title="{lang xj_event:ldbmypshtg}">{lang xj_event:fbhdzy}{$setting[eventzy_name]}</a>
- <!--{/if}-->
- <!--{if $setting[canceljoin]==1 && $items['activityexpiration']>$timestamp}-->
- <a href="javascript:" onclick="showDialog($('canceljoin').innerHTML, 'info', '{lang xj_event:qxbm}')" class="bm_btn" style="margin-top:10px;">{lang xj_event:qxbm}</a>
- <a href="javascript:" onclick="document.getElementById('modifyjoin_iframe').src='plugin.php?id=xj_event:event_join_modify&tid={$tid}';showDialog($('modifyjoin').innerHTML, 'info', '{lang xj_event:xgbmzl}');" class="bm_btn" style="margin-top:10px;">{lang xj_event:xgbmzl}</a>
- <!--{/if}-->
-
- <!--{if $setting[seccode]}-->
- <div>
- {lang xj_event:nycgbmhdbmyzm}:<span class="robgz">{$apply[seccode]}</span>
- </div>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--线下活动按钮end-->
-
- </div>
- <div style="width:360px; float:right; text-align:center; padding-top:10px;"><img src="$imgurl" width="360" /></div>
- <!--{elseif $items[postclass]==2}-->
- <div style="color:#777;line-height:26px; font-size:14px; font-family:'Microsoft YaHei'; width:320px; float:left;"> <span class="eventtitle">{lang xj_event:hdfs}:</span> $postclass<br />
- <span class="eventtitle">{lang xj_event:hdlx}:</span> $eventclass[1]<br />
- <span class="eventtitle">{lang xj_event:kssj}:</span> {$starttime}<br />
- <span class="eventtitle">{lang xj_event:jssj}:</span> {$endtime}<br />
- <span class="eventtitle">{lang xj_event:hddq}:</span> {$items[province]}{$citys}<br />
- <!--{if $items[use_extcredits_num]>0}-->
- <span class="eventtitle">{lang xj_event:cyjf}:</span> {$items[use_extcredits_num]} $extcredit_title<br />
- <!--{/if}-->
- <span class="eventtitle">{lang xj_event:cjrs}:</span>
- <!--{if $items[event_number]==0}-->
- {lang xj_event:buxian}
- <!--{else}-->
- <span class="robgz">{$items[event_number]} {lang xj_event:ren}</span>
- <!--{/if}-->
- <br />
- <span class="eventtitle">{lang xj_event:bmrs}:</span> <span class="robgz">{$applycountnumber}</span> {lang xj_event:ren} {lang xj_event:daish} <span class="robgz">{$applycountnumberd}</span> {lang xj_event:ren}<br />
- <!--{if $setting[cost]}-->
- <span class="eventtitle">{lang xj_event:cjfy}:</span> <!--{loop $setting[cost] $value}-->{$value[cost_name]}{$value[cost_price]}{lang xj_event:yuan} <!--{/loop}--><br />
- <!--{else}-->
- <span class="eventtitle">{lang xj_event:cjfy}:</span> {$items[use_cost]} {lang xj_event:yuan}<br />
- <!--{/if}-->
- <!--{if $setting[vip_discount]}-->
- <span class="eventtitle">{lang xj_event:vipzhekou}:</span> <span class="robgz">{$setting[vip_discount]}{lang xj_event:zhe}</span><br />
- <!--{/if}-->
- <span class="eventtitle">{lang xj_event:bmjz}:</span> <span class="robgz">{$activityexpiration}</span><br />
-
- <!--{loop $setting[moreitem] $value}-->
- <span class="eventtitle">$value[itemname]:</span> $value[itemcontent]<br />
- <!--{/loop}-->
-
-
- <br />
- <!--线上活动按钮-->
- <!--条件当前时间小于(活动结束)的时间-->
- <!--{if $timestamp<$items[endtime]}-->
- <!--过了报名时间,没有报名的-->
- <!--{if $items['activityexpiration']<=$timestamp and $verify==null}-->
- <a href="javascript:" class="bm_btn2" title="{lang xj_event:bmjz}">{lang xj_event:bmjz}</a>
- <!--{else}-->
- <!--{if !$_G[uid]}-->
- <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href);return false;" class="bm_btn2" title="{lang xj_event:qdlhbm}">{lang xj_event:wycjqdl}</a>
- <!--{else}-->
- <!--{if $items['activitybegin']<$timestamp and $items['activityexpiration']>$timestamp and $verify==null}-->
- <!--{if !$setting[invitation][open] || ($setting[invitation][open] && $setting[invitation][code] == $_GET[icode])}-->
- <!--{if $bmbtnshow}-->
- <a href="javascript:" onclick="document.getElementById('eventjoin_iframe').src='plugin.php?id=xj_event:event_join&tid={$tid}';showDialog($('eventjoin').innerHTML, 'info', '{lang xj_event:wycj}');" class="bm_btn">{lang xj_event:wycj}</a>
- <!--{/if}-->
- <!--{if $setting[reply] && $replys<1}-->
- <a href="javascript:" class="bm_btn2">{lang xj_event:hfhkybm}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{elseif $items['activitybegin']>$timestamp and $verify==null}-->
- <a href="javascript:" class="bm_btn2">{lang xj_event:bmhwks}</a>
- <!--{else}-->
- <!--{if $verify==0}-->
- <!--{if !$pay_state}-->
- <a href="javascript:" onclick="showDialog($('canceljoin').innerHTML, 'info', '{lang xj_event:qxbm}')" class="bm_btn">{lang xj_event:qxbm}</a>
- <a href="javascript:" onclick="document.getElementById('modifyjoin_iframe').src='plugin.php?id=xj_event:event_join_modify&tid={$tid}';showDialog($('modifyjoin').innerHTML, 'info', '{lang xj_event:xgbmzl}');" class="bm_btn" style="margin-top:10px;">{lang xj_event:xgbmzl}</a>
- <!--{/if}-->
- <!--{if $setting[eventpay]}-->
- <!--{if $pay_state}-->
- <a href="javascript:" class="pay_btn" style="background-color:#06C; border:#06C;">{lang xj_event:fyyfdsh}</a>
- <!--{else}-->
- <a href="plugin.php?id=xj_event:event_pay&tid={$items[tid]}" class="pay_btn">{lang xj_event:zhifufy}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{else}-->
- <a href="forum.php?mod=post&action=newthread&fid=<!--{if $setting[eventzy_fid]}-->{$setting[eventzy_fid]}<!--{else}-->{$_G[fid]}<!--{/if}-->&eid={$items[eid]}" class="bm_btn3" title="{lang xj_event:ldbmypshtg}">{lang xj_event:fbhdzy}{$setting[eventzy_name]}</a>
- <!--{if $setting[canceljoin]==1 && $items['activityexpiration']>$timestamp}-->
- <a href="javascript:" onclick="showDialog($('canceljoin').innerHTML, 'info', '{lang xj_event:qxbm}')" class="bm_btn" style="margin-top:10px;">{lang xj_event:qxbm}</a>
- <a href="javascript:" onclick="document.getElementById('modifyjoin_iframe').src='plugin.php?id=xj_event:event_join_modify&tid={$tid}';showDialog($('modifyjoin').innerHTML, 'info', '{lang xj_event:xgbmzl}');" class="bm_btn" style="margin-top:10px;">{lang xj_event:xgbmzl}</a>
- <!--{/if}-->
- <!--{if $setting[seccode]}-->
- <div>
- {lang xj_event:nycgbmhdbmyzm}:<span class="robgz">{$apply[seccode]}</span>
- </div>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--线上活动按钮end-->
-
-
-
-
- </div>
-
-
- <div style="width:360px; float:right; text-align:center; padding-top:10px;"><img src="$imgurl" width="360"/></div>
- <!--{/if}-->
- <!--{if $items[verify] == 1}-->
- <img src="source/plugin/xj_event/images/rz.png" border="0" style="position:absolute; margin-top:100px; margin-left:290px;"/>
- <!--{/if}-->
- </div>
- <div class="xjmain" id="event2">
- <div style="color:#CCCCCC;">
- </div>
- <div id="event2_content">
- </div>
- </div>
- <script type="text/javascript">
- $('event2').style.display="none";
- function remenu(a){
- if(a == 2){
- ajaxget('plugin.php?id=xj_event:event_threadlist&eid={$items[eid]}&fid={$_G[fid]}','event2_content','','','','');
- }
- for(i=1;i<=2;i++){
- <!--{if !$setting[eventzy_enable]}-->
- if(i==2){
- continue;
- }
- <!--{/if}-->
- if(i==a){
- $('event'+i).style.display="block";
- $('xjmenu'+i).className='xjmenu_a';
- //document.getElementById('xjmenu'+i).className='xjmenu_a';
- //document.getElementById('postclass').value=i;
- }else{
- $('event'+i).style.display="none";
- $('xjmenu'+i).className='xjmenu_b';
- //document.getElementById('xjmenu'+i).className='xjmenu_b';
- }
- }
- }
- function userlist_menu(a){
- for(i=1;i<=3;i++){
- if(i==a){
- $('userlistmenu'+i).className='ulmenu1';
- }else{
- $('userlistmenu'+i).className='ulmenu2';
- }
- }
- if(a==1){
- ajaxget('plugin.php?id=xj_event:event_userlist&tid={$_GET[tid]}','joinlist_content');
- }else if(a==2){
- ajaxget('plugin.php?id=xj_event:event_userlist&tid={$_GET[tid]}&action=pass','joinlist_content');
- }else if(a==3){
- ajaxget('plugin.php?id=xj_event:event_userlist&tid={$_GET[tid]}&action=nopass','joinlist_content');
- }
-
- }
- </script>
- <!--{if $_G[uid] == $_G[thread][authorid] or $_G[groupid]==1 or $event_admin}-->
- <!--{if $setting[seccode]}-->
- <div style="clear:both; height:20px;"></div>
- <div style="line-height:26px;"><span class="robgz">{lang xj_event:yanzbm}:</span></div>
- <div style=" background-color:#e5edf2; border:1px solid #c2d5e3; padding:30px; margin-bottom:10px; text-align:center;">
- <!--{if $setting['nodaibaoming']}-->
- <form name="checkseccode" method="post" action="plugin.php?id=xj_event:event_join_single&action=checkseccode&eid={$items[eid]}&tid={$tid}" target="_blank">
- <!--{else}-->
- <form name="checkseccode" method="post" action="plugin.php?id=xj_event:event_join&action=checkseccode&eid={$items[eid]}&tid={$tid}" target="_blank">
- <!--{/if}-->
- <input type="hidden" name="formhash" value="{$_G[formhash]}" />
- {lang xj_event:baomyzm}:<input name="seccode" type="text" class="px" /> <button type="submit" name="checksubmit" class="pn pnc vm"><strong>{lang xj_event:yanzheng}</strong></button>
- </form>
- </div>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $setting[invitation][open] && ($_G[uid] == $_G[thread][authorid] or $_G[groupid]==1 or $event_admin) }-->
- <div style="clear:both; margin-bottom:10px; height:10px;"></div>
- <div style="padding:20px; border:1px solid #e5e5e5; background-color:#fcfcfc;">
- {lang xj_event:yaoqbmlj}: <input type="text" value="{$_G[setting][siteurl]}/forum.php?mod=viewthread&tid=$tid&icode={$setting[invitation][code]}" id="fe_text" style="width:340px;" /> <button id="d_clip_button" class="my_clip_button" data-clipboard-target="fe_text"><b>{lang xj_event:fuzdjtb}</b></button>
- </div>
- <script type="text/javascript" src="source/plugin/xj_event/js/ZeroClipboard.js"></script>
- <script type="text/javascript">
- // 定义一个新的复制对象
- var clip = new ZeroClipboard( document.getElementById("d_clip_button"), {
- moviePath: "source/plugin/xj_event/js/ZeroClipboard.swf"
- } );
- // 复制内容到剪贴板成功后的操作
- clip.on( 'complete', function(client, args) {
- alert("{lang xj_event:wuzhicg}");
- } );
- </script>
- <!--{/if}-->
- <div style="clear:both; height:10px;"></div>
- <div style=" margin-bottom:10px;" id='joinlist_content'></div>
- <!--{if $_G[uid] == $_G[thread][authorid] or $_G[groupid]==1 or $event_admin}-->
- <div style=" border-bottom:1px dashed #bbbbbb; clear:both;"></div>
- <div style="color:#777;line-height:32px; padding-left:10px;"> <span class="robgz">{lang xj_event:hdgl}: </span>
- <a href="javascript:" id="menu3" class="eventmenu" onclick="showWindow('setting', 'plugin.php?id=xj_event:event_setting&tid={$tid}')">{lang xj_event:hdsz}</a>
- <a href="plugin.php?id=xj_event:event_joinmanage&tid={$tid}" id="menu1" class="eventmenu" target="_blank">{lang xj_event:bmgl}</a>
- <a href="javascript:" id="menu2" class="eventmenu" onclick="showWindow('accessmanage', 'plugin.php?id=xj_event:event_accessmanage&tid={$tid}')" title="{lang xj_event:dcjhdhyjxpj}">{lang xj_event:pjgl}</a>
- <!--{if $setting[eventzy_enable]}-->
- <a href="plugin.php?id=xj_event:event_zymanage&eid={$items[eid]}" target="_blank" class="eventmenu" title="{lang xj_event:btzgldhd}{$setting[eventzy_name]}">{lang xj_event:guanlian}{$setting[eventzy_name]}</a>
- <!--{/if}-->
- <a href="javascript:" id="menu4" class="eventmenu" onclick="showWindow('applymessage', 'plugin.php?id=xj_event:event_message&tid={$tid}')" title="{lang xj_event:dcjhdhyjxqfxxhtxdgl}">{lang xj_event:dztx}</a>
- <a href="javascript:" id="menu4" class="eventmenu" onclick="showWindow('applysms', 'plugin.php?id=xj_event:event_sms&tid={$tid}')" title="{lang xj_event:dcjhdhyjxqfxxhtxdgl}">{lang xj_event:duanxqf}</a>
- <a href="forum.php?mod=post&action=newthread&fid={$_G[fid]}&eid={$items[eid]}&sort=1" id="menu5" class="eventmenu" title="{lang xj_event:fbbchddhgt}">{lang xj_event:hdgg}</a>
- <!--{if $_G[groupid]==1}-->
- <!--{if $items[verify] == 0}-->
- <a href="plugin.php?id=xj_event:event_rz&tid={$tid}&action=confirm&formhash={$_G[formhash]}" id="menu5" class="eventmenu">{lang xj_event:rzhd}</a>
- <!--{else}-->
- <a href="plugin.php?id=xj_event:event_rz&tid={$tid}&action=cancel&formhash={$_G[formhash]}" id="menu5" class="eventmenu">{lang xj_event:qxrz}</a>
- <!--{/if}-->
- <!--{/if}-->
- <a href="plugin.php?id=xj_event:project_setting&tid={$tid}" id="menu6" class="eventmenu" title="{lang xj_event:fbbchddhgt}">{lang xj_event:shezzt}</a>
- <a href="plugin.php?id=xj_event:lottery_setting&act=cjsz&tid={$tid}" id="menu7" class="eventmenu" title="{lang xj_event:huodcj}">{lang xj_event:huodcj}</a>
- </div>
- <!--{/if}-->
- <div style=" border-bottom:1px dashed #bbbbbb; clear:both; margin-bottom:10px;"></div>
- <div id="canceljoin" style="display:none">
- <div style="width:300px; height:70px; text-align:center; line-height:60px; font-weight:bold; font-size:14px;"> {lang xj_event:sfqxbm} </div>
- <em class="xi1" id="return_canceljoin"></em>
- <div class="o pns">
- <button type="submit" class="pn pnc" onclick="ajaxget('plugin.php?id=xj_event:event_join&tid={$tid}&action=cannel&formhash={$_G[formhash]}', 'return_canceljoin', 'return_canceljoin','','','cancelfull()');"><span>{lang xj_event:queding}</span></button>
- </div>
- </div>
- <script type="text/javascript">
- function verifyform(){
- <!--{if $setting[session]}-->
- if($('activity').session.value == ''){
- alert('{lang xj_event:bmxqtxwz}');
- return false;
- }
- <!--{/if}-->
- <!--{loop $selectuserfield $fieldid}-->
- <!--{if $_G[cache][profilesetting][$fieldid][formtype] == 'checkbox'}-->
- if($('activity').{$fieldid}.checked == false){
- alert('{lang xj_event:bmxqtxwz}');
- return false;
- }
- <!--{else}-->
- if($('activity').{$fieldid}.value == ''){
- alert('{lang xj_event:bmxqtxwz}');
- return false;
- }
- <!--{/if}-->
- <!--{/loop}-->
- return true;
- }
-
-
-
- function gbcount(message)
- {
- var max;
- max = 70;
- if (message.value.length > max) {
- message.value = message.value.substring(0,max);
- $('remain').innerHTML = 0;
- showDialog('{lang xj_event:xxbncggzf}', 'alert', '');
- }else{
- $('remain').innerHTML = max - message.value.length;
- }
- }
- function cancelfull(){
- showDialog('{lang xj_event:qxcg}', 'right', '', 'location.href="'+window.location.href+'"');
- }
- function succeedhandle_activityapplies(locationhref, message) {
- showDialog(message, 'right', '', 'location.href="' + locationhref + '"');
- }
- <!--{if !empty($_GET[menu])}-->
- remenu({$_GET[menu]});
- <!--{/if}-->
- </script>
- <script language="javascript">
- ajaxget('plugin.php?id=xj_event:event_userlist&tid={$_GET[tid]}','joinlist_content');
- </script>
- <div id="eventjoin" style="display:none">
- <iframe id="eventjoin_iframe" width="500" height="400" frameborder="0" src=""></iframe>
- </div>
- <div id="modifyjoin" style="display:none">
- <iframe id="modifyjoin_iframe" width="500" height="400" frameborder="0" src=""></iframe>
- </div>
- <!--{/block}-->
|