space_magic_log.htm
4.15 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<ul class="mbm tb cl">
<li $subactives[uselog]><a href="home.php?mod=magic&action=log&operation=uselog">{lang magics_log_use}</a></li>
<li $subactives[buylog]><a href="home.php?mod=magic&action=log&operation=buylog">{lang magics_log_buy}</a></li>
<li $subactives[givelog]><a href="home.php?mod=magic&action=log&operation=givelog">{lang magics_log_present}</a></li>
<li $subactives[receivelog]><a href="home.php?mod=magic&action=log&operation=receivelog">{lang magics_log_receive}</a></li>
</ul>
<!--{if $operation == 'uselog'}-->
<!--{if $loglist}-->
<table summary="{lang magics_log_use}" cellspacing="0" cellpadding="0" class="dt">
<tr>
<th>{lang magics_name}</th>
<th width="20%">{lang magics_dateline_use}</th>
<th width="20%">{lang magics_target_use}</th>
</tr>
<!--{loop $loglist $log}-->
<tr>
<td>$log[name]</td>
<td>$log[dateline]</td>
<td>
<!--{if $log[idtype] == 'uid'}-->
<a href="home.php?mod=space&uid=$log[targetid]" target="_blank">{lang magics_target}</a>
<!--{elseif $log[idtype] == 'tid'}-->
<a href="forum.php?mod=viewthread&tid=$log[targetid]" target="_blank">{lang magics_target}</a>
<!--{elseif $log[idtype] == 'pid'}-->
<a href="forum.php?mod=redirect&pid=$log[targetid]&goto=findpost" target="_blank">{lang magics_target}</a>
<!--{elseif $log[idtype] == 'sell'}-->
{lang magics_operation_sell}
<!--{elseif $log[idtype] == 'drop'}-->
{lang magics_operation_drop}
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</table>
<!--{if $multipage}--><div class="pgs cl mtm">$multipage</div><!--{/if}-->
<!--{else}-->
<p class="emp">{lang data_nonexistence}</p>
<!--{/if}-->
<!--{elseif $operation == 'buylog'}-->
<!--{if $loglist}-->
<table summary="{lang magics_log_buy}" cellspacing="0" cellpadding="0" class="dt">
<tr>
<th>{lang magics_name}</th>
<th width="20%">{lang magics_dateline_buy}</th>
<th width="20%">{lang magics_amount_buy}</th>
<th width="20%">{lang magics_price_buy}</th>
</tr>
<!--{loop $loglist $log}-->
<tr>
<td>$log[name]</td>
<td>$log[dateline]</td>
<td>$log[amount]</td>
<td>$log[price] {$_G['setting']['extcredits'][$log[credit]][unit]}{$_G['setting']['extcredits'][$log[credit]][title]}</td>
</tr>
<!--{/loop}-->
</table>
<!--{if $multipage}--><div class="pgs cl mtm">$multipage</div><!--{/if}-->
<!--{else}-->
<p class="emp">{lang data_nonexistence}</p>
<!--{/if}-->
<!--{elseif $operation == 'givelog'}-->
<!--{if $loglist}-->
<table summary="{lang magics_log_present}" cellspacing="0" cellpadding="0" class="dt">
<tr>
<th>{lang magics_name}</td>
<th width="20%">{lang magics_dateline_present}</th>
<th width="20%">{lang magics_amount_present}</th>
<th width="20%">{lang magics_target_present}</th>
</tr>
<!--{loop $loglist $log}-->
<tr>
<td>$log[name]</td>
<td>$log[dateline]</td>
<td>$log[amount]</td>
<td><a href="home.php?mod=space&uid=$log[targetuid]" target="_blank">$log[username]</a></td>
</tr>
<!--{/loop}-->
</table>
<!--{if $multipage}--><div class="pgs cl mtm">$multipage</div><!--{/if}-->
<!--{else}-->
<p class="emp">{lang data_nonexistence}</p>
<!--{/if}-->
<!--{elseif $operation == 'receivelog'}-->
<!--{if $loglist}-->
<table summary="{lang magics_log_receive}" cellspacing="0" cellpadding="0" class="dt">
<tr>
<th>{lang magics_name}</th>
<th width="20%">{lang magics_dateline_receive}</th>
<th width="20%">{lang magics_amount_receive}</th>
<th width="20%">{lang magics_target_receive}</th>
</tr>
<!--{loop $loglist $log}-->
<tr>
<td><a href="home.php?mod=magic&action=index&operation=buy&magicid=$log[magicid]" target="_blank">$log[name]</a></td>
<td>$log[dateline]</td>
<td>$log[amount]</td>
<td><a href="home.php?mod=space&uid=$log[uid]" target="_blank">$log[username]</a></td>
</tr>
<!--{/loop}-->
</table>
<!--{if $multipage}--><div class="pgs cl mtm">$multipage</div><!--{/if}-->
<!--{else}-->
<p class="emp">{lang data_nonexistence}</p>
<!--{/if}-->
<!--{/if}-->