Файл: sm_ff/EN/templates/GENERAL/accountuser.tpl
Строк: 290
<div>
{literal}
<style type="text/css">
.head_title { text-transform: uppercase; color: #969696; font-weight: bold;
}
.named_space { width: 200px; }
</style>
{/literal}
<div class="head_title" style="background: #F8F8F8;
padding: 2px">General Information</div>
<div
style="margin-top: 10px; margin-left: 7px">
<span
style="width: 100%">
<table width="100%"
cellpadding="0" cellspacing="0"
border="0">
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
Login:
</td>
<td
valign="center" align="left"
height="22px">
<u>{$CONTROL_OBJ->userdata.username}</u>
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
E-mail:
</td>
<td
valign="center" align="left"
height="22px">
<a
href="mailto:{$CONTROL_OBJ->userdata.useremail}">{$CONTROL_OBJ->userdata.useremail}</a>
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
Site:
</td>
<td
valign="center" align="left"
height="22px">
{if $CONTROL_OBJ->userdata.usersite}<a
href="{$CONTROL_OBJ->GetCorrectUserSite()}"
target="_blank">{$CONTROL_OBJ->userdata.usersite}</a>{else}НЕТ{/if}
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
IP:
</td>
<td
valign="center" align="left"
height="22px">
{$CONTROL_OBJ->userdata.userip}
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
Current IP:
</td>
<td
valign="center" align="left"
height="22px">
{$CONTROL_OBJ->GetCurrentIP()}
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
Password hash:
</td>
<td valign="center" align="left"
height="22px">
{$CONTROL_OBJ->userdata.userhash}
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
Registration Date:
</td>
<td valign="center" align="left"
height="22px">
{$CONTROL_OBJ->userdata.datereg}
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
Groups:
</td>
<td
valign="center" align="left" height="22px"
style="font-size: 95%">
{assign var="groupslist"
value=$CONTROL_OBJ->GetUserGroups($CONTROL_OBJ->userdata.iduser,
'text-decoration: underline; color: #016C6C')}
{if
$groupslist.str}{$groupslist.str}{else}<em>(not in
groups)</em>{/if}
</td>
</tr>
</table>
</span>
</div>
<div class="head_title"
style="margin-top: 15px; background: #F8F8F8; padding:
2px">Financial Information</div>
<div
style="margin-top: 10px; margin-left: 7px">
<span
style="width: 100%">
<table width="100%"
cellpadding="0" cellspacing="0"
border="0">
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
Current account balance:
</td>
<td valign="center" align="left"
height="22px">
{$CONTROL_OBJ->userdata.purcedata} USD
[ <a style="font-size: 95%"
href="{$smarty.const.W_SITEPATH}account/payhistory/">Transaction
History</a>,
<a style="font-size: 95%; color:
#008000"
href="{$smarty.const.W_SITEPATH}account/payhistory/&new=1">Top
Balance</a> ]
</td>
</tr>
<tr>
<td
valign="center" align="left" height="22px"
class="named_space">
Total operations:
</td>
<td valign="center" align="left"
height="22px">
{$CONTROL_OBJ->GetFinanceTransactionsCount(false,
false)}
</td>
</tr>
<tr>
<td
valign="center" align="left" height="22px"
class="named_space">
Deductions from referrals:
</td>
<td valign="center" align="left"
height="22px">
{$CONTROL_OBJ->GetFinanceTransactionsCount(false, true)}
[ <a
style="font-size: 95%"
href="{$smarty.const.W_SITEPATH}account/payhistory/&fromref=1">Overview</a>
]
</td>
</tr>
<tr>
<td
valign="center" align="left" height="22px"
class="named_space">
Earn from referrals:
</td>
<td valign="center" align="left"
height="22px">
{$CONTROL_OBJ->GetReferalSum()}
USD
</td>
</tr>
<tr>
<td
valign="center" align="left" height="22px"
class="named_space">
Referral rate:
</td>
<td valign="center" align="left"
height="22px">
{if
$smarty.const.W_REFERPERSENTOFTRANSACTION <= 0}
NOT AVAILABLE
{else}
{$smarty.const.W_REFERPERSENTOFTRANSACTION} %
{/if}
</td>
</tr>
</table>
</span>
</div>
<div class="head_title"
style="margin-top: 15px; background: #F8F8F8; padding:
2px">Referral system</div>
<div style="margin-top:
10px; margin-left: 7px">
<span style="width:
100%">
<table width="100%" cellpadding="0"
cellspacing="0" border="0">
<tr>
<td
valign="center" align="left" height="22px"
class="named_space">
Number of referrals:
</td>
<td valign="center" align="left"
height="22px">
{$CONTROL_OBJ->GetUserRefersCount()}
</td>
</tr>
<tr>
<td valign="center" align="left"
height="22px" class="named_space">
Referral
link:
</td>
<td valign="center"
align="left" height="22px">
<input
type="text"
value="http://{$smarty.const.W_HOSTMYSITE}/?p={$CONTROL_OBJ->userdata.iduser}"
style="width: 220px; border: 1px solid #C0C0C0"
name="rn" onclick="this.select()"
readonly="readonly">
</td>
</tr>
<tr>
<td valign="center" align="left"
height="22px" class="named_space">
</td>
<td valign="center" align="left"
height="22px">
<input type="text"
value="http://{$smarty.const.W_HOSTMYSITE}/register/{$CONTROL_OBJ->userdata.iduser}"
style="width: 220px; border: 1px solid #C0C0C0"
name="rn" onclick="this.select()"
readonly="readonly">
</td>
</tr>
<tr>
<td valign="center" align="left"
height="22px" class="named_space">
</td>
<td valign="center" align="left"
height="22px">
<a
href="{$smarty.const.W_SITEPATH}account/ref-banner/">Choose
banner</a>
</td>
</tr>
</table>
</span>
</div>
<div class="head_title"
style="margin-top: 15px; background: #F8F8F8; padding:
2px">Mail</div>
<div style="margin-top: 10px;
margin-left: 7px">
<span style="width: 100%">
<table width="100%" cellpadding="0"
cellspacing="0" border="0">
<tr>
<td
valign="center" align="left" height="22px"
class="named_space">
New Posts:
</td>
<td
valign="center" align="left"
height="22px">
<a
href="{$smarty.const.W_SITEPATH}account/mail/">{if
$global_user_info.privatenew}<b style="color:
#FF0000">{/if}{$global_user_info.privatenew}{if
$global_user_info.privatenew}</b>{/if}</a>
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
Incoming threads:
</td>
<td valign="center" align="left"
height="22px">
<a
href="{$smarty.const.W_SITEPATH}account/mail/">{$global_user_info.privateall}</a>
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
Outthreads:
</td>
<td
valign="center" align="left"
height="22px">
<a
href="{$smarty.const.W_SITEPATH}account/mail/&send=1">{$CONTROL_OBJ->GetMySendMessagesCount()}</a>
</td>
</tr>
</table>
</span>
</div>
<div
class="head_title" style="margin-top: 15px; background:
#F8F8F8; padding: 2px">xml api</div>
<div
style="margin-top: 10px; margin-left: 7px">
<span
style="width: 100%">
<table width="100%"
cellpadding="0" cellspacing="0"
border="0">
<tr>
<td valign="center"
align="left" height="22px"
class="named_space">
api:
</td>
<td
valign="center" align="left"
height="22px">
<a
href="{$smarty.const.W_SITEPATH}account/xml-api/">Management</a>
</td>
</tr>
</table>
</span>
</div>
</div>