{assign var="do_not_display_add" value=true}
{form_errors error_list=$form_errors}
<table width="100%">
	<tr>
		<td valign="top" nowrap>
			<table width="245">
				<tr>
					<td><img src="?action=display_char_image" alt="Charakterbild {$char.name}" width="245" height="338" /></td>
				</tr>
				<tr>
					<td valign="top" class="xsmall"><b>Profil:</b> {$char.profil}</td>
				</tr>
			</table>
		</td>
		<td valign="top" width="100%">
			<table width="100%">
				<tr>
					<td valign="top"><b>Name:</b></td>
					<td nowrap valign="top" width="100%">{$char.name} ({$char.rp_alter}/{$char.geschlecht}) <a href="http://www.google.de/search?q=%22{$char.name}%22" accesskey="g" target="_blank"><img src="images/google.png" alt="G" title="Google-Suche" width="42" height="16" align="top" border="0" /></a> <a href="javascript:open_popup( 'char_activation.php?action=add_forbidden_name&name={$char.name}', 'bla', 500, 180 );" accesskey="v"><img src="images/x.png" width="16" height="16" alt="X" title="Name zu verbotenen Namen hinzuf&uuml;gen" align="top" border="0" /></a></td>
				</tr>
				<tr>
					<td><b>Volk:</b></td>
					<td>{$char.volk_bezeichnung}</td>
				</tr>
				<tr>
					<td><b>Stufe:</b></td>
					<td>{$char.level} ({$char.xp} Erfahrungspunkte)</td>
				</tr>
				<tr>
					<td valign="top"><b>Professionen:</b></td>
					<td>{$char.professionen}</td>
				</tr>
				<tr>
					<td colspan="2"><hr size="1" width="100%" noshade="noshade" style="color:{$style.bg_b}"></hr></td>
				</tr>
				<tr>
					<td valign="top"><b>Geklaut?</b></td>
					<td>{$char.cst_images}<br/>Analysieren: [1]&nbsp&nbsp;[2]&nbsp&nbsp;[3]</td>
				</tr>
				<tr>
					<td valign="top"><b>Zur&uuml;ckstellungen:</b></td>
					<td>{if $char.anzahl_zurueckstellungen > 0}{$char.anzahl_zurueckstellungen} ({$char.zuruecksteller}){else}-{/if}</td>
				</tr>
				<tr>
					<td valign="top"><b>Account:</b></td>
					<td>{$char.account_name} ({$char.accountid})</td>
				</tr>
				<tr>
					<td valign="top"><b>Akte:</b></td>
					<td>{$char.filed} Eintr&auml;ge{if $char.filed > 0} [<a href="jail.php" accesskey="a">Akte ansehen</a>]{/if}</td>
				</tr>
				<tr>
					<td valign="top"><b>Änderung?</b></td>
					<td>{$char.lastchanged}</td>
				</tr>
				{if $char.anzahl_zurueckstellungen > 0}
				<tr>
					<td colspan="2"><hr size="1" width="100%" noshade="noshade" style="color:{$style.bg_b}"></hr></td>
				</tr>
				<tr>
					<td align="center"><b>Freischalterhinweise: </b></td>
				</tr>
				<tr>
					<td colspan="2" valign="top" class="xsmall"><iframe scrolling="auto" height="175" width="100%" src="?action=get_activation_text&charid={$char.charid}"></iframe></td>
				</tr>
				{/if}
			</table>
		</td>
	</tr>
