<!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>
					



{BEGIN container_toplinks}
<table class="runner-c runner-c-toplinks" cellpadding="0" >
<tr class="{$cheaderclass_toplinks}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
<tr class="runner-row style1">
<td class="runner-cl"></td>
<td class="runner-cc">
<table border="0" cellpadding="0" class="runner-hc">
<tr>
<td class="runner-cc filler"></td>

{BEGIN asearch_link}
<td  class="runner-cc runner-br runner-b-toplinks_advsearch" {$brickclass_toplinks_advsearch}><span>	<span class="runner-btnframe">
	<span class="runner-btnleft"></span>
	<span class="runner-btnright"></span>
	<a href="#" class="runner-button" {$advsearchlink_attrs}>Búsqueda avanzada</a>
	</span>
</span></td>
{END asearch_link}





</tr>
</table></td>
<td class="runner-cr"></td>
</tr>

<tr class="{$cfooterclass_toplinks}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
</table>
{END container_toplinks}



{BEGIN container_search}
<table class="runner-c runner-c-search" cellpadding="0" >
<tr class="{$cheaderclass_search}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
<tr class="runner-row style1">
<td class="runner-cl"></td>
<td class="runner-cc">
<table border="0" cellpadding="0" class="runner-hc">
<tr>

{BEGIN searchform_block}
<td  class="runner-cc runner-bl runner-b-search" {$brickclass_search}><span>	<span>
		{BEGIN searchform_text}
		<input type="text" {$searchfor_attrs} size="25">
		{END searchform_text}
		&nbsp;
		{BEGIN searchform_search}
		<span class="runner-btnframe">
			<span class="runner-btnleft"></span>
			<span class="runner-btnright"></span>
			<a href="#" class="runner-button-img" {$searchbutton_attrs}><img src="images/search/search.gif"></a>
		</span>
		{END searchform_search}
		&nbsp;
		{BEGIN searchform_showall}
		
		<span class="runner-btnframe" {$showAllCont_attrs}>
			<span class="runner-btnleft"></span>
			<span class="runner-btnright"></span>
			<a href="#" class="runner-button" {$showallbutton_attrs}>Mostrar todo</a>
		</span>
		{END searchform_showall}
	</span>
</span></td>
{END searchform_block}


{BEGIN searchformbuttons_block}
<td  class="runner-cc runner-bl runner-b-search_buttons" {$brickclass_search_buttons}><span>	{BEGIN searchPanelTopButtons}
	<span>
		&nbsp;
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" class="runner-button-img" id="showSrchWin{$id}" {$showHideSearchWin_attrs}><img src="images/search/showWindowPin.gif"></a>
		</span>
		&nbsp;		
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" class="runner-button-img" id="showOptPanel{$id}" {$showHideSearchPanel_attrs}><img src="images/search/showOptions.gif"></a>
		</span>
	</span>
	{END searchPanelTopButtons}
</span></td>
{END searchformbuttons_block}

<td class="runner-cc filler"></td>
{BEGIN details_block}
<td  class="runner-cc runner-br runner-b-details_found" {$brickclass_details_found}><span>	<span {$details_attrs}>
		Detalles encontrados: <b><span class="runner-details_found_count">{$records_found}</span></b>
	</span>
</span></td>
{END details_block}


{BEGIN pages_block}
<td  class="runner-cc runner-br runner-b-page_of" {$brickclass_page_of}><span>	<span {$pages_attrs}>
		Página <b>{$page}</b> / <b>{$maxpages}</b>
	</span>

</span></td>
{END pages_block}


{BEGIN recordspp_block}
<td  class="runner-cc runner-br runner-b-recsperpage" {$brickclass_recsperpage}><span>	<span id="recordspp_block{$id}" name="recordspp_block{$id}">
			Resultados por página:&nbsp;{$recsPerPage}
	</span>	
</span></td>
{END recordspp_block}


</tr>
</table></td>
<td class="runner-cr"></td>
</tr>

<tr class="{$cfooterclass_search}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
</table>
{END container_search}


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



{BEGIN container_logg}
<table class="runner-c runner-c-logg" cellpadding="0" >
<tr class="{$cheaderclass_logg}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>

