$header
	<article>

	<if 0 < $awaitingtickets && $settings['ticket']['enabled'] == 1 >
	<div class="messagewrapperfull">
		<div class="warningcontainer bradius">
			<div class="warningtitle">{$lng['admin']['warning']}</div>
			<div class="warning"><br /><strong>{$awaitingtickets_text}</strong></div>
		</div>
	</div>
	</if>

	<section class="dboarditem bradiusodd">
		<h2>{$lng['index']['accountdetails']}</h2>
		<table>
		<tr>
			<td>{$lng['login']['username']}:</td>
			<td>{$userinfo['loginname']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['domains']}:</td>
			<td>$domains</td>
		</tr>
		<tr>
			<td>{$lng['customer']['subdomains']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['subdomains_used']}/{$userinfo['subdomains']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['diskspace']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['diskspace_used']}/{$userinfo['diskspace']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['traffic']} ($month, {$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['traffic_used']}/{$userinfo['traffic']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['emails']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['emails_used']}/{$userinfo['emails']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['accounts']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['email_accounts_used']}/{$userinfo['email_accounts']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['forwarders']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['email_forwarders_used']}/{$userinfo['email_forwarders']}</td>
		</tr>
		<if $settings['system']['mail_quota_enabled'] == 1>
		<tr>
			<td>{$lng['customer']['email_quota']} ({$lng['panel']['megabyte']}, {$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['email_quota_used']}/{$userinfo['email_quota']}</td>
		</tr>
		</if>
		</tr>
		<if $settings['autoresponder']['autoresponder_active'] == 1>
		<tr>
			<td>{$lng['customer']['autoresponder']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['email_autoresponder_used']}/{$userinfo['email_autoresponder']}</td>
		</tr>
		</if>
		<tr>
			<td>{$lng['customer']['mysqls']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['mysqls_used']}/{$userinfo['mysqls']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['ftps']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['ftps_used']}/{$userinfo['ftps']}</td>
		</tr>
		<if (int)$settings['aps']['aps_active'] == 1>
		<tr>
			<td>{$lng['aps']['numberofapspackages']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['aps_packages_used']}/{$userinfo['aps_packages']}</td>
		</tr>
		</if>
		<if $settings['ticket']['enabled'] == 1 >
		<tr>
			<td>{$lng['customer']['tickets']} ({$lng['customer']['usedmax']}):</td>
			<td>{$userinfo['tickets_used']}/{$userinfo['tickets']}</td>
		</tr>
		</if>
		<tr>
			<td colspan="2" style="border:0;height:5px;"></td>
		</tr>
		</table>
	</section>

	<section class="dboarditem bradiusodd">
		<h2>{$lng['index']['customerdetails']}</h2>
		<table>
		<tr>
			<td>{$lng['customer']['name']}:</td>
			<td>{$userinfo['firstname']} {$userinfo['name']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['company']}:</td>
			<td>{$userinfo['company']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['street']}:</td>
			<td>{$userinfo['street']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['zipcode']}/{$lng['customer']['city']}:</td>
			<td>{$userinfo['zipcode']} {$userinfo['city']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['email']}:</td>
			<td>{$userinfo['email']}</td>
		</tr>
		<tr>
			<td>{$lng['customer']['customernumber']}:</td>
			<td>{$userinfo['customernumber']}</td>
		</tr>
		<tr>
			<td colspan="2" style="border:0;height:5px;"></td>
		</tr>
		</table>
	</section>

	</article>
$footer

