{include file="$gentemplates/_header.tpl"}

{include file="$gentemplates/_navi.tpl"}
{include file="$gentemplates/_contentheader.tpl" title="$temp_header"}
<!-- <form name="details" action="{$phpself}" method="post">
<input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">
<input type="hidden" name="date" value="{$date}"> -->
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tr><td class="lines2" height="2" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="2" hspace="0" vspace="0" border="0"></td></tr>
		
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathgeneral}/space.gif" alt="" width="1" height="1" /></td></tr>
		<tr align="left">
			<td class="category" height="20"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="category">{$temp_commonsettings}</td>
			<td class="category" width="70%">&nbsp;</td>
		</tr>
		<!-- 
		<tr align="left">
			<td class="tab" height="20" width="30"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="tab" width="30%">&nbsp;</td>
			<td class="tab" width="70%">&nbsp;</td>
		</tr>
-->
		{* time *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead">{$temp_time}</td>
			<td class="formhead">{$appointment_day}, {if $scheduling.id==0} {$from} - {$to} {else} {$scheduling.type} ({$from} - {$to}){/if}</td>
		</tr>

		{* type *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead">{$temp_appt_type}</td>
			<td class="formhead"><FONT STYLE="background-color:{$appt_type.color};">{$appt_type.text}</FONT></td>
		</tr>
		
		{* place *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead">{$temp_loc}</td>
			<td class="formhead"><u>{$location_type}</u>{if $location} :&nbsp; {$location} {/if}</td>
		</tr>
		
		{* private *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead">{$temp_private}</td>
			<td class="formhead">{if $private.id==0}{$private.text}{else}<FONT color="red">{$private.text}</FONT>{/if}</td>
		</tr>
		
		{* availability *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead">{$temp_availability}</td>
			<td class="formhead">{$availability}{if $telephone != ""},&nbsp;{$gentemp_telephone|lower}&nbsp;:&nbsp;{$telephone}{/if}</td>
		</tr>
		
		{* subject *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr align="left">
			<td class="category" height="20"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="category">{$temp_subject}</td>
			<td class="category" width="70%">&nbsp;</td>
		</tr>

		{* subject summarized*}		
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead">{$temp_subject_summarized}</td>
			<td class="formhead">{$subject_summ}</td>
		</tr>

		{* subject detailed*}		
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead">{$temp_subject_detailed}</td>
			<td class="tab">{$subject|smarty:nodefaults}</td>
		</tr>
		
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr align="left">
			<td class="category" height="2" width="100%" COLSPAN="3"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
		</tr>
		
		{* creator (inituser) *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead">{$temp_inituser}</td>
			<td class="formhead">{$inituser}</td>
		</tr>
		
		{* parties *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="35"><img src="{$imgpathmaster}/space.gif" alt="" width="35" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="tab">{$temp_parties}</td>
			<td class="tab">
				{section name=pt loop=$partie}
		   		 {$partie[pt].name}<br>
				{/section}
			</td>
		</tr>
		
		{* ext. parties *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead">{$temp_extparticipants}&nbsp;</td>
			<td class="formhead">{$external}&nbsp;</td>
		</tr>

		
		{* repeater *}
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		<tr class="tab" align="left">
			<td class="tab" height="35"><img src="{$imgpathmaster}/space.gif" alt="" width="35" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="tab">{$temp_appointmentrepeat}</td>
			<td class="tab">{$repeater}</td>
		</tr>

		<tr><td class="lines2" height="2" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
		
		{* submit button *}
		<tr class="tab" align="left">
			<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
			<td class="formhead"><a href="{$referer}">{$temp_header_nav_back}</a></td>
			<td class="tab">
    		{if $edit_single_bt != "no"}&nbsp;{$edit_single_bt}&nbsp;{/if}
    		{if $edit_serial_bt != "no"}&nbsp;{$edit_serial_bt}&nbsp;{/if}
    		{if $delete_bt != "no"}&nbsp;{$delete_bt}&nbsp;{/if}
			</td>			
		</tr>

		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
	</table>
</form>

{include file="$gentemplates/_footer.tpl" aktUser=$username}