{assign var="do_not_display_add" value=true}

<table width="100%"><tr>
	<td>Übersicht | Neuer Fall | Bad Guys | Jail-Insassen</td>
	<td align="right">J: 0/7; U: 1/1; GMs: 3/7; P: 107</td>
</tr></table>
<table width="100%">
	<tr>
		<td width="50%" valign="top">
			<table width="100%" bgcolor="White" cellspacing="1">
				<tr>
					<td class="xsmall" bgcolor="{$style.bg_2}">Name</td>
					<td class="xsmall" bgcolor="{$style.bg_2}">Volk</td>
					<td class="xsmall" bgcolor="{$style.bg_2}">Level</td>
					<td class="xsmall" bgcolor="{$style.bg_2}">Status</td>
				</tr>
				{foreach from=$char_history item=charitem}
				<tr>
					<td class="xsmall" nowrap bgcolor="{$style.bg_a}">{$charitem.name} ({$charitem.geschlecht})</td>
					<td class="xsmall" bgcolor="{$style.bg_a}">{$charitem.volk}</td>
					<td class="xsmall" bgcolor="{$style.bg_a}">{$charitem.level}</td>
					<td class="xsmall" bgcolor="{$style.bg_a}" nowrap align="center">{if $charitem.aktiviert == 0}wartend{elseif $charitem.aktiviert == 1}{$charitem.aktivierungszeitpunkt}{else}{$charitem.aktivierungszeitpunkt}<br />-<br />{$charitem.loeschungszeitpunkt}{if $charitem.loescher > 0 and $charitem.loescher != $account_details.accountid} !{/if}{/if}</td>
				</tr>
				{/foreach}
			</table>
		</td>
		<td width="10">&nbsp;</td>
		<td width="50%" valign="top" bgcolor="White">
			<table width="100%" cellspacing="1">
				<tr>
					<td class="xsmall" bgcolor="{$style.bg_a}">E-Mail: </td>
					<td class="xsmall" bgcolor="{$style.bg_b}">{$account_details.email}</td>
				</tr>
				<tr>
					<td class="xsmall" bgcolor="{$style.bg_a}">ICQ: </td>
					<td class="xsmall" bgcolor="{$style.bg_b}">{$account_details.icq}</td>
				</tr>
				<tr>
					<td class="xsmall" bgcolor="{$style.bg_a}">Registriert am: </td>
					<td class="xsmall" bgcolor="{$style.bg_b}">{$account_details.register_time}</td>
				</tr>
				<tr>
					<td class="xsmall" bgcolor="{$style.bg_a}">Letzte Aktivität:</td>
					<td class="xsmall" bgcolor="{$style.bg_b}">{$account_details.last_activity}</td>
				</tr>
				<tr>
					<td class="xsmall" bgcolor="{$style.bg_a}">max. Charaktere:</td>
					<td class="xsmall" bgcolor="{$style.bg_b}">{$account_details.max_characters}/{$account_details.max_staffcharacters}</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="1">
	<tr>
		<td class="xsmall">Index</td>
		<td class="xsmall">Punkte</td>
		<td class="xsmall">Ermahnungen</td>
		<td class="xsmall">Verwarnungen</td>
		<td class="xsmall">Jail-Aufenthalte</td>
		<td class="xsmall">Jail-Tage</td>
		<td class="xsmall">Foren-Verwarnungen</td>
		<td class="xsmall">Punkte-&Uuml;berschreitungen</td>
	</tr>
	<tr>
		<td class="xsmall">{$stats.court_index}</td>
		<td class="xsmall" nowrap>{if $stats.punkte >=20}<font color="Red"><b>{/if}{$stats.punkte}{if $stats.punkte >=20}</b></font>{/if} ({$stats.punkte_sum})</td>
		<td class="xsmall">{$stats.ermahnungen}</td>
		<td class="xsmall">{$stats.verwarnungen}</td>
		<td class="xsmall">{$stats.jail_aufenthalte}</td>
		<td class="xsmall">{$stats.jail_tage}</td>
		<td class="xsmall">{$stats.foren_verwarnungen}</td>
		<td class="xsmall">{$stats.punkte_ueberschreitungen}</td>
	</tr>	
</table>
<hr size="1" width="100%" noshade="noshade" style="color:{$style.bg_b}"></hr>
<table width="100%" cellpadding="2" cellspacing="0">
	<tr>
		<td class="xsmall" bgcolor="{$style.bg_2}" nowrap>Fall-Nr.</td>
		<td class="xsmall" bgcolor="{$style.bg_2}" nowrap>Char/Typ</td>
		<td class="xsmall" bgcolor="{$style.bg_2}" nowrap>Datum Zeit</td>
		<td class="xsmall" bgcolor="{$style.bg_2}" nowrap>Short Report</td>
	</tr>
	{foreach from=$cases item=caseitem}
	<tr>
		<td class="xsmall" bgcolor="{$style.bg_a}" valign="top"" nowrap height="0%">{$caseitem.case_id}</td>
		<td class="xsmall" bgcolor="{$style.bg_a}" valign="top"" nowrap height="0%">{if $caseitem.case_type == 'IG'}{$caseitem.char_name}{else}{$caseitem.case_type}{/if}</td>
		<td class="xsmall" bgcolor="{$style.bg_a}" valign="top"" nowrap height="0%">{$caseitem.filed}</td>
		<td rowspan="2" class="xsmall" bgcolor="{$style.bg_a}" width="100%" height="100%" valign="top">{$caseitem.short_report}</td>
	</tr>
	<tr>
		<td class="xsmall" bgcolor="{$style.bg_a}" colspan="3" height="100%">{$caseitem.categories}{if $caseitem.punishment.case_id > 0}<br /><font face="Courier New,Courier" size="2"><b>&gt;&gt; {$caseitem.punishment.decision_type}{if $caseitem.punishment.sentence_param > 0}: {$caseitem.punishment.sentence_param} ({$caseitem.punishment.sentenced_by_name}){/if} &lt;&lt;</b></font>{else}<br /><a href="jail.php?action=punish&case_id={$caseitem.case_id}">=> Bestrafung aussprechen</a>{/if}</td>
	</tr>
	<tr>
		<td class="xsmall" bgcolor="{$style.bg_b}" colspan="4">A: {$caseitem.filed_by_name}; V: {$caseitem.responsible_name}; K: {$caseitem.comments_count}{if $caseitem.comments_count > 0} ({$caseitem.last_comment.last_edited} - {$caseitem.last_comment.last_edited_by}){/if}; K: {$caseitem.clicks}</td>
	</tr>
	{/foreach}
</table>		