<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
    <head>
        <title>Informe: Grupo de campos</title>
		<meta http-equiv="X-UA-Compatible" content="IE=7">
    <link type="text/css" href="styles/default.css" rel="stylesheet">
		<link type="text/css" href="styles/BoldAqua/style.css" rel="stylesheet">
		<!--[if IE]>
			<link REL="stylesheet" href="styles/defaultIE.css" type="text/css">
			<link REL="stylesheet" href="styles/BoldAqua/styleIE.css" type="text/css">
		<![endif]-->
        {$h_includes}
    </head>
    <body class="BoldAqua">
        {$b_includes}
	<table cellpadding=0 cellspacing=0 border=0 height=100% width=100% align=center class="runner-toptable">
		<tr><td>{$header}</td></tr>
            <tr>
                <td style="vertical-align:top;padding-top:20px">
					<div class="runner-s-1">
                    <table cellpadding=0 cellspacing=0 border=0 width=650px align=center class="runner-c">
						<tr class="runner-toprow style2 header">
							<td class="runner-cl"><img src="images/spacer.gif"></td>
							<td class="runner-cc">Informe: Grupo de campos{$report_title}{$report_table}</td>
							<td class="runner-cr"><img src="images/spacer.gif"></td>
						</tr>
						<tr class="runner-row style1 runner-b-wrapper">
							<td class="runner-cl"><img src="images/spacer.gif"></td>
							<td class="runner-cc runner-brickcontents runner-wrapper">
								<div class="runner-s-fields">											
								<table cellpadding=0 cellspacing=0 border=0 width=100% id="table_wh">
									<tr class="runner-toprow header style1 runner-b-editfields">
										<td class="runner-cl">
											<img src="images/spacer.gif">
										</td>
										<td style="text-align:left" class="runner-cc runner-cc1" colspan=4>
											<input type=checkbox name=select_cross id=select_cross>&nbsp;Informe de referencias cruzadas
										</td>
										<td class="runner-cr">
											<img src="images/spacer.gif">
										</td>
									</tr>
									<tr class="runner-row header style1 runner-b-editfields">
										<td class="runner-cl">
											<img src="images/spacer.gif">
										</td>
										<td class="runner-cc runner-cc1" width="35%">Añadir grupo de campos</th>
										<td class="runner-cc runner-cc1" width="35%">Tipo de intervalo</th>
										<td class="runner-cc runner-cc1" width="25%" name="report_col">&nbsp;</th>
										<td class="runner-cc runner-cc1" width="5%" name="report_col">Color</th>
										<td class="runner-cc runner-cc1" width="30%" name="cross_col" style="display:none">Ejes</th>
										<td class="runner-cc runner-cc1" name="cross_col" style="display:none"></th>
										<td class="runner-cr">
											<img src="images/spacer.gif">
										</td>
									</tr>
									<tr class="runner-row header style1 runner-b-editfields" id=clone style="display:none">
										<td class="runner-cl">
											<img src="images/spacer.gif">
										</td>
										<td class="runner-cc runner-cc1">
											<input type="hidden" id="go" name="go" value="1" />
											<select id="" name="" style="width:180px">
												<option value=""></option>
												{$groupFields1}
											</select>
										</td>
										<td class="runner-cc runner-cc1">
											<select id="type" name="type" style="width:180px"> </select>						
										</td>
										<td name="report_col" class="runner-cc runner-cc1">
											<input type="checkbox" id="ss" name="ss" />&nbsp;Sumario
										</td>
										<td name="report_col" class="runner-cc runner-cc1">
											<table cellspacing="0" cellpadding="0" border="0">
												<tbody>
													<tr>
														<td align="right">
															<div id="picker" class="ColorPickerDivSample" style="width: 50px;"> </div>
														</td>
														<td align="left"><img class="selector" src="images/selector.png" /></td>
													</tr>
												</tbody>
											</table>
										</td>
										<td name="cross_col" style="display:none" class="runner-cc runner-cc1">
											<select id=group_type>
												<option value=x>Eje X</option>
												<option value=y>Eje Y</option>
												<option value=all>Ambos</option>
											</select>
										</td>
										<td name="cross_col" style="display:none" class="runner-cc runner-cc1">
											
										</td>
										<td class="runner-cr">
											<img src="images/spacer.gif">
										</td>
									</tr>
									<tr class="runner-row header style1 runner-b-editfields" id=groupfield1>
										<td class="runner-cl">
											<img src="images/spacer.gif">
										</td>
										<td class="runner-cc runner-cc1">
											<input type="hidden" id="go1" name="go1" value="1" />
											<select id="field1" name="field1" style="width:180px">
												<option value=""></option>
												{$groupFields1}
											</select>
										</td>
										<td class="runner-cc runner-cc1">
											<select id="type1" name="type1" style="width:180px"> </select>						
										</td>
										<td name="report_col" class="runner-cc runner-cc1"><input type="checkbox" id="ss1" name="ss1" />&nbsp;Sumario</td>
										<td name="report_col" class="runner-cc runner-cc1">
											<table cellspacing="0" cellpadding="0" border="0">
												<tbody>
													<tr>
														<td align="right">
															<div id="picker1" class="ColorPickerDivSample" style="width: 50px;"> </div>
														</td>
														<td align="left"><img class="selector" src="images/selector.png" /></td>
													</tr>
												</tbody>
											</table>
										</td>
										<td name="cross_col" style="display:none" class="runner-cc runner-cc1">
											<select id=group_type1 name=group_type1>
												<option value=x>Eje X</option>
												<option value=y>Eje Y</option>
												<option value=all>Ambos</option>
											</select>
										</td>
										<td name="cross_col" style="display:none" class="runner-cc runner-cc1">
											
										</td>
										<td class="runner-cr">
											<img src="images/spacer.gif">
										</td>
									</tr>
									<tr id=end_of_group_fields style="display:none"><td>---</td></tr>
									<tr class="runner-row header style1 runner-b-editfields" id=groupfield1>
										<td class="runner-cl">
											<img src="images/spacer.gif">
										</td>
										<td class="runner-cc runner-cc1" colspan=4>
											<table cellpadding="5" cellspacing="5" border="0" width="80%" name="report_col" >
												<tbody>
													<tr>
														<td><input type="checkbox" {$sps} id="sps" name="sps" />&nbsp;Resumen de la pagina</td>
														<td><input type="checkbox" {$sds} id="sds" name="sds" />&nbsp;Detalles y sumario</td>
													</tr>
													<tr>
														<td colspan="2"><input type="checkbox" {$sgs} id="sgs" name="sgs" />&nbsp;Resumen global</td>
													</tr>
												</tbody>
											</table>			
											<table cellpadding="5" cellspacing="5" border="0" width="100%" name="cross_col" style="display:none">
												<tbody>
													<tr>
														<td><input type="checkbox" {$sum_x} id="sum_x" name="sum_x" />Sumario horizontal</td>
														<td><input type="checkbox" {$sum_y} id="sum_y" name="sum_y" />Sumario vertical</td>
														<td><input type="checkbox" {$sum_total} id="sum_total" name="sum_total" />Total</td>
													</tr>
												</tbody>
											</table>	
										</td>
										<td class="runner-cr">
											<img src="images/spacer.gif">
										</td>
									</tr>
								</table>
                                </div>
							</td>
							<td class="runner-cr"><img src="images/spacer.gif"></td>
                        </tr>
						<tr class="runner-row style2 runner-b-editbuttons">
							<td class="runner-cl">
								<img src="images/spacer.gif">
							</td>
							<td id="btns" class="runner-cc runner-cc1" align="center">
								<span class="runner-btnframe">
								<span class="runner-btnleft"></span>
								<span class="runner-btnright"></span>
								<a id="backbtn" name="backbtn" class="runner-button" href="#">Regresar</a>
								</span>
								<span style="position:absolute;" id="jumptospan"></span>
								<span class="runner-btnframe">
								<span class="runner-btnleft"></span>
								<span class="runner-btnright"></span>
								<a id="jumpto" name="jumpto" class="runner-button" href="#" onclick="event.cancelBubble = true;return false;" onmouseover="event.cancelBubble = true;return false;">Ir a ...</a>
								</span>
								<span class="runner-btnframe">
								<span class="runner-btnleft"></span>
								<span class="runner-btnright"></span>
								<a id="nextbtn" name="nextbtn" class="runner-button" href="#">Siguiente</a>
								</span>
								{BEGIN b_is_report_save}
								<span class="runner-btnframe" id="saveasbtnbox">
								<span class="runner-btnleft"></span>
								<span class="runner-btnright"></span>
								<a id="saveasbtn" name="saveasbtn" class="runner-button" href="#">Grabar como...</a>
								</span>
								{END b_is_report_save}															
								{BEGIN b_is_report_name}
								<span class="runner-btnframe" id="savebtnbox">
								<span class="runner-btnleft"></span>
								<span class="runner-btnright"></span>
								<a id="savebtn" name="savebtn" class="runner-button" href="#">Guardar</a>
								</span>
								{END b_is_report_name}
								<span class="runner-btnframe">
								<span class="runner-btnleft"></span>
								<span class="runner-btnright"></span>
								<a id="previewbtn" name="previewbtn" class="runner-button" href="#">Previsualizar</a>
								</span>
								<a id="preview" class="various fancybox.iframe" href="dreport.php?rname={$report_name_preview}&param=preview&ie=UTF-8&iframe"></a>
							</td>
							<td class="runner-cr">
								<img src="images/spacer.gif">
							</td>
						</tr>
						<tr class="runner-bottomrow style2">
							<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>
					</div>
                </td>
            </tr>
	<tr><td>{$footer}</td></tr>
        </table>
        <div id="groupSelectorDiv">
	<table width=100% cellpadding=5 cellspacing=0 border=0>
		<tr><td><div class="groupSelect" id="groupSelectGroup" value="group">grupo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></td></tr>
		<tr><td><div class="groupSelect" id="groupSelectField" value="field">campo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></td></tr>
		<tr><td><div class="groupSelect" id="groupSelectTable" value="table">todos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></td></tr>
	</table>
