<html>
<head>
	<title>{$lang.title}</title>
	<meta http-equiv="Content-Language" content="{$default_lang}">
	<meta http-equiv="Content-Type" content="text/html; charset={$charset}">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="pragma" content="no-cache">
	<meta name="revisit-after" content="3 days">
	<meta name="robot" content="All">	
	<link href="{$site_root}{$template_root}/css/style.css" rel="stylesheet" type="text/css">
	<link href="{$site_root}{$template_root}/css/style.css" rel="stylesheet" type="text/css">
</head>

<body style="margin: 0px;">
<table cellpadding="0" cellspacing="0" width="98%" border="0" style="padding-left:20px;">
<tr valign="top"><td>

<div class="red_header"><b>{$lang.content.payment_information}</b></div>
<div class="cr">&nbsp;</div>

<div class="panel_subtabs">
    <dl class="design_dl">
        <dt style="float: left; width: 50%;"><b>{$lang.pays.u_name}</b></dt>
        <dt style="float: left;">{$details.fname}&nbsp;{$details.sname}</dt>
    </dl>
    <dl class="design_dl">
        <dt style="float: left; width: 50%;"><b>{$lang.pays.u_email}</b></dt>
        <dt style="float: left;">{$details.email}</dt>
    </dl>
    <dl class="design_dl">
        <dt style="float: left; width: 50%;"><b>{$lang.pays.amount}</b></dt>
        <dt style="float: left;">{$details.count_curr}</dt>
    </dl>
    <dl class="design_dl">
        <dt style="float: left; width: 50%;"><b>{$lang.pays.currency}</b></dt>
        <dt style="float: left;">{$details.currency}</dt>
    </dl>
    <dl class="design_dl">
        <dt style="float: left; width: 50%;"><b>{$lang.pays.date_sended}</b></dt>
        <dt style="float: left;">{$details.date_send_show}</dt>
    </dl>
    <dl class="design_dl">
        <dt style="float: left; width: 50%;"><b>{$lang.pays.pay_status}</b></dt>
        <dt style="float: left;">{$details.status}</dt>
    </dl>
    <dl class="design_dl">
        <dt valign="top" style="vertical-align:top; float: left; width: 50%;"><b>{$lang.pays.user_info}</b></dt>
        <dt>{$details.user_info}</dt>
    </dl>	
    {if $details.status eq 'send'}
    <dl class="design_dl">
        <dt style="float: left; width: 50%;"><b>{$lang.pays.pay_approve}</b></dt>
        <dt>
			<!--input type="button" class="button_2" value="{$lang.buttons.approve}" onclick="CloseParentWindow('{$server}/admin/admin_pays.php?sel=approve_req&amp;id_order={$details.id}_{$details.id_user}');"-->&nbsp;
			<a class="admin_button_major" onclick="CloseParentWindow('approve_req&amp;id_order={$details.id}_{$details.id_user}');" href="" title="{$lang.buttons.approve}">{$lang.buttons.approve}<span>&nbsp;</span></a>
			&nbsp;&nbsp;
			<a class="admin_button" href="" onclick="CloseParentWindow('decline_req&amp;id_order={$details.id}_{$details.id_user}');">{$lang.buttons.decline}<span>&nbsp;</span></a>
			<!--input type="button" class="button_2" value="{$lang.buttons.decline}" onclick="CloseParentWindow('{$server}/admin/admin_pays.php?sel=decline_req&amp;id_order={$details.id}_{$details.id_user}');"-->
		</dt>
    </dl>
    {/if}
</div>

{literal}
<script>
function CloseParentWindow(url){	
	window.returnValue = url;    
    window.opener.focus();
	window.opener.ChangeStatus(url);
	window.close();
		
}
</script>
{/literal}