<?
////////////////////////////////////////////////////
// Conciliación: gestión de conciliación de activos
// Version: 1.0
//
// Copyright (C) 2014  Eustotem Multimedia, S.L.
//
// License: MIT, see LICENSE
////////////////////////////////////////////////////


include("../conf/preferences.php");
session_name(SYS_APP_SESSNAME);
session_start();
include("../conf/langs/".$langs[$_SESSION['userlang']][0]."/MAIN.php");
include("../conf/connections.php");
include("../phplib/auth.php");
require_once("../phplib/utils.php");
require_once("../core/plugins.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><? echo $titulogeneral ?></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../resources/themes/default/common.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="../resources/themes/default/main.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="../resources/themes/default/form_screen.css" rel="stylesheet" type="text/css" media="screen" />
	<link type="text/css" href="../jslib/jq/ui/css/<? echo UI_THEME ?>/jquery-ui.custom.css" rel="stylesheet" />
	<link type="text/css" href="../jslib/jq/ui/css/<? echo UI_THEME ?>/jquery-ui.ekain.css" rel="stylesheet" />
	<script type="text/javascript" src = "../jslib/jq/jquery-1.7.2.min.js" ></script>
	<script type="text/javascript" src = "../jslib/jq/jquery.blockUI.js" ></script>
	<script type="text/javascript" src = "../jslib/jq/ui/js/jquery-ui-1.8.21.custom.min.js" ></script>
	<script type="text/javascript" src = "../jslib/jq/ui/jquery.ui.selectmenu.js" ></script>
	<link type="text/css" href="../jslib/jq/ui/css/<? echo UI_THEME ?>/jquery.ui.selectmenu.css" rel="stylesheet" />
	<script type="text/javascript" src = "../jslib/jq/ui/i18n/jquery.ui.datepicker-<? echo $langs[$_SESSION['userlang']][0] ?>.js" ></script>
	
	<script type="text/javascript" src="../jslib/utils.js"></script>
	<script src="../jslib/swfobject2.js" type="text/javascript"></script>
	<script type="text/javascript">
	$(document).ready(function(){
		$('button, input:submit, input:button, input:reset, .button, .link_button').button();
		$( ".boton-normal" ).bind( "click", function(event, ui) {
			$(this).blur();
		});
	});
	<?
	$tmplngs=array();
	foreach($lngs as $key=>$cont){$tmplngs[]=$key;}
	?>
	var langs=new Array("<? echo implode('","',$tmplngs) ?>")
	</script>
	<style type="text/css">
	.btn_lang{
		border-bottom-left-radius: 0 !important;
		border-bottom-right-radius: 0 !important;
	}
	.noradius-tl{
		border-top-left-radius: 0 !important;
	}
	.btn_lang .ui-button-text{
		font-size: .8em !important;
		padding: 3px 5px !important;
	}
	</style>
</head>

<body id="cuerpo" class="bkg-master-1" >
<div id="pageBar">
	<h1>Dummy template</h1>
	<div style="position:absolute; right:5px; top:3px;"></div>
</div>
<table cellpadding="0" cellspacing="0" style="width:100%" >
<tr>
<td id="panel_central" valign="top">
	<form name="dataform" id="dataform" method="post" enctype="application/x-www-form-urlencoded" action="<? echo $_SERVER['REQUEST_URI'] ?>">
	<table width="100%" border="0" align="center" cellspacing="0" cellpadding="0" id="tabla" class="sombra tablaformulario ui-corner-top ui-tabs ui-widget ui-widget-content ui-corner-all ui-form">
		<thead>
		<tr>
			<td class="header_caption header_caption_bkg ui-corner-top" id="table_head_title"></td>
		</tr>
		</thead>
		
		
		<tbody id="table_body" class="innertbody ui-tabs-panel ui-widget-content ui-corner-bottom">
		<tr class="row1">
			<td>
				<div id="yuyu_radio">
				<input id='yuyu_b_es' name='yuyu_lang' type='radio' class='yuyu_lang' value='Nada...' /><label for="yuyu_b_es" class="btn_lang"><img src='../resources/flags/es.png' /></label>
				<input id='yuyu_b_eu' name='yuyu_lang' type='radio' class='yuyu_lang' value='nothing...' /><label for="yuyu_b_eu" class="btn_lang"><img src='../resources/flags/eu.png' /></label>
				</div>
				<input type='text' name='yuyu' id='yuyu' class='animated txt_default noradius-tl' value='nada' />
				<script type='text/javascript'>$(document).ready(function(){ initButtonset('yuyu','es'); });</script>
			</td>
		</tr>
		</tbody>
		
		
		<tfoot id="table_foot">
		<tr>
			<td class="ui-state-default footer">
				<input type="button" id="btn_save" name="btn_save" value="Guardar" class="boton-normal but_medium bold btn_toolbar" />
				<input type="button" id="btn_revert" name="btn_revert" value="Restaurar" class="boton-normal but_medium bold btn_toolbar" />
				<input type="button" id="btn_close" name="btn_close" value="Cerrar" class="boton-normal but_medium bold btn_toolbar" />
			</td>
		</tr>
		</tfoot>

	</table>
	</form>
</td>
<td id="panel_lateral" valign="top">
	<div class="secc_container" >
		<div class="secc_title header_caption_bkg" onclick="toggleVis('secc1')">&nbsp;Archivos disponibles</div>
		<div class="secc_content" id="secc1">
			<input type="button" name="fileload" id="fileload" class="boton-normal but_default wpc100 bold" value="Test" />
			<div id="filedetails"></div>
		</div>
	</div>
</td>
</tr>
</table>
</body>
</html>
