attachpay.htm
2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!--{template common/header}-->
<div class="bm">
<div class="bm_h">{lang pay_attachment}</div>
<form id="attachpayform" method="post" autocomplete="off" action="forum.php?mod=misc&action=attachpay&tid={$_G[tid]}&mobile=yes">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="aid" value="$aid" />
<div class="bm_c">
<table cellspacing="5" cellpadding="5">
<tr>
<td>{lang author}</td>
<td><a href="home.php?mod=space&uid=$attach[uid]">$attach[author]</a></td>
</tr>
<tr>
<td>{lang attachment}</td>
<td><div style="overflow:hidden">$attach[filename] <!--{if $attach['description']}-->($attach[description])<!--{/if}--></div></td>
</tr>
<tr>
<td>{lang price}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</td>
<td>$attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<!--{if $status != 1}-->
<tr>
<td>{lang pay_author_income}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</td>
<td>$attach[netprice] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<tr>
<td>{lang pay_balance}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</td>
<td>$balance {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<!--{/if}-->
<!--{if $status == 1}-->
<tr>
<td> </td>
<td>{lang status_insufficient}</td>
</tr>
<!--{elseif $status == 2}-->
<tr>
<td> </td>
<td>{lang status_download}, <a href="forum.php?mod=attachment&aid=$aidencode" target="_blank">{lang download}</a></td>
</tr>
<!--{/if}-->
</table>
</div>
<div class="pd5">
<!--{if $status != 1}-->
<label><input name="buyall" type="checkbox" value="yes" />{lang buy_all_attch}</label>
<input type="submit" name="paysubmit" id="paysubmit" value="<!--{if $status == 0}-->{lang pay_attachment}<!--{else}-->{lang free_buy}<!--{/if}-->" />
<!--{/if}-->
</div>
</form>
</div>
<!--{template common/footer}-->