</div>
<div id="colorPickerVtd">
	<table class="tableColorPicker" cellspacing="4" style="border:2px solid gray;"> 
		<tr class="colorPickerVtdTr"> 
			<td class="row1cell1">&nbsp;</td>
			<td class="row1cell2">&nbsp;</td>
			<td class="row1cell3">&nbsp;</td>
			<td class="row1cell4">&nbsp;</td>
			<td class="row1cell5">&nbsp;</td>
			<td class="row1cell6">&nbsp;</td>
			<td class="row1cell7">&nbsp;</td>
		</tr>
		<tr class="colorPickerVtdTr">
			<td class="row2cell1">&nbsp;</td>
			<td class="row2cell2">&nbsp;</td>
			<td class="row2cell3">&nbsp;</td>
			<td class="row2cell4">&nbsp;</td>
			<td class="row2cell5">&nbsp;</td>
			<td class="row2cell6">&nbsp;</td>
			<td class="row2cell7">&nbsp;</td>
		</tr>
		<tr class="colorPickerVtdTr">
			<td class="row3cell1">&nbsp;</td>
			<td class="row3cell2">&nbsp;</td>
			<td class="row3cell3">&nbsp;</td>
			<td class="row3cell4">&nbsp;</td>
			<td class="row3cell5">&nbsp;</td>
			<td class="row3cell6">&nbsp;</td>
			<td class="row3cell7">&nbsp;</td>
		</tr>
		<tr class="colorPickerVtdTr">
			<td class="row4cell1">&nbsp;</td>
			<td class="row4cell2">&nbsp;</td>
			<td class="row4cell3">&nbsp;</td>
			<td class="row4cell4">&nbsp;</td>
			<td class="row4cell5">&nbsp;</td>
			<td class="row4cell6">&nbsp;</td>
			<td class="row4cell7">&nbsp;</td>
		</tr>
		<tr class="colorPickerVtdTr">
			<td class="row5cell1">&nbsp;</td>
			<td class="row5cell2">&nbsp;</td>
			<td class="row5cell3">&nbsp;</td>
			<td class="row5cell4">&nbsp;</td>
			<td class="row5cell5">&nbsp;</td>
			<td class="row5cell6">&nbsp;</td>
			<td class="row5cell7">&nbsp;</td>
		</tr>
		<tr class="colorPickerVtdTr">
			<td class="row6cell1">&nbsp;</td>
			<td class="row6cell2">&nbsp;</td>
			<td class="row6cell3">&nbsp;</td>
			<td class="row6cell4">&nbsp;</td>
			<td class="row6cell5">&nbsp;</td>
			<td class="row6cell6">&nbsp;</td>
			<td class="row6cell7">&nbsp;</td>
		</tr>
		<tr class="colorPickerVtdTr">
			<td class="row7cell1">&nbsp;</td>
			<td class="row7cell2">&nbsp;</td>
			<td class="row7cell3">&nbsp;</td>
			<td class="row7cell4">&nbsp;</td>
			<td class="row7cell5">&nbsp;</td>
			<td class="row7cell6">&nbsp;</td>
			<td class="row7cell7">&nbsp;</td>
		</tr>
		<tr class="colorPickerVtdTr">
			<td class="row8cell1">&nbsp;</td>
			<td class="row8cell2">&nbsp;</td>
			<td class="row8cell3">&nbsp;</td>
			<td class="row8cell4">&nbsp;</td>
			<td class="row8cell5">&nbsp;</td>
			<td class="row8cell6">&nbsp;</td>
			<td class="row8cell7">&nbsp;</td>
		</tr>
		<tr class="colorPickerVtdTr">
			<td class="row9cell1">&nbsp;</td>
			<td class="row9cell2">&nbsp;</td>
			<td class="row9cell3">&nbsp;</td>
			<td class="row9cell4">&nbsp;</td>
			<td class="row9cell5">&nbsp;</td>
			<td class="row9cell6">&nbsp;</td>
			<td class="row9cell7">&nbsp;</td>
		</tr>
		<tr class="colorPickerVtdTr">
			<td class="row0cell1">&nbsp;</td>
			<td class="row0cell2">&nbsp;</td>
			<td class="row0cell3">&nbsp;</td>
			<td class="row0cell4">&nbsp;</td>
			<td class="row0cell5">&nbsp;</td>
			<td class="row0cell6">&nbsp;</td>
			<td class="row0cell7">&nbsp;</td>
		</tr>
		<tr>
			<td colspan="7" id="nocolor" class="ColorPickerNoColor">Sin color</td>
		</tr>
	</table>