{BEGIN security_block}
<tr  class="runner-row style1 runner-b-loggedas {$brickclass_loggedas}"><td class="runner-cl"></td><td class="runner-cc runner-brickcontents" ><div id="login_block{$id}">
	{BEGIN loggedas_message}
	<span>Conectado como&nbsp;<b>{$username}</b><br><br>
	</span>
	{END loggedas_message}
	{BEGIN guestloginbutton}
	<span class="runner-btnframe">
	<span class="runner-btnleft"></span>
	<span class="runner-btnright"></span>
	<a href="#" class="runner-button" {$guestloginlink_attrs}>Conectar</a>
	</span>
	{END guestloginbutton}
	{BEGIN logoutbutton}
	<span class="runner-btnframe">
	<span class="runner-btnleft"></span>
	<span class="runner-btnright"></span>
	<a class="runner-button" href="login.php?a=logout" {$logoutlink_attrs}>Desconectarse</a>
	</span>
	{END logoutbutton}
<!-- Permissions -->
   {BEGIN adminarea_link}
<div>
	<span class="runner-btnframe">
	<span class="runner-btnleft"></span>
	<span class="runner-btnright"></span>
	<a class="runner-button" href="admin_rights_list.php" {$adminarealink_attrs}>Area Admin</a>
	</span>
</div>
  {END adminarea_link}
{BEGIN changepwd_link}
<div>
	<span class="runner-btnframe">
	<span class="runner-btnleft"></span>
	<span class="runner-btnright"></span>
	<a class="runner-button" href="changepwd.php" {$changepwdlink_attrs}>Cambiar contraseña</a>
	</span>
</div>
{END changepwd_link}
</div>
</td><td class="runner-cr"></td></tr>{END security_block}


<tr class="{$cfooterclass_logg}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
</table>
{END container_logg}



{BEGIN container_left}
<table class="runner-c runner-c-left" cellpadding="0" >
<tr class="{$cheaderclass_left}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>

{BEGIN searchPanel}
<tr  class="runner-row style1 runner-b-searchpanel {$brickclass_searchpanel}"><td class="runner-cl"></td><td class="runner-cc runner-brickcontents" ><div class="searchPanelContainer">
{$adv_search_panel}
</div></td><td class="runner-cr"></td></tr>{END searchPanel}


{BEGIN menu_block}
{$mainmenu}
{END menu_block}


<tr class="{$cfooterclass_left}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
</table>
{END container_left}


				</td>	
				
				<td class="runner-center {$blockclass_center}">
					



{BEGIN container_message}
<table class="runner-c runner-c-message" cellpadding="0" >
<tr class="{$cheaderclass_message}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
<tr class="runner-row style1">
<td class="runner-cl"></td>
<td class="runner-cc">
<table border="0" cellpadding="0" class="runner-hc">
<tr>

{BEGIN message_block}
<td  class="runner-cc runner-bc runner-b-message" {$brickclass_message}><span><div class="runner-message">{$message}</div></span></td>
{END message_block}


</tr>
</table></td>
<td class="runner-cr"></td>
</tr>

<tr class="{$cfooterclass_message}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
</table>
{END container_message}



{BEGIN container_grid}