</table>
<hr size="1" width="100%" noshade="noshade" style="color:{$style.bg_b}" />
<table width="100%">
	{foreach from=$stats item=stat}
		<tr>
			<td>{$stat.0}</td>
			<td>
				<table border="1" cellpadding="0" cellspacing="0"><tr><td>
				<table width="400" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td bgcolor="Black" width="{$stat.5}"><img src="images/spacer.gif" height="8" width="{$stat.5}" title="{$stat.0} - unteres Limit: {$stat.2}"></td>
						<td bgcolor="Green" width="{$stat.6}"><img src="images/spacer.gif" height="8" width="{$stat.6}" title="Vergebene Punkte auf {$stat.0}: {$stat.4-$stat.2}"></td>
						<td bgcolor="Silver" width="{$stat.7}"><img src="images/spacer.gif" height="8" width="{$stat.7}" title={$stat.0}></td>
						<td bgcolor="red" width="{$stat.8}"><img src="images/spacer.gif" height="8" width="{$stat.8}" title="{$stat.0} - oberes Limit: {$stat.3}"></td>
					</tr>
				</table>
				</td></tr></table>
			</td>
			<td width="100%" nowrap align="right">{$stat.4}</td><td nowrap>({$stat.2}-{$stat.3})</td>
		</tr>
	{/foreach}
	<tr>
		<td colspan="4"><hr size="1" width="100%" noshade="noshade" style="color:{$style.bg_b}" /></td>
	</tr>
	{foreach from=$skills item=skill}
		<tr>
			<td>{$skill.0}</td>
			<td>
				<table border="1" cellpadding="0" cellspacing="0"><tr><td>
				<table width="400" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td bgcolor="Black" width="{$skill.5}"><img src="images/spacer.gif" height="8" width="{$skill.5}" title="{$skill.0} - unteres Limit: {$skill.2}"></td>
						<td bgcolor="Green" width="{$skill.6}"><img src="images/spacer.gif" height="8" width="{$skill.6}" title="Vergebene Punkte auf {$skill.0}: {$skill.4-$skill.2}"></td>
						<td bgcolor="Silver" width="{$skill.7}"><img src="images/spacer.gif" height="8" width="{$skill.7}" title={$skill.0}></td>
						<td bgcolor="red" width="{$skill.8}"><img src="images/spacer.gif" height="8" width="{$skill.8}" title="{$skill.0} - oberes Limit: {$skill.3}"></td>
					</tr>
				</table>
				</td></tr></table>
			</td>
			<td width="100%" nowrap align="right">{$skill.4}</td><td nowrap>({$skill.2}-{$skill.3})</td>
		</tr>
	{/foreach}
</table>
<hr size="1" width="100%" noshade="noshade" style="color:{$style.bg_b}" />
<b>Charaktergeschichte ({$clength} Zeichen):</b>
<div>{$char.charstory}</div>
<hr size="1" width="100%" noshade="noshade" style="color:{$style.bg_b}" />
{if $char.aktiviert == 0 or $char.aktiviert == 2}
<b>Text an den Spieler verfassen:</b><br />
<form action="char_activation.php" method="POST">
<input type="hidden" name="action" value="eval_actions">
<input type="hidden" name="charid" value="{$char.charid}">
<input type="hidden" name="lastchanged" value="{$char.lastchanged}">
<input type="hidden" name="aktivierungszeitpunkt" value="{$char.aktivierungszeitpunkt}">
<textarea accesskey="t" class="input_form" cols="100" name="aktivierungskommentar" rows="12">{$aktivierungskommentar}</textarea>
{form_errors error_list=$form_errors}
<table width="100%">
	<tr>
		<td bgcolor="{$style.bg_2}" align="center"><b>Ablehnen</b></td>
		<td bgcolor="{$style.bg_2}" align="center"><b>Zur&uuml;ckstellen</b></td>
		<td bgcolor="{$style.bg_2}" align="center"><b>Annehmen</b></td>
	</tr>
	<tr>
		<td bgcolor="{$style.bg_a}" align="center"><table><tr><td><input type="checkbox" name="delete_checkbox" checked></td><td>Fall anlegen:</td></tr></table><textarea class="input_form" cols="50" name="short_report" rows="4">{$short_report}</textarea></td>
		<td bgcolor="{$style.bg_a}" align="center">&nbsp;</td>
		<td bgcolor="{$style.bg_a}" align="center">{if $char.cst != 0}<input type="checkbox" name="warning_checkbox"><br />Warnung &uuml;ber geklaute Charstory konnte nicht bestätigt werden.{/if}&nbsp;</td>
	</tr>
	<tr>
		<td bgcolor="{$style.bg_b}" align="center"><table><tr><td>PW:</td><td><input type="password" name="del_password" class="input_form" size="20" maxlength="20"/></td></tr></table></td>
		<td bgcolor="{$style.bg_b}" align="center">-</td>
		<td bgcolor="{$style.bg_b}" align="center"><table><tr><td>PW:</td><td><input type="password" name="acc_password" class="input_form" size="20" maxlength="20"/></td></tr></table></td>
	</tr>
	<tr>
		<td bgcolor="{$style.bg_a}" align="center"><input type="submit" value="Ablehnen" name="send_form" class="button_form_red" /></td>
		<td bgcolor="{$style.bg_a}" align="center"><input type="submit" value="Zurückstellen" name="send_form" class="button_form" /></td>
		<td bgcolor="{$style.bg_a}" align="center"><input type="submit" value="Annehmen" name="send_form" class="button_form_green" /></td>
	</tr>
</table>
<form>
{/if}