<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
    <head>
        <title>Area Admin</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]-->
		<style>
			.ui-tabs-panel, .ui-widget-content, .ui-corner-bottom {border:0px solid black}
			.ui-widget-content, .ui-corner-all {background:none; border 0px solid black; border-radius:0px;};
		</style>
		{$h_includes}
    </head>
    <body class="BoldAqua yui-skin-sam">
        {$b_includes}
    <table cellpadding="0" cellspacing="0" border="0" height="100%" width="100%" align="center" class="runner-toptable">
		<tr><td>{$header}</td></tr>
		<tr class="runner-header">
			<td class="runner-top" style="vertical-align:top;padding-top:20px">
				<div class="runner-s-1 BoldAqua">
					<table cellpadding="0" align=center width="600px" class="runner-c runner-c-edit">
						<tr class="runner-toprow style2 header">
							<td class="runner-cl"><img src="images/spacer.gif"></td>
							<td class="runner-cc">Página de administración: Permisos de tablas</td>
							<td class="runner-cr"><img src="images/spacer.gif"></td>
						</tr>
						<tr class="runner-row style1 runner-b-wrapper">
							<td class="runner-cl"></td>
							<td class="runner-cc runner-brickcontents runner-wrapper">
								<div class="runner-s-fields BoldAqua">											
									<table cellpadding=0 cellspacing=0 border=0 width=100% class="runner-c runner-c-fields">
										<tr class="runner-toprow header style1 runner-b-editfields">
											<td class="runner-cl">
												<img src="images/spacer.gif">
											</td>
											<td colspan=2 id="my_tabs" class="runner-cc">
												<div id="radio_select_table" class="yui-navset yui-navset-top">
													<ul class="yui-nav">
														<li id=li_db class="selected"><a href="#tabs-0" id="radio_db">Tablas de la base de datos</a></li>
														<li id=li_project><a href="#tabs-0" id="radio_project">Tablas del proyecto</a></li>
														<li id=li_custom><a href="#tabs-0" id="radio_custom">Consultas SQL</a></li>
													</ul>
												</div>
											</td>
											<td class="runner-cr">
												<img src="images/spacer.gif">
											</td>
										</tr>
										<tr id="tabs-0" class="runner-row header style3 runner-b-editfields">
											<td class="runner-cl">
												<img src="images/spacer.gif">
											</td>
											<td class="runner-cc">
												<b>{$group_header}</b>
											</td>
											<td class="runner-cc">
												<input type=checkbox id="ch_all">&nbsp;<b>Seleccionar / No seleccionar todo</b>
											</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" style="vertical-align:top;">
												<div id="group_list" style="vertical-align:top;">
													{$group_list}
												</div>
											</td>
											<td width="100%" class="runner-cc" style="vertical-align:top;">
												<div id="table_list" style="vertical-align:top;">
													{$table_list}
												</div>
											</td>
											<td class="runner-cr">
												<img src="images/spacer.gif">
											</td>
										</tr>
									</table>
								</div>
							</td>
							<td class="runner-cr"></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-brickcontents" align="center">
								<span class="runner-btnframe">
								<span class="runner-btnleft"></span>
								<span class="runner-btnright"></span>
								<a id="saveexitbtn" name="saveexitbtn" class="runner-button" href="#">Guardar</a>
								</span>
								<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>
							</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>
	<iframe id="aframe" style="display:none;position:absolute;" scrolling="no" frameborder="0"></iframe>
	<div id="alert"/>
		
    </body>
</html>