<!DOCTYPE html>
<HTML {$html_attrs}><HEAD><TITLE>{$pagetitle}</TITLE>
<META content=IE=7 http-equiv=X-UA-Compatible>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><LINK rel=stylesheet type=text/css href="styles/default.css">{BEGIN rtlCSS}<LINK rel=stylesheet type=text/css href="styles/defaultRTL.css">{END rtlCSS}{BEGIN styleCSSFiles}<LINK rel=stylesheet type=text/css href="{$stylepath}">{END styleCSSFiles}{BEGIN pageCSSFiles}<LINK rel=stylesheet type=text/css href="{$pagestylepath}">{END pageCSSFiles}<!--[if IE]><LINK rel=stylesheet type=text/css href="styles/defaultIE.css">{BEGIN IEcssFiles}<LINK rel=stylesheet type=text/css href="{$stylepathIE}">{END IEcssFiles}<![endif]-->
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
<BODY class="{$stylename}" {$bodyattrs}>{BEGIN body}{$header} 
<TABLE class=runner-toptable cellPadding=0><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 class=runner-hc cellPadding=0 border=0><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></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 class=runner-hc cellPadding=0 border=0><TR>{BEGIN searchform_block}<TD class="runner-cc runner-bl runner-b-search" {$brickclass_search}><SPAN><SPAN>{BEGIN searchform_text}<INPUT style="HEIGHT: 23px; WIDTH: 168px" size=22 {$searchfor_attrs}>{END searchform_text} &nbsp; {BEGIN searchform_search}<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button-img href="#" {$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 class=runner-button href="#" {$showallbutton_attrs}>Mostrar 
                  todo</A> </SPAN>{END searchform_showall}</SPAN></SPAN></TD>
                {END searchform_block}<TD class="runner-cc filler"><STRONG><FONT 
                  size=5>Artículos</FONT></STRONG></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 class=runner-button href="#" {$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><!-- Permissions -->
            {END logoutbutton}{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_recordcontrols}<TABLE class="runner-c runner-c-recordcontrols" cellPadding=0><TR class="{$cheaderclass_recordcontrols}"><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 class=runner-hc cellPadding=0 border=0><TR>{BEGIN newrecord_controls_block}<TD class="runner-cc runner-bl runner-b-recordcontrols_new" {$brickclass_recordcontrols_new}><SPAN>{BEGIN add_link}<span class="runner-btnframe"><span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" class="runner-button" {$addlink_attrs}>Añadir nuevo</a>
		</span>
	{END add_link}

		{BEGIN inlineadd_link}<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="#" {$inlineaddlink_attrs}>Añadir 
                  nuevo</A> </SPAN>{END inlineadd_link}</SPAN></TD>
                {END newrecord_controls_block}<TD class="runner-cc filler"></TD></TR></TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="{$cfooterclass_recordcontrols}"><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_recordcontrols}
      {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 class=runner-hc cellPadding=0 border=0><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 nombre_fieldheadercolumn}<TH class="runner-cc ">{BEGIN nombre_fieldheader}<A {$nombre_orderlinkattrs}>Nombre </A>{END nombre_fieldheader}</TH>
          {END nombre_fieldheadercolumn}

																	{BEGIN prefijo_cod_fieldheadercolumn}<th class="runner-cc ">{BEGIN prefijo_cod_fieldheader}<a {$prefijo_cod_orderlinkattrs}>
											Prefijo Cod
										</a>
									{END prefijo_cod_fieldheader}
									</th>
									{END prefijo_cod_fieldheadercolumn}

																	{BEGIN sufijo_cod_fieldheadercolumn}<th class="runner-cc ">{BEGIN sufijo_cod_fieldheader}<a {$sufijo_cod_orderlinkattrs}>
											Sufijo código
										</a>
									{END sufijo_cod_fieldheader}
									</th>
									{END sufijo_cod_fieldheadercolumn}{BEGIN codigo_fieldheadercolumn}<TH class="runner-cc ">{BEGIN codigo_fieldheader}<A {$codigo_orderlinkattrs}>Código </A>{END codigo_fieldheader}</TH>
          {END codigo_fieldheadercolumn}{BEGIN idcategoria_fieldheadercolumn}<TH class="runner-cc ">{BEGIN idcategoria_fieldheader}<A {$idcategoria_orderlinkattrs}>Categoria </A>{END idcategoria_fieldheader}</TH>
          {END idcategoria_fieldheadercolumn}{BEGIN idsubcategoria_fieldheadercolumn}<TH class="runner-cc ">{BEGIN idsubcategoria_fieldheader}<A {$idsubcategoria_orderlinkattrs}>Sub Categoria </A>{END idsubcategoria_fieldheader}</TH>
          {END idsubcategoria_fieldheadercolumn}{BEGIN stock_fieldheadercolumn}<TH class="runner-cc ">{BEGIN stock_fieldheader}<A {$stock_orderlinkattrs}>Stock </A>{END stock_fieldheader}</TH>
          {END stock_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 idproveedor_fieldheadercolumn}<TH class="runner-cc ">{BEGIN idproveedor_fieldheader}<A {$idproveedor_orderlinkattrs}>Proveedor </A>{END idproveedor_fieldheader}</TH>
          {END idproveedor_fieldheadercolumn}{BEGIN fecha_carga_fieldheadercolumn}<TH class="runner-cc ">{BEGIN fecha_carga_fieldheader}<A {$fecha_carga_orderlinkattrs}>Fecha Carga </A>{END fecha_carga_fieldheader}</TH>
          {END fecha_carga_fieldheadercolumn}{BEGIN observacion_fieldheadercolumn}<TH class="runner-cc runner-clast">{BEGIN observacion_fieldheader}<A {$observacion_orderlinkattrs}>Observación </A>{END observacion_fieldheader}</TH>
          {END observacion_fieldheadercolumn}<TH class=runner-cr><IMG src="images/spacer.gif"></TH>
          {BEGIN endrecordheader_block}<TH class=runner-cs></TH>{END endrecordheader_block}{END record_header}</TR>{END grid_header}</THEAD>
        {BEGIN grid_row}<TR class="runner-row style1 {$rowclass}" {$rowstyle} {$rowattrs}>{BEGIN grid_record}<TD class=runner-cl {$rowstyle}></TD>
          {BEGIN nombre_fieldcolumn}<TD class="runner-cc  {$nombre_class}" {$nombre_style}>{$nombre_value}</TD>
          {END nombre_fieldcolumn}

	{BEGIN prefijo_cod_fieldcolumn}<td class="runner-cc  {$prefijo_cod_class}" {$prefijo_cod_style}>{$prefijo_cod_value}
	</td>
{END prefijo_cod_fieldcolumn}

	{BEGIN sufijo_cod_fieldcolumn}<td class="runner-cc  {$sufijo_cod_class}" {$sufijo_cod_style}>{$sufijo_cod_value}
	</td>
{END sufijo_cod_fieldcolumn}{BEGIN codigo_fieldcolumn}<TD class="runner-cc  {$codigo_class}" {$codigo_style}>{$codigo_value}</TD>
          {END codigo_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 stock_fieldcolumn}<TD class="runner-cc  {$stock_class}" {$stock_style}>{$stock_value}</TD>
          {END stock_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 idproveedor_fieldcolumn}<TD class="runner-cc  {$idproveedor_class}" {$idproveedor_style}>{$idproveedor_value}</TD>
          {END idproveedor_fieldcolumn}{BEGIN fecha_carga_fieldcolumn}<TD class="runner-cc  {$fecha_carga_class}" {$fecha_carga_style}>{$fecha_carga_value}</TD>
          {END fecha_carga_fieldcolumn}{BEGIN observacion_fieldcolumn}<TD class="runner-cc runner-clast {$observacion_class}" {$observacion_style}>{$observacion_value}</TD>
          {END observacion_fieldcolumn}<TD class=runner-cr {$rowstyle}></TD>
          {BEGIN endrecord_block}<TD class=runner-cs {$endrecordblock_attrs}></TD>{END endrecord_block}{END grid_record}</TR>
        {END grid_row}{BEGIN grid_footer}{BEGIN totals_row}<TR class="runner-row footer style1 {$gridFooter_class}">{BEGIN totals_record}<TD class=runner-cl></TD>
          {BEGIN nombre_fieldfootercolumn}<TD class="runner-cc  {$nombre_class}"></TD>
          {END nombre_fieldfootercolumn}
	{BEGIN prefijo_cod_fieldfootercolumn}<td class="runner-cc  {$prefijo_cod_class}"></td>
{END prefijo_cod_fieldfootercolumn}
	{BEGIN sufijo_cod_fieldfootercolumn}<td class="runner-cc  {$sufijo_cod_class}"></td>
{END sufijo_cod_fieldfootercolumn}{BEGIN codigo_fieldfootercolumn}<TD class="runner-cc  {$codigo_class}"></TD>
          {END codigo_fieldfootercolumn}{BEGIN idcategoria_fieldfootercolumn}<TD class="runner-cc  {$idcategoria_class}"></TD>
          {END idcategoria_fieldfootercolumn}{BEGIN idsubcategoria_fieldfootercolumn}<TD class="runner-cc  {$idsubcategoria_class}"></TD>
          {END idsubcategoria_fieldfootercolumn}{BEGIN stock_fieldfootercolumn}<TD class="runner-cc  {$stock_class}">{BEGIN stock_showtotal}
            Total: {$stock_total}{END stock_showtotal}</TD>
          {END stock_fieldfootercolumn}{BEGIN costo_fieldfootercolumn}<TD class="runner-cc  {$costo_class}"></TD>
          {END costo_fieldfootercolumn}{BEGIN precio_fieldfootercolumn}<TD class="runner-cc  {$precio_class}"></TD>
          {END precio_fieldfootercolumn}{BEGIN idproveedor_fieldfootercolumn}<TD class="runner-cc  {$idproveedor_class}"></TD>
          {END idproveedor_fieldfootercolumn}{BEGIN fecha_carga_fieldfootercolumn}<TD class="runner-cc  {$fecha_carga_class}"></TD>
          {END fecha_carga_fieldfootercolumn}{BEGIN observacion_fieldfootercolumn}<TD class="runner-cc runner-clast {$observacion_class}"></TD>
          {END observacion_fieldfootercolumn}<TD class=runner-cr></TD>
          {BEGIN endrecordtotals_block}<TD class=runner-cs></TD>{END endrecordtotals_block}{END totals_record}</TR>
        {END totals_row}<TR class="runner-bottomrow style1{$gridFooter_class}">{BEGIN record_footer}<TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          {BEGIN nombre_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END nombre_fieldheadercolumn}
{BEGIN prefijo_cod_fieldheadercolumn}<td class="runner-cc "></td>
{END prefijo_cod_fieldheadercolumn}
{BEGIN sufijo_cod_fieldheadercolumn}<td class="runner-cc "></td>
{END sufijo_cod_fieldheadercolumn}{BEGIN codigo_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END codigo_fieldheadercolumn}{BEGIN idcategoria_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END idcategoria_fieldheadercolumn}{BEGIN idsubcategoria_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END idsubcategoria_fieldheadercolumn}{BEGIN stock_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END stock_fieldheadercolumn}{BEGIN costo_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END costo_fieldheadercolumn}{BEGIN precio_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END precio_fieldheadercolumn}{BEGIN idproveedor_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END idproveedor_fieldheadercolumn}{BEGIN fecha_carga_fieldheadercolumn}<TD class="runner-cc "></TD>
          {END fecha_carga_fieldheadercolumn}{BEGIN observacion_fieldheadercolumn}<TD class="runner-cc runner-clast"></TD>
          {END observacion_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}</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 class=runner-hc cellPadding=0 border=0><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>