{BEGIN grid_block}
						<table class="runner-c runner-c-grid runner-b-grid" cellpadding="0" >
						<thead>
															{BEGIN grid_header}
								<tr class="runner-toprow style1 {$gridHeader_class}" >
									{BEGIN record_header}
									<th class="runner-cl"><img src="images/spacer.gif"></th>
																		{BEGIN listIcons_column}
									<th class="runner-cc" iEditCont="all">&nbsp;</th>
									{END listIcons_column}	

									
																										{BEGIN idarticulo_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN idarticulo_fieldheader}
																				<a {$idarticulo_orderlinkattrs}>
											Idarticulo
										</a>
									{END idarticulo_fieldheader}
									</th>
									{END idarticulo_fieldheadercolumn}

																	{BEGIN codigo_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN codigo_fieldheader}
																				<a {$codigo_orderlinkattrs}>
											Codigo
										</a>
									{END codigo_fieldheader}
									</th>
									{END codigo_fieldheadercolumn}

																	{BEGIN idgrupo_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN idgrupo_fieldheader}
																				<a {$idgrupo_orderlinkattrs}>
											Idgrupo
										</a>
									{END idgrupo_fieldheader}
									</th>
									{END idgrupo_fieldheadercolumn}

																	{BEGIN idcategoria_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN idcategoria_fieldheader}
																				<a {$idcategoria_orderlinkattrs}>
											Idcategoria
										</a>
									{END idcategoria_fieldheader}
									</th>
									{END idcategoria_fieldheadercolumn}

																	{BEGIN idsubcategoria_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN idsubcategoria_fieldheader}
																				<a {$idsubcategoria_orderlinkattrs}>
											Idsubcategoria
										</a>
									{END idsubcategoria_fieldheader}
									</th>
									{END idsubcategoria_fieldheadercolumn}

																	{BEGIN nombre_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN nombre_fieldheader}
																				<a {$nombre_orderlinkattrs}>
											Nombre
										</a>
									{END nombre_fieldheader}
									</th>
									{END nombre_fieldheadercolumn}

																	{BEGIN stock_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN stock_fieldheader}
																				<a {$stock_orderlinkattrs}>
											Stock
										</a>
									{END stock_fieldheader}
									</th>
									{END stock_fieldheadercolumn}

																	{BEGIN proveedor_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN proveedor_fieldheader}
																				<a {$proveedor_orderlinkattrs}>
											Proveedor
										</a>
									{END proveedor_fieldheader}
									</th>
									{END proveedor_fieldheadercolumn}

																	{BEGIN fecha_alta_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN fecha_alta_fieldheader}
																				<a {$fecha_alta_orderlinkattrs}>
											Fecha Alta
										</a>
									{END fecha_alta_fieldheader}
									</th>
									{END fecha_alta_fieldheadercolumn}

																	{BEGIN costo_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN costo_fieldheader}
																				<a {$costo_orderlinkattrs}>
											Costo
										</a>
									{END costo_fieldheader}
									</th>
									{END costo_fieldheadercolumn}

																	{BEGIN precio_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN precio_fieldheader}
																				<a {$precio_orderlinkattrs}>
											Precio
										</a>
									{END precio_fieldheader}
									</th>
									{END precio_fieldheadercolumn}

																	{BEGIN observacion_fieldheadercolumn}
									<th class="runner-cc ">
									{BEGIN observacion_fieldheader}
																				<a {$observacion_orderlinkattrs}>
											Observacion
										</a>
									{END observacion_fieldheader}
									</th>
									{END observacion_fieldheadercolumn}

																	{BEGIN estado_fieldheadercolumn}
									<th class="runner-cc runner-clast">
									{BEGIN estado_fieldheader}
																				<a {$estado_orderlinkattrs}>
											Estado
										</a>
									{END estado_fieldheader}
									</th>
									{END estado_fieldheadercolumn}


									
									<th class="runner-cr"><img src="images/spacer.gif"></th>
									{BEGIN endrecordheader_block}
									<th class="runner-cs">&nbsp;</th>
									
									{END endrecordheader_block}
									
									{END record_header}
									
								</tr>
								{END grid_header}

						</thead>
						<tbody>	
															{BEGIN grid_row}
								<tr class="runner-row style1 {$rowclass}" {$rowattrs} {$rowstyle}>
									{BEGIN grid_record}
									<td class="runner-cl" {$rowstyle}></td>

																		{BEGIN listIcons_column}
									<td class="runner-cc runner-bc runner-icons" iEditCont="all" {$rowstyle}>
									
									
									
																		</td>	
									{END listIcons_column}	

									

										{BEGIN idarticulo_fieldcolumn}
	<td class="runner-cc  {$idarticulo_class}" {$idarticulo_style}>
		{$idarticulo_value}
	</td>
{END idarticulo_fieldcolumn}

	{BEGIN codigo_fieldcolumn}
	<td class="runner-cc  {$codigo_class}" {$codigo_style}>
		{$codigo_value}
	</td>
{END codigo_fieldcolumn}

	{BEGIN idgrupo_fieldcolumn}
	<td class="runner-cc  {$idgrupo_class}" {$idgrupo_style}>
		{$idgrupo_value}
	</td>
{END idgrupo_fieldcolumn}

	{BEGIN idcategoria_fieldcolumn}
	<td class="runner-cc  {$idcategoria_class}" {$idcategoria_style}>
		{$idcategoria_value}
	</td>
{END idcategoria_fieldcolumn}

	{BEGIN idsubcategoria_fieldcolumn}
	<td class="runner-cc  {$idsubcategoria_class}" {$idsubcategoria_style}>
		{$idsubcategoria_value}
	</td>
{END idsubcategoria_fieldcolumn}

	{BEGIN nombre_fieldcolumn}
	<td class="runner-cc  {$nombre_class}" {$nombre_style}>
		{$nombre_value}
	</td>
{END nombre_fieldcolumn}

	{BEGIN stock_fieldcolumn}
	<td class="runner-cc  {$stock_class}" {$stock_style}>
		{$stock_value}
	</td>
{END stock_fieldcolumn}

	{BEGIN proveedor_fieldcolumn}
	<td class="runner-cc  {$proveedor_class}" {$proveedor_style}>
		{$proveedor_value}
	</td>
{END proveedor_fieldcolumn}

	{BEGIN fecha_alta_fieldcolumn}
	<td class="runner-cc  {$fecha_alta_class}" {$fecha_alta_style}>
		{$fecha_alta_value}
	</td>
{END fecha_alta_fieldcolumn}

	{BEGIN costo_fieldcolumn}
	<td class="runner-cc  {$costo_class}" {$costo_style}>
		{$costo_value}
	</td>
{END costo_fieldcolumn}

	{BEGIN precio_fieldcolumn}
	<td class="runner-cc  {$precio_class}" {$precio_style}>
		{$precio_value}
	</td>
{END precio_fieldcolumn}

	{BEGIN observacion_fieldcolumn}
	<td class="runner-cc  {$observacion_class}" {$observacion_style}>
		{$observacion_value}
	</td>
{END observacion_fieldcolumn}

	{BEGIN estado_fieldcolumn}
	<td class="runner-cc runner-clast {$estado_class}" {$estado_style}>
		{$estado_value}
	</td>
{END estado_fieldcolumn}


																		<td class="runner-cr" {$rowstyle}></td>
									{BEGIN endrecord_block}
									<td class="runner-cs" {$endrecordblock_attrs}>&nbsp;</td>
									{END endrecord_block}
																	
									{END grid_record}

								</tr>
								{END grid_row}
															{BEGIN grid_footer}
																<tr class="runner-bottomrow style1{$gridFooter_class}" >
									{BEGIN record_footer}
									<td class="runner-cl"><img src="images/spacer.gif"></td>
																		{BEGIN listIcons_column}
									<td class="runner-cc"></td>
									{END listIcons_column}	
									
									

									{BEGIN idarticulo_fieldheadercolumn}
