<html>
<head><title>##@TABLE.strCaption h##</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
#center_block{$id} {width:45%;margin:0 auto;}
#contents_block{$id} {text-align:center;}
#header_block{$id} {white-space:nowrap;height:31px;padding:5px;}
#fields_block{$id} {width:100%}
#buttons_block{$id} {padding:5px;white-space:nowrap;text-align:center;}
#required_block{$id} {text-align:left;padding:5px}
</style>
</head>
<body>
{$header}
{BEGIN body}
<table cellpadding=0 cellspacing=0 border=0 width=95%><tr><td>
<div id="header_block{$id}">
<h1>
##strCaption h##, ##message VIEW_RECORD## [
##foreach @TABLE.arrKeyFields as @k##
##if !@first##
,
##endif##
##Field(@k).strLabel h##: {$show_key##@index##}
##endfor##
]
</h1>
</div>

##if @BUILDER.bViewPDF##
{BEGIN pdf_block}
{BEGIN pdflink_block}
<a href=# class=pdf onclick="RunPDF(); return false; this.style.display='none';">##message PDF_VIEW##</a>
{END pdflink_block}
{END pdf_block}
##endif##

<TABLE style="BORDER-RIGHT: #c0c0c0 1px solid; BORDER-TOP: #c0c0c0 1px solid; BORDER-LEFT: #c0c0c0 1px solid; BORDER-BOTTOM: #c0c0c0 1px solid" cellSpacing=2 cellPadding=3 width="100%" align=center border=0 id="fields_block{$id}">

<tr>
<td rowspan=4 width=150>{$Picture_value}</td>
<td>{$Category_value}&nbsp;>>&nbsp;{$Subcategory_value}</td>
<td width=150><a href="##@TABLE.strShortTableName##_list.##@ext##?a=return">##message BACK_TO_LIST##</a></td>
</tr>
<tr>
<td><b>{$Title_value}</b></td>
<td></td>
</tr>
<tr>
<td><i>Posted on {$Posted_value}</i></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>{$Details_value}</td>
<td>&nbsp;</td>
</tr>
<tr><td colspan=3>
<div align=left><hr width=100% noshade size=1></div>
{$show_Fullinfo}</td></tr>

##foreach Fields as @f filter @f.bViewPage && @f.strName!="Picture" && @f.strName!="Category" && @f.strName!="Subcategory" && @f.strName!="Title" && @f.strName!="Posted" && @f.strName!="Details" && @f.strName!="Fullinfo" && @f.strName!="ID" order @f.nViewPageOrder##
{BEGIN ##@f.strName g##_fieldblock}
  <tr><td colspan=3>##@f.strLabel h##</td><td width=250>
    {$##@f.strName g##_value}&nbsp;
  </td></tr>
{END ##@f.strName g##_fieldblock}  
##endfor##
<tr><td colspan=3 align=right>
<a target=_blank href="clreply_add.##@ext##">Send Reply</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a target=_blank href="clmain_print.##@ext##?a=delete&mdelete[]=1&mdelete1[]={$show_key1}">View Printer-friendly page</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a target=_blank href="clreplyfriend_add.##@ext##">Send to Friend</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr>
</table>
</td></tr></table>
{END body}
{$footer}

</body>
</html>