</div>		
       
        <style>
{literal}
	div.action { position: absolute;  width: 170px; padding: 0; font-size:11px}
	td {font-size:11px}
{/literal}
</style>
<iframe id="framejump" style="display:none;position:absolute;" scrolling="no" frameborder="0"></iframe>
<div id="menujump" class=action style="display:none;position:absolute;">
	<table width=100% cellpadding=0 cellspacing=0 border=0 style="background-color:#F4F7FB;border: solid 1px blue;">
		<tr><td id=row0 style="cursor:pointer;padding:5px;">Tablas</td></tr>
		<tr><td id=row1 style="cursor:pointer;padding:5px;">Relaciones entre tablas</td></tr>
		<tr><td id=row2 style="cursor:pointer;padding:5px;">Condición Where</td></tr>
		<tr><td id=row3 style="cursor:pointer;padding:5px;">Agrupar campos</td></tr>
		<tr><td id=row4 style="cursor:pointer;padding:5px;">Totales</td></tr>
		<tr><td id=row5 style="cursor:pointer;padding:5px;">Varios</td></tr>
		<tr><td id=row6 style="cursor:pointer;padding:5px;">Ordenar campos</td></tr>
		<tr><td id=row7 style="cursor:pointer;padding:5px;">Editor de estilo</td></tr>
		<tr><td id=row8 style="cursor:pointer;padding:5px;">Configuración del informe</td></tr>
		<tr><td id=row9 style="cursor:pointer;padding:5px;">Permisos dinámicos</td></tr>
		<tr><td id=row10 style="cursor:pointer;padding:5px;;border-top:1px solid blue;">Volver al menú de Informes</td></tr>
		<tr><td id=row11 style="cursor:pointer;padding:5px;">Volver al programa principal</td></tr>
	</table>
</div>
<iframe id="aframe" style="display:none;position:absolute;" scrolling="no" frameborder="0"></iframe>
        <div id="alert"/>		

	
        
    </body>
</html>