{include file="$gentemplates/$header_tpl"}
	<h2>{$lang.organizer.page_title}</h2>
		
	{*if $form.err}
	<p class="error_msg">*&nbsp;{$form.err}</p>
	{/if*}
        
	<h3 class="p-b5">{$lang.organizer.send_req_header}</h3>
	
	<table style="width:100%">
		<tr class="text_head">
			<td>{$lang.organizer.date_send}</td>
			<td>{$lang.organizer.count}</td>
			<td>{$lang.organizer.paysysytem}</td>
			<td>{$lang.organizer.period}</td>
			<td>{$lang.organizer.status}</td>
		</tr>
		{foreach item=item from=$sendreq}
		<tr>
			<td>{$item.date_send}</td>
			<td>{$item.count_curr}&nbsp;{$item.currency}</td>
			<td>{$item.paysystem_name}</td>
			<td>{$item.group_amount}&nbsp;{$item.group_period}&nbsp;{$lang.organizer.in}&nbsp;{$item.group_name}</td>
			<td>{$item.status}</td>
		</tr>
		{/foreach}
	</table>

	<h3 class="p-b5">{$lang.organizer.account_income_spending}</h3>
	<table style="width:100%">
		<tr class="text_head">
			<td>{$lang.organizer.date_send}</td>
			<td>{$lang.organizer.count}</td>
			<td>{$lang.organizer.paysysytem}</td>
			<td>{$lang.organizer.income_type}</td>
		</tr>
		{foreach item=item from=$entry}
		<tr>
			<td>{$item.date_entry}</td>
			<td>{$item.currency}&nbsp;{$data.cur}</td>
			<td>{$item.pay_type}</td>
			<td>{$item.type}</td>
		</tr>
		{/foreach}
	</table>
	<h3 class="p-b5">{$lang.organizer.my_account_status}</h3>
	<div style="overflow: hidden;">
		<div class="float_left">
			<p>
				{$lang.organizer.count}:&nbsp;{$data.account}&nbsp;{$data.cur}
			</p>
			<p>
				{$lang.organizer.date_refresh}:&nbsp;{$data.date_refresh}
			</p>
			<p>
				{$lang.organizer.rest}:&nbsp;{$data.user_days_left}&nbsp;{$lang.organizer.days}&nbsp;{$lang.organizer.in}&nbsp;{$data.user_group_name}
			</p>
		</div>
		<div class="float_right">
			<form name="calc" id="calc" style="margin: 0px; padding: 0px;">{strip}
	<!--
	// Title: Tigra Calculator
	// URL: http://www.softcomplex.com/products/tigra_calculator/
	// Version: 1.0
	// Date: 04/14/2003 (mm/dd/yyyy)
	// Note: Permission given to use this script in ANY kind of applications if
	//    header lines are left unchanged.
	-->
				<div style="width:100%;">
					<dl>
						<dd align="center">
						<input type="text" name="monitor" value="0" size="25" maxlength="25" dir="rtl" style="border-top:1px solid #4682B4;border-bottom:1px solid #4682B4;border-{$default_left}:1px solid #4682B4;border-{$default_right}:1px solid #4682B4;width:170px;">
						<input type="hidden" name="input1" value="0">
						</dd>
					</dl>
					<dl>
						<dd align="center">
						<div class="organaizer-calc">
						<dl align="center">
							<dt><span id="calc_link_0" style="cursor: pointer;"><img id="calc_img_0" src="{$site_root}{$template_root}/calc_img/0_1.gif" border="0" alt="7" width="30" height="21"></span></dt>
							<dt><span id="calc_link_1" style="cursor: pointer;"><img id="calc_img_1" src="{$site_root}{$template_root}/calc_img/1_1.gif" border="0" alt="8" width="30" height="21"></span></dt>
							<dt><span id="calc_link_2" style="cursor: pointer;"><img id="calc_img_2" src="{$site_root}{$template_root}/calc_img/2_1.gif" border="0" alt="9" width="30" height="21"></span></dt>
							<dt><span id="calc_link_3" style="cursor: pointer;"><img id="calc_img_3" src="{$site_root}{$template_root}/calc_img/3_1.gif" border="0" alt="divide" width="30" height="21"></span></dt>
							<dt><span id="calc_link_4" style="cursor: pointer;"><img id="calc_img_4" src="{$site_root}{$template_root}/calc_img/4_1.gif" border="0" alt="clear" width="30" height="21"></span></dt>
						</dl>
						<dl align="center">
							<dt><span id="calc_link_5" style="cursor: pointer;"><img id="calc_img_5" src="{$site_root}{$template_root}/calc_img/5_1.gif" border="0" alt="4" width="30" height="21"></span></dt>
							<dt><span id="calc_link_6" style="cursor: pointer;"><img id="calc_img_6" src="{$site_root}{$template_root}/calc_img/6_1.gif" border="0" alt="5" width="30" height="21"></span></dt>
							<dt><span id="calc_link_7" style="cursor: pointer;"><img id="calc_img_7" src="{$site_root}{$template_root}/calc_img/7_1.gif" border="0" alt="6" width="30" height="21"></span></dt>
							<dt><span id="calc_link_8" style="cursor: pointer;"><img id="calc_img_8" src="{$site_root}{$template_root}/calc_img/8_1.gif" border="0" alt="multiply" width="30" height="21"></span></dt>
							<dt><span id="calc_link_9" style="cursor: pointer;"><img id="calc_img_9" src="{$site_root}{$template_root}/calc_img/9_1.gif" border="0" alt="extract square root" width="30" height="21"></span></dt>
						</dl>
						<dl align="center">
							<dt><span id="calc_link_10" style="cursor: pointer;"><img id="calc_img_10" src="{$site_root}{$template_root}/calc_img/10_1.gif" border="0" alt="1" width="30" height="21"></span></dt>
							<dt><span id="calc_link_11" style="cursor: pointer;"><img id="calc_img_11" src="{$site_root}{$template_root}/calc_img/11_1.gif" border="0" alt="2" width="30" height="21"></span></dt>
							<dt><span id="calc_link_12" style="cursor: pointer;"><img id="calc_img_12" src="{$site_root}{$template_root}/calc_img/12_1.gif" border="0" alt="3" width="30" height="21"></span></dt>
							<dt><span id="calc_link_13" style="cursor: pointer;"><img id="calc_img_13" src="{$site_root}{$template_root}/calc_img/13_1.gif" border="0" alt="substruct" width="30" height="21"></span></dt>
							<dt><span id="calc_link_14" style="cursor: pointer;"><img id="calc_img_14" src="{$site_root}{$template_root}/calc_img/14_1.gif" border="0" alt="show result" width="30" height="21"></span></dt>
						</dl>
						<dl align="center">
							<dt><span id="calc_link_15" style="cursor: pointer;"><img id="calc_img_15" src="{$site_root}{$template_root}/calc_img/15_1.gif" border="0" alt="0" width="30" height="21"></span></dt>
							<dt><span id="calc_link_16" style="cursor: pointer;"><img id="calc_img_16" src="{$site_root}{$template_root}/calc_img/16_1.gif" border="0" alt="change sign" width="30" height="21"></span></dt>
							<dt><span id="calc_link_17" style="cursor: pointer;"><img id="calc_img_17" src="{$site_root}{$template_root}/calc_img/17_1.gif" border="0" alt="decimal point" width="30" height="21"></span></dt>
							<dt><span id="calc_link_18" style="cursor: pointer;"><img id="calc_img_18" src="{$site_root}{$template_root}/calc_img/18_1.gif" border="0" alt="add" width="30" height="21"></span></dt>
							<dt>&nbsp;</dt>
						</dl>
						</div>
						</dd>
					</dl>
				</div>
				{/strip}
			</form>
		</div>
	</div>
		{* {if $banner.right}<div style="float: left;">{$banner.right}</div>{/if}	*}	  

{literal}
<script language="JavaScript">

var arr_zn = ["7","8","9","/","C","4","5","6","*","sqr","1","2","3","-","=","0","z",".","+"];
var T = TCR, a_img = [], i, j, l;

function on_load() {
	T.TCRNew(document.forms['calc'].elements['input1']);
	T.TCRmntr('C');
	T.t_load = true;
	if (T.control_obj.value == ''){
		from_p = '0';
	}else{
		from_p = T.control_obj.value;
	}
	document.forms['calc'].elements['monitor'].value = from_p;
} 
for (i = 0; i < 19; i++) {
	l = document.getElementById('calc_link_'+i);
	l.onmousedown = Function("ch_img(" + i + ",0)")
	l.onmouseout = Function("ch_img(" + i + ",1)")
	l.onmouseup = l.onmouseover = Function("ch_img(" + i + ",2)")
	l.onclick = l.ondblclick = Function("T.TCRmntr('" + arr_zn[i] + "')");
}
function ch_img(v1, v2) {
	document.getElementById('calc_img_'+v1).src = '{/literal}{$site_root}{$template_root}/calc_img/{literal}'+v1+'_'+v2+'.gif';
}
</script>
{/literal}
{include file="$gentemplates/$footer_tpl"}