164 lines
8.7 KiB
Smarty
164 lines
8.7 KiB
Smarty
{include file='admin_header.tpl'}
|
|
|
|
|
|
|
|
|
|
|
|
{literal}
|
|
|
|
|
|
<script src="../include/js/semods.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
function userpoints_growtable() {
|
|
|
|
|
|
SEMods.B.toggle("userpoints_basic_table", "userpoints_full_table");
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function confirm_transaction(tid) {
|
|
|
|
|
|
var asyncform = document.getElementById('asyncform');
|
|
|
|
|
|
document.getElementById('asyncform_task').value = "confirm";
|
|
|
|
|
|
document.getElementById('asyncform_transaction_id').value = tid;
|
|
|
|
|
|
|
|
|
|
|
|
asyncform.submit();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function cancel_transaction(tid) {
|
|
|
|
|
|
var asyncform = document.getElementById('asyncform');
|
|
|
|
|
|
document.getElementById('asyncform_task').value = "cancel";
|
|
|
|
|
|
document.getElementById('asyncform_transaction_id').value = tid;
|
|
|
|
|
|
|
|
|
|
|
|
asyncform.submit();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
{/literal}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2>{lang_print id=100015034}</h2>
|
|
|
|
|
|
{lang_print id=100015035}
|
|
|
|
|
|
|
|
|
|
|
|
<br><br>
|
|
|
|
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' align='center'>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td align='center'>
|
|
|
|
|
|
<div class='box'>
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' xalign='center'>
|
|
|
|
|
|
<tr><form action='admin_payment_reports_income.php' method='GET'>
|
|
|
|
|
|
<td>{if $setting.setting_username}{lang_print id=28}{else}{lang_print id=1152}{/if}<br><input type='text' class='text' name='f_user' value='{$f_user}' size='15' maxlength='50'> </td>
|
|
|
|
|
|
<td>{lang_print id=100015041}<br><input type='text' class='text' name='f_email' value='{$f_email}' size='15' maxlength='50'> </td>
|
|
|
|
|
|
<td>{lang_print id=100015039}<br><input type='text' class='text' name='f_title' value='{$f_title}' size='50' maxlength='100'> </td>
|
|
|
|
|
|
<td>{lang_print id=100015037}<br><select class='text' name='f_state'><option value=-1>All</option>{section name=state_loop loop=$transaction_states}<option value='{$transaction_states[state_loop].transactionstate_id}'{if $f_state == $transaction_states[state_loop].transactionstate_id} SELECTED{/if}>{lang_print id=$transaction_states[state_loop].transactionstate_name}</option>{/section}</select> </td>
|
|
|
|
|
|
<td valign='bottom'><input type='submit' class='button' value='{lang_print id=100015044}'></td>
|
|
|
|
|
|
<input type='hidden' name='s' value='{$s}'>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td colspan=2>{lang_print id=100015061}<br>
|
|
|
|
|
|
<select class='text' name='f_start_m'><option value="">{lang_print id=100015063}</option>{foreach from=$month_array item=month}<option value='{$month.value}'{if $f_start_m == $month.value} SELECTED{/if}>{$month.name}</option>{/foreach}</select>
|
|
|
|
|
|
<select class='text' name='f_start_d'><option value="">{lang_print id=100015064}</option>{foreach from=$day_array item=day}<option value='{$day.value}'{if $f_start_d == $day.value} SELECTED{/if}>{$day.name}</option>{/foreach}</select>
|
|
|
|
|
|
<select class='text' name='f_start_y'><option value="">{lang_print id=100015065}</option>{foreach from=$year_array item=year}<option value='{$year.value}'{if $f_start_y == $year.value} SELECTED{/if}>{$year.name}</option>{/foreach}</select>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
<td>{lang_print id=100015062}<br>
|
|
|
|
|
|
<select class='text' name='f_end_m'><option value="">{lang_print id=100015063}</option>{foreach from=$month_array item=month}<option value='{$month.value}'{if $f_end_m == $month.value} SELECTED{/if}>{$month.name}</option>{/foreach}</select>
|
|
|
|
|
|
<select class='text' name='f_end_d'><option value="">{lang_print id=100015064}</option>{foreach from=$day_array item=day}<option value='{$day.value}'{if $f_end_d == $day.value} SELECTED{/if}>{$day.name}</option>{/foreach}</select>
|
|
|
|
|
|
<select class='text' name='f_end_y'><option value="">{lang_print id=100015065}</option>{foreach from=$year_array item=year}<option value='{$year.value}'{if $f_end_y == $year.value} SELECTED{/if}>{$year.name}</option>{/foreach}</select>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</td></tr></table>
|
|
|
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
{if $total_items == 0}
|
|
|
|
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' width='400' align='center'>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td align='center'>
|
|
|
|
|
|
<div class='box'><b>{lang_print id=100015038}</b></div>
|
|
|
|
|
|
</td></tr></table>
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
{else}
|
|
|
|
|
|
|
|
|
|
|
|
<div class='pages'>{$total_items} {lang_print id=100015046} | {lang_print id=100015047} {section name=page_loop loop=$pages}{if $pages[page_loop].link == '1'}{$pages[page_loop].page}{else}<a href='admin_payment_reports_income.php?s={$s}&p={$pages[page_loop].page}&f_user={$f_user}&f_title={$f_title}&f_email={$f_email}&f_state={$f_state}&f_email={$f_email}'>{$pages[page_loop].page}</a>{/if} {/section}</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{literal}
|
|
|
|
|
|
<style>
|
|
|
|
|
|
td.up_tblheader1 {
|
|
|
|
|
|
background:#DFECF8 none repeat scroll 0%;
|
|
|
|
|
|
font-weight:bold;
|
|
|
|
|
|
padding:5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
td.up_tblitem1 {
|
|
|
|
|
|
background:#FFFFFF none repeat scroll 0%;
|
|
|
|
|
|
border-top:1px solid #DDDDDD;
|
|
|
|
|
|
padding:5px;
|
|
|
|
|
|
vertical-align:middle;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
{/literal}
|
|
|
|
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' style='border: 1px solid #CCC'>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td class='up_tblheader1'>{if $setting.setting_username}<a href='admin_payment_reports_income.php?p={$p}&s={$u}&f_user={$f_user}&f_title={$f_title}&f_state={$f_state}&f_email={$f_email}'>{lang_print id=28}</a>{else}{lang_print id=1152}{/if}</td>
|
|
|
|
|
|
<td class='up_tblheader1'><a href='admin_payment_reports_income.php?p={$p}&s={$d}&f_user={$f_user}&f_title={$f_title}&f_state={$f_state}&f_email={$f_email}'>{lang_print id=100015049}</a></td>
|
|
|
|
|
|
<td class='up_tblheader1'>{lang_print id=100015050}</td>
|
|
|
|
|
|
<td class='up_tblheader1'><a href='admin_payment_reports_income.php?p={$p}&s={$st}&f_user={$f_user}&f_title={$f_title}&f_state={$f_state}&f_email={$f_email}'>{lang_print id=100015051}</a></td>
|
|
|
|
|
|
<td class='up_tblheader1'><a href='admin_payment_reports_income.php?p={$p}&s={$a}&f_user={$f_user}&f_title={$f_title}&f_state={$f_state}&f_email={$f_email}'>{lang_print id=100015052}</a></td>
|
|
|
|
|
|
<td class='up_tblheader1'>{lang_print id=100015040}</td>
|
|
|
|
|
|
<td class='up_tblheader1'>{lang_print id=100015059}</td>
|
|
|
|
|
|
<td class='up_tblheader1'>{lang_print id=100015053}</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
{* LIST ITEMS *}
|
|
|
|
|
|
{section name=item_loop loop=$items}
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td class='up_tblitem1' nowrap='nowrap'><a href='{$url->url_create('profile', $items[item_loop].transaction_username)}'> {if $setting.setting_username}{$items[item_loop].transaction_username|truncate:25:"...":true}{else}{$items[item_loop].transaction_userdisplayname|truncate:25:"...":true}{/if}</a></td>
|
|
|
|
|
|
<td class='up_tblitem1' nowrap='nowrap'>{$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $datetime->timezone($items[item_loop].transaction_date, $global_timezone))}</td>
|
|
|
|
|
|
<td class='up_tblitem1' width='100%'>{$items[item_loop].transaction_desc}</td>
|
|
|
|
|
|
<td class='up_tblitem1' nowrap='nowrap'>{lang_print id=$items[item_loop].transaction_state} {if $items[item_loop].transaction_stateid == 1} ( <a href="javascript:confirm_transaction({$items[item_loop].transaction_id})">{lang_print id=100015057}</a> | <a href="javascript:cancel_transaction({$items[item_loop].transaction_id})">{lang_print id=100015058}</a> ) {/if} </td>
|
|
|
|
|
|
<td class='up_tblitem1' nowrap='nowrap'>{$items[item_loop].transaction_amount}</td>
|
|
|
|
|
|
<td class='up_tblitem1'><a href="admin_payment_clients.php?f_email={$items[item_loop].transaction_client_email|escape:"url"}">{$items[item_loop].transaction_client_email|truncate:25:"...":true}</a></td>
|
|
|
|
|
|
<td class='up_tblitem1'>{$items[item_loop].transaction_handler}</td>
|
|
|
|
|
|
<td class='up_tblitem1'>{$items[item_loop].transaction_txnid}</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
{/section}
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' width='100%'>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
<td align='left' valign='top'>
|
|
|
|
|
|
<div class='pages2'>{$total_items} {lang_print id=100015046} | {lang_print id=100015047} {section name=page_loop loop=$pages}{if $pages[page_loop].link == '1'}{$pages[page_loop].page}{else}<a href='admin_payment_reports_income.php?s={$s}&p={$pages[page_loop].page}&f_user={$f_user}&f_title={$f_title}&f_state={$f_state}&f_email={$f_email}'>{$pages[page_loop].page}</a>{/if} {/section}</div>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<br><br>
|
|
|
|
|
|
|
|
|
|
|
|
<form method=POST id="asyncform" action="admin_payment_reports_income.php">
|
|
|
|
|
|
<input type="hidden" id="asyncform_task" name="task">
|
|
|
|
|
|
<input type="hidden" id="asyncform_transaction_id" name="transaction_id">
|
|
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="f_user" value="{$f_user}">
|
|
|
|
|
|
<input type="hidden" name="f_title" value="{$f_title}">
|
|
|
|
|
|
<input type="hidden" name="f_state" value="{$f_state}">
|
|
|
|
|
|
<input type="hidden" name="f_email" value="{$f_email}">
|
|
|
|
|
|
<input type="hidden" name="s" value="{$s}">
|
|
|
|
|
|
<input type="hidden" name="p" value="{$p}">
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
{include file='admin_footer.tpl'} |