<td class="runner-cc "></td>
{END idarticulo_fieldheadercolumn}
{BEGIN codigo_fieldheadercolumn}
<td class="runner-cc "></td>
{END codigo_fieldheadercolumn}
{BEGIN idgrupo_fieldheadercolumn}
<td class="runner-cc "></td>
{END idgrupo_fieldheadercolumn}
{BEGIN idcategoria_fieldheadercolumn}
<td class="runner-cc "></td>
{END idcategoria_fieldheadercolumn}
{BEGIN idsubcategoria_fieldheadercolumn}
<td class="runner-cc "></td>
{END idsubcategoria_fieldheadercolumn}
{BEGIN nombre_fieldheadercolumn}
<td class="runner-cc "></td>
{END nombre_fieldheadercolumn}
{BEGIN stock_fieldheadercolumn}
<td class="runner-cc "></td>
{END stock_fieldheadercolumn}
{BEGIN proveedor_fieldheadercolumn}
<td class="runner-cc "></td>
{END proveedor_fieldheadercolumn}
{BEGIN fecha_alta_fieldheadercolumn}
<td class="runner-cc "></td>
{END fecha_alta_fieldheadercolumn}
{BEGIN costo_fieldheadercolumn}
<td class="runner-cc "></td>
{END costo_fieldheadercolumn}
{BEGIN precio_fieldheadercolumn}
<td class="runner-cc "></td>
{END precio_fieldheadercolumn}
{BEGIN observacion_fieldheadercolumn}
<td class="runner-cc "></td>
{END observacion_fieldheadercolumn}
{BEGIN estado_fieldheadercolumn}
<td class="runner-cc runner-clast"></td>
{END estado_fieldheadercolumn}

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

						</tbody>
					</table>
					

{END grid_block}



{END container_grid}



{BEGIN container_pagination}
<table class="runner-c runner-c-pagination" cellpadding="0" >
<tr class="{$cheaderclass_pagination}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
<tr class="runner-row style1">
<td class="runner-cl"></td>
<td class="runner-cc">
<table border="0" cellpadding="0" class="runner-hc">
<tr>

{BEGIN pagination_block}
<td  class="runner-cc runner-bc runner-b-pagination" {$brickclass_pagination}><span>{$pagination}</span></td>
{END pagination_block}


</tr>
</table></td>
<td class="runner-cr"></td>
</tr>

<tr class="{$cfooterclass_pagination}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
</table>
{END container_pagination}


				</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>
