<!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 8.00.7601.17514"></HEAD>
<BODY class="{$stylename}" {$bodyattrs}>{BEGIN body}{$header} 
<TABLE style="WIDTH: auto" class=runner-toptable cellPadding=0>
  <TBODY>
  <TR class=runner-header>
    <TD class=runner-top colSpan=3>
      {BEGIN container_toplinks}
      <TABLE class="runner-c runner-c-toplinks" cellPadding=0>
        <TBODY>
        <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 border=0 cellPadding=0>
              <TBODY>
              <TR>
                <TD class="runner-cc filler">
                  </TD>
                {BEGIN prints_block}<TD class="runner-cc runner-br runner-b-toplinks_print" {$brickclass_toplinks_print}>
                  <SPAN>{BEGIN print_link}<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="#" {$printlink_attrs}>Impresora 
                  versión amigable</A> </SPAN>{END print_link}{BEGIN printall_link}<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="#" {$printalllink_attrs}>Imprimir el informe entero</A> 
                  </SPAN>{END printall_link}</SPAN></TD>
                {END prints_block}{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 class=runner-button href="#" {$advsearchlink_attrs}>Búsqueda 
                  avanzada</A> </SPAN></SPAN></TD>
                {END asearch_link}{BEGIN export_link}<TD class="runner-cc runner-br runner-b-toplinks_export_links" {$brickclass_toplinks_export_links}>
                  <SPAN><SPAN id=export_links{$id}><A href="#" 
                  {$excellink_attrs}><IMG border=0 alt="Exportar a Excel" src="images/excel.gif"></A> 
                  <A href="#" {$wordlink_attrs}><IMG border=0 alt="Exportar a Word " src="images/word.gif"></A> 
                  </SPAN></SPAN></TD>{END export_link}</TR></TBODY></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></TBODY></TABLE>{END container_toplinks}
      {BEGIN container_search}
      <TABLE class="runner-c runner-c-search" cellPadding=0>
        <TBODY>
        <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 border=0 cellPadding=0>
              <TBODY>
              <TR>
                {BEGIN searchform_block}<TD class="runner-cc runner-bl runner-b-search" {$brickclass_search}>
                  <SPAN><SPAN>{BEGIN searchform_text}<INPUT size=25 {$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}{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 id=showSrchWin{$id} class=runner-button-img href="#" {$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 id=showOptPanel{$id} class=runner-button-img href="#" {$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}">Grupos por página:&nbsp;{$grpsPerPage} 
                  </SPAN></SPAN></TD>{END recordspp_block}</TR></TBODY></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></TBODY></TABLE>{END container_search}</TD></TR>
  <TR class=runner-body>
    <TD class="runner-left {$blockclass_left}">
      {BEGIN container_left}
      <TABLE class="runner-c runner-c-left" cellPadding=0>
        <TBODY>
        <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 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}{BEGIN menu_block}{$mainmenu}{END menu_block}{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}<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></TBODY></TABLE>{END container_left}</TD>
    <TD style="WIDTH: auto" class="runner-center {$blockclass_center}">
      {BEGIN container_message}
      <TABLE class="runner-c runner-c-message" cellPadding=0>
        <TBODY>
        <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 border=0 cellPadding=0>
              <TBODY>
              <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></TBODY></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></TBODY></TABLE>{END container_message}
      {BEGIN container_grid}
      <STYLE>
table.report {border-collapse: collapse} 
table.report td {padding: 2px;border-width: 1px; border-style: solid; border-color: #cccccc;}
div.page_block{clear:left;}
td.noborder{padding-right:8px}
td.data{padding-right:8px}
td.group_1{background-color: #90EE90;padding-right:8px}
td.group_2{background-color: #FFFFFF;padding-right:8px}
td.group_3{background-color: #FFFFFF;padding-right:8px}
td.group_4{background-color: #FFFFFF;padding-right:8px}
td.group_5{background-color: #FFFFFF;padding-right:8px}
td.group_6{background-color: #FFFFFF;padding-right:8px}
td.group_7{background-color: #FFFFFF;padding-right:8px}
td.nbgroup_1{background-color: #90EE90;border-style:none;padding-right:8px}
td.nbgroup_2{background-color: #FFFFFF;border-style:none;padding-right:8px}
td.nbgroup_3{background-color: #FFFFFF;border-style:none;padding-right:8px}
td.nbgroup_4{background-color: #FFFFFF;border-style:none;padding-right:8px}
td.nbgroup_5{background-color: #FFFFFF;border-style:none;padding-right:8px}
td.nbgroup_6{background-color: #FFFFFF;border-style:none;padding-right:8px}
td.nbgroup_7{background-color: #FFFFFF;border-style:none;padding-right:8px}
td.header_1{background-color: #7ACA7A;padding-right:8px}
td.header_2{background-color: #D8D8D8;padding-right:8px}
td.header_3{background-color: #D8D8D8;padding-right:8px}
td.header_4{background-color: #D8D8D8;padding-right:8px}
td.header_5{background-color: #D8D8D8;padding-right:8px}
td.header_6{background-color: #D8D8D8;padding-right:8px}
td.header_7{background-color: #D8D8D8;padding-right:8px}
td.pagesummary{background-color:#ffffbb;padding-right:8px}
td.globalsummary{background-color:#ffe0b0;padding-right:8px}
</STYLE>

      <TABLE style="WIDTH: auto" class=runner-b-report border=0 cellSpacing=0 
      cellPadding=5>
        <TBODY>
        <TR class="runner-toprow style1">
          <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 style="WIDTH: auto" class=runner-cc>
            <TABLE style="PADDING-BOTTOM: 2px; PADDING-LEFT: 2px; WIDTH: auto; PADDING-RIGHT: 2px; PADDING-TOP: 2px" border=0 cellSpacing=0 cellPadding=0>{BEGIN grid_row}<!-------------------------------------  group headers ----------------------------------------->
              <TBODY>
              {BEGIN idgasto_newgroup}<TR>
                <TD 
                style="BACKGROUND-IMAGE: none; BACKGROUND-COLOR: #ffffff; WIDTH: auto; WHITE-SPACE: normal" 
                class=header_1 colSpan=3 class="header_1">
                  <TABLE style="WIDTH: 344px" border=0 cellSpacing=1 
                  cellPadding=1 width="100%">
                    <TBODY>
                    <TR>
                      <TD 
                      style="BACKGROUND-IMAGE: none; BACKGROUND-COLOR: #c0c0c0; WHITE-SPACE: normal">--</TD>
                      <TD 
                      style="BACKGROUND-IMAGE: none; BACKGROUND-COLOR: #c0c0c0; WHITE-SPACE: normal"></TD></TR>
                    <TR>
                      <TD style="WIDTH: 134px">&nbsp;Nº Gasto</TD>
                      <TD style="WIDTH: 214px">&nbsp;{$idgasto_grval}</TD></TR>
                    <TR>
                      <TD style="WIDTH: 134px">&nbsp;Nº Movimiento</TD>
                      <TD style="WIDTH: 214px">&nbsp;{$idmovimiento_grval}</TD></TR>
                    <TR>
                      <TD style="WIDTH: 134px">&nbsp;Fecha</TD>
                      <TD style="WIDTH: 214px">&nbsp;{$fecha_grval}</TD></TR>
                    <TR>
                      <TD style="WIDTH: 134px">&nbsp;Tipo</TD>
                      <TD style="WIDTH: 214px">&nbsp;{$tipo_grval}</TD></TR>
                    <TR>
                      <TD style="WIDTH: 134px">
                        <P>&nbsp;Concepto</P></TD>
                      <TD style="WIDTH: 214px">&nbsp;{$idconcepto_grval}</TD></TR>
                    <TR style="HEIGHT: 19px">
                      <TD style="WIDTH: 134px">&nbsp;Descripción</TD>
                      <TD style="WIDTH: 214px">&nbsp;{$descripcion_grval}</TD></TR></TBODY></TABLE></TD></TR>
              {END idgasto_newgroup}{BEGIN total_newgroup}<TR>
                <TD style="PADDING-RIGHT: 8px" 
                  class=blackshade><STRONG>Cuenta</STRONG></TD>
                <TD style="PADDING-RIGHT: 8px" class=blackshade><STRONG>Forma 
                  de pago</STRONG></TD>
                <TD style="PADDING-RIGHT: 8px" 
                  class=blackshade><STRONG>Importe</STRONG></TD></TR><!-------------------------------------  data ----------------------------------------->
              {END total_newgroup}{BEGIN row_data}<TR>
                <TD class=data>{$idcuenta_value}</TD>
                <TD class=data>{$idtipo_cuenta_value}</TD>
                <TD class=data>{$importe_value}</TD></TR><!-------------------------------------  group summary ----------------------------------------->
              {END row_data}{BEGIN idgasto_endgroup}<TR>
                <TD 
                style="BACKGROUND-IMAGE: none; BACKGROUND-COLOR: #c0c0c0; WHITE-SPACE: normal" 
                class=group_1 colSpan=3>--</TD></TR><!--  Sum -->
              <TR style="HEIGHT: 18px">
                <TD class=group_1></TD>
                <TD class=group_1>
                  <P align=right><STRONG>&nbsp; Total</STRONG></P></TD>
                <TD class=group_1>
                  <P align=center>&nbsp; {$total_grval}</P></TD></TR>{END idgasto_endgroup}</TBODY>{END grid_row}</TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="runner-row style1">
          <TD class=runner-cl></TD>
          <TD class=runner-cc>
            <TABLE border=0 cellSpacing=0 cellPadding=0>
              <TBODY>
              <TR>
                <TD class=blackshade>Cuenta</TD>
                <TD class=blackshade>Forma de pago</TD>
                <TD class=blackshade>Importe</TD></TR><!--------------------------------------page summary-------------------------------------------->
              <TR>
                <TD class=pagesummary colSpan=3>Resumen de la pagina {$page_total_cnt} - 
                  Registros totales</TD></TR><!--  Sum -->
              <TR>
                <TD class=pagesummary>Sum &nbsp; </TD>
                <TD class=pagesummary>&nbsp; </TD>
                <TD class=pagesummary>&nbsp; </TD></TR><!--------------------------------------global summary-------------------------------------------->
              <TR>
                <TD class=globalsummary colSpan=3>Resumen global {$global_total_cnt} 
                  - Registros totales</TD></TR><!--  Sum -->
              <TR>
                <TD class=globalsummary>Sum &nbsp; </TD>
                <TD class=globalsummary>&nbsp; </TD>
                <TD class=globalsummary>&nbsp; </TD></TR></TBODY></TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="runner-bottomrow style1">
          <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></TBODY></TABLE>{END container_grid}
      {BEGIN container_pagination}
      <TABLE class="runner-c runner-c-pagination" cellPadding=0>
        <TBODY>
        <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 border=0 cellPadding=0>
              <TBODY>
              <TR>
                {BEGIN pagination_block}<TD class="runner-cc runner-bc runner-b-pagination" {$brickclass_pagination}>
                  <SPAN>{$pagination}</SPAN></TD>{END pagination_block}</TR></TBODY></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></TBODY></TABLE>{END container_pagination}
      {BEGIN container_form}
      <TABLE class="runner-c runner-c-form" cellPadding=0>
        <TBODY>
        <TR class="{$cheaderclass_form}">
          <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 border=0 cellPadding=0>
              <TBODY>
              <TR>
                <TD class="runner-cc runner-bl runner-b-reportvariable" 
                {$brickclass_reportvariable}>
                  <SPAN>{$report_filename}</SPAN></TD>
                <TD class="runner-cc filler">
                  </TD></TR></TBODY></TABLE></TD>
          <TD class=runner-cr></TD></TR>
        <TR class="{$cfooterclass_form}">
          <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></TBODY></TABLE>{END container_form}</TD>
    <TD class="runner-right {$blockclass_right}"></TD></TR>
  <TR class=runner-footer>
    <TD class=runner-bottom 
colSpan=3><!--%%bottom%%--></TD></TR></TBODY></TABLE>{$footer}{END body} </BODY></HTML>
