123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <!--{template common/header}-->
- <style>
- .pay_m {
- width:360px;
- margin:15px 0px;
- float:right;
- font-size:14px;
- line-height:40px;
- }
- .pay_m i {
- font-family: "Microsoft YaHei";
- font-size:16px;
- font-weight:bold;
- letter-spacing:-1px;
- float:left;
- display:block;
- text-align:center;
- margin:0px;
- }
- </style>
- <div style="margin:10px 0px; background:#FFFFFF; padding:20px; border:1px #ececec solid;">
- <div style=" border:1px #d9d9d9 solid; color:#666666;">
- <!--{if $setting[cost]}-->
- <!-- 启用多种类型报名时 -->
- <!--{if $setting[nodaibaoming]}-->
- <!-- 代报不填资料时 -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0" style=" margin-top:1px;">
- <tr style="background:url(source/plugin/xj_event/images/pay_title_bg.jpg); border-bottom:1px solid #ededed;">
- <td align="center" style="height:35px; font-size:14px; border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:baominglx}</td>
- <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:renshu}</td>
- <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:mrfy}</td>
- <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:zongfeiyong}</td>
- </tr>
- </table>
- <table width="100%">
- <!--{eval $totalprice = 0;}-->
- <!--{loop $setting[cost] $value}-->
- <tr>
- <td style="padding:10px; font-size:14px; font-weight:bold; text-align:center;">{$value[cost_name]}</td>
- <td style="padding:0px;text-align:center;" width="140">{$apply[ufielddata]['cost'.$value[id]]}</td>
- <td style="padding:0px;text-align:center;" width="140">{$value[cost_credits]} $extcredits</td>
- <td style="padding:0px;text-align:center;" width="140">{eval $totalprice = $totalprice+$apply[ufielddata]['cost'.$value[id]]*$value[cost_credits];echo $apply[ufielddata]['cost'.$value[id]]*$value[cost_credits];} $extcredits</td>
- </tr>
- <!--{/loop}-->
- <tr>
- <td style="padding:10px; font-size:14px; font-weight:bold; text-align:center;">{lang xj_event:zongfeiyong}</td>
- <td style="padding:0px;text-align:center;" width="140"></td>
- <td style="padding:0px;text-align:center;" width="140"></td>
- <td style="padding:0px;text-align:center; color:#F00;" width="140">{$totalprice} $extcredits</td>
- </tr>
- <!--{if in_array($_G[groupid],$vipgroup)}-->
- <!--{if $setting[vip_discount]}-->
- <tr>
- <td colspan="4" style="padding:0px;"><div style="width:400px; float:left; color:{$_G[style][menubgcolor]}; margin:15px;"></div>
- <div class="pay_m" style="text-align:right; font-weight:bold;color:#ff4e00; padding-right:30px;">{lang xj_event:youhuihou}:{eval echo intval($totalprice*$setting[vip_discount]);} $extcredits</div></td>
- </tr>
- <!--{/if}-->
- <!--{/if}-->
- </table>
- <!--{else}-->
- <!-- 代报填资料时 -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0" style=" margin-top:1px;">
- <tr style="background:url(source/plugin/xj_event/images/pay_title_bg.jpg); border-bottom:1px solid #ededed;">
- <td align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:baominglx}</td>
- <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:renshu}</td>
- <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:zongfeiyong}</td>
- </tr>
- </table>
- <table width="100%">
- <!--{eval
- $apply = DB::fetch_all("SELECT * FROM ".DB::table('xj_eventapply')." WHERE tid = '$tid' and uid=".$_G['uid']);
- $totalprice = 0;
- }-->
- <!--{loop $apply $value}-->
- <!--{eval
- $value[ufielddata] = unserialize($value[ufielddata]);
- $totalprice = $totalprice + $setting[cost][$value[ufielddata][costclass]][cost_credits];
- }-->
- <tr>
- <td style="padding:10px; font-size:14px; font-weight:bold; text-align:center;">{$setting[cost][$value[ufielddata][costclass]][cost_name]}</td>
- <td style="padding:0px;text-align:center;" width="140">1</td>
- <td style="padding:0px;text-align:center;" width="140">{$setting[cost][$value[ufielddata][costclass]][cost_credits]} $extcredits</td>
- </tr>
- <!--{/loop}-->
- <tr>
- <td style="padding:10px; font-size:14px; font-weight:bold; text-align:center;">{lang xj_event:zongfeiyong}</td>
- <td style="padding:0px;text-align:center;" width="140"></td>
- <td style="padding:0px;text-align:center; color:#F00;" width="140">{$totalprice} $extcredits</td>
- </tr>
- <!--{if in_array($_G[groupid],$vipgroup)}-->
- <!--{if $setting[vip_discount]}-->
- <tr>
- <td colspan="3" style="padding:0px;"><div style="width:400px; float:left; color:{$_G[style][menubgcolor]}; margin:15px;"></div>
- <div class="pay_m" style="text-align:right; font-weight:bold;color:#ff4e00; padding-right:30px;">{lang xj_event:youhuihou}: {eval echo intval($totalprice*$setting[vip_discount]);} $extcredits</div></td>
- </tr>
- <!--{/if}-->
- <!--{/if}-->
- </table>
- <!--{/if}-->
- <!--{else}-->
- <!-- 不启用多种类型报名时 -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0" style=" margin-top:1px;">
- <tr style="background:url(source/plugin/xj_event/images/pay_title_bg.jpg); border-bottom:1px solid #ededed;">
- <td align="center" style="height:35px; font-size:14px; border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:huodongmc}</td>
- <td width="120" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:renshu}</td>
- <td width="120" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:mrfy}</td>
- <td width="120" align="center" style="height:34px; font-size:14px; font-weight:bold;">{lang xj_event:zongfeiyong}</td>
- </tr>
- </table>
- <table width="100%">
- <tr>
- <td style="padding:0px;"><div style="width:400px; float:left; color:{$_G[style][menubgcolor]}; margin:15px;"> $subject </div>
- <div class="pay_m"> <i style="width:110px;">$applynumber</i> <i style="width:16px;">{lang xj_event:chenghao}</i> <i style="width:108px;">$use_credits $extcredits</i> <i style="width:16px;">=</i> <i style="width:110px; color:#ff4e00;">$totalcredits $extcredits</i> </div></td>
- </tr>
- <!--{if in_array($_G[groupid],$vipgroup)}-->
- <!--{if $setting[vip_discount]}-->
- <tr>
- <td style="padding:0px;"><div style="width:400px; float:left; color:{$_G[style][menubgcolor]}; margin:15px;"></div>
- <div class="pay_m" style="text-align:right; font-weight:bold;color:#ff4e00; padding-right:30px;">{lang xj_event:youhuihou}:{eval echo intval($totalcredits*$setting[vip_discount]);} $extcredits </div></td>
- </tr>
- <!--{/if}-->
- <!--{/if}-->
- </table>
- <!--{/if}-->
- </div>
- <div style="text-align:center; margin-top:40px;">
- <a href="{$_G[siteurl]}plugin.php?id=xj_event:jfpay&applyid={$applyid}&action=payfull" style=" padding:10px 40px; background-color:#F30; color:#FFF;">{lang xj_event:lijizf}</a>
- </div>
- <div style="clear:both;"></div>
- </div>
- <!--{template common/footer}-->
|