<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>
.grid_block {  
margin-top:5px;
align:center;
width:95%;
border:none;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: 1px solid black;
}
.grid_block .gridspacing {width:20px;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
#selpage{margin-left:30px;}
table {  border-collapse: collapse} 
A.link8
{
    FONT-SIZE: 8pt;
    COLOR: #4b4b4b;
    FONT-FAMILY: Tahoma, Arial, Helvetica, sans serif;
    TEXT-DECORATION: none;
}
A.kb8
{
    FONT-SIZE: 8pt;
    COLOR: blue;
    FONT-FAMILY: Arial, Helvetica, sans serif;
    TEXT-DECORATION: underline;
}
</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##

<h1>##@TABLE.strCaption h##</h1>
{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 align="center" cellpadding=0 class="grid_block">
{BEGIN grid_header}
<tr>
{BEGIN record_header}
<td colspan=2 height=20 class=blackshade>&nbsp;&nbsp;<font color=#4b4b4b>Knowledge Base > {$Category_value} > {$Title_value}</font></td></tr>
<tr><td colspan=2 height=24>&nbsp;&nbsp;<font size=2><b>{$Title_value}</b></font></td></tr>
<tr>
<td valign=top class=shade width=20%><br>
##foreach Fields as @f filter @f.bViewPage && (@f.strName=="ArticleID" || @f.strName=="Type" || @f.strName=="Views" || @f.strName=="DateCreated") order @f.nViewPageOrder##
	&nbsp;&nbsp;##@f.strLabel h##:&nbsp;{$##@f.strName g##_value}<br><br>
##endfor##
</td>

<td valign=top width=80% style="padding:0px;">
<table cellpadding=0 cellspacing=0 border=0 height=100% valign=top width=99.9%>
##foreach Fields as @f filter @f.bPrinterPage && (@f.strName=="Problem" || @f.strName=="Solution") order @f.nPrinterPageOrder##
<tr><td class=shade style="padding:5px;border:none;"><b>##@f.strLabel h##</b></td></tr>
<tr><td height=50% style="padding:5px;border:none;">{$##@f.strName g##_value}</td></tr>
##endfor##
</table>
</td>
</tr>
<tr>
##foreach Fields as @f filter @f.bPrinterPage && @f.strName!="Category" && @f.strName!="ArticleID" && @f.strName!="Title" && @f.strName!="Type" && @f.strName!="Views" && @f.strName!="DateCreated" && @f.strName!="Solution" && @f.strName!="Problem" order @f.nPrinterPageOrder##
{BEGIN ##@f.strName g##_fieldheadercolumn}
	<td>
{BEGIN ##@f.strName g##_fieldheader}
	<b>##@f.strLabel h##</b>
{END ##@f.strName g##_fieldheader}
	</td>
{END ##@f.strName g##_fieldheadercolumn}
##endfor##		

{END record_header}
</tr>
{END grid_header}
{BEGIN grid_row}
<tr valign=top {$rowstyle} {$rowattrs}>
{BEGIN grid_record}
##foreach Fields as @f filter @f.bPrinterPage && @f.strName!="Category" && @f.strName!="ArticleID" && @f.strName!="Title" && @f.strName!="Type" && @f.strName!="Views" && @f.strName!="DateCreated" && @f.strName!="Solution" && @f.strName!="Problem" order @f.nPrinterPageOrder##
{BEGIN ##@f.strName g##_fieldcolumn}
<td {$##@f.strName g##_style}>
{$##@f.strName g##_value}
</td>
{END ##@f.strName g##_fieldcolumn}
##endfor##
{END grid_record}
</tr>
{END grid_row}
</table>
{END grid_block}
{$footer}
{END page}
{END body}
</body>
</html>