<{include file="header.tpl"}>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<{if $hashistory eq true}>
<table width="100%" bgcolor="buttonshadow" border="0" cellspacing="0" cellpadding="0"><tr><td><table width="100%"  border="0" cellspacing="1" cellpadding="2">

<tr>
<td width="8%" align="left" bgcolor="buttonface"><span class="smalltext">
<font color="#000000">&nbsp;
<{$language[chatid]}>
</font></span></td>

<td width="23%" align="left" bgcolor="buttonface"><span class="smalltext">
<font color="#000000">&nbsp;
<{$language[fullname]}>
</font></span></td>

<td width="22%" align="left" bgcolor="buttonface"><span class="smalltext">
<font color="#000000">&nbsp;
<{$language[date]}>
</font></span></td>

<td width="23%" align="left" bgcolor="buttonface"><span class="smalltext">
<font color="#000000">&nbsp;
<{$language[staffname]}>
</font></span></td>

<td width="24%" align="left" bgcolor="buttonface"><span class="smalltext">
<font color="#000000">&nbsp;
<{$language[department]}>
</font></span></td>
</tr>

<{foreach key=key value=item from=$visitorhistory}>
<tr>
<td align="left" bgcolor="#FFFFFF"><span class="smalltext">
<font color="#000000">&nbsp;
<a href="<{$swiftpath}>winapp/index.php?_m=livesupport&_a=visitorhistory&chatobjectid=<{$item[chatobjectid]}>&sessionid=<{$winappsessionid}>"><{$item[chatobjectid]}></a>
</font></span></td>
<td align="left" bgcolor="#FFFFFF"><span class="smalltext">
<font color="#000000">&nbsp;
<a href="<{$swiftpath}>winapp/index.php?_m=livesupport&_a=visitorhistory&chatobjectid=<{$item[chatobjectid]}>&sessionid=<{$winappsessionid}>"><{$item[userfullname]}></a>
</font></span></td>
<td align="left" bgcolor="#FFFFFF"><span class="smalltext">
<font color="#000000">&nbsp;
<{$item[date]}>
<td align="left" bgcolor="#FFFFFF"><span class="smalltext">
<font color="#000000">&nbsp;
<{$item[staffname]}>
</font></span></td>
<td align="left" bgcolor="#FFFFFF"><span class="smalltext">
<font color="#000000">&nbsp;
<{$item[departmenttitle]}>
</font></span></td>
</tr>
<{/foreach}>
</table></td></tr>
</table>

<{else}>
<table width="100%" bgcolor="#FFFFFF" border="0" cellspacing="0" cellpadding="0"><tr><td><table width="100%"  border="0" cellspacing="0" cellpadding="2"><tr><td align="center"><span class="smalltext">
<font color="#000000">
<{$language[nohistoryavailable]}>
</font></span></td></tr></table></td></tr><tr><td height="1" bgcolor="#CCCCCC"><img src="<{$themepath}>space.gif" width="1" height="1"></td></tr></table>
<{/if}>

</body>
</html>