<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>
table {  border-collapse: collapse} 
td { 
 padding: 5px; 
 margin: 0px; 
 border-width: 1px; 
 border-style: solid; 
 border-color: #000000; 
}
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border:none;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid black 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
#selpage{margin-left:30px;}
</style> 
</head>
<body style="background-color:white">
{BEGIN body}
{BEGIN page}
{$header}
##if @TABLE.arrMasterTables.len##
{BEGIN mastertable_block}
<div id="mastertable_block">
{$showmasterfile}
</div>
{END mastertable_block}
##endif##

{BEGIN page_number}
<div id='selpage'>##message PAGE1## {$pageno} ##message PAGE2## {$maxpages} </div>
{END page_number}
##if @BUILDER.bViewPDF##
{BEGIN pdf_block}
{BEGIN pdflink_block}
<a href=# class=pdf {$pdflink_attrs}>##message PDF_VIEW##</a>
{END pdflink_block}
{END pdf_block}
##endif##

{BEGIN grid_block}
<table cellpadding=2 border=0 cellspacing=0 width=100%>
{BEGIN grid_row}
<tr><td>
{BEGIN grid_record}
<table cellpadding=2 border=0 cellspacing=0 style="border: solid; border-width: 1px; border-color: #000000;" width=100%>
<tr>
<td width=150 rowspan=4>
{$Picture_value}
</td>
<td>{$Category_value}&nbsp;>>&nbsp;{$Subcategory_value}</td>
</tr>
<tr>
<td>{$Title_value}</td>
</tr>
<tr>
<td>{$Price_value}</td>
</tr>
<tr>
<td>{$Details_value}</td>
</tr>
<tr><td colspan=2>{$Fullinfo_value}&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.bPrinterPage order @f.nPrinterPageOrder##
{BEGIN ##@f.strName g##_fieldcolumn}
<tr valign=top {$rowstyle} {$rowattrs}>
<td width=150 class=shade>##@f.strLabel h##</td>
<td>
{$##@f.strName g##_value}
</td></tr>
{END ##@f.strName g##_fieldcolumn}
##endfor##
</table>
{BEGIN endrecordtotals_block}
<td style="border:0px solid white">&nbsp;</td>
{END endrecordtotals_block}
{END grid_record}
</td></tr>
{END grid_row}
</table>
{END grid_block}
{$footer}
{END page}
{END body}
</body>
</html>