<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:95%;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=100%><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 cellpadding=4 cellspacing=2 border=0 id="fields_block{$id}" style="border: solid; border-width: 1px; border-color: #C0C0C0;" width=100%>

<tr>
<td width=150 rowspan=4>
{$Picture_value}
</td>
<td>{$Category_value}&nbsp;>>&nbsp;{$Subcategory_value}</td>
<td width=70><a href="##@TABLE.strShortTableName##_list.##@ext##?a=return">##message BACK_TO_LIST##</a></td>
</tr>
<tr>
<td>{$Title_value}</td>
<td></td>
</tr>
<tr>
<td>{$Price_value}</td>
<td></td>
</tr>
<tr>
<td>{$Details_value}</td>
<td>{$but_value}</td>
</tr>
<tr><td colspan=3>
<div align=left><hr width=100% noshade size=1></div>
{$Fullinfo_value}</td></tr>
<tr><td colspan=3 align=right>
<A href="ppmain_print.##@ext##?a=delete&amp;mdelete[]=1&mdelete1[]={$show_key1}" target=_blank>View Printer-friendly page</A>
&nbsp;&nbsp;&nbsp;
</td></tr>

##foreach Fields as @f filter  @f.strName!="but" && @f.strName!="Picture" && @f.strName!="Category" && @f.strName!="Subcategory" && @f.strName!="Details" && @f.strName!="Price" && @f.strName!="Title" && @f.strName!="Fullinfo" && @f.bViewPage order @f.nViewPageOrder##
{BEGIN ##@f.strName g##_fieldblock}
  <tr><td class=shade width=150>##@f.strLabel h##</td><td colspan=2>
    {$##@f.strName g##_value}&nbsp;
  </td></tr>
{END ##@f.strName g##_fieldblock}  
##endfor##
</table>

</td></tr></table>
{END body}
{$footer}
{$info}
</body>
</html>