<!doctype html>
<html  {$html_attrs}>
	<head>
		<title>{$pagetitle}</title>
		<meta http-equiv="X-UA-Compatible" content="IE=7">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link REL="stylesheet" href="styles/default.css" type="text/css">
		{BEGIN rtlCSS}
		<link REL="stylesheet" href="styles/defaultRTL.css" type="text/css">
		{END rtlCSS}
		{BEGIN styleCSSFiles}
		<link REL="stylesheet" href="{$stylepath}" type="text/css">
		{END styleCSSFiles}
		{BEGIN pageCSSFiles}
		<link REL="stylesheet" href="{$pagestylepath}" type="text/css">
		{END pageCSSFiles}
		<!--[if IE]>
			<link REL="stylesheet" href="styles/defaultIE.css" type="text/css">
			{BEGIN IEcssFiles}
			<link REL="stylesheet" href="{$stylepathIE}" type="text/css">
			{END IEcssFiles}
		<![endif]-->
	</head>
	
	<body class="{$stylename}" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<table   cellpadding="0" class="runner-toptable">
			<tr class="runner-header">
				<td class="runner-top" colspan=3>
					




				</td>
			</tr>
			<tr class="runner-body">
				
				<td class="runner-left {$blockclass_left}" >
					
				</td>	
				
				<td class="runner-center {$blockclass_center}">
					

{BEGIN container_grid}


{BEGIN grid_block}
{BEGIN page}
<h1>Renking Clientes Total</h1>
<span>
{BEGIN page_number}
Página {$pageno} / {$maxpages} 
{END page_number}
</span>

	<div class="runner-s-grid">	
	<table class="runner-c runner-c-grid" cellpadding="0">
		<thead>
		{BEGIN grid_header}
		<tr class="runner-toprow style1">
			<td class="runner-cl"><img src="images/spacer.gif"></td>
			{BEGIN record_header}
					{BEGIN ranking_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN ranking_fieldheader}
	<b>Ranking</b>
	{END ranking_fieldheader}
</th>
{END ranking_fieldheadercolumn}
	{BEGIN cliente_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN cliente_fieldheader}
	<b>Cliente</b>
	{END cliente_fieldheader}
</th>
{END cliente_fieldheadercolumn}
	{BEGIN cantidad_ventas_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN cantidad_ventas_fieldheader}
	<b>Cantidad Ventas</b>
	{END cantidad_ventas_fieldheader}
</th>
{END cantidad_ventas_fieldheadercolumn}
	{BEGIN monto_total_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN monto_total_fieldheader}
	<b>Monto Total</b>
	{END monto_total_fieldheader}
</th>
{END monto_total_fieldheadercolumn}
		
			{END record_header}
			<td class="runner-cr"><img src="images/spacer.gif"></td>
			{BEGIN endrecordheader_block}
			<td class="runner-cs">&nbsp;</td>
			{END endrecordheader_block}
		</tr>
	{END grid_header}
		</thead>
		<tbody>	
		{BEGIN grid_row}
	<tr class="runner-row style1" {$rowattrs} {$rowstyle} {$rowstyle}>
		<td class="runner-cl"></td>
		{BEGIN grid_record}
				{BEGIN ranking_fieldcolumn}
<td  class="runner-cc {$ranking_class}" {$ranking_style}>
	{$ranking_value}
</td>
{END ranking_fieldcolumn}
	{BEGIN cliente_fieldcolumn}
<td  class="runner-cc {$cliente_class}" {$cliente_style}>
	{$cliente_value}
</td>
{END cliente_fieldcolumn}
	{BEGIN cantidad_ventas_fieldcolumn}
<td  class="runner-cc {$cantidad_ventas_class}" {$cantidad_ventas_style}>
	{$cantidad_ventas_value}
</td>
{END cantidad_ventas_fieldcolumn}
	{BEGIN monto_total_fieldcolumn}
<td  class="runner-cc {$monto_total_class}" {$monto_total_style}>
	{$monto_total_value}
</td>
{END monto_total_fieldcolumn}

		{END grid_record}
		<td class="runner-cr"></td>
		{BEGIN endrecord_block}
		<td class="runner-cs">&nbsp;</td>
		{END endrecord_block}
	</tr>
{END grid_row}
																		{BEGIN totals_row}
								<tr class="runner-row style1">
									<td class="runner-cl"><img src="images/spacer.gif"></td>
									{BEGIN totals_record}
										{BEGIN ranking_fieldfootercolumn}
<td class="runner-cc runner-bc ">
</td>
{END ranking_fieldfootercolumn}
	{BEGIN cliente_fieldfootercolumn}
<td class="runner-cc runner-bc ">
</td>
{END cliente_fieldfootercolumn}
	{BEGIN cantidad_ventas_fieldfootercolumn}
<td class="runner-cc runner-bc ">
</td>
{END cantidad_ventas_fieldfootercolumn}
	{BEGIN monto_total_fieldfootercolumn}
<td class="runner-cc runner-bc runner-clast">
	{BEGIN monto_total_showtotal}
			Total:
	{$monto_total_total}
	{END monto_total_showtotal}
</td>
{END monto_total_fieldfootercolumn}

									{END totals_record}
									<td class="runner-cr"><img src="images/spacer.gif"></td>
									{BEGIN endrecordtotals_block}
									<td class="runner-cs"></td>
									{END endrecordtotals_block}
								</tr>
								{END totals_row}

								<tr class="runner-bottomrow style1">
									<td class="runner-cl"><img src="images/spacer.gif"></td>
									{BEGIN record_footer}
									{BEGIN ranking_fieldfootercolumn}
<td class="runner-cc "></td>
{END ranking_fieldfootercolumn}
{BEGIN cliente_fieldfootercolumn}
<td class="runner-cc "></td>
{END cliente_fieldfootercolumn}
{BEGIN cantidad_ventas_fieldfootercolumn}
<td class="runner-cc "></td>
{END cantidad_ventas_fieldfootercolumn}
{BEGIN monto_total_fieldfootercolumn}
<td class="runner-cc runner-clast"></td>
{END monto_total_fieldfootercolumn}

									{END record_footer}
									<td class="runner-cr"><img src="images/spacer.gif"></td>
									{BEGIN endrecordtotals_block}
									<td class="runner-cs"></td>
									{END endrecordtotals_block}
								</tr>

		</tbody>
	</table>
</div>	
{END page}

{END grid_block}



{END container_grid}


				</td>	

				<td class="runner-right {$blockclass_right}">
					
				</td>	
			</tr>
			<tr class="runner-footer">
				<td class="runner-bottom" colspan=3>
					<!--%%bottom%%-->
				</td>
			</tr>
		</table>
		{$footer}
	{END body}
	</body>
</html>
