sistema de desayuno 2019 actualizado

This commit is contained in:
2019-06-20 18:00:41 -05:00
parent a855c50faf
commit c26ee4eef3
385 changed files with 48959 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PublishConfigData" deleteMissingItems="true" />
</project>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/desayuno.iml" filepath="$PROJECT_DIR$/.idea/desayuno.iml" />
</modules>
</component>
</project>
+434
View File
@@ -0,0 +1,434 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="8d0749d3-1a1c-4729-9540-5971c5020c9e" name="Default Changelist" comment="" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="DefaultGradleProjectSettings">
<option name="isMigrated" value="true" />
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/public_html/monitor.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="287" lean-forward="true" selection-start-line="287" selection-end-line="287" />
<folding>
<element signature="e#14638#14719#0#HTML" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/public_html/eliminar.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="380">
<caret line="20" column="25" selection-start-line="20" selection-start-column="25" selection-end-line="20" selection-end-column="25" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/public_html/editar.php">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret selection-end-line="19" selection-end-column="39" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/public_html/sql/funciones.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-342">
<caret line="37" column="5" lean-forward="true" selection-start-line="37" selection-start-column="5" selection-end-line="37" selection-end-column="5" />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>sistema</find>
<find>enviar</find>
<find>faltantes</find>
<find>env</find>
<find>comple</find>
<find>completos</find>
<find>guardad</find>
<find>correc</find>
<find>datos</find>
<find>REPORT</find>
<find>desplie</find>
<find>correo</find>
<find>folio</find>
<find>edit</find>
<find>pa</find>
<find>email</find>
<find>ingresa</find>
</findStrings>
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/public_html/sql/conexion.php" />
<option value="$PROJECT_DIR$/public_html/js/funciones.js" />
<option value="$PROJECT_DIR$/public_html/index.php" />
<option value="$PROJECT_DIR$/public_html/crud.php" />
<option value="$PROJECT_DIR$/public_html/boleto.php" />
<option value="$PROJECT_DIR$/public_html/php/header.php" />
<option value="$PROJECT_DIR$/public_html/editar.php" />
<option value="$PROJECT_DIR$/public_html/actualizar.php" />
<option value="$PROJECT_DIR$/public_html/js/login.js" />
<option value="$PROJECT_DIR$/public_html/php/mail.php" />
<option value="$PROJECT_DIR$/public_html/monitor.php" />
<option value="$PROJECT_DIR$/public_html/sql/funciones.php" />
<option value="$PROJECT_DIR$/public_html/eliminar.php" />
</list>
</option>
</component>
<component name="PhpServers">
<servers />
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="-2" />
<option name="width" value="1370" />
<option name="height" value="770" />
</component>
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="PackagesPane" />
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="desayuno" type="b2602c69:ProjectViewProjectNode" />
<item name="desayuno" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="desayuno" type="b2602c69:ProjectViewProjectNode" />
<item name="desayuno" type="462c0819:PsiDirectoryNode" />
<item name="public_html" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="desayuno" type="b2602c69:ProjectViewProjectNode" />
<item name="desayuno" type="462c0819:PsiDirectoryNode" />
<item name="public_html" type="462c0819:PsiDirectoryNode" />
<item name="sql" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="true" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="node.js.detected.package.eslint" value="true" />
<property name="node.js.path.for.package.eslint" value="project" />
<property name="node.js.selected.package.eslint" value="(autodetect)" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="settings.editor.selected.configurable" value="web.server" />
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="RunManager">
<configuration name="editar.php" type="JavascriptDebugType" temporary="true" nameIsGenerated="true" uri="http://localhost:63342/desayuno/public_html/editar.php" useBuiltInWebServerPort="true">
<method v="2" />
</configuration>
<recent_temporary>
<list>
<item itemvalue="JavaScript Debug.editar.php" />
</list>
</recent_temporary>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="8d0749d3-1a1c-4729-9540-5971c5020c9e" name="Default Changelist" comment="" />
<created>1558548895583</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1558548895583</updated>
<workItem from="1558548897531" duration="11692000" />
<workItem from="1558623571919" duration="8538000" />
<workItem from="1558977407644" duration="12247000" />
<workItem from="1559065568529" duration="13796000" />
<workItem from="1559150402459" duration="14326000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="60599000" />
</component>
<component name="ToolWindowManager">
<frame x="-2" y="0" width="1370" height="742" extended-state="6" />
<layout>
<window_info id="Designer" order="0" />
<window_info id="UI Designer" order="1" />
<window_info id="Capture Tool" order="2" />
<window_info id="Favorites" order="3" side_tool="true" />
<window_info id="Image Layers" order="4" />
<window_info active="true" content_ui="combo" id="Project" order="5" visible="true" weight="0.18409091" />
<window_info id="Structure" order="6" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="Version Control" order="0" />
<window_info anchor="bottom" id="Database Changes" order="1" />
<window_info anchor="bottom" id="Terminal" order="2" />
<window_info anchor="bottom" id="Event Log" order="3" side_tool="true" />
<window_info anchor="bottom" id="Docker" order="4" show_stripe_button="false" />
<window_info anchor="bottom" id="Message" order="5" />
<window_info anchor="bottom" id="Find" order="6" weight="0.3292683" />
<window_info anchor="bottom" id="Run" order="7" />
<window_info anchor="bottom" id="Debug" order="8" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="9" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="10" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="11" />
<window_info anchor="right" id="Theme Preview" order="0" />
<window_info anchor="right" id="Remote Host" order="1" />
<window_info anchor="right" id="Capture Analysis" order="2" />
<window_info anchor="right" id="Palette&#9;" order="3" />
<window_info anchor="right" id="Maven" order="4" />
<window_info anchor="right" id="Database" order="5" />
<window_info anchor="right" id="Palette" order="6" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="7" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="8" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="9" weight="0.25" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/public_html/pdf/downloadPdf.php">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/public_html/sql/conexion.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="722">
<caret line="40" column="1" lean-forward="true" selection-start-line="40" selection-start-column="1" selection-end-line="40" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/sql/actualizar_mesa.php">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/public_html/administracion.php">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/public_html/muestra_conexion.php">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/public_html/php/footer.php">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/public_html/js/quicksand.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-5092">
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/js/tabs.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-4655" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/muestra_querys.php">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/public_html/sql/registro.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="22" column="37" selection-start-line="22" selection-start-column="37" selection-end-line="22" selection-end-column="37" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/sql/verificar_correo.php">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/public_html/gracias.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="380">
<caret line="20" column="25" selection-start-line="20" selection-start-column="25" selection-end-line="20" selection-end-column="25" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/php/librerias/vendor/autoload.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="133">
<caret line="7" lean-forward="true" selection-start-line="7" selection-end-line="7" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/js/datatables.js">
<provider selected="true" editor-type-id="text-editor">
<state>
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/js/funciones.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="19">
<caret line="115" column="1" selection-start-line="115" selection-start-column="1" selection-end-line="115" selection-end-column="1" />
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/estilos/botones.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="304">
<caret line="16" column="1" selection-start-line="16" selection-start-column="1" selection-end-line="16" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/actualizar.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="551">
<caret line="29" lean-forward="true" selection-start-line="29" selection-end-line="29" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/index.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="19">
<caret line="77" column="51" selection-start-line="77" selection-start-column="51" selection-end-line="77" selection-end-column="51" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/php/header.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="646">
<caret line="43" column="50" selection-start-line="43" selection-start-column="50" selection-end-line="43" selection-end-column="50" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/sql/descargar.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="247">
<caret line="13" column="1" lean-forward="true" selection-start-line="13" selection-start-column="1" selection-end-line="13" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/php/enviarCorreo.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="57">
<caret line="3" column="2" lean-forward="true" selection-start-line="3" selection-start-column="2" selection-end-line="3" selection-end-column="2" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/sql/enviarCorreo.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="589">
<caret line="31" column="33" selection-start-line="31" selection-start-column="33" selection-end-line="31" selection-end-column="33" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/reportes/mc_table.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="57">
<caret line="3" column="6" selection-start-line="3" selection-start-column="6" selection-end-line="3" selection-end-column="6" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/js/login.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="561">
<caret line="156" column="20" selection-start-line="156" selection-start-column="20" selection-end-line="156" selection-end-column="20" />
<folding>
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/boleto.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1425">
<caret column="5" lean-forward="true" selection-start-column="5" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/php/mail.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3230">
<caret line="170" column="20" lean-forward="true" selection-start-line="170" selection-start-column="20" selection-end-line="170" selection-end-column="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/editar.php">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret selection-end-line="19" selection-end-column="39" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/eliminar.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="380">
<caret line="20" column="25" selection-start-line="20" selection-start-column="25" selection-end-line="20" selection-end-column="25" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/sql/funciones.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-342">
<caret line="37" column="5" lean-forward="true" selection-start-line="37" selection-start-column="5" selection-end-line="37" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public_html/monitor.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="287" lean-forward="true" selection-start-line="287" selection-end-line="287" />
<folding>
<element signature="e#14638#14719#0#HTML" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component>
</project>
+9
View File
@@ -0,0 +1,9 @@
copy.src.files=false
copy.src.on.open=false
copy.src.target=
index.file=index.php
remote.connection=orion-5329d5
remote.directory=/desayuno
remote.upload=ON_SAVE
run.as=REMOTE
url=http://orion.acatlan.unam.mx/desayuno/
+7
View File
@@ -0,0 +1,7 @@
include.path=${php.global.include.path}
php.version=PHP_56
source.encoding=UTF-8
src.dir=.
tags.asp=false
tags.short=false
web.root=.
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.php.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/php-project/1">
<name>o_desayuno</name>
</data>
</configuration>
</project>
+30
View File
@@ -0,0 +1,30 @@
<?php
include "sql/conexion.php";
include "sql/funciones.php";
$id = $_REQUEST['id_registro'];
$cuenta = $_POST['id_cuenta'];
$nombre = $_POST['nombre'];
$app = $_POST['app'];
$apm = $_POST['apm'];
$generacion = $_POST['generacion'];
$telefono_casa = $_POST['telefono_casa'];
$celular = $_POST['celular'];
$correo = $_POST['correo'];
$mesa = $_POST['mesa'];
/*
echo $id;
echo $cuenta;
echo $nombre;
echo $app;
echo $apm;
echo $generacion;
echo $telefono_casa;
echo $celular;
echo $correo;
echo $mesa;
*/
actualizar($id,$cuenta,$app,$apm,$nombre,$generacion,$telefono_casa,$celular,$correo,$mesa);
header('Location: monitor.php');
+53
View File
@@ -0,0 +1,53 @@
<?php
//header("Location: timeout.php");
include "php/header.php";
include "sql/conexion.php";
include "muestra_conexion.php";
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D,d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
//header("Location:timeout.php"); //Descomentar para dejar la página fuera de servicio...
session_start();
session_unset();
session_destroy();
?>
<!-- MAIN -->
<div id="main">
<!-- wrapper-main -->
<div class="wrapper">
<div id="content">
<div style="margin-left:5px;margin-top: 0px;">
<div id="mensaje_azul_registro">
<center><h1>Administración</h1></center>
</div>
<form class="contactForm" id="ingresar_administracion" method="post">
<fieldset>
<div>
<label class="campo">Usuario</label>
<input class="automatico" name="usuario_ing" id="usuario_ing" type="text" />
<div id="verify_usuario_ing" class="requerido_admin">
</div>
</div>
<div>
<label class="campo">Password</label>
<input class="automatico" name="password_ing" id="password_ing" type="password" />
<div id="verify_password_ing" class="requerido_admin">
</div>
</div>
<p><input type="button" value="ENTRAR" id="bt_acceso_admin"></p>
</fieldset>
</form>
</div>
<!-- Logueao -->
<!--Fin Loqueo -->
</div>
<!-- ENDS wrapper-main -->
</div>
<!-- ENDS MAIN -->
</div>
<?php
include ("php/footer.php");
+24
View File
@@ -0,0 +1,24 @@
<?php
include("php/header.php");
?>
<style>
#aviso_priv{
text-align : justify;
padding-top: 20px;
padding-right: 80px;
padding-bottom: 50px;
padding-left: 80px;
}
</style>
<body >
<p id="aviso_priv">
<b>Aviso de privacidad</b><br><br><br>
En cumplimiento a lo establecido por el Reglamento de Transparencia, Acceso a la Información Pública y Protección de Datos Personales para la Universidad Nacional Autónoma de México, con domicilio en Av. Universidad No. Exterior 3000, Colonia Universidad Nacional Autónoma de México C. U., Delegación Coyoacán, CP. 04510, México Distrito Federal, es la única responsable de la protección y tratamiento de tus datos personales.<br><br>
Los datos personales que se solicitarán son nombre completo y correo electrónico, y serán utilizados única y exclusivamente para dar un seguimiento personalizado a las solicitudes de información de sitios "bajo dominio acatlan.unam.mx". Asimismo, informamos que tus datos personales no serán transferidos o tratados por personas distintas a la UNAM.<br><br>
Tus datos personales han sido otorgados voluntariamente y la actualización y autenticidad de los mismos son tu responsabilidad. Si deseas ejercer cualquiera de los derechos de acceso, rectificación, cancelación u oposición, así como revocar el consentimiento para el tratamiento de los mismos, puedes solicitarlo a través del correo electrónico privacidad@apolo.acatlan.unam.mx.<br><br>
Te informamos que en nuestra página web utilizamos cookies y otras tecnologías analíticas, a través de las cuales es posible brindarte un mejor servicio y experiencia al navegar en nuestra página, la información que se obtiene es totalmente anónima y no permite identificarte. Si no quieres que haya cookies actuando en tu interacción con las páginas del portal, puedes deshabilitarlas desde el navegador, considerando que podrán producirse limitaciones en cuanto a la funcionalidad del sitio web.<br><br>
Cualquier modificación a este aviso de privacidad podrás consultarlo en la presente sección.
</p>
</body>
<?php
include("php/footer.php");
+113
View File
@@ -0,0 +1,113 @@
<?php
require("reportes/mc_table.php");
include("sql/conexion.php");
include ("sql/funciones.php");
$con = Conectarse();
session_start();
if(empty($_SESSION))
{
header("location:index.php");
}
$peticion = $_REQUEST['id'];
$email = $peticion;
$query = "call st_trae_boleto('$email')";
$pdf = new FPDF('P','mm',array(200,200));
if ($resultado = mysqli_query($con, $query)) {
/* obtener array asociativo */
while ($datos = mysqli_fetch_assoc($resultado)) {
$pdf->AddPage();
//$pdf->Image("images/logo_dsc.png", 5, 5, 0, 0);
//$pdf->SetFont('Arial','B',12);
//$pdf->Cell(0, 0, utf8_decode('Fecha de solicitud:')." ".$fecha, 0, 1, 'R');
//$pdf->ln(8);
//$pdf->SetFont('Arial','B',12);
//$pdf->Cell(0, 0, utf8_decode('Número de solicitud:')." ".$datos['id_registro'], 0, 1, 'R');
$pdf->ln(10);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Nombre:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, utf8_decode($datos['nombre_completo']), 0, 1, 'C');
/*
$pdf->ln(10);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('e-mail:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['correo'], 0, 1, 'C');
*/
$pdf->ln(10);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Generación:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['generacion'], 0, 1, 'C');
$pdf->ln(10);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Carrera:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['carrera'], 0, 1, 'C');
$pdf->ln(10);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Asignado a mesa:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['mesa'], 0, 1, 'C');
$pdf->ln(10);
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['sistema'], 0, 1, 'C');
$pdf->ln(12);
$pdf->Cell(0, 0, "", 1, 1, 'L');
$pdf->ln(12);
$pdf->SetFont('Arial','B',40);
$pdf->Cell(0, 0, utf8_decode('MAGNO DESAYUNO'), 0, 1, 'L');
$pdf->ln(12);
$pdf->SetFont('Arial','B',16.5);
$pdf->Cell(0, 0, utf8_decode('MULTIDISCIPLINARIO PARA EGRESADOS DE LA'), 0, 1, 'L');
$pdf->ln(12);
$pdf->SetFont('Arial','B',38);
$pdf->Cell(0, 0, utf8_decode('FES ACATLÁN UNAM'), 0, 1, 'L');
$pdf->ln(12);
$pdf->SetFont('Arial','B',15);
$pdf->Cell(0, 0, utf8_decode('CENTRO DE ESTUDIOS MUNICIPALES'), 0, 1, 'L');
$pdf->ln(8);
$pdf->SetFont('Arial','B',15);
$pdf->Cell(0, 0, utf8_decode('Y METROPOLITANOS'), 0, 1, 'L');
$pdf->ln(8);
$pdf->SetFont('Arial','B',15);
$pdf->Cell(0, 0, utf8_decode('27 octubre 2018 - 8:15 horas'), 0, 1, 'L');
$pdf->ln(8);
$pdf->SetFont('Arial','B',15);
$pdf->Cell(0, 0, utf8_decode('DONATIVO $350.00'), 0, 1, 'L');
$pdf->ln(8);
$pdf->SetFont('Arial','',10);
$pdf->Cell(0, 0, utf8_decode('CUPO LIMITADO'), 0, 1, 'L');
$pdf->ln(8);
$pdf->SetFont('Arial', '', 12);
$pdf->Code39(80, 160, $datos['id_registro'], 1, 13);
$pdf->ln(10);
}
/* liberar el conjunto de resultados */
mysqli_free_result($resultado);
}
mysqli_close($con);
$pdf->Output();
+144
View File
@@ -0,0 +1,144 @@
<?php
require("reportes/mc_table.php");
include("sql/conexion.php");
include ("sql/funciones.php");
$con = Conectarse();
$id_solicitud = $_GET['id'];
$query = "call st_trae_datos_solicitante('".$id_solicitud."')";
$resultado = mysql_query($query, $con);
$datos = mysql_fetch_array($resultado);
$pdf = new PDF_MC_Table();
$pdf->AddPage();
$pdf->Image("images/logo_dsc.png", 5, 5, 0, 0);
$pdf->SetFont('Arial','B',12);
$pdf->Cell(0, 0, utf8_decode('Fecha de solicitud:')." ".$fecha, 0, 1, 'R');
$pdf->ln(8);
$pdf->SetFont('Arial','B',12);
$pdf->Cell(0, 0, utf8_decode('Número de solicitud:')." ".$datos['id_solicitud'], 0, 1, 'R');
$pdf->ln(50);
$pdf->SetFont('Arial','B',20);
$pdf->Cell(0, 0, utf8_decode('Solicitud préstamo de salas de cómputo'), 0, 1, 'C');
$pdf->ln(12);
$pdf->Cell(0, 0, "", 1, 1, 'L');
$pdf->ln(12);
$pdf->SetFont('Arial','B',12);
$pdf->Cell(0, 0, utf8_decode('DATOS DEL SOLICITANTE'), 0, 1, 'C');
$pdf->ln(10);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Adscripción:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['adscripcion'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Nombre:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['responsable_nombre'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Teléfono:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['responsable_telefono'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Correo electrónico:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['responsable_correo'], 0, 1, 'C');
$pdf->ln(12);
$pdf->Cell(0, 0, "", 1, 1, 'L');
$pdf->ln(12);
$pdf->SetFont('Arial','B',12);
$pdf->Cell(0, 0, utf8_decode('DATOS DEL EVENTO'), 0, 1, 'C');
$pdf->ln(10);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Nombre del profesor:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['profesor'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Tipo de evento:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['evento_tipo'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Nombre del evento:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['nombre_evento'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('No. de asistentes:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['numero_asistentes'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Fecha:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
if($tipo_sesion == 0){
$pdf->Cell(0, 0, $datos['fecha_inicial'], 0, 1, 'C');
}else{
$pdf->Cell(0, 0, $datos['fecha_inicial']." al ".$datos['fecha_final'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Días:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, utf8_decode($dias), 0, 1, 'C');
}
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Horario:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['hora_inicial']." - ".$datos['hora_final'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Software a utilizar:'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $datos['software'], 0, 1, 'C');
$pdf->ln(8);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(0, 0, utf8_decode('Objetivo del evento:'), 0, 1, 'L');
$cadena = $datos['objetivo'];
$num_filas = ceil(strlen($datos['objetivo'])/42);
$incremento = 0;
for($j=0;$j<$num_filas;$j++){
$fila[$j] = "";
for($i=($incremento);$i<=($incremento+41);$i++){
$fila[$j] .= $cadena[$i];
}
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(0, 0, $fila[$j], 0, 1, 'C');
$pdf->ln(4);
$incremento += 42;
}
if($tipo_sesion == 0){
$saltos_linea_objetivo = 32-4*$num_filas;
}else{
$saltos_linea_objetivo = (24-4*$num_filas);
}
$pdf->ln($saltos_linea_objetivo);
$pdf->SetFont('Arial', 'B', 10);
$pdf->Cell(0, 0, utf8_decode('**Nota: Con este comprobante acepta: haber leído y comprometido a cumplir los lineamientos de uso de'), 0, 1, 'L');
$pdf->ln(5);
$pdf->SetFont('Arial', 'B', 10);
$pdf->Cell(0, 0, utf8_decode('los espacios físicos del Centro de Desarrollo Tecnológico.'), 0, 1, 'L');
$pdf->ln(5);
$pdf->SetFont('Arial', 'B', 10);
$pdf->Cell(0, 0, utf8_decode('No imprimir este documento y esperar su respuesta de solicitud por oficio.'), 0, 1, 'L');
$pdf->SetFont('Arial', '', 12);
$pdf->Code39(170, 255, $cuenta, 1, 13); //Código de barras
$pdf->ln(8);
$pdf->Cell(0, 0, utf8_decode('Cadena única verificadora:'), 0, 1, 'L');
$pdf->ln(3);
$pdf->MultiCell(0, 5, substr(base64_encode($datos['id_solicitud'].$datos['fecha_solicitud'].$datos['responsable_nombre']."Solicitud préstamo de salas de cómputo"), 0, 70));
$pdf->ln(10);
mysql_close($con);
$pdf->Output();
header("location:index.php");
+55
View File
@@ -0,0 +1,55 @@
<?php
include 'php/header.php';
include "sql/conexion.php";
include "sql/funciones.php";
include "muestra_conexion.php";
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D,d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
session_start();
session_unset();
session_destroy();
?>
<form method="post" id="seccion_descarga">
<div id="contenido" style="margin-left: 35px; border-color: black;">
<div style="padding-left:100px">
<table style="border-collapse: collapse; width: 750px;">
<tr>
<td colspan="2"><h6 style="font-weight: bold;">Descarga de tu boleto</h6></td>
</tr>
<tr>
<td style="text-align: right;">
<label>Correo electrónico</label>
</td>
<td style="text-align: left;">
<input type="text" id="email" class="texto automatico_boleto" name="email" placeholder=" ejemplo@gmail.com" maxlength="100">
<div id="verify_mail"></div><input type="hidden" id="email_valida" value="0">
</td>
</tr>
<tr>
<td colspan="2"><input type="button" id="download_ticket" value="Descargar"></td>
</tr>
<tr>
<td colspan="2"><h6 style="font-weight: bold;">Datos de contacto</h6></td>
</tr>
<tr>
<td colspan="2" style="text-align: left;">
<label style="padding-left: 30px; font-weight: bold;">Gloria Moctezuma Nájera</label>
<ul class="lista-b">
<li style="height: 10px;"><label style="font-style: italic;">Secretaria Técnica de la Secretaría de Extensión Universitaria y Vinculación Institucional</label></li>
<li style="height: 10px;">Facultad de Estudios Superiores Acatlán</li>
<li style="height: 22px;">Universidad Nacional Autónoma de México</li>
<li style="height: 10px;"><span style="font-style: italic;">Número de contacto:</span> 5623-1665</li>
<li><span style="font-style: italic;">Correo electrónico:</span><span style="color: blue;"> vegresados@apolo.acatlan.unam.mx</span></li>
</ul>
</td>
</tr>
</table>
</div>
</div>
</form>
<?php
include ("php/footer.php");
+6
View File
@@ -0,0 +1,6 @@
/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
You allowed to use this component or parts of it under GPL terms
To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
*/
.dhx_tooltip{display:none;position:absolute;font-family:Tahoma;font-size:8pt;z-index:10000;background-color:white;padding:2px 2px 2px 2px;border:1px solid #A4BED4;}.dhx_chart{position:relative;font-family:Tahoma;font-size:11px;color:#000;overflow:hidden;}.dhx_canvas_text{position:absolute;text-align:center;overflow:hidden;white-space:nowrap;}.dhx_map_img{width:100%;height:100%;position:absolute;top:0;left:0;border:0;filter:alpha(opacity=0);}.dhx_axis_item_y{position:absolute;height:18px;line-height:18px;margin-top:-4px;text-align:right;}.dhx_axis_title_x{text-align:center;}.dhx_axis_title_y{text-align:center;font-family:Tahoma;-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);height:18px;line-height:18px;}.dhx_ie_filter{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);zoom:1;font-family:serif;}.dhx_chart_legend{position:absolute;}.dhx_chart_legend_item{height:18px;line-height:18px;padding:2px;}.dhx_axis_item_y.dhx_radar{color:#666;font-size:11px;padding-right:3px;height:13px;line-height:13px;margin-top:0;}.dhx_canvas_text.dhx_axis_radar_title{margin-top:0;padding-top:0;}.dhx_axis_item_y,.dhx_axis_item_x{color:#666;}
+181
View File
@@ -0,0 +1,181 @@
/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
You allowed to use this component or parts of it under GPL terms
To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
*/
window.dhtmlx||(dhtmlx={});dhtmlx.version="3.0";dhtmlx.codebase="./";dhtmlx.copy=function(a){var b=dhtmlx.copy._function;b.prototype=a;return new b};dhtmlx.copy._function=function(){};dhtmlx.extend=function(a,b){for(var c in b)a[c]=b[c];b._init&&a._init();return a};
dhtmlx.proto_extend=function(){for(var a=arguments,b=a[0],c=[],d=a.length-1;d>0;d--){if(typeof a[d]=="function")a[d]=a[d].prototype;for(var e in a[d])e=="_init"?c.push(a[d][e]):b[e]||(b[e]=a[d][e])}a[0]._init&&c.push(a[0]._init);b._init=function(){for(var a=0;a<c.length;a++)c[a].apply(this,arguments)};b.base=a[1];var f=function(a){this._init(a);this._parseSettings&&this._parseSettings(a,this.defaults)};f.prototype=b;b=a=null;return f};dhtmlx.bind=function(a,b){return function(){return a.apply(b,arguments)}};
dhtmlx.require=function(a){dhtmlx._modules[a]||(dhtmlx.exec(dhtmlx.ajax().sync().get(dhtmlx.codebase+a).responseText),dhtmlx._modules[a]=!0)};dhtmlx._modules={};dhtmlx.exec=function(a){window.execScript?window.execScript(a):window.eval(a)};dhtmlx.methodPush=function(a,b){return function(){var c=!1;return c=a[b].apply(a,arguments)}};dhtmlx.isNotDefined=function(a){return typeof a=="undefined"};dhtmlx.delay=function(a,b,c,d){setTimeout(function(){var d=a.apply(b,c);a=b=c=null;return d},d||1)};
dhtmlx.uid=function(){if(!this._seed)this._seed=(new Date).valueOf();this._seed++;return this._seed};dhtmlx.toNode=function(a){return typeof a=="string"?document.getElementById(a):a};dhtmlx.toArray=function(a){return dhtmlx.extend(a||[],dhtmlx.PowerArray)};dhtmlx.toFunctor=function(a){return typeof a=="string"?eval(a):a};dhtmlx._events={};
dhtmlx.event=function(a,b,c,d){var a=dhtmlx.toNode(a),e=dhtmlx.uid();dhtmlx._events[e]=[a,b,c];d&&(c=dhtmlx.bind(c,d));a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c);return e};dhtmlx.eventRemove=function(a){if(a){var b=dhtmlx._events[a];b[0].removeEventListener?b[0].removeEventListener(b[1],b[2],!1):b[0].detachEvent&&b[0].detachEvent("on"+b[1],b[2]);delete this._events[a]}};
dhtmlx.EventSystem={_init:function(){this._events={};this._handlers={};this._map={}},block:function(){this._events._block=!0},unblock:function(){this._events._block=!1},mapEvent:function(a){dhtmlx.extend(this._map,a)},callEvent:function(a,b){if(this._events._block)return!0;var a=a.toLowerCase(),c=this._events[a.toLowerCase()],d=!0;if(c)for(var e=0;e<c.length;e++)if(c[e].apply(this,b||[])===!1)d=!1;this._map[a]&&!this._map[a].callEvent(a,b)&&(d=!1);return d},attachEvent:function(a,b,c){var a=a.toLowerCase(),
c=c||dhtmlx.uid(),b=dhtmlx.toFunctor(b),d=this._events[a]||dhtmlx.toArray();d.push(b);this._events[a]=d;this._handlers[c]={f:b,t:a};return c},detachEvent:function(a){if(this._handlers[a]){var b=this._handlers[a].t,c=this._handlers[a].f,d=this._events[b];d.remove(c);delete this._handlers[a]}}};
dhtmlx.PowerArray={removeAt:function(a,b){a>=0&&this.splice(a,b||1)},remove:function(a){this.removeAt(this.find(a))},insertAt:function(a,b){if(!b&&b!==0)this.push(a);else{var c=this.splice(b,this.length-b);this[b]=a;this.push.apply(this,c)}},find:function(a){for(i=0;i<this.length;i++)if(a==this[i])return i;return-1},each:function(a,b){for(var c=0;c<this.length;c++)a.call(b||this,this[c])},map:function(a,b){for(var c=0;c<this.length;c++)this[c]=a.call(b||this,this[c]);return this}};dhtmlx.env={};
if(navigator.userAgent.indexOf("Opera")!=-1)dhtmlx._isOpera=!0;else{dhtmlx._isIE=!!document.all;dhtmlx._isFF=!document.all;dhtmlx._isWebKit=navigator.userAgent.indexOf("KHTML")!=-1;if(navigator.appVersion.indexOf("MSIE 8.0")!=-1&&document.compatMode!="BackCompat")dhtmlx._isIE=8;if(navigator.appVersion.indexOf("MSIE 9.0")!=-1&&document.compatMode!="BackCompat")dhtmlx._isIE=9}dhtmlx.env={};
(function(){dhtmlx.env.transform=!1;dhtmlx.env.transition=!1;for(var a={names:["transform","transition"],transform:["transform","WebkitTransform","MozTransform","oTransform","msTransform"],transition:["transition","WebkitTransition","MozTransition","oTransition"]},b=document.createElement("DIV"),c,d=0;d<a.names.length;d++)for(;p=a[a.names[d]].pop();)typeof b.style[p]!="undefined"&&(dhtmlx.env[a.names[d]]=!0)})();
dhtmlx.env.transform_prefix=function(){var a;dhtmlx._isOpera?a="-o-":(a="",dhtmlx._isFF&&(a="-moz-"),dhtmlx._isWebKit&&(a="-webkit-"));return a}();dhtmlx.env.svg=function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}();dhtmlx.zIndex={drag:1E4};
dhtmlx.html={create:function(a,b,c){var b=b||{},d=document.createElement(a),e;for(e in b)d.setAttribute(e,b[e]);if(b.style)d.style.cssText=b.style;if(b["class"])d.className=b["class"];if(c)d.innerHTML=c;return d},getValue:function(a){a=dhtmlx.toNode(a);return!a?"":dhtmlx.isNotDefined(a.value)?a.innerHTML:a.value},remove:function(a){if(a instanceof Array)for(var b=0;b<a.length;b++)this.remove(a[b]);else a&&a.parentNode&&a.parentNode.removeChild(a)},insertBefore:function(a,b,c){a&&(b?b.parentNode.insertBefore(a,
b):c.appendChild(a))},locate:function(a,b){for(var a=a||event,c=a.target||a.srcElement;c;){if(c.getAttribute){var d=c.getAttribute(b);if(d)return d}c=c.parentNode}return null},offset:function(a){if(a.getBoundingClientRect){var b=a.getBoundingClientRect(),c=document.body,d=document.documentElement,e=window.pageYOffset||d.scrollTop||c.scrollTop,f=window.pageXOffset||d.scrollLeft||c.scrollLeft,h=d.clientTop||c.clientTop||0,g=d.clientLeft||c.clientLeft||0,i=b.top+e-h,j=b.left+f-g;return{y:Math.round(i),
x:Math.round(j)}}else{for(j=i=0;a;)i+=parseInt(a.offsetTop,10),j+=parseInt(a.offsetLeft,10),a=a.offsetParent;return{y:i,x:j}}},pos:function(a){a=a||event;if(a.pageX||a.pageY)return{x:a.pageX,y:a.pageY};var b=dhtmlx._isIE&&document.compatMode!="BackCompat"?document.documentElement:document.body;return{x:a.clientX+b.scrollLeft-b.clientLeft,y:a.clientY+b.scrollTop-b.clientTop}},preventEvent:function(a){a&&a.preventDefault&&a.preventDefault();dhtmlx.html.stopEvent(a)},stopEvent:function(a){(a||event).cancelBubble=
!0;return!1},addCss:function(a,b){a.className+=" "+b},removeCss:function(a,b){a.className=a.className.replace(RegExp(b,"g"),"")}};(function(){var a=document.getElementsByTagName("SCRIPT");if(a.length)a=(a[a.length-1].getAttribute("src")||"").split("/"),a.splice(a.length-1,1),dhtmlx.codebase=a.slice(0,a.length).join("/")+"/"})();if(!dhtmlx.ui)dhtmlx.ui={};
dhtmlx.Destruction={_init:function(){dhtmlx.destructors.push(this)},destructor:function(){this.destructor=function(){};this._htmlrows=this._htmlmap=null;this._html&&document.body.appendChild(this._html);this._html=null;if(this._obj)this._obj.innerHTML="",this._obj._htmlmap=null;this.data=this._obj=this._dataobj=null;this._events=this._handlers={}}};dhtmlx.destructors=[];
dhtmlx.event(window,"unload",function(){for(var a=0;a<dhtmlx.destructors.length;a++)dhtmlx.destructors[a].destructor();dhtmlx.destructors=[];for(var b in dhtmlx._events){var c=dhtmlx._events[b];c[0].removeEventListener?c[0].removeEventListener(c[1],c[2],!1):c[0].detachEvent&&c[0].detachEvent("on"+c[1],c[2]);delete dhtmlx._events[b]}});dhtmlx.math={};dhtmlx.math._toHex="0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F".split(",");
dhtmlx.math.toHex=function(a,b){a=parseInt(a,10);for(str="";a>0;)str=this._toHex[a%16]+str,a=Math.floor(a/16);for(;str.length<b;)str="0"+str;return str};dhtmlx.math.hexToDec=function(a){return parseInt(a,16)};
dhtmlx.math.toRgb=function(a){var b,c,d,e;typeof a!="string"?(b=a[0],c=a[1],d=a[2]):a.indexOf("rgb")!=-1?(e=a.substr(a.indexOf("(")+1,a.lastIndexOf(")")-a.indexOf("(")-1).split(","),b=e[0],c=e[1],d=e[2]):(a.substr(0,1)=="#"&&(a=a.substr(1)),b=this.hexToDec(a.substr(0,2)),c=this.hexToDec(a.substr(2,2)),d=this.hexToDec(a.substr(4,2)));b=parseInt(b,10)||0;c=parseInt(c,10)||0;d=parseInt(d,10)||0;if(b<0||b>255)b=0;if(c<0||c>255)c=0;if(d<0||d>255)d=0;return[b,c,d]};
dhtmlx.math.hsvToRgb=function(a,b,c){var d,e,f,h,g,i,j,k;d=Math.floor(a/60)%6;e=a/60-d;f=c*(1-b);h=c*(1-e*b);g=c*(1-(1-e)*b);k=j=i=0;switch(d){case 0:i=c;j=g;k=f;break;case 1:i=h;j=c;k=f;break;case 2:i=f;j=c;k=g;break;case 3:i=f;j=h;k=c;break;case 4:i=g;j=f;k=c;break;case 5:i=c,j=f,k=h}i=Math.floor(i*255);j=Math.floor(j*255);k=Math.floor(k*255);return[i,j,k]};
dhtmlx.math.rgbToHsv=function(a,b,c){var d,e,f,h,g,i,j,k;d=a/255;e=b/255;f=c/255;h=Math.min(d,e,f);g=Math.max(d,e,f);j=0;i=g==0?0:1-h/g;k=g;g==h?j=0:g==d&&e>=f?j=60*(e-f)/(g-h)+0:g==d&&e<f?j=60*(e-f)/(g-h)+360:g==e?j=60*(f-d)/(g-h)+120:g==f&&(j=60*(d-e)/(g-h)+240);return[j,i,k]};if(!dhtmlx.presets)dhtmlx.presets={};
dhtmlx.presets.chart={simple:{item:{borderColor:"#ffffff",color:"#2b7100",shadow:!1,borderWidth:2},line:{color:"#8ecf03",width:2}},plot:{color:"#1293f8",item:{borderColor:"#636363",borderWidth:1,color:"#ffffff",type:"r",shadow:!1},line:{color:"#1293f8",width:2}},diamond:{color:"#b64040",item:{borderColor:"#b64040",color:"#b64040",type:"d",radius:3,shadow:!0},line:{color:"#ff9000",width:2}},point:{color:"#fe5916",disableLines:!0,fill:!1,disableItems:!1,item:{color:"#feb916",borderColor:"#fe5916",radius:2,
borderWidth:1,type:"r"},alpha:1},line:{line:{color:"#3399ff",width:2},item:{color:"#ffffff",borderColor:"#3399ff",radius:2,borderWidth:2,type:"d"},fill:!1,disableItems:!1,disableLines:!1,alpha:1},area:{fill:"#3399ff",line:{color:"#3399ff",width:1},disableItems:!0,alpha:0.2,disableLines:!1},round:{item:{radius:3,borderColor:"#3f83ff",borderWidth:1,color:"#3f83ff",type:"r",shadow:!1,alpha:0.6}},square:{item:{radius:3,borderColor:"#447900",borderWidth:2,color:"#69ba00",type:"s",shadow:!1,alpha:1}},column:{color:"RAINBOW",
gradient:!1,width:45,radius:0,alpha:1,border:!0},stick:{width:5,gradient:!1,color:"#67b5c9",radius:2,alpha:1,border:!1},alpha:{color:"#b9a8f9",width:70,gradient:"falling",radius:0,alpha:0.5,border:!0}};dhtmlx.ui.Map=function(a){this.name="Map";this._id="map_"+dhtmlx.uid();this._key=a;this._map=[]};
dhtmlx.ui.Map.prototype={addRect:function(a,b,c){this._createMapArea(a,"RECT",b,c)},addPoly:function(a,b){this._createMapArea(a,"POLY",b)},_createMapArea:function(a,b,c,d){var e="";arguments.length==4&&(e="userdata='"+d+"'");this._map.push("<area "+this._key+"='"+a+"' shape='"+b+"' coords='"+c.join()+"' "+e+"></area>")},addSector:function(a,b,c,d,e,f,h){var g=[];g.push(d);g.push(Math.floor(e*h));for(var i=b;i<c;i+=Math.PI/18)g.push(Math.floor(d+f*Math.cos(i))),g.push(Math.floor((e+f*Math.sin(i))*
h));g.push(Math.floor(d+f*Math.cos(c)));g.push(Math.floor((e+f*Math.sin(c))*h));g.push(d);g.push(Math.floor(e*h));return this.addPoly(a,g)},render:function(a){var b=dhtmlx.html.create("DIV");b.style.cssText="position:absolute; width:100%; height:100%; top:0px; left:0px;";a.appendChild(b);var c=dhtmlx._isIE?"":"src='data:image/gif;base64,R0lGODlhEgASAIAAAP///////yH5BAUUAAEALAAAAAASABIAAAIPjI+py+0Po5y02ouz3pwXADs='";b.innerHTML="<map id='"+this._id+"' name='"+this._id+"'>"+this._map.join("\n")+"</map><img "+
c+" class='dhx_map_img' usemap='#"+this._id+"'>";a._htmlmap=b;this._map=[]}};dhtmlx.chart={};
dhtmlx.chart.scatter={pvt_render_scatter:function(a,b,c,d,e,f){if(!this._settings.xValue)return null;var h=this._getLimits(),g=this._getLimits("h","xValue");e||(this._drawYAxis(a,b,c,d,h.min,h.max),this._drawHXAxis(a,b,c,d,g.min,g.max));for(var h={min:this._settings.yAxis.start,max:this._settings.yAxis.end},g={min:this._settings.xAxis.start,max:this._settings.xAxis.end},i=this._getScatterParams(a,b,c,d,g,h),j=0;j<b.length;j++)this._drawScatterItem(a,f,c,d,i,g,h,b[j],e)},_getScatterParams:function(a,
b,c,d,e,f){var h={};h.totalHeight=d.y-c.y;h.totalWidth=d.x-c.x;this._calcScatterUnit(h,e.min,e.max,h.totalWidth,"X");this._calcScatterUnit(h,f.min,f.max,h.totalHeight,"Y");return h},_drawScatterItem:function(a,b,c,d,e,f,h,g,i){var j=this._calculateScatterItemPosition(e,d,c,f,g,"X"),k=this._calculateScatterItemPosition(e,c,d,h,g,"Y");this._drawItemOfLineChart(a,j,k,g,1);var l=this._settings,m=l.eventRadius||Math.floor(l.item.radius+1);b.addRect(g.id,[j-m,k-m,j+m,k+m],i)},_calculateScatterItemPosition:function(a,
b,c,d,e,f){var h=this._settings[f=="X"?"xValue":"value"].call(this,e),g=a["valueFactor"+f],i=(parseFloat(h||0)-d.min)*g,j=a["unit"+f],k=c[f.toLowerCase()]-(f=="X"?-1:1)*Math.floor(j*i);i<0&&(k=c[f.toLowerCase()]);h>d.max&&(k=b[f.toLowerCase()]);h<d.min&&(k=c[f.toLowerCase()]);return k},_calcScatterUnit:function(a,b,c,d,e){var f=this._getRelativeValue(b,c),e=e||"";a["relValue"+e]=f[0];a["valueFactor"+e]=f[1];a["unit"+e]=a["relValue"+e]?d/a["relValue"+e]:10}};
dhtmlx.chart.radar={pvt_render_radar:function(a,b,c,d,e,f){this._renderRadarChart(a,b,c,d,e,f)},_renderRadarChart:function(a,b,c,d,e,f){if(b.length){for(var h=this._getPieParameters(c,d),g=this._settings.radius?this._settings.radius:h.radius,i=this._settings.x?this._settings.x:h.x,j=this._settings.y?this._settings.y:h.y,k=[],l=0;l<b.length;l++)k.push(1);var m=this._getRatios(k,b.length);e||this._drawRadarAxises(a,m,i,j,g,b);this._drawRadarData(a,m,i,j,g,b,e,f)}},_drawRadarData:function(a,b,c,d,e,
f,h,g){var i,j,k,l,m,p,o,n,r,q,u,z,x,y,s,w,v,t,A,B;l=this._settings;p=l.yAxis.start;o=l.yAxis.end;B=this._getRelativeValue(p,o);A=(x=B[0])?e/x:e/2;t=B[1];i=j=y=-Math.PI/2;q=[];for(m=0;m<f.length;m++)v?w=v:(s=l.value(f[m]),w=v||(parseFloat(s||0)-p)*t),u=Math.floor(A*w),s=l.value(m!=f.length-1?f[m+1]:f[0]),v=(parseFloat(s||0)-p)*t,z=Math.floor(A*v),i=j,j=m!=f.length-1?y+b[m]-1.0E-4:y,n=r||this._getPositionByAngle(i,c,d,u),r=this._getPositionByAngle(j,c,d,z),k=l.eventRadius||parseInt(l.item.radius.call(this,
f[m]),10)+l.item.borderWidth,g.addRect(f[m].id,[n.x-k,n.y-k,n.x+k,n.y+k],h),q.push(n);l.fill&&this._fillRadarChart(a,q,f);l.disableLines||this._strokeRadarChart(a,q,f);l.disableItems||this._drawRadarItemMarkers(a,q,f);q=null},_drawRadarItemMarkers:function(a,b,c){for(var d=0;d<b.length;d++)this._drawItemOfLineChart(a,b[d].x,b[d].y,c[d])},_fillRadarChart:function(a,b,c){var d,e;a.globalAlpha=this._settings.alpha.call(this,{});a.beginPath();for(var f=0;f<b.length;f++)a.fillStyle=this._settings.fill.call(this,
c[f]),d=b[f],e=b[f+1]||b[0],f||a.moveTo(d.x,d.y),a.lineTo(e.x,e.y);a.fill();a.globalAlpha=1},_strokeRadarChart:function(a,b,c){for(var d,e,f=0;f<b.length;f++)d=b[f],e=b[f+1]||b[0],this._drawLine(a,d.x,d.y,e.x,e.y,this._settings.line.color.call(this,c[f]),this._settings.line.width)},_drawRadarAxises:function(a,b,c,d,e,f){var h=this._settings.yAxis,g=this._settings.xAxis,i=h.start,j=h.end,k=h.step,l={},m=this._settings.configYAxis;if(typeof m.step=="undefined"||typeof m.start=="undefined"||typeof m.end==
"undefined"){var p=this._getLimits(),l=this._calculateScale(p.min,p.max),i=l.start,j=l.end,k=l.step;h.end=j;h.start=i}var o=[],n,r,q,u=0,z=e*k/(j-i),x,y;k<1&&(x=Math.min(this._log10(k),i<=0?0:this._log10(i)),y=Math.pow(10,-x));var s=[];for(n=j;n>=i;n-=k){l.fixNum&&(n=parseFloat((new Number(n)).toFixed(l.fixNum)));o.push(Math.floor(u*z)+0.5);y&&(n=Math.round(n*y)/y);var w=d-e+o[o.length-1];this.renderTextAt("middle","left",c,w,h.template(n.toString()),"dhx_axis_item_y dhx_radar");if(b.length<2){this._drawScaleSector(a,
"arc",c,d,e-o[o.length-1],-Math.PI/2,3*Math.PI/2,n);return}var v=-Math.PI/2,t=v,A;for(r=0;r<b.length;r++)n==j&&s.push(t),A=v+b[r]-1.0E-4,this._drawScaleSector(a,m.lineShape||"line",c,d,e-o[o.length-1],t,A,n,r,f[n]),t=A;u++}for(n=0;n<s.length;n++)q=this._getPositionByAngle(s[n],c,d,e),this._drawLine(a,c,d,q.x,q.y,g?g.lineColor.call(this,f[n]):"#cfcfcf",g&&g.lineWidth?g.lineWidth.call(this,f[n]):1),this._drawRadarScaleLabel(a,c,d,e,s[n],g?g.template.call(this,f[n]):"&nbsp;")},_drawScaleSector:function(a,
b,c,d,e,f,h,g,i){var j,k;if(e<0)return!1;j=this._getPositionByAngle(f,c,d,e);k=this._getPositionByAngle(h,c,d,e);var l=this._settings.yAxis;if(l.bg)a.beginPath(),a.moveTo(c,d),b=="arc"?a.arc(c,d,e,f,h,!1):(a.lineTo(j.x,j.y),a.lineTo(k.x,k.y)),a.fillStyle=l.bg(g,i),a.moveTo(c,d),a.fill(),a.closePath();if(l.lines(g,i))a.lineWidth=1,a.beginPath(),b=="arc"?a.arc(c,d,e,f,h,!1):(a.moveTo(j.x,j.y),a.lineTo(k.x,k.y)),a.strokeStyle=l.lineColor(g,i),a.stroke()},_drawRadarScaleLabel:function(a,b,c,d,e,f){var h=
this.renderText(0,0,f,"dhx_axis_radar_title",1),g=h.scrollWidth,i=h.offsetHeight,j=0.0010,k=this._getPositionByAngle(e,b,c,d+5),l=0,m=0;if(e<0||e>Math.PI)m=-i;e>Math.PI/2&&(l=-g);if(Math.abs(e+Math.PI/2)<j||Math.abs(e-Math.PI/2)<j)l=-g/2;else if(Math.abs(e)<j||Math.abs(e-Math.PI)<j)m=-i/2;h.style.top=k.y+m+"px";h.style.left=k.x+l+"px";h.style.width=g+"px";h.style.whiteSpace="nowrap"}};
dhtmlx.chart.area={pvt_render_area:function(a,b,c,d,e,f){var h=this._calculateParametersOfLineChart(a,b,c,d,e),g=this._settings.eventRadius||Math.floor(h.cellWidth/2);if(b.length){a.globalAlpha=this._settings.alpha.call(this,b[0]);a.fillStyle=this._settings.color.call(this,b[0]);var i=this._getYPointOfLineChart(b[0],c,d,h),j=this._settings.offset?c.x+h.cellWidth*0.5:c.x;a.beginPath();a.moveTo(j,d.y);a.lineTo(j,i);f.addRect(b[0].id,[j-g,i-g,j+g,i+g],e);this._settings.yAxis||this.renderTextAt(!1,!this._settings.offset?
!1:!0,j,i-this._settings.labelOffset,this._settings.label(b[0]));for(var k=1;k<b.length;k++){var l=j+Math.floor(h.cellWidth*k)-0.5,m=this._getYPointOfLineChart(b[k],c,d,h);a.lineTo(l,m);f.addRect(b[k].id,[l-g,m-g,l+g,m+g],e);this._settings.yAxis||this.renderTextAt(!1,!this._settings.offset&&k==b.length-1?"left":"center",l,m-this._settings.labelOffset,this._settings.label(b[k]))}a.lineTo(j+Math.floor(h.cellWidth*[b.length-1]),d.y);a.lineTo(j,d.y);a.fill()}}};
dhtmlx.chart.stackedArea={pvt_render_stackedArea:function(a,b,c,d,e,f){var h=this._calculateParametersOfLineChart(a,b,c,d,e),g=this._settings.eventRadius||Math.floor(h.cellWidth/2),i=[];if(b.length){a.globalAlpha=this._settings.alpha.call(this,b[0]);a.fillStyle=this._settings.color.call(this,b[0]);var j=e?b[0].$startY:d.y,k=this._settings.offset?c.x+h.cellWidth*0.5:c.x,l=this._getYPointOfLineChart(b[0],c,d,h)-(e?d.y-j:0);i[0]=l;a.beginPath();a.moveTo(k,j);a.lineTo(k,l);f.addRect(b[0].id,[k-g,l-g,
k+g,l+g],e);this._settings.yAxis||this.renderTextAt(!1,!0,k,l-this._settings.labelOffset,this._settings.label(b[0]));for(var m=1;m<b.length;m++){var p=k+Math.floor(h.cellWidth*m)-0.5,o=this._getYPointOfLineChart(b[m],c,d,h)-(e?d.y-b[m].$startY:0);i[m]=o;a.lineTo(p,o);f.addRect(b[m].id,[p-g,o-g,p+g,o+g],e);this._settings.yAxis||this.renderTextAt(!1,!0,p,o-this._settings.labelOffset,this._settings.label(b[m]))}a.lineTo(k+Math.floor(h.cellWidth*[b.length-1]),j);if(e)for(m=b.length-1;m>=0;m--){var p=
k+Math.floor(h.cellWidth*m)-0.5,n=b[m].$startY;a.lineTo(p,n)}else a.lineTo(k+Math.floor(h.cellWidth*(length-1))-0.5,j);a.lineTo(k,j);a.fill();for(m=0;m<b.length;m++)b[m].$startY=i[m]}}};
dhtmlx.chart.spline={pvt_render_spline:function(a,b,c,d,e,f){var h,g,i,j,k,l,m,p,o,n,r,q,u,z,x;l=this._calculateParametersOfLineChart(a,b,c,d,e);g=this._settings;j=[];if(b.length){n=g.offset?c.x+l.cellWidth*0.5:c.x;for(i=0;i<b.length;i++)o=!i?n:Math.floor(l.cellWidth*i)-0.5+n,u=this._getYPointOfLineChart(b[i],c,d,l),j.push({x:o,y:u});p=this._getSplineParameters(j);for(i=0;i<j.length;i++){r=j[i].x;z=j[i].y;if(i<j.length-1){q=j[i+1].x;x=j[i+1].y;for(k=r;k<q;k++)this._drawLine(a,k,this._getSplineYPoint(k,
r,i,p.a,p.b,p.c,p.d),k+1,this._getSplineYPoint(k+1,r,i,p.a,p.b,p.c,p.d),g.line.color(b[i]),g.line.width);this._drawLine(a,q-1,this._getSplineYPoint(k,r,i,p.a,p.b,p.c,p.d),q,x,g.line.color(b[i]),g.line.width)}this._drawItemOfLineChart(a,r,z,b[i],g.label(b[i]));m=parseInt(g.item.radius.call(this,b[i-1]),10)||2;h=g.eventRadius||m+1;f.addRect(b[i].id,[r-h,z-h,r+h,z+h],e)}}},_getSplineParameters:function(a){var b,c,d,e,f,h,g,i,j,k;b=[];m=[];k=a.length;for(c=0;c<k-1;c++)b[c]=a[c+1].x-a[c].x,m[c]=(a[c+1].y-
a[c].y)/b[c];d=[];e=[];d[0]=0;d[1]=2*(b[0]+b[1]);e[0]=0;e[1]=6*(m[1]-m[0]);for(c=2;c<k-1;c++)d[c]=2*(b[c-1]+b[c])-b[c-1]*b[c-1]/d[c-1],e[c]=6*(m[c]-m[c-1])-b[c-1]*e[c-1]/d[c-1];f=[];f[k-1]=f[0]=0;for(c=k-2;c>=1;c--)f[c]=(e[c]-b[c]*f[c+1])/d[c];h=[];g=[];i=[];j=[];for(c=0;c<k-1;c++)h[c]=a[c].y,g[c]=-b[c]*f[c+1]/6-b[c]*f[c]/3+(a[c+1].y-a[c].y)/b[c],i[c]=f[c]/2,j[c]=(f[c+1]-f[c])/(6*b[c]);return{a:h,b:g,c:i,d:j}},_getSplineYPoint:function(a,b,c,d,e,f,h){return d[c]+(a-b)*(e[c]+(a-b)*(f[c]+(a-b)*h[c]))}};
dhtmlx.chart.barH={pvt_render_barH:function(a,b,c,d,e,f){var h,g,i,j,k=d.x-c.x,l=!!this._settings.yAxis,m=!!this._settings.xAxis,p=this._getLimits("h");h=p.max;g=p.min;var o=Math.floor((d.y-c.y)/b.length);e||this._drawHScales(a,b,c,d,g,h,o);l&&(h=parseFloat(this._settings.xAxis.end),g=parseFloat(this._settings.xAxis.start));var n=this._getRelativeValue(g,h);j=n[0];i=n[1];var r=j?k/j:10;if(!l)var q=10,r=j?(k-q)/j:10;var u=parseInt(this._settings.width,10);u*this._series.length+4>o&&(u=o/this._series.length-
4);var z=Math.floor((o-u*this._series.length)/2),x=typeof this._settings.radius!="undefined"?parseInt(this._settings.radius,10):Math.round(u/5),y=!1,s=this._settings.gradient;s&&typeof s!="function"?(y=s,s=!1):s&&(s=a.createLinearGradient(c.x,c.y,d.x,c.y),this._settings.gradient(s));var w=0;l||this._drawLine(a,c.x-0.5,c.y,c.x-0.5,d.y,"#000000",1);for(var v=0;v<b.length;v++){var t=parseFloat(this._settings.value(b[v]||0));t>h&&(t=h);t-=g;t*=i;var A=c.x,B=c.y+z+v*o+(u+1)*e;if(t<0&&this._settings.origin==
"auto"||this._settings.xAxis&&t===0&&!(this._settings.origin!="auto"&&this._settings.origin>g))this.renderTextAt("middle","right",A+10,B+u/2+z,this._settings.label(b[v]));else{t<0&&this._settings.origin!="auto"&&this._settings.origin>g&&(t=0);l||(t+=q/r);var C=s||this._settings.color.call(this,b[v]);this._settings.border&&this._drawBarHBorder(a,A,B,u,g,x,r,t,C);a.globalAlpha=this._settings.alpha.call(this,b[v]);var D=this._drawBarH(a,c,A,B,u,g,x,r,t,C,s,y);y!=!1&&this._drawBarHGradient(a,A,B,u,g,
x,r,t,C,y);a.globalAlpha=1;D[3]==B?(this.renderTextAt("middle","left",D[0]-5,D[3]+Math.floor(u/2),this._settings.label(b[v])),f.addRect(b[v].id,[D[0],D[3],D[2],D[3]+u],e)):(this.renderTextAt("middle",!1,D[2]+5,D[1]+Math.floor(u/2),this._settings.label(b[v])),f.addRect(b[v].id,[D[0],B,D[2],D[3]],e))}}},_setBarHPoints:function(a,b,c,d,e,f,h,g,i){var j=0;if(e>f*h)var k=(e-f*h)/e,j=-Math.asin(k)+Math.PI/2;a.moveTo(b,c+g);var l=b+f*h-e-(e?0:g);e<f*h&&a.lineTo(l,c+g);var m=c+e;e&&e>0&&a.arc(l,m,e-g,-Math.PI/
2+j,0,!1);var p=c+d-e-(e?0:g),o=l+e-(e?g:0);a.lineTo(o,p);var n=l;e&&e>0&&a.arc(n,p,e-g,0,Math.PI/2-j,!1);var r=c+d-g;a.lineTo(b,r);i||a.lineTo(b,c+g);return[o,r]},_drawHScales:function(a,b,c,d,e,f,h){var g=this._drawHXAxis(a,b,c,d,e,f);this._drawHYAxis(a,b,c,d,h,g)},_drawHYAxis:function(a,b,c,d,e,f){if(this._settings.yAxis){var h,g=parseInt(f?f:c.x,10)-0.5,i=d.y+0.5,j=c.y;this._drawLine(a,g,i,g,j,this._settings.yAxis.color,1);for(var k=0;k<b.length;k++){var l=this._settings.origin!="auto"&&this._settings.view==
"barH"&&parseFloat(this._settings.value(b[k]))<this._settings.origin;h=j+e/2+k*e;this.renderTextAt("middle",l?!1:"left",l?g+5:g-5,h,this._settings.yAxis.template(b[k]),"dhx_axis_item_y",l?0:g-10);this._settings.yAxis.lines.call(this,b[k])&&this._drawLine(a,c.x,h,d.x,h,this._settings.yAxis.lineColor.call(this,b[k]),1)}this._drawLine(a,c.x+0.5,j+0.5,d.x,j+0.5,this._settings.yAxis.lineColor.call(this,{}),1);this._setYAxisTitle(c,d)}},_drawHXAxis:function(a,b,c,d,e,f){var h,g={},i=this._settings.xAxis;
if(i){var j=d.y+0.5,k=c.x-0.5,l=d.x-0.5,m=c.x;this._drawLine(a,k,j,l,j,i.color,1);i.step&&(h=parseFloat(i.step));if(typeof this._settings.configXAxis.step=="undefined"||typeof this._settings.configXAxis.start=="undefined"||typeof this._settings.configXAxis.end=="undefined")g=this._calculateScale(e,f),e=g.start,f=g.end,h=g.step,this._settings.xAxis.end=f,this._settings.xAxis.start=e,this._settings.xAxis.step=h;if(h!==0){for(var p=(l-k)*h/(f-e),o=0,n=e;n<=f;n+=h){g.fixNum&&(n=parseFloat((new Number(n)).toFixed(g.fixNum)));
var r=Math.floor(k+o*p)+0.5;!(n==e&&this._settings.origin=="auto")&&i.lines.call(this,n)&&this._drawLine(a,r,j,r,c.y,this._settings.xAxis.lineColor.call(this,n),1);n==this._settings.origin&&(m=r+1);this.renderTextAt(!1,!0,r,j+2,i.template(n.toString()),"dhx_axis_item_x");o++}this.renderTextAt(!0,!1,k,d.y+this._settings.padding.bottom-3,this._settings.xAxis.title,"dhx_axis_title_x",d.x-c.x);i.lines||this._drawLine(a,k,c.y-0.5,l,c.y-0.5,this._settings.xAxis.color,0.2);return m}}},_correctBarHParams:function(a,
b,c,d,e,f,h){var g=this._settings.yAxis,i=b;g&&this._settings.origin!="auto"&&this._settings.origin>h&&(b+=(this._settings.origin-h)*e,i=b,d-=this._settings.origin-h,d<0&&(d*=-1,a.translate(b,c+f),a.rotate(Math.PI),b=0.5,c=0),b+=0.5);return{value:d,x0:b,y0:c,start:i}},_drawBarH:function(a,b,c,d,e,f,h,g,i,j,k,l){a.save();var m=this._correctBarHParams(a,c,d,i,g,e,f);a.fillStyle=j;a.beginPath();var p=this._setBarHPoints(a,m.x0,m.y0,e,h,g,m.value,this._settings.border?1:0);k&&!l&&a.lineTo(b.x+total_width,
m.y0+(this._settings.border?1:0));a.fill();a.restore();var o=m.y0,n=m.y0!=d?d:p[1],r=m.y0!=d?m.start-p[0]:m.start,q=m.y0!=d?m.start:p[0];return[r,o,q,n]},_drawBarHBorder:function(a,b,c,d,e,f,h,g,i){a.save();var j=this._correctBarHParams(a,b,c,g,h,d,e);a.beginPath();this._setBorderStyles(a,i);a.globalAlpha=0.9;this._setBarHPoints(a,j.x0,j.y0,d,f,h,j.value,a.lineWidth/2,1);a.stroke();a.restore()},_drawBarHGradient:function(a,b,c,d,e,f,h,g,i,j){a.save();var k=this._correctBarHParams(a,b,c,g,h,d,e),l=
this._setBarGradient(a,k.x0,k.y0+d,k.x0+h*k.value,k.y0,j,i,"x");a.fillStyle=l.gradient;a.beginPath();var m=this._setBarHPoints(a,k.x0,k.y0+l.offset,d-l.offset*2,f,h,k.value,l.offset);a.fill();a.globalAlpha=1;a.restore()}};
dhtmlx.chart.stackedBarH={pvt_render_stackedBarH:function(a,b,c,d,e,f){var h,g,i,j,k=d.x-c.x,l=!!this._settings.yAxis,m=this._getStackedLimits(b);h=m.max;g=m.min;var p=Math.floor((d.y-c.y)/b.length);e||this._drawHScales(a,b,c,d,g,h,p);l&&(h=parseFloat(this._settings.xAxis.end),g=parseFloat(this._settings.xAxis.start));var o=this._getRelativeValue(g,h);j=o[0];i=o[1];var n=j?k/j:10;if(!l)var r=10,n=j?(k-r)/j:10;var q=parseInt(this._settings.width,10);q+4>p&&(q=p-4);var u=Math.floor((p-q)/2),z=0,x=!1,
y=this._settings.gradient;y&&(x=!0);l||this._drawLine(a,c.x-0.5,c.y,c.x-0.5,d.y,"#000000",1);for(var s=0;s<b.length;s++){if(!e)b[s].$startX=c.x;var w=parseFloat(this._settings.value(b[s]||0));w>h&&(w=h);w-=g;w*=i;var v=c.x,t=c.y+u+s*p;e?v=b[s].$startX:b[s].$startX=v;if(w<0||this._settings.yAxis&&w===0)this.renderTextAt("middle",!0,v+10,t+q/2,this._settings.label(b[s]));else{l||(w+=r/n);var A=this._settings.color.call(this,b[s]);a.globalAlpha=this._settings.alpha.call(this,b[s]);a.fillStyle=this._settings.color.call(this,
b[s]);a.beginPath();var B=this._setBarHPoints(a,v,t,q,z,n,w,this._settings.border?1:0);y&&!x&&a.lineTo(c.x+k,t+(this._settings.border?1:0));a.fill();if(x!=!1){var C=this._setBarGradient(a,v,t+q,v,t,x,A,"x");a.fillStyle=C.gradient;a.beginPath();B=this._setBarHPoints(a,v,t,q,z,n,w,0);a.fill()}this._settings.border&&this._drawBarHBorder(a,v,t,q,g,z,n,w,A);a.globalAlpha=1;this.renderTextAt("middle",!0,b[s].$startX+(B[0]-b[s].$startX)/2-1,t+(B[1]-t)/2,this._settings.label(b[s]));f.addRect(b[s].id,[b[s].$startX,
t,B[0],B[1]],e);b[s].$startX=B[0]}}}};
dhtmlx.chart.stackedBar={pvt_render_stackedBar:function(a,b,c,d,e,f){var h,g,i,j,k=d.y-c.y,l=!!this._settings.yAxis,m=!!this._settings.xAxis,p=this._getStackedLimits(b);h=p.max;g=p.min;var o=Math.floor((d.x-c.x)/b.length);e||this._drawScales(a,b,c,d,g,h,o);l&&(h=parseFloat(this._settings.yAxis.end),g=parseFloat(this._settings.yAxis.start));var n=this._getRelativeValue(g,h);j=n[0];i=n[1];var r=j?k/j:10,q=parseInt(this._settings.width,10);q+4>o&&(q=o-4);var u=Math.floor((o-q)/2),z=this._settings.gradient?
this._settings.gradient:!1;m||this._drawLine(a,c.x,d.y+0.5,d.x,d.y+0.5,"#000000",1);for(var x=0;x<b.length;x++){var y=parseFloat(this._settings.value(b[x]||0));if(y){e||(y-=g);y*=i;var s=c.x+u+x*o,w=d.y;e?w=b[x].$startY:b[x].$startY=w;if(!(w<c.y+1))if(y<0||this._settings.yAxis&&y===0)this.renderTextAt(!0,!0,s+Math.floor(q/2),w,this._settings.label(b[x]));else{var v=this._settings.color.call(this,b[x]);a.globalAlpha=this._settings.alpha.call(this,b[x]);a.fillStyle=this._settings.color.call(this,b[x]);
a.beginPath();var t=this._setStakedBarPoints(a,s-(this._settings.border?0.5:0),w,q+(this._settings.border?0.5:0),r,y,0,c.y);a.fill();if(z){a.save();var A=this._setBarGradient(a,s,w,s+q,t[1],z,v,"y");a.fillStyle=A.gradient;a.beginPath();t=this._setStakedBarPoints(a,s+A.offset,w,q-A.offset*2,r,y,this._settings.border?1:0,c.y);a.fill();a.restore()}this._settings.border&&(a.save(),this._setBorderStyles(a,v),a.beginPath(),this._setStakedBarPoints(a,s-0.5,w,q+1,r,y,0,c.y,1),a.stroke(),a.restore());a.globalAlpha=
1;this.renderTextAt(!1,!0,s+Math.floor(q/2),t[1]+(w-t[1])/2-7,this._settings.label(b[x]));f.addRect(b[x].id,[s,t[1],t[0],b[x].$startY||w],e);b[x].$startY=this._settings.border?t[1]+1:t[1]}}else if(!e||!b[x].$startY)b[x].$startY=d.y}},_setStakedBarPoints:function(a,b,c,d,e,f,h,g,i){a.moveTo(b,c);var j=c-e*f+h;j<g&&(j=g);a.lineTo(b,j);var k=b+d,l=j;a.lineTo(k,l);var m=b+d;a.lineTo(m,c);i||a.lineTo(b,c);return[m,l-2*h]}};
dhtmlx.chart.line={pvt_render_line:function(a,b,c,d,e,f){var h,g,i,j,k,l,m,p,o,n;j=this._calculateParametersOfLineChart(a,b,c,d,e);g=this._settings;if(b.length){o=this._getYPointOfLineChart(b[0],c,d,j);l=m=g.offset?c.x+j.cellWidth*0.5:c.x;for(i=1;i<=b.length;i++){p=i==b.length-1&&!this._settings.offset?d.x:Math.floor(j.cellWidth*i)-0.5+l;if(b.length!=i){n=this._getYPointOfLineChart(b[i],c,d,j);if(!n)continue;if(g.line.width&&(this._drawLine(a,m,o,p,n,g.line.color.call(this,b[i-1]),g.line.width),g.line&&
g.line.shadow))a.globalAlpha=0.3,this._drawLine(a,m+2,o+g.line.width+8,p+2,n+g.line.width+8,"#eeeeee",g.line.width+3),a.globalAlpha=1}this._drawItemOfLineChart(a,m,o,b[i-1],!!g.offset);k=parseInt(g.item.radius.call(this,b[i-1]),10)||2;h=g.eventRadius||k+1;f.addRect(b[i-1].id,[m-h,o-h,m+h,o+h],e);o=n;m=p}}},_drawItemOfLineChart:function(a,b,c,d,e){var f=this._settings.item,h=parseInt(f.radius.call(this,d),10);a.save();if(f.shadow){a.lineWidth=1;a.strokeStyle="#bdbdbd";a.fillStyle="#bdbdbd";for(var g=
[0.1,0.2,0.3],i=g.length-1;i>=0;i--)a.globalAlpha=g[i],a.strokeStyle="#d0d0d0",a.beginPath(),this._strokeChartItem(a,b,c+2*h/3,h+i+1,f.type),a.stroke();a.beginPath();a.globalAlpha=0.3;a.fillStyle="#bdbdbd";this._strokeChartItem(a,b,c+2*h/3,h+1,f.type);a.fill()}a.restore();a.lineWidth=f.borderWidth;a.fillStyle=f.color.call(this,d);a.strokeStyle=f.borderColor.call(this,d);a.globalAlpha=f.alpha.call(this,d);a.beginPath();this._strokeChartItem(a,b,c,h+1,f.type);a.fill();a.stroke();a.globalAlpha=1;e&&
this.renderTextAt(!1,!0,b,c-h-this._settings.labelOffset,this._settings.label.call(this,d))},_strokeChartItem:function(a,b,c,d,e){if(e&&(e=="square"||e=="s"))d*=Math.sqrt(2)/2,a.moveTo(b-d-a.lineWidth/2,c-d),a.lineTo(b+d,c-d),a.lineTo(b+d,c+d),a.lineTo(b-d,c+d),a.lineTo(b-d,c-d);else if(e&&(e=="diamond"||e=="d")){var f=a.lineWidth>1?a.lineWidth*Math.sqrt(2)/4:0;a.moveTo(b,c-d);a.lineTo(b+d,c);a.lineTo(b,c+d);a.lineTo(b-d,c);a.lineTo(b+f,c-d-f)}else e&&(e=="triangle"||e=="t")?(a.moveTo(b,c-d),a.lineTo(b+
Math.sqrt(3)*d/2,c+d/2),a.lineTo(b-Math.sqrt(3)*d/2,c+d/2),a.lineTo(b,c-d)):a.arc(b,c,d,0,Math.PI*2,!0)},_getYPointOfLineChart:function(a,b,c,d){var e=d.minValue,f=d.maxValue,h=d.unit,g=d.valueFactor,i=this._settings.value(a),j=(parseFloat(i||0)-e)*g;this._settings.yAxis||(j+=d.startValue/h);var k=c.y-Math.floor(h*j);if(j<0)k=c.y;if(i>f)k=b.y;if(i<e)k=c.y;return k},_calculateParametersOfLineChart:function(a,b,c,d,e){var f={},h;f.totalHeight=d.y-c.y;f.cellWidth=Math.round((d.x-c.x)/(!this._settings.offset?
b.length-1:b.length));var g=!!this._settings.yAxis,i=this._settings.view.indexOf("stacked")!=-1?this._getStackedLimits(b):this._getLimits();f.maxValue=i.max;f.minValue=i.min;e||this._drawScales(a,b,c,d,f.minValue,f.maxValue,f.cellWidth);if(g)f.maxValue=parseFloat(this._settings.yAxis.end),f.minValue=parseFloat(this._settings.yAxis.start);var j=this._getRelativeValue(f.minValue,f.maxValue);h=j[0];f.valueFactor=j[1];f.unit=h?f.totalHeight/h:10;f.startValue=0;if(!g&&(f.startValue=10,f.unit!=f.totalHeight))f.unit=
h?(f.totalHeight-f.startValue)/h:10;return f}};
dhtmlx.chart.bar={pvt_render_bar:function(a,b,c,d,e,f){var h,g,i,j,k=d.y-c.y,l=!!this._settings.yAxis,m=!!this._settings.xAxis,p=this._getLimits();h=p.max;g=p.min;var o=Math.floor((d.x-c.x)/b.length);!e&&(this._settings.origin=="auto"||l)&&this._drawScales(a,b,c,d,g,h,o);l&&(h=parseFloat(this._settings.yAxis.end),g=parseFloat(this._settings.yAxis.start));var n=this._getRelativeValue(g,h);j=n[0];i=n[1];var r=j?k/j:j;if(!l&&!(this._settings.origin!="auto"&&m))var q=10,r=j?(k-q)/j:q;!e&&this._settings.origin!=
"auto"&&!l&&this._settings.origin>g&&this._drawXAxis(a,b,c,d,o,d.y-r*(this._settings.origin-g));var u=parseInt(this._settings.width,10);this._series&&u*this._series.length+4>o&&(u=parseInt(o/this._series.length-4,10));var z=Math.floor((o-u*this._series.length)/2),x=typeof this._settings.radius!="undefined"?parseInt(this._settings.radius,10):Math.round(u/5),y=!1,s=this._settings.gradient;s&&typeof s!="function"?(y=s,s=!1):s&&(s=a.createLinearGradient(0,d.y,0,c.y),this._settings.gradient(s));m||this._drawLine(a,
c.x,d.y+0.5,d.x,d.y+0.5,"#000000",1);for(var w=0;w<b.length;w++){var v=parseFloat(this._settings.value(b[w]||0));v>h&&(v=h);v-=g;v*=i;var t=c.x+z+w*o+(u+1)*e,A=d.y+0.5;if(v<0||this._settings.yAxis&&v===0&&!(this._settings.origin!="auto"&&this._settings.origin>g))this.renderTextAt(!0,!0,t+Math.floor(u/2),A,this._settings.label(b[w]));else{!l&&!(this._settings.origin!="auto"&&m)&&(v+=q/r);var B=s||this._settings.color.call(this,b[w]);a.globalAlpha=this._settings.alpha.call(this,b[w]);var C=this._drawBar(a,
c,t,A,u,g,x,r,v,B,s,y);y&&this._drawBarGradient(a,t,A,u,g,x,r,v,B,y);this._settings.border&&this._drawBarBorder(a,t,A,u,g,x,r,v,B);a.globalAlpha=1;C[0]!=t?this.renderTextAt(!1,!0,t+Math.floor(u/2),C[1],this._settings.label(b[w])):this.renderTextAt(!0,!0,t+Math.floor(u/2),C[3],this._settings.label(b[w]));f.addRect(b[w].id,[t,C[3],C[2],C[1]],e)}}},_correctBarParams:function(a,b,c,d,e,f,h){var g=this._settings.xAxis,i=c;g&&this._settings.origin!="auto"&&this._settings.origin>h&&(c-=(this._settings.origin-
h)*e,i=c,d-=this._settings.origin-h,d<0&&(d*=-1,a.translate(b+f,c),a.rotate(Math.PI),c=b=0),c-=0.5);return{value:d,x0:parseInt(b,10),y0:parseInt(c,10),start:i}},_drawBar:function(a,b,c,d,e,f,h,g,i,j,k,l){a.save();a.fillStyle=j;var m=this._correctBarParams(a,c,d,i,g,e,f),p=this._setBarPoints(a,m.x0,m.y0,e,h,g,m.value,this._settings.border?1:0);k&&!l&&a.lineTo(m.x0+(this._settings.border?1:0),b.y);a.fill();a.restore();var o=m.x0,n=m.x0!=c?c+p[0]:p[0],r=m.x0!=c?m.start-p[1]:d,q=m.x0!=c?m.start:p[1];
return[o,r,n,q]},_setBorderStyles:function(a,b){var c,d;d=dhtmlx.math.toRgb(b);c=dhtmlx.math.rgbToHsv(d[0],d[1],d[2]);c[2]/=2;b="rgb("+dhtmlx.math.hsvToRgb(c[0],c[1],c[2])+")";a.strokeStyle=b;if(a.globalAlpha==1)a.globalAlpha=0.9},_drawBarBorder:function(a,b,c,d,e,f,h,g,i){var j;a.save();j=this._correctBarParams(a,b,c,g,h,d,e);this._setBorderStyles(a,i);this._setBarPoints(a,j.x0,j.y0,d,f,h,j.value,a.lineWidth/2,1);a.stroke();a.restore()},_drawBarGradient:function(a,b,c,d,e,f,h,g,i,j){a.save();var k=
this._correctBarParams(a,b,c,g,h,d,e),l=this._setBarGradient(a,k.x0,k.y0,k.x0+d,k.y0-h*k.value+2,j,i,"y"),m=this._settings.border?1:0;a.fillStyle=l.gradient;this._setBarPoints(a,k.x0+l.offset,k.y0,d-l.offset*2,f,h,k.value,l.offset+m);a.fill();a.restore()},_setBarPoints:function(a,b,c,d,e,f,h,g,i){a.beginPath();var j=0;if(e>f*h){var k=(e-f*h)/e;k<=1&&k>=-1&&(j=-Math.acos(k)+Math.PI/2)}a.moveTo(b+g,c);var l=c-Math.floor(f*h)+e+(e?0:g);e<f*h&&a.lineTo(b+g,l);var m=b+e;e&&e>0&&a.arc(m,l,e-g,-Math.PI+
j,-Math.PI/2,!1);var p=b+d-e-(e?0:g),o=l-e+(e?g:0);a.lineTo(p,o);e&&e>0&&a.arc(p,l,e-g,-Math.PI/2,0-j,!1);var n=b+d-g;a.lineTo(n,c);i||a.lineTo(b+g,c);return[n,o]}};
dhtmlx.chart.pie={pvt_render_pie:function(a,b,c,d,e,f){this._renderPie(a,b,c,d,1,f)},_renderPie:function(a,b,c,d,e,f){if(b.length){var h=this._getPieParameters(c,d),g=this._settings.radius?this._settings.radius:h.radius;if(!(g<0)){var i=this._getValues(b),j=this._getTotalValue(i),k=this._getRatios(i,j),l=this._settings.x?this._settings.x:h.x,m=this._settings.y?this._settings.y:h.y;e==1&&this._settings.shadow&&this._addShadow(a,l,m,g);m/=e;var p=-Math.PI/2,o=[];a.scale(1,e);if(this._settings.gradient){var n=
e!=1?l+g/3:l,r=e!=1?m+g/3:m;this._showRadialGradient(a,l,m,g,n,r)}for(var q=0;q<b.length;q++)if(i[q]){a.strokeStyle=this._settings.lineColor.call(this,b[q]);a.beginPath();a.moveTo(l,m);o.push(p);alpha1=-Math.PI/2+k[q]-1.0E-4;a.arc(l,m,g,p,alpha1,!1);a.lineTo(l,m);var u=this._settings.color.call(this,b[q]);a.fillStyle=u;a.fill();this._settings.pieInnerText&&this._drawSectorLabel(l,m,5*g/6,p,alpha1,e,this._settings.pieInnerText(b[q],j),!0);this._settings.label&&this._drawSectorLabel(l,m,g+this._settings.labelOffset,
p,alpha1,e,this._settings.label(b[q]));if(e!=1)this._createLowerSector(a,l,m,p,alpha1,g,!0),a.fillStyle="#000000",a.globalAlpha=0.2,this._createLowerSector(a,l,m,p,alpha1,g,!1),a.globalAlpha=1,a.fillStyle=u;f.addSector(b[q].id,p,alpha1,l,m,g,e);p=alpha1}a.globalAlpha=0.8;for(var z,q=0;q<o.length;q++)z=this._getPositionByAngle(o[q],l,m,g),this._drawLine(a,l,m,z.x,z.y,this._settings.lineColor.call(this,b[q]),2);if(e==1)a.lineWidth=2,a.strokeStyle="#ffffff",a.beginPath(),a.arc(l,m,g+1,0,2*Math.PI,!1),
a.stroke();a.globalAlpha=1;a.scale(1,1/e)}}},_getValues:function(a){for(var b=[],c=0;c<a.length;c++)b.push(parseFloat(this._settings.value(a[c])||0));return b},_getTotalValue:function(a){for(var b=0,c=0;c<a.length;c++)b+=a[c];return b},_getRatios:function(a,b){for(var c,d=[],e=0,b=b||this._getTotalValue(a),f=0;f<a.length;f++)c=a[f],d[f]=Math.PI*2*(b?(c+e)/b:1/data.length),e+=c;return d},_getPieParameters:function(a,b){var c=b.x-a.x,d=b.y-a.y,e=a.x+c/2,f=a.y+d/2,h=Math.min(c/2,d/2);return{x:e,y:f,
radius:h}},_createLowerSector:function(a,b,c,d,e,f,h){a.lineWidth=1;if(d<=0&&e>=0||d>=0&&e<=Math.PI||Math.abs(d-Math.PI)>0.0030&&d<=Math.PI&&e>=Math.PI){d<=0&&e>=0&&(d=0,h=!1,this._drawSectorLine(a,b,c,f,d,e));if(d<=Math.PI&&e>=Math.PI)e=Math.PI,h=!1,this._drawSectorLine(a,b,c,f,d,e);var g=(this._settings.height||Math.floor(f/4))/this._settings.cant;a.beginPath();a.arc(b,c,f,d,e,!1);a.lineTo(b+f*Math.cos(e),c+f*Math.sin(e)+g);a.arc(b,c+g,f,e,d,!0);a.lineTo(b+f*Math.cos(d),c+f*Math.sin(d));a.fill();
h&&a.stroke()}},_drawSectorLine:function(a,b,c,d,e,f){a.beginPath();a.arc(b,c,d,e,f,!1);a.stroke()},_addShadow:function(a,b,c,d){a.globalAlpha=0.5;for(var e="#c4c4c4,#c6c6c6,#cacaca,#dcdcdc,#dddddd,#e0e0e0,#eeeeee,#f5f5f5,#f8f8f8".split(","),f=e.length-1;f>-1;f--)a.beginPath(),a.fillStyle=e[f],a.arc(b+1,c+1,d+f,0,Math.PI*2,!0),a.fill();a.globalAlpha=1},_getGrayGradient:function(a){a.addColorStop(0,"#ffffff");a.addColorStop(0.7,"#7a7a7a");a.addColorStop(1,"#000000");return a},_showRadialGradient:function(a,
b,c,d,e,f){a.beginPath();var h;typeof this._settings.gradient!="function"?(h=a.createRadialGradient(e,f,d/4,b,c,d),h=this._getGrayGradient(h)):h=this._settings.gradient(h);a.fillStyle=h;a.arc(b,c,d,0,Math.PI*2,!0);a.fill();a.globalAlpha=0.7},_drawSectorLabel:function(a,b,c,d,e,f,h,g){var i=this.renderText(0,0,h,0,1);if(i){var j=i.scrollWidth;i.style.width=j+"px";j>a&&(j=a);var k=e-d<0.2?4:8;g&&(k=j/1.8);var l=d+(e-d)/2;c-=(k-8)/2;var m=-k,p=-8,o="right";if(l>=Math.PI/2&&l<Math.PI||l<=3*Math.PI/2&&
l>=Math.PI)m=-j-m+1,o="left";var n=0;!g&&f<1&&l>0&&l<Math.PI&&(n=(this._settings.height||Math.floor(c/4))/f);var r=(b+Math.floor((c+n)*Math.sin(l)))*f+p,q=a+Math.floor((c+k/2)*Math.cos(l))+m,u=e<Math.PI/2+0.01,z=d<Math.PI/2;if(z&&u)q=Math.max(q,a+3),e-d<0.2&&(q=a);else if(!z&&!u)q=Math.min(q,a-j);else if(!g&&(l>=Math.PI/2&&l<Math.PI||l<=3*Math.PI/2&&l>=Math.PI))q+=j/3;i.style.top=r+"px";i.style.left=q+"px";i.style.width=j+"px";i.style.textAlign=o;i.style.whiteSpace="nowrap"}}};
dhtmlx.chart.pie3D={pvt_render_pie3D:function(a,b,c,d,e,f){this._renderPie(a,b,c,d,this._settings.cant,f)}};dhtmlx.chart.donut={pvt_render_donut:function(a,b,c,d,e,f){if(b.length){this._renderPie(a,b,c,d,1,f);var h=this._settings,g=this._getPieParameters(c,d),i=h.radius?h.radius:g.radius,j=h.innerRadius&&h.innerRadius<i?h.innerRadius:i/3,k=h.x?h.x:g.x,l=h.y?h.y:g.y;a.fillStyle="#ffffff";a.beginPath();a.arc(k,l,j,0,Math.PI*2,!0);a.fill()}}};
dhtmlx.Template={_cache:{},empty:function(){return""},setter:function(a){return dhtmlx.Template.fromHTML(a)},obj_setter:function(a){var b=dhtmlx.Template.setter(a),c=this;return function(){return b.apply(c,arguments)}},fromHTML:function(a){if(typeof a=="function")return a;if(this._cache[a])return this._cache[a];a=(a||"").toString();a=a.replace(/[\r\n]+/g,"\\n");a=a.replace(/\{obj\.([^}?]+)\?([^:]*):([^}]*)\}/g,'"+(obj.$1?"$2":"$3")+"');a=a.replace(/\{common\.([^}\(]*)\}/g,'"+common.$1+"');a=a.replace(/\{common\.([^\}\(]*)\(\)\}/g,
'"+(common.$1?common.$1(obj):"")+"');a=a.replace(/\{obj\.([^}]*)\}/g,'"+obj.$1+"');a=a.replace(/#([a-z0-9_]+)#/gi,'"+obj.$1+"');a=a.replace(/\{obj\}/g,'"+obj+"');a=a.replace(/\{-obj/g,"{obj");a=a.replace(/\{-common/g,"{common");a='return "'+a+'";';return this._cache[a]=Function("obj","common",a)}};
dhtmlx.Type={add:function(a,b){if(!a.types&&a.prototype.types)a=a.prototype;var c=b.name||"default";this._template(b);this._template(b,"edit");this._template(b,"loading");a.types[c]=dhtmlx.extend(dhtmlx.extend({},a.types[c]||this._default),b);return c},_default:{css:"default",template:function(){return""},template_edit:function(){return""},template_loading:function(){return"..."},width:150,height:80,margin:5,padding:0},_template:function(a,b){var b="template"+(b?"_"+b:""),c=a[b];if(c&&typeof c=="string"){if(c.indexOf("->")!=
-1)switch(c=c.split("->"),c[0]){case "html":c=dhtmlx.html.getValue(c[1]).replace(/\"/g,'\\"');break;case "http":c=(new dhtmlx.ajax).sync().get(c[1],{uid:(new Date).valueOf()}).responseText}a[b]=dhtmlx.Template.fromHTML(c)}}};
dhtmlx.SingleRender={_init:function(){},_toHTML:function(a){return this.type._item_start(a,this.type)+this.type.template(a,this.type)+this.type._item_end},render:function(){if(!this.callEvent||this.callEvent("onBeforeRender",[this.data])){if(this.data)this._dataobj.innerHTML=this._toHTML(this.data);this.callEvent&&this.callEvent("onAfterRender",[])}}};
dhtmlx.ui.Tooltip=function(a){this.name="Tooltip";this.version="3.0";typeof a=="string"&&(a={template:a});dhtmlx.extend(this,dhtmlx.Settings);dhtmlx.extend(this,dhtmlx.SingleRender);this._parseSettings(a,{type:"default",dy:0,dx:20});this._dataobj=this._obj=document.createElement("DIV");this._obj.className="dhx_tooltip";dhtmlx.html.insertBefore(this._obj,document.body.firstChild)};
dhtmlx.ui.Tooltip.prototype={show:function(a,b){if(!this._disabled){if(this.data!=a)this.data=a,this.render(a);this._obj.style.top=b.y+this._settings.dy+"px";this._obj.style.left=b.x+this._settings.dx+"px";this._obj.style.display="block"}},hide:function(){this.data=null;this._obj.style.display="none"},disable:function(){this._disabled=!0},enable:function(){this._disabled=!1},types:{"default":dhtmlx.Template.fromHTML("{obj.id}")},template_item_start:dhtmlx.Template.empty,template_item_end:dhtmlx.Template.empty};
dhtmlx.AutoTooltip={tooltip_setter:function(a){var b=new dhtmlx.ui.Tooltip(a);this.attachEvent("onMouseMove",function(a,d){b.show(this.get(a),dhtmlx.html.pos(d))});this.attachEvent("onMouseOut",function(){b.hide()});this.attachEvent("onMouseMoving",function(){b.hide()});return b}};dhtmlx.ajax=function(a,b,c){if(arguments.length!==0){var d=new dhtmlx.ajax;if(c)d.master=c;d.get(a,null,b)}return!this.getXHR?new dhtmlx.ajax:this};
dhtmlx.ajax.prototype={getXHR:function(){return dhtmlx._isIE?new ActiveXObject("Microsoft.xmlHTTP"):new XMLHttpRequest},send:function(a,b,c){var d=this.getXHR();typeof c=="function"&&(c=[c]);if(typeof b=="object"){var e=[],f;for(f in b){var h=b[f];if(h===null||h===dhtmlx.undefined)h="";e.push(f+"="+encodeURIComponent(h))}b=e.join("&")}b&&!this.post&&(a=a+(a.indexOf("?")!=-1?"&":"?")+b,b=null);d.open(this.post?"POST":"GET",a,!this._sync);this.post&&d.setRequestHeader("Content-type","application/x-www-form-urlencoded");
var g=this;d.onreadystatechange=function(){if(!d.readyState||d.readyState==4){if(c&&g)for(var a=0;a<c.length;a++)c[a]&&c[a].call(g.master||g,d.responseText,d.responseXML,d);c=g=g.master=null}};d.send(b||null);return d},get:function(a,b,c){this.post=!1;return this.send(a,b,c)},post:function(a,b,c){this.post=!0;return this.send(a,b,c)},sync:function(){this._sync=!0;return this}};
dhtmlx.AtomDataLoader={_init:function(a){this.data={};if(a)this._settings.datatype=a.datatype||"json",this._after_init.push(this._load_when_ready)},_load_when_ready:function(){this._ready_for_data=!0;this._settings.url&&this.url_setter(this._settings.url);this._settings.data&&this.data_setter(this._settings.data)},url_setter:function(a){if(!this._ready_for_data)return a;this.load(a,this._settings.datatype);return a},data_setter:function(a){if(!this._ready_for_data)return a;this.parse(a,this._settings.datatype);
return!0},load:function(a,b,c){this.callEvent("onXLS",[]);typeof b=="string"?(this.data.driver=dhtmlx.DataDriver[b],b=c):this.data.driver=dhtmlx.DataDriver.xml;dhtmlx.ajax(a,[this._onLoad,b],this)},parse:function(a,b){this.callEvent("onXLS",[]);this.data.driver=dhtmlx.DataDriver[b||"xml"];this._onLoad(a,null)},_onLoad:function(a,b){var c=this.data.driver,d=c.getRecords(c.toObject(a,b))[0];this.data=c?c.getDetails(d):a;this.callEvent("onXLE",[])},_check_data_feed:function(a){if(!this._settings.dataFeed||
this._ignore_feed||!a)return!0;var b=this._settings.dataFeed;if(typeof b=="function")return b.call(this,a.id||a,a);b=b+(b.indexOf("?")==-1?"?":"&")+"action=get&id="+encodeURIComponent(a.id||a);this.callEvent("onXLS",[]);dhtmlx.ajax(b,function(a){this._ignore_feed=!0;this.setValues(dhtmlx.DataDriver.json.toObject(a)[0]);this._ignore_feed=!1;this.callEvent("onXLE",[])},this);return!1}};dhtmlx.DataDriver={};
dhtmlx.DataDriver.json={toObject:function(a){a||(a="[]");return typeof a=="string"?(eval("dhtmlx.temp="+a),dhtmlx.temp):a},getRecords:function(a){return a&&!(a instanceof Array)?[a]:a},getDetails:function(a){return a},getInfo:function(a){return{_size:a.total_count||0,_from:a.pos||0,_key:a.dhx_security}}};
dhtmlx.DataDriver.json_ext={toObject:function(a){a||(a="[]");if(typeof a=="string"){var b;eval("temp="+a);dhtmlx.temp=[];for(var c=b.header,d=0;d<b.data.length;d++){for(var e={},f=0;f<c.length;f++)typeof b.data[d][f]!="undefined"&&(e[c[f]]=b.data[d][f]);dhtmlx.temp.push(e)}return dhtmlx.temp}return a},getRecords:function(a){return a&&!(a instanceof Array)?[a]:a},getDetails:function(a){return a},getInfo:function(a){return{_size:a.total_count||0,_from:a.pos||0}}};
dhtmlx.DataDriver.html={toObject:function(a){if(typeof a=="string"){var b=null;a.indexOf("<")==-1&&(b=dhtmlx.toNode(a));if(!b)b=document.createElement("DIV"),b.innerHTML=a;return b.getElementsByTagName(this.tag)}return a},getRecords:function(a){return a.tagName?a.childNodes:a},getDetails:function(a){return dhtmlx.DataDriver.xml.tagToObject(a)},getInfo:function(){return{_size:0,_from:0}},tag:"LI"};
dhtmlx.DataDriver.jsarray={toObject:function(a){return typeof a=="string"?(eval("dhtmlx.temp="+a),dhtmlx.temp):a},getRecords:function(a){return a},getDetails:function(a){for(var b={},c=0;c<a.length;c++)b["data"+c]=a[c];return b},getInfo:function(){return{_size:0,_from:0}}};
dhtmlx.DataDriver.csv={toObject:function(a){return a},getRecords:function(a){return a.split(this.row)},getDetails:function(a){for(var a=this.stringToArray(a),b={},c=0;c<a.length;c++)b["data"+c]=a[c];return b},getInfo:function(){return{_size:0,_from:0}},stringToArray:function(a){for(var a=a.split(this.cell),b=0;b<a.length;b++)a[b]=a[b].replace(/^[ \t\n\r]*(\"|)/g,"").replace(/(\"|)[ \t\n\r]*$/g,"");return a},row:"\n",cell:","};
dhtmlx.DataDriver.xml={toObject:function(a,b){return b&&(b=this.checkResponse(a,b))?b:typeof a=="string"?this.fromString(a):a},getRecords:function(a){return this.xpath(a,this.records)},records:"/*/item",getDetails:function(a){return this.tagToObject(a,{})},getInfo:function(a){return{_size:a.documentElement.getAttribute("total_count")||0,_from:a.documentElement.getAttribute("pos")||0,_key:a.documentElement.getAttribute("dhx_security")}},xpath:function(a,b){if(window.XPathResult){var c=a;if(a.nodeName.indexOf("document")==
-1)a=a.ownerDocument;for(var d=[],e=a.evaluate(b,c,null,XPathResult.ANY_TYPE,null),f=e.iterateNext();f;)d.push(f),f=e.iterateNext();return d}else{var h=!0;try{typeof a.selectNodes=="undefined"&&(h=!1)}catch(g){}if(h)return a.selectNodes(b);else{var i=b.split("/").pop();return a.getElementsByTagName(i)}}},tagToObject:function(a,b){var b=b||{},c=!1,d=a.attributes;if(d&&d.length){for(var e=0;e<d.length;e++)b[d[e].name]=d[e].value;c=!0}for(var f=a.childNodes,h={},e=0;e<f.length;e++)if(f[e].nodeType==
1){var g=f[e].tagName;typeof b[g]!="undefined"?(b[g]instanceof Array||(b[g]=[b[g]]),b[g].push(this.tagToObject(f[e],{}))):b[f[e].tagName]=this.tagToObject(f[e],{});c=!0}if(!c)return this.nodeValue(a);b.value=this.nodeValue(a);return b},nodeValue:function(a){return a.firstChild?a.firstChild.data:""},fromString:function(a){if(window.DOMParser&&!dhtmlx._isIE)return(new DOMParser).parseFromString(a,"text/xml");if(window.ActiveXObject){var b=new ActiveXObject("Microsoft.xmlDOM");b.loadXML(a);return b}},
checkResponse:function(a,b){if(b&&b.firstChild&&b.firstChild.tagName!="parsererror")return b;var c=this.fromString(a.replace(/^[\s]+/,""));if(c)return c}};
dhtmlx.DataLoader={_init:function(a){a=a||"";this.name="DataStore";this.data=a.datastore||new dhtmlx.DataStore;this._readyHandler=this.data.attachEvent("onStoreLoad",dhtmlx.bind(this._call_onready,this))},load:function(a,b){dhtmlx.AtomDataLoader.load.apply(this,arguments);if(!this.data.feed)this.data.feed=function(b,d){if(this._load_count)return this._load_count=[b,d];else this._load_count=!0;this.load(a+(a.indexOf("?")==-1?"?":"&")+"posStart="+b+"&count="+d,function(){var a=this._load_count;this._load_count=
!1;typeof a=="object"&&this.data.feed.apply(this,a)})}},_onLoad:function(a,b){this.data._parse(this.data.driver.toObject(a,b));this.callEvent("onXLE",[]);if(this._readyHandler)this.data.detachEvent(this._readyHandler),this._readyHandler=null},dataFeed_setter:function(a){this.data.attachEvent("onBeforeFilter",dhtmlx.bind(function(a,c){if(this._settings.dataFeed){var d={};if(a||d){if(typeof a=="function"){if(!c)return;a(c,d)}else d={text:c};this.clearAll();var e=this._settings.dataFeed;if(typeof e==
"function")return e.call(this,c,d);var f=[],h;for(h in d)f.push("dhx_filter["+h+"]="+encodeURIComponent(d[h]));this.load(e+(e.indexOf("?")<0?"?":"&")+f.join("&"),this._settings.datatype);return!1}}},this));return a},_call_onready:function(){if(this._settings.ready){var a=dhtmlx.toFunctor(this._settings.ready);a&&a.call&&a.apply(this,arguments)}}};dhtmlx.DataStore=function(){this.name="DataStore";dhtmlx.extend(this,dhtmlx.EventSystem);this.setDriver("xml");this.pull={};this.order=dhtmlx.toArray()};
dhtmlx.DataStore.prototype={setDriver:function(a){this.driver=dhtmlx.DataDriver[a]},_parse:function(a){this.callEvent("onParse",[this.driver,a]);this._filter_order&&this.filter();var b=this.driver.getInfo(a);if(b._key)dhtmlx.security_key=b._key;var c=this.driver.getRecords(a),d=(b._from||0)*1;if(d===0&&this.order[0])d=this.order.length;for(var e=0,f=0;f<c.length;f++){var h=this.driver.getDetails(c[f]),g=this.id(h);this.pull[g]||(this.order[e+d]=g,e++);this.pull[g]=h;this.extraParser&&this.extraParser(h);
this._scheme&&(this._scheme.$init?this._scheme.$update(h):this._scheme.$update&&this._scheme.$update(h))}for(f=0;f<b._size;f++)this.order[f]||(g=dhtmlx.uid(),h={id:g,$template:"loading"},this.pull[g]=h,this.order[f]=g);this.callEvent("onStoreLoad",[this.driver,a]);this.refresh()},id:function(a){return a.id||(a.id=dhtmlx.uid())},changeId:function(a,b){this.pull[b]=this.pull[a];this.pull[b].id=b;this.order[this.order.find(a)]=b;this._filter_order&&(this._filter_order[this._filter_order.find(a)]=b);
this.callEvent("onIdChange",[a,b]);this._render_change_id&&this._render_change_id(a,b)},get:function(a){return this.item(a)},set:function(a,b){return this.update(a,b)},item:function(a){return this.pull[a]},update:function(a,b){this._scheme&&this._scheme.$update&&this._scheme.$update(b);if(this.callEvent("onBeforeUpdate",[a,b])===!1)return!1;this.pull[a]=b;this.refresh(a)},refresh:function(a){this._skip_refresh||(a?this.callEvent("onStoreUpdated",[a,this.pull[a],"update"]):this.callEvent("onStoreUpdated",
[null,null,null]))},silent:function(a){this._skip_refresh=!0;a.call(this);this._skip_refresh=!1},getRange:function(a,b){a=a?this.indexById(a):this.startOffset||0;b?b=this.indexById(b):(b=Math.min(this.endOffset||Infinity,this.dataCount()-1),b<0&&(b=0));if(a>b)var c=b,b=a,a=c;return this.getIndexRange(a,b)},getIndexRange:function(a,b){for(var b=Math.min(b||Infinity,this.dataCount()-1),c=dhtmlx.toArray(),d=a||0;d<=b;d++)c.push(this.item(this.order[d]));return c},dataCount:function(){return this.order.length},
exists:function(a){return!!this.pull[a]},move:function(a,b){if(!(a<0||b<0)){var c=this.idByIndex(a),d=this.item(c);this.order.removeAt(a);this.order.insertAt(c,Math.min(this.order.length,b));this.callEvent("onStoreUpdated",[c,d,"move"])}},scheme:function(a){this._scheme=a},sync:function(a,b,c){typeof b!="function"&&(c=b,b=null);if(dhtmlx.debug_bind)this.debug_sync_master=a;var d=a;if(a.name!="DataStore")a=a.data;var e=dhtmlx.bind(function(d,e,g){if(g!="update"||b)d=null;if(!d)this.order=dhtmlx.toArray([].concat(a.order)),
this._filter_order=null,this.pull=a.pull,b&&this.silent(b),this._on_sync&&this._on_sync();c?c=!1:this.refresh(d)},this);a.attachEvent("onStoreUpdated",e);this.feed=function(a,b){d.loadNext(b,a)};e()},add:function(a,b){if(this._scheme){var a=a||{},c;for(c in this._scheme)a[c]=a[c]||this._scheme[c];this._scheme&&(this._scheme.$init?this._scheme.$update(a):this._scheme.$update&&this._scheme.$update(a))}var d=this.id(a),e=this.dataCount();if(dhtmlx.isNotDefined(b)||b<0)b=e;b>e&&(b=Math.min(this.order.length,
b));if(this.callEvent("onBeforeAdd",[d,a,b])===!1)return!1;if(this.exists(d))return null;this.pull[d]=a;this.order.insertAt(d,b);if(this._filter_order){var f=this._filter_order.length;!b&&this.order.length&&(f=0);this._filter_order.insertAt(d,f)}this.callEvent("onafterAdd",[d,b]);this.callEvent("onStoreUpdated",[d,a,"add"]);return d},remove:function(a){if(a instanceof Array)for(var b=0;b<a.length;b++)this.remove(a[b]);else{if(this.callEvent("onBeforeDelete",[a])===!1)return!1;if(!this.exists(a))return null;
var c=this.item(a);this.order.remove(a);this._filter_order&&this._filter_order.remove(a);delete this.pull[a];this.callEvent("onafterdelete",[a]);this.callEvent("onStoreUpdated",[a,c,"delete"])}},clearAll:function(){this.pull={};this.order=dhtmlx.toArray();this._filter_order=this.feed=null;this.callEvent("onClearAll",[]);this.refresh()},idByIndex:function(a){return this.order[a]},indexById:function(a){var b=this.order.find(a);return b},next:function(a,b){return this.order[this.indexById(a)+(b||1)]},
first:function(){return this.order[0]},last:function(){return this.order[this.order.length-1]},previous:function(a,b){return this.order[this.indexById(a)-(b||1)]},sort:function(a,b,c){var d=a;typeof a=="function"?d={as:a,dir:b}:typeof a=="string"&&(d={by:a,dir:b,as:c});var e=[d.by,d.dir,d.as];if(this.callEvent("onbeforesort",e)){if(this.order.length){var f=dhtmlx.sort.create(d),h=this.getRange(this.first(),this.last());h.sort(f);this.order=h.map(function(a){return this.id(a)},this)}this.refresh();
this.callEvent("onaftersort",e)}},filter:function(a,b){if(this.callEvent("onBeforeFilter",[a,b])){if(this._filter_order)this.order=this._filter_order,delete this._filter_order;if(this.order.length){if(a){var c=a,b=b||"";typeof a=="string"&&(a=dhtmlx.Template.fromHTML(a),b=b.toString().toLowerCase(),c=function(b,c){return a(b).toLowerCase().indexOf(c)!=-1});for(var d=dhtmlx.toArray(),e=0;e<this.order.length;e++){var f=this.order[e];c(this.item(f),b)&&d.push(f)}this._filter_order=this.order;this.order=
d}this.refresh();this.callEvent("onAfterFilter",[])}}},each:function(a,b){for(var c=0;c<this.order.length;c++)a.call(b||this,this.item(this.order[c]))},provideApi:function(a,b){this.debug_bind_master=a;b&&this.mapEvent({onbeforesort:a,onaftersort:a,onbeforeadd:a,onafteradd:a,onbeforedelete:a,onafterdelete:a,onbeforeupdate:a});for(var c="get,set,sort,add,remove,exists,idByIndex,indexById,item,update,refresh,dataCount,filter,next,previous,clearAll,first,last,serialize".split(","),d=0;d<c.length;d++)a[c[d]]=
dhtmlx.methodPush(this,c[d])},serialize:function(){for(var a=this.order,b=[],c=0;c<a.length;c++)b.push(this.pull[a[c]]);return b}};
dhtmlx.sort={create:function(a){return dhtmlx.sort.dir(a.dir,dhtmlx.sort.by(a.by,a.as))},as:{"int":function(a,b){a*=1;b*=1;return a>b?1:a<b?-1:0},string_strict:function(a,b){a=a.toString();b=b.toString();return a>b?1:a<b?-1:0},string:function(a,b){a=a.toString().toLowerCase();b=b.toString().toLowerCase();return a>b?1:a<b?-1:0}},by:function(a,b){if(!a)return b;typeof b!="function"&&(b=dhtmlx.sort.as[b||"string"]);a=dhtmlx.Template.fromHTML(a);return function(c,d){return b(a(c),a(d))}},dir:function(a,
b){return a=="asc"?b:function(a,d){return b(a,d)*-1}}};
dhtmlx.Group={_init:function(){this.data.attachEvent("onStoreLoad",dhtmlx.bind(function(){this._settings.group&&this.group(this._settings.group,!1)},this));this.attachEvent("onBeforeRender",dhtmlx.bind(function(a){this._settings.sort&&(a.block(),a.sort(this._settings.sort),a.unblock())},this));this.attachEvent("onBeforeSort",dhtmlx.bind(function(){this._settings.sort=null},this))},_init_group_data_event:function(a,b){a.attachEvent("onClearAll",dhtmlx.bind(function(){this.ungroup(!1);this.block();
this.clearAll();this.unblock()},b))},sum:function(a,b){var a=dhtmlx.Template.setter(a),b=b||this.data,c=0;b.each(function(b){c+=a(b)*1});return c},min:function(a,b){var a=dhtmlx.Template.setter(a),b=b||this.data,c=Infinity;b.each(function(b){a(b)*1<c&&(c=a(b)*1)});return c*1},max:function(a,b){var a=dhtmlx.Template.setter(a),b=b||this.data,c=-Infinity;b.each(function(b){a(b)*1>c&&(c=a(b)*1)});return c},_split_data_by:function(a){var b=function(a,b){a=dhtmlx.Template.setter(a);return a(b[0])},c=dhtmlx.Template.setter(a.by);
a.map[c]||(a.map[c]=[c,b]);var d={},e=[];this.data.each(function(a){var b=c(a);d[b]||(e.push({id:b}),d[b]=dhtmlx.toArray());d[b].push(a)});for(var f in a.map){var h=a.map[f][1]||b;typeof h!="function"&&(h=this[h]);for(var g=0;g<e.length;g++)e[g][f]=h.call(this,a.map[f][0],d[e[g].id])}this._not_grouped_data=this.data;this.data=new dhtmlx.DataStore;this.data.provideApi(this,!0);this._init_group_data_event(this.data,this);this.parse(e,"json")},group:function(a,b){this.ungroup(!1);this._split_data_by(a);
b!==!1&&this.render()},ungroup:function(a){if(this._not_grouped_data)this.data=this._not_grouped_data,this.data.provideApi(this,!0);a!==!1&&this.render()},group_setter:function(a){return a},sort_setter:function(a){typeof a!="object"&&(a={by:a});this._mergeSettings(a,{as:"string",dir:"asc"});return a}};
dhtmlx.KeyEvents={_init:function(){dhtmlx.event(this._obj,"keypress",this._onKeyPress,this)},_onKeyPress:function(a){var a=a||event,b=a.which||a.keyCode;this.callEvent(this._edit_id?"onEditKeyPress":"onKeyPress",[b,a.ctrlKey,a.shiftKey,a])}};
dhtmlx.MouseEvents={_init:function(){this.on_click&&(dhtmlx.event(this._obj,"click",this._onClick,this),dhtmlx.event(this._obj,"contextmenu",this._onContext,this));this.on_dblclick&&dhtmlx.event(this._obj,"dblclick",this._onDblClick,this);this.on_mouse_move&&(dhtmlx.event(this._obj,"mousemove",this._onMouse,this),dhtmlx.event(this._obj,dhtmlx._isIE?"mouseleave":"mouseout",this._onMouse,this))},_onClick:function(a){return this._mouseEvent(a,this.on_click,"ItemClick")},_onDblClick:function(a){return this._mouseEvent(a,
this.on_dblclick,"ItemDblClick")},_onContext:function(a){var b=dhtmlx.html.locate(a,this._id);if(b&&!this.callEvent("onBeforeContextMenu",[b,a]))return dhtmlx.html.preventEvent(a)},_onMouse:function(a){dhtmlx._isIE&&(a=document.createEventObject(event));this._mouse_move_timer&&window.clearTimeout(this._mouse_move_timer);this.callEvent("onMouseMoving",[a]);this._mouse_move_timer=window.setTimeout(dhtmlx.bind(function(){a.type=="mousemove"?this._onMouseMove(a):this._onMouseOut(a)},this),500)},_onMouseMove:function(a){this._mouseEvent(a,
this.on_mouse_move,"MouseMove")||this.callEvent("onMouseOut",[a||event])},_onMouseOut:function(a){this.callEvent("onMouseOut",[a||event])},_mouseEvent:function(a,b,c){for(var a=a||event,d=a.target||a.srcElement,e="",f=null,h=!1;d&&d.parentNode;){if(!h&&d.getAttribute&&(f=d.getAttribute(this._id))){d.getAttribute("userdata")&&this.callEvent("onLocateData",[f,d]);if(!this.callEvent("on"+c,[f,a,d]))return;h=!0}if(e=d.className)if(e=e.split(" "),e=e[0]||e[1],b[e])return b[e].call(this,a,f,d);d=d.parentNode}return h}};
dhtmlx.Settings={_init:function(){this._settings=this.config={}},define:function(a,b){return typeof a=="object"?this._parseSeetingColl(a):this._define(a,b)},_define:function(a,b){var c=this[a+"_setter"];return this._settings[a]=c?c.call(this,b):b},_parseSeetingColl:function(a){if(a)for(var b in a)this._define(b,a[b])},_parseSettings:function(a,b){var c=dhtmlx.extend({},b);typeof a=="object"&&!a.tagName&&dhtmlx.extend(c,a);this._parseSeetingColl(c)},_mergeSettings:function(a,b){for(var c in b)switch(typeof a[c]){case "object":a[c]=
this._mergeSettings(a[c]||{},b[c]);break;case "undefined":a[c]=b[c]}return a},_parseContainer:function(a,b,c){if(typeof a=="object"&&!a.tagName)a=a.container;this._obj=dhtmlx.toNode(a);if(!this._obj&&c)this._obj=c(a);this._obj.className+=" "+b;this._obj.onselectstart=function(){return!1};this._dataobj=this._obj},_set_type:function(a){if(typeof a=="object")return this.type_setter(a);this.type=dhtmlx.extend({},this.types[a]);this.customize()},customize:function(a){a&&dhtmlx.extend(this.type,a);this.type._item_start=
dhtmlx.Template.fromHTML(this.template_item_start(this.type));this.type._item_end=this.template_item_end(this.type);this.render()},type_setter:function(a){this._set_type(typeof a=="object"?dhtmlx.Type.add(this,a):a);return a},template_setter:function(a){return this.type_setter({template:a})},css_setter:function(a){this._obj.className+=" "+a;return a}};dhtmlx.compat=function(a,b){if(dhtmlx.compat[a])dhtmlx.compat[a](b)};
(function(){if(!window.dhtmlxError){var a=function(){};window.dhtmlxError={catchError:a,throwError:a};window.convertStringToBoolean=function(a){return!!a};window.dhtmlxEventable=function(a){dhtmlx.extend(a,dhtmlx.EventSystem)};var b={getXMLTopNode:function(){},doXPath:function(a){return dhtmlx.DataDriver.xml.xpath(this.xml,a)},xmlDoc:{responseXML:!0}};dhtmlx.compat.dataProcessor=function(a){var d="_sendData",e="_in_progress",f="_tMode",h="_waitMode";a[d]=function(a,c){if(a){c&&(this[e][c]=(new Date).valueOf());
if(!this.callEvent("onBeforeDataSending",c?[c,this.getState(c)]:[]))return!1;var d=this,k=this.serverProcessor;this[f]!="POST"?dhtmlx.ajax().get(k+(k.indexOf("?")!=-1?"&":"?")+this.serialize(a,c),"",function(a,c){b.xml=dhtmlx.DataDriver.xml.checkResponse(a,c);d.afterUpdate(d,null,null,null,b)}):dhtmlx.ajax().post(k,this.serialize(a,c),function(a,c){b.xml=dhtmlx.DataDriver.xml.checkResponse(a,c);d.afterUpdate(d,null,null,null,b)});this[h]++}}}}})();if(!dhtmlx.attaches)dhtmlx.attaches={};
dhtmlx.attaches.attachAbstract=function(a,b){var c=document.createElement("DIV");c.id="CustomObject_"+dhtmlx.uid();c.style.width="100%";c.style.height="100%";c.cmp="grid";document.body.appendChild(c);this.attachObject(c.id);b.container=c.id;var d=this.vs[this.av];d.grid=new window[a](b);d.gridId=c.id;d.gridObj=c;d.grid.setSizes=function(){this.resize?this.resize():this.render()};var e="_viewRestore";return this.vs[this[e]()].grid};
dhtmlx.attaches.attachDataView=function(a){return this.attachAbstract("dhtmlXDataView",a)};dhtmlx.attaches.attachChart=function(a){return this.attachAbstract("dhtmlXChart",a)};dhtmlx.compat.layout=function(){};
dhtmlx.DataDriver.dhtmlxgrid={_grid_getter:"_get_cell_value",toObject:function(a){return this._grid=a},getRecords:function(a){return a.rowsBuffer},getDetails:function(a){for(var b={},c=0;c<this._grid.getColumnsNum();c++)b["data"+c]=this._grid[this._grid_getter](a,c);return b},getInfo:function(){return{_size:0,_from:0}}};
dhtmlx.Canvas={_init:function(){this._canvas_labels=[]},_prepareCanvas:function(a){this._canvas=dhtmlx.html.create("canvas",{width:a.offsetWidth,height:a.offsetHeight});a.appendChild(this._canvas);!this._canvas.getContext&&dhtmlx._isIE&&(dhtmlx.require("thirdparty/excanvas/excanvas.js"),G_vmlCanvasManager.init_(document),G_vmlCanvasManager.initElement(this._canvas));return this._canvas},getCanvas:function(a){return(this._canvas||this._prepareCanvas(this._obj)).getContext(a||"2d")},_resizeCanvas:function(){this._canvas&&
(this._canvas.setAttribute("width",this._canvas.parentNode.offsetWidth),this._canvas.setAttribute("height",this._canvas.parentNode.offsetHeight))},renderText:function(a,b,c,d,e){if(c){var f=dhtmlx.html.create("DIV",{"class":"dhx_canvas_text"+(d?" "+d:""),style:"left:"+a+"px; top:"+b+"px;"},c);this._obj.appendChild(f);this._canvas_labels.push(f);if(e)f.style.width=e+"px";return f}},renderTextAt:function(a,b,c,d,e,f,h){var g=this.renderText.call(this,c,d,e,f,h);if(g){if(a)g.style.top=a=="middle"?parseInt(d-
g.offsetHeight/2,10)+"px":d-g.offsetHeight+"px";if(b)g.style.left=b=="left"?c-g.offsetWidth+"px":parseInt(c-g.offsetWidth/2,10)+"px"}return g},clearCanvas:function(){for(var a=0;a<this._canvas_labels.length;a++)this._obj.removeChild(this._canvas_labels[a]);this._canvas_labels=[];if(this._obj._htmlmap)this._obj._htmlmap.parentNode.removeChild(this._obj._htmlmap),this._obj._htmlmap=null;this.getCanvas().clearRect(0,0,this._canvas.offsetWidth,this._canvas.offsetHeight)}};
dhtmlXChart=function(a){this.name="Chart";this.version="3.0";dhtmlx.extend(this,dhtmlx.Settings);this._parseContainer(a,"dhx_chart");dhtmlx.extend(this,dhtmlx.AtomDataLoader);dhtmlx.extend(this,dhtmlx.DataLoader);this.data.provideApi(this,!0);dhtmlx.extend(this,dhtmlx.EventSystem);dhtmlx.extend(this,dhtmlx.MouseEvents);dhtmlx.extend(this,dhtmlx.Destruction);dhtmlx.extend(this,dhtmlx.Canvas);dhtmlx.extend(this,dhtmlx.Group);dhtmlx.extend(this,dhtmlx.AutoTooltip);for(var b in dhtmlx.chart)dhtmlx.extend(this,
dhtmlx.chart[b]);a.preset&&this.definePreset(a);this._parseSettings(a,this.defaults);this._series=[this._settings];this.data.attachEvent("onStoreUpdated",dhtmlx.bind(function(){this.render()},this));this.attachEvent("onLocateData",this._switchSerie)};
dhtmlXChart.prototype={_id:"dhx_area_id",on_click:{},on_dblclick:{},on_mouse_move:{},bind:function(){dhx.BaseBind.legacyBind.apply(this,arguments)},sync:function(){dhx.BaseBind.legacySync.apply(this,arguments)},resize:function(){this._resizeCanvas();this.render()},view_setter:function(a){if(typeof this._settings.offset=="undefined")this._settings.offset=!(a=="area"||a=="stackedArea");a=="radar"&&!this._settings.yAxis&&this.define("yAxis",{});a=="scatter"&&(this._settings.yAxis||this.define("yAxis",
{}),this._settings.xAxis||this.define("xAxis",{}));return a},render:function(){if(this.callEvent("onBeforeRender",[this.data])){this.clearCanvas();this._settings.legend&&this._drawLegend(this.getCanvas(),this.data.getRange(),this._obj.offsetWidth);for(var a=this._getChartBounds(this._obj.offsetWidth,this._obj.offsetHeight),b=new dhtmlx.ui.Map(this._id),c=this._settings,d=0;d<this._series.length;d++)this._settings=this._series[d],this["pvt_render_"+this._settings.view](this.getCanvas(),this.data.getRange(),
a.start,a.end,d,b);b.render(this._obj);this._settings=c}},value_setter:dhtmlx.Template.obj_setter,xValue_setter:dhtmlx.Template.obj_setter,yValue_setter:function(a){this.define("value",a)},alpha_setter:dhtmlx.Template.obj_setter,label_setter:dhtmlx.Template.obj_setter,lineColor_setter:dhtmlx.Template.obj_setter,pieInnerText_setter:dhtmlx.Template.obj_setter,gradient_setter:function(a){typeof a!="function"&&a&&a===!0&&(a="light");return a},colormap:{RAINBOW:function(a){var b=Math.floor(this.indexById(a.id)/
this.dataCount()*1536);b==1536&&(b-=1);return this._rainbow[Math.floor(b/256)](b%256)}},color_setter:function(a){return this.colormap[a]||dhtmlx.Template.obj_setter(a)},fill_setter:function(a){return!a||a==0?!1:dhtmlx.Template.obj_setter(a)},definePreset:function(a){this.define("preset",a.preset);delete a.preset},preset_setter:function(a){var b,c,d;this.defaults=dhtmlx.extend({},this.defaults);if(typeof dhtmlx.presets.chart[a]=="object"){d=dhtmlx.presets.chart[a];for(b in d)if(typeof d[b]=="object")if(!this.defaults[b]||
typeof this.defaults[b]!="object")this.defaults[b]=dhtmlx.extend({},d[b]);else for(c in this.defaults[b]=dhtmlx.extend({},this.defaults[b]),d[b])this.defaults[b][c]=d[b][c];else this.defaults[b]=d[b];return a}return!1},legend_setter:function(a){if(!a){if(this.legendObj)this.legendObj.innerHTML="",this.legendObj=null;return!1}typeof a!="object"&&(a={template:a});this._mergeSettings(a,{width:150,height:18,layout:"y",align:"left",valign:"bottom",template:"",marker:{type:"square",width:15,height:15,radius:3},
margin:4,padding:3});a.template=dhtmlx.Template.setter(a.template);return a},defaults:{color:"RAINBOW",alpha:"1",label:!1,value:"{obj.value}",padding:{},view:"pie",lineColor:"#ffffff",cant:0.5,width:30,labelWidth:100,line:{width:2,color:"#1293f8"},item:{radius:3,borderColor:"#636363",borderWidth:1,color:"#ffffff",alpha:1,type:"r",shadow:!1},shadow:!0,gradient:!1,border:!0,labelOffset:20,origin:"auto"},item_setter:function(a){typeof a!="object"&&(a={color:a,borderColor:a});this._mergeSettings(a,dhtmlx.extend({},
this.defaults.item));a.alpha=dhtmlx.Template.setter(a.alpha);a.borderColor=dhtmlx.Template.setter(a.borderColor);a.color=dhtmlx.Template.setter(a.color);a.radius=dhtmlx.Template.setter(a.radius);return a},line_setter:function(a){typeof a!="object"&&(a={color:a});dhtmlx.extend(this.defaults.line,a);a=dhtmlx.extend({},this.defaults.line);a.color=dhtmlx.Template.setter(a.color);return a},padding_setter:function(a){typeof a!="object"&&(a={left:a,right:a,top:a,bottom:a});this._mergeSettings(a,{left:50,
right:20,top:35,bottom:40});return a},xAxis_setter:function(a){if(!a)return!1;typeof a!="object"&&(a={template:a});this._mergeSettings(a,{title:"",color:"#000000",lineColor:"#cfcfcf",template:"{obj}",lines:!0});var b=["lineColor","template","lines"];this._converToTemplate(b,a);this._settings.configXAxis=dhtmlx.extend({},a);return a},yAxis_setter:function(a){this._mergeSettings(a,{title:"",color:"#000000",lineColor:"#cfcfcf",template:"{obj}",lines:!0,bg:"#ffffff"});var b=["lineColor","template","lines",
"bg"];this._converToTemplate(b,a);this._settings.configYAxis=dhtmlx.extend({},a);return a},_converToTemplate:function(a,b){for(var c=0;c<a.length;c++)b[a[c]]=dhtmlx.Template.setter(b[a[c]])},_drawScales:function(a,b,c,d,e,f,h){var g=this._drawYAxis(a,b,c,d,e,f);this._drawXAxis(a,b,c,d,h,g);return g},_drawXAxis:function(a,b,c,d,e,f){if(this._settings.xAxis){var h=c.x-0.5,g=parseInt(f?f:d.y,10)+0.5,i=d.x,j,k=!0;this._drawLine(a,h,g,i,g,this._settings.xAxis.color,1);for(var l=0;l<b.length;l++){this._settings.offset===
!0?j=h+e/2+l*e:(j=l==b.length-1?d.x:h+l*e,k=!!l);j=parseInt(j,10)-0.5;var m=this._settings.origin!="auto"&&this._settings.view=="bar"&&parseFloat(this._settings.value(b[l]))<this._settings.origin;this._drawXAxisLabel(j,g,b[l],k,m);(this._settings.offset||l)&&this._settings.xAxis.lines.call(this,b[l])&&this._drawXAxisLine(a,j,d.y,c.y,b[l])}this.renderTextAt(!0,!1,h,d.y+this._settings.padding.bottom-3,this._settings.xAxis.title,"dhx_axis_title_x",d.x-c.x);this._settings.xAxis.lines.call(this,{})&&this._settings.offset&&
this._drawLine(a,i+0.5,d.y,i+0.5,c.y+0.5,this._settings.xAxis.color,0.2)}},_drawYAxis:function(a,b,c,d,e,f){var h,g={};if(this._settings.yAxis){var i=c.x-0.5,j=d.y,k=c.y,l=d.y;this._settings.yAxis.step&&(h=parseFloat(this._settings.yAxis.step));if(typeof this._settings.configYAxis.step=="undefined"||typeof this._settings.configYAxis.start=="undefined"||typeof this._settings.configYAxis.end=="undefined")g=this._calculateScale(e,f),e=g.start,f=g.end,h=g.step,this._settings.yAxis.end=f,this._settings.yAxis.start=
e;this._setYAxisTitle(c,d);if(h!==0){if(f==e)return j;for(var m=(j-k)*h/(f-e),p=0,o=e;o<=f;o+=h){g.fixNum&&(o=parseFloat((new Number(o)).toFixed(g.fixNum)));var n=Math.floor(j-p*m)+0.5;!(o==e&&this._settings.origin=="auto")&&this._settings.yAxis.lines(o)&&this._drawLine(a,i,n,d.x,n,this._settings.yAxis.lineColor(o),1);o==this._settings.origin&&(l=n);var r=o;if(h<1)var q=Math.min(this._log10(h),e<=0?0:this._log10(e)),u=Math.pow(10,-q),o=r=Math.round(o*u)/u;this.renderText(0,n-5,this._settings.yAxis.template(r.toString()),
"dhx_axis_item_y",c.x-5);p++}this._drawLine(a,i,j+1,i,k,this._settings.yAxis.color,1);return l}}},_setYAxisTitle:function(a,b){var c="dhx_axis_title_y"+(dhtmlx._isIE&&dhtmlx._isIE!=9?" dhx_ie_filter":""),d=this.renderTextAt("middle",!1,0,parseInt((b.y-a.y)/2+a.y,10),this._settings.yAxis.title,c);if(d)d.style.left=(dhtmlx.env.transform?(d.offsetHeight-d.offsetWidth)/2:0)+"px"},_calculateScale:function(a,b){if(this._settings.origin!="auto"&&this._settings.origin<a)a=this._settings.origin;var c,d,e;
c=(b-a)/8||1;var f=Math.floor(this._log10(c)),h=Math.pow(10,f),g=c/h,g=g>5?10:5;c=parseInt(g,10)*h;if(c>Math.abs(a))d=a<0?-c:0;else{var i=Math.abs(a),j=Math.floor(this._log10(i)),k=i/Math.pow(10,j);d=Math.ceil(k*10)/10*Math.pow(10,j)-c;for(i>1&&c>0.1&&(d=Math.ceil(d));a<0?d<=a:d>=a;)d-=c;a<0&&(d=-d-2*c)}for(e=d;e<b;)e+=c,e=parseFloat((new Number(e)).toFixed(Math.abs(f)));return{start:d,end:e,step:c,fixNum:Math.abs(f)}},_getLimits:function(a,b){var c,d,e=arguments.length&&a=="h"?this._settings.configXAxis:
this._settings.configYAxis;if(e&&typeof e.end!="undefined"&&typeof e.start!="undefined"&&e.step)c=parseFloat(e.end),d=parseFloat(e.start);else if(c=this.max(this._series[0][b||"value"]),d=e&&typeof e.start!="undefined"?parseFloat(e.start):this.min(this._series[0][b||"value"]),this._series.length>1)for(var f=1;f<this._series.length;f++){var h=this.max(this._series[f][b||"value"]),g=this.min(this._series[f][b||"value"]);h>c&&(c=h);g<d&&(d=g)}return{max:c,min:d}},_log10:function(a){var b="log";return Math.floor(Math[b](a)/
Math.LN10)},_drawXAxisLabel:function(a,b,c,d,e){if(this._settings.xAxis){var f=this.renderTextAt(e,d,a,b-(e?2:0),this._settings.xAxis.template(c));f&&(f.className+=" dhx_axis_item_x")}},_drawXAxisLine:function(a,b,c,d,e){this._settings.xAxis&&this._settings.xAxis.lines&&this._drawLine(a,b,c,b,d,this._settings.xAxis.lineColor.call(this,e),1)},_drawLine:function(a,b,c,d,e,f,h){a.strokeStyle=f;a.lineWidth=h;a.beginPath();a.moveTo(b,c);a.lineTo(d,e);a.stroke();a.lineWidth=1},_getRelativeValue:function(a,
b){var c,d,e=1;if(b!=a){d=b-a;if(Math.abs(c)<1)for(;Math.abs(c)<1;)e*=10,d=c*e;c=d}else c=a;return[c,e]},_rainbow:[function(a){return"#FF"+dhtmlx.math.toHex(a/2,2)+"00"},function(a){return"#FF"+dhtmlx.math.toHex(a/2+128,2)+"00"},function(a){return"#"+dhtmlx.math.toHex(255-a,2)+"FF00"},function(a){return"#00FF"+dhtmlx.math.toHex(a,2)},function(a){return"#00"+dhtmlx.math.toHex(255-a,2)+"FF"},function(a){return"#"+dhtmlx.math.toHex(a,2)+"00FF"}],addSeries:function(a){var b=this._settings;this._settings=
dhtmlx.extend({},b);this._parseSettings(a,{});this._series.push(this._settings);this._settings=b},_switchSerie:function(a,b){var c;this._active_serie=b.getAttribute("userdata");if(this._series[this._active_serie]){for(var d=0;d<this._series.length;d++)(c=this._series[d].tooltip)&&c.disable();(c=this._series[this._active_serie].tooltip)&&c.enable()}},_drawLegend:function(a,b){var c,d,e,f,h,g,i,j=0,k=0;d=this._settings.legend;i=this._settings.legend.layout!="x"?"width:"+d.width+"px":"";if(this.legendObj)this.legendObj.innerHTML=
"";e=dhtmlx.html.create("DIV",{"class":"dhx_chart_legend",style:"left:"+j+"px; top:"+k+"px;"+i},"");if(d.padding)e.style.padding=d.padding+"px";this.legendObj=e;this._obj.appendChild(e);h=[];if(d.values)for(c=0;c<d.values.length;c++)h.push(this._drawLegendText(e,d.values[c].text));else for(c=0;c<b.length;c++)h.push(this._drawLegendText(e,d.template(b[c])));g=e.offsetWidth;f=e.offsetHeight;g<this._obj.offsetWidth&&(d.layout=="x"&&d.align=="center"&&(j=(this._obj.offsetWidth-g)/2),d.align=="right"&&
(j=this._obj.offsetWidth-g),d.margin&&d.align!="center"&&(j+=(d.align=="left"?1:-1)*d.margin));f<this._obj.offsetHeight&&(d.valign=="middle"&&d.align!="center"&&d.layout!="x"?k=(this._obj.offsetHeight-f)/2:d.valign=="bottom"&&(k=this._obj.offsetHeight-f),d.margin&&d.valign!="middle"&&(k+=(d.valign=="top"?1:-1)*d.margin));e.style.left=j+"px";e.style.top=k+"px";a.save();for(c=0;c<h.length;c++){var l=h[c],m=d.values?d.values[c].color:this._settings.color.call(this,b[c]);this._drawLegendMarker(a,l.offsetLeft+
j,l.offsetTop+k,m,l.offsetHeight)}a.restore();h=null},_drawLegendText:function(a,b){var c="";this._settings.legend.layout=="x"&&(c="float:left;");var d=dhtmlx.html.create("DIV",{style:c+"padding-left:"+(10+this._settings.legend.marker.width)+"px","class":"dhx_chart_legend_item"},b);a.appendChild(d);return d},_drawLegendMarker:function(a,b,c,d,e){var f=this._settings.legend.marker;a.strokeStyle=a.fillStyle=d;a.beginPath();if(f.type=="round"||!f.radius){a.lineWidth=f.height;a.lineCap=f.type;b+=a.lineWidth/
2+5;c+=e/2;a.moveTo(b,c);var h=b+f.width-f.height+1;a.lineTo(h,c)}else{a.lineWidth=1;var g,i;b+=5;c+=e/2-f.height/2;g=b+f.width/2;i=c+f.height/2;a.arc(b+f.radius,c+f.radius,f.radius,Math.PI,3*Math.PI/2,!1);a.lineTo(b+f.width-f.radius,c);a.arc(b+f.width-f.radius,c+f.radius,f.radius,-Math.PI/2,0,!1);a.lineTo(b+f.width,c+f.height-f.radius);a.arc(b+f.width-f.radius,c+f.height-f.radius,f.radius,0,Math.PI/2,!1);a.lineTo(b+f.radius,c+f.height);a.arc(b+f.radius,c+f.height-f.radius,f.radius,Math.PI/2,Math.PI,
!1);a.lineTo(b,c+f.radius)}a.stroke();a.fill()},_getChartBounds:function(a,b){var c,d,e,f;c=this._settings.padding.left;d=this._settings.padding.top;e=a-this._settings.padding.right;f=b-this._settings.padding.bottom;if(this._settings.legend){var h=this._settings.legend,g=this._settings.legend.width,i=this._settings.legend.height;h.layout=="x"?h.valign=="center"?h.align=="right"?e-=g:h.align=="left"&&(c+=g):h.valign=="bottom"?f-=i:d+=i:h.align=="right"?e-=g:h.align=="left"&&(c+=g)}return{start:{x:c,
y:d},end:{x:e,y:f}}},_getStackedLimits:function(a){var b,c,d,e,f;if(this._settings.yAxis&&typeof this._settings.yAxis.end!="undefined"&&typeof this._settings.yAxis.start!="undefined"&&this._settings.yAxis.step)d=parseFloat(this._settings.yAxis.end),e=parseFloat(this._settings.yAxis.start);else{for(b=0;b<a.length;b++){a[b].$sum=0;a[b].$min=Infinity;for(c=0;c<this._series.length;c++)if(f=parseFloat(this._series[c].value(a[b])||0),!isNaN(f)&&(a[b].$sum+=f,f<a[b].$min))a[b].$min=f}d=-Infinity;e=Infinity;
for(b=0;b<a.length;b++){if(a[b].$sum>d)d=a[b].$sum;if(a[b].$min<e)e=a[b].$min}e>0&&(e=0)}return{max:d,min:e}},_setBarGradient:function(a,b,c,d,e,f,h,g){var i,j,k,l,m;f=="light"?(i=g=="x"?a.createLinearGradient(b,c,d,c):a.createLinearGradient(b,c,b,e),i.addColorStop(0,"#FFFFFF"),i.addColorStop(0.9,h),i.addColorStop(1,h),j=2):f=="falling"||f=="rising"?(i=g=="x"?a.createLinearGradient(b,c,d,c):a.createLinearGradient(b,c,b,e),k=dhtmlx.math.toRgb(h),l=dhtmlx.math.rgbToHsv(k[0],k[1],k[2]),l[1]*=0.5,m="rgb("+
dhtmlx.math.hsvToRgb(l[0],l[1],l[2])+")",f=="falling"?(i.addColorStop(0,m),i.addColorStop(0.7,h),i.addColorStop(1,h)):f=="rising"&&(i.addColorStop(0,h),i.addColorStop(0.3,h),i.addColorStop(1,m)),j=0):(a.globalAlpha=0.37,j=0,i=g=="x"?a.createLinearGradient(b,e,b,c):a.createLinearGradient(b,c,d,c),i.addColorStop(0,"#9d9d9d"),i.addColorStop(0.3,"#e8e8e8"),i.addColorStop(0.45,"#ffffff"),i.addColorStop(0.55,"#ffffff"),i.addColorStop(0.7,"#e8e8e8"),i.addColorStop(1,"#9d9d9d"));return{gradient:i,offset:j}},
_getPositionByAngle:function(a,b,c,d){a*=-1;b+=Math.cos(a)*d;c-=Math.sin(a)*d;return{x:b,y:c}}};dhtmlx.compat("layout");
@@ -0,0 +1,6 @@
/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
You allowed to use this component or parts of it under GPL terms
To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
*/
/*pure colors*/
File diff suppressed because it is too large Load Diff
+10
View File
@@ -0,0 +1,10 @@
ExplorerCanvas
Google Open Source:
<http://code.google.com>
<opensource@google.com>
Developers:
Emil A Eklund <emil@eae.net>
Erik Arvidsson <erik@eae.net>
Glen Murphy <glen@glenmurphy.com>
+202
View File
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+22
View File
@@ -0,0 +1,22 @@
ExplorerCanvas
Copyright 2006 Google Inc.
-------------------------------------------------------------------------------
DESCRIPTION
Firefox, Safari and Opera 9 support the canvas tag to allow 2D command-based
drawing operations. ExplorerCanvas brings the same functionality to Internet
Explorer; web developers only need to include a single script tag in their
existing canvas webpages to enable this support.
-------------------------------------------------------------------------------
INSTALLATION
Include the ExplorerCanvas tag in the same directory as your HTML files, and
add the following code to your page, preferably in the <head> tag.
<!--[if IE]><script type="text/javascript" src="excanvas.js"></script><![endif]-->
If you run into trouble, please look at the included example code to see how
to best implement this
+927
View File
@@ -0,0 +1,927 @@
// Copyright 2006 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Known Issues:
//
// * Patterns are not implemented.
// * Radial gradient are not implemented. The VML version of these look very
// different from the canvas one.
// * Clipping paths are not implemented.
// * Coordsize. The width and height attribute have higher priority than the
// width and height style values which isn't correct.
// * Painting mode isn't implemented.
// * Canvas width/height should is using content-box by default. IE in
// Quirks mode will draw the canvas using border-box. Either change your
// doctype to HTML5
// (http://www.whatwg.org/specs/web-apps/current-work/#the-doctype)
// or use Box Sizing Behavior from WebFX
// (http://webfx.eae.net/dhtml/boxsizing/boxsizing.html)
// * Non uniform scaling does not correctly scale strokes.
// * Optimize. There is always room for speed improvements.
// Only add this code if we do not already have a canvas implementation
if (!document.createElement('canvas').getContext) {
(function() {
// alias some functions to make (compiled) code shorter
var m = Math;
var mr = m.round;
var ms = m.sin;
var mc = m.cos;
var abs = m.abs;
var sqrt = m.sqrt;
// this is used for sub pixel precision
var Z = 10;
var Z2 = Z / 2;
/**
* This funtion is assigned to the <canvas> elements as element.getContext().
* @this {HTMLElement}
* @return {CanvasRenderingContext2D_}
*/
function getContext() {
return this.context_ ||
(this.context_ = new CanvasRenderingContext2D_(this));
}
var slice = Array.prototype.slice;
/**
* Binds a function to an object. The returned function will always use the
* passed in {@code obj} as {@code this}.
*
* Example:
*
* g = bind(f, obj, a, b)
* g(c, d) // will do f.call(obj, a, b, c, d)
*
* @param {Function} f The function to bind the object to
* @param {Object} obj The object that should act as this when the function
* is called
* @param {*} var_args Rest arguments that will be used as the initial
* arguments when the function is called
* @return {Function} A new function that has bound this
*/
function bind(f, obj, var_args) {
var a = slice.call(arguments, 2);
return function() {
return f.apply(obj, a.concat(slice.call(arguments)));
};
}
var G_vmlCanvasManager_ = {
init: function(opt_doc) {
if (/MSIE/.test(navigator.userAgent) && !window.opera) {
var doc = opt_doc || document;
// Create a dummy element so that IE will allow canvas elements to be
// recognized.
doc.createElement('canvas');
doc.attachEvent('onreadystatechange', bind(this.init_, this, doc));
}
},
init_: function(doc) {
// create xmlns
if (!doc.namespaces['g_vml_']) {
doc.namespaces.add('g_vml_', 'urn:schemas-microsoft-com:vml',
'#default#VML');
}
if (!doc.namespaces['g_o_']) {
doc.namespaces.add('g_o_', 'urn:schemas-microsoft-com:office:office',
'#default#VML');
}
// Setup default CSS. Only add one style sheet per document
if (!doc.styleSheets['ex_canvas_']) {
var ss = doc.createStyleSheet();
ss.owningElement.id = 'ex_canvas_';
ss.cssText = 'canvas{display:inline-block;overflow:hidden;' +
// default size is 300x150 in Gecko and Opera
'text-align:left;width:300px;height:150px}' +
'g_vml_\\:*{behavior:url(#default#VML)}' +
'g_o_\\:*{behavior:url(#default#VML)}';
}
// find all canvas elements
var els = doc.getElementsByTagName('canvas');
for (var i = 0; i < els.length; i++) {
this.initElement(els[i]);
}
},
/**
* Public initializes a canvas element so that it can be used as canvas
* element from now on. This is called automatically before the page is
* loaded but if you are creating elements using createElement you need to
* make sure this is called on the element.
* @param {HTMLElement} el The canvas element to initialize.
* @return {HTMLElement} the element that was created.
*/
initElement: function(el) {
if (!el.getContext) {
el.getContext = getContext;
// Remove fallback content. There is no way to hide text nodes so we
// just remove all childNodes. We could hide all elements and remove
// text nodes but who really cares about the fallback content.
el.innerHTML = '';
// do not use inline function because that will leak memory
el.attachEvent('onpropertychange', onPropertyChange);
el.attachEvent('onresize', onResize);
var attrs = el.attributes;
if (attrs.width && attrs.width.specified) {
// TODO: use runtimeStyle and coordsize
// el.getContext().setWidth_(attrs.width.nodeValue);
el.style.width = attrs.width.nodeValue + 'px';
} else {
el.width = el.clientWidth;
}
if (attrs.height && attrs.height.specified) {
// TODO: use runtimeStyle and coordsize
// el.getContext().setHeight_(attrs.height.nodeValue);
el.style.height = attrs.height.nodeValue + 'px';
} else {
el.height = el.clientHeight;
}
//el.getContext().setCoordsize_()
}
return el;
}
};
function onPropertyChange(e) {
var el = e.srcElement;
switch (e.propertyName) {
case 'width':
el.style.width = el.attributes.width.nodeValue + 'px';
el.getContext().clearRect();
break;
case 'height':
el.style.height = el.attributes.height.nodeValue + 'px';
el.getContext().clearRect();
break;
}
}
function onResize(e) {
var el = e.srcElement;
if (el.firstChild) {
el.firstChild.style.width = el.clientWidth + 'px';
el.firstChild.style.height = el.clientHeight + 'px';
}
}
G_vmlCanvasManager_.init();
// precompute "00" to "FF"
var dec2hex = [];
for (var i = 0; i < 16; i++) {
for (var j = 0; j < 16; j++) {
dec2hex[i * 16 + j] = i.toString(16) + j.toString(16);
}
}
function createMatrixIdentity() {
return [
[1, 0, 0],
[0, 1, 0],
[0, 0, 1]
];
}
function matrixMultiply(m1, m2) {
var result = createMatrixIdentity();
for (var x = 0; x < 3; x++) {
for (var y = 0; y < 3; y++) {
var sum = 0;
for (var z = 0; z < 3; z++) {
sum += m1[x][z] * m2[z][y];
}
result[x][y] = sum;
}
}
return result;
}
function copyState(o1, o2) {
o2.fillStyle = o1.fillStyle;
o2.lineCap = o1.lineCap;
o2.lineJoin = o1.lineJoin;
o2.lineWidth = o1.lineWidth;
o2.miterLimit = o1.miterLimit;
o2.shadowBlur = o1.shadowBlur;
o2.shadowColor = o1.shadowColor;
o2.shadowOffsetX = o1.shadowOffsetX;
o2.shadowOffsetY = o1.shadowOffsetY;
o2.strokeStyle = o1.strokeStyle;
o2.globalAlpha = o1.globalAlpha;
o2.arcScaleX_ = o1.arcScaleX_;
o2.arcScaleY_ = o1.arcScaleY_;
o2.lineScale_ = o1.lineScale_;
}
function processStyle(styleString) {
var str, alpha = 1;
styleString = String(styleString);
if (styleString.substring(0, 3) == 'rgb') {
var start = styleString.indexOf('(', 3);
var end = styleString.indexOf(')', start + 1);
var guts = styleString.substring(start + 1, end).split(',');
str = '#';
for (var i = 0; i < 3; i++) {
str += dec2hex[Number(guts[i])];
}
if (guts.length == 4 && styleString.substr(3, 1) == 'a') {
alpha = guts[3];
}
} else {
str = styleString;
}
return {color: str, alpha: alpha};
}
function processLineCap(lineCap) {
switch (lineCap) {
case 'butt':
return 'flat';
case 'round':
return 'round';
case 'square':
default:
return 'square';
}
}
/**
* This class implements CanvasRenderingContext2D interface as described by
* the WHATWG.
* @param {HTMLElement} surfaceElement The element that the 2D context should
* be associated with
*/
function CanvasRenderingContext2D_(surfaceElement) {
this.m_ = createMatrixIdentity();
this.mStack_ = [];
this.aStack_ = [];
this.currentPath_ = [];
// Canvas context properties
this.strokeStyle = '#000';
this.fillStyle = '#000';
this.lineWidth = 1;
this.lineJoin = 'miter';
this.lineCap = 'butt';
this.miterLimit = Z * 1;
this.globalAlpha = 1;
this.canvas = surfaceElement;
var el = surfaceElement.ownerDocument.createElement('div');
el.style.width = surfaceElement.clientWidth + 'px';
el.style.height = surfaceElement.clientHeight + 'px';
el.style.overflow = 'hidden';
el.style.position = 'absolute';
surfaceElement.appendChild(el);
this.element_ = el;
this.arcScaleX_ = 1;
this.arcScaleY_ = 1;
this.lineScale_ = 1;
}
var contextPrototype = CanvasRenderingContext2D_.prototype;
contextPrototype.clearRect = function() {
this.element_.innerHTML = '';
};
contextPrototype.beginPath = function() {
// TODO: Branch current matrix so that save/restore has no effect
// as per safari docs.
this.currentPath_ = [];
};
contextPrototype.moveTo = function(aX, aY) {
var p = this.getCoords_(aX, aY);
this.currentPath_.push({type: 'moveTo', x: p.x, y: p.y});
this.currentX_ = p.x;
this.currentY_ = p.y;
};
contextPrototype.lineTo = function(aX, aY) {
var p = this.getCoords_(aX, aY);
this.currentPath_.push({type: 'lineTo', x: p.x, y: p.y});
this.currentX_ = p.x;
this.currentY_ = p.y;
};
contextPrototype.bezierCurveTo = function(aCP1x, aCP1y,
aCP2x, aCP2y,
aX, aY) {
var p = this.getCoords_(aX, aY);
var cp1 = this.getCoords_(aCP1x, aCP1y);
var cp2 = this.getCoords_(aCP2x, aCP2y);
bezierCurveTo(this, cp1, cp2, p);
};
// Helper function that takes the already fixed cordinates.
function bezierCurveTo(self, cp1, cp2, p) {
self.currentPath_.push({
type: 'bezierCurveTo',
cp1x: cp1.x,
cp1y: cp1.y,
cp2x: cp2.x,
cp2y: cp2.y,
x: p.x,
y: p.y
});
self.currentX_ = p.x;
self.currentY_ = p.y;
}
contextPrototype.quadraticCurveTo = function(aCPx, aCPy, aX, aY) {
// the following is lifted almost directly from
// http://developer.mozilla.org/en/docs/Canvas_tutorial:Drawing_shapes
var cp = this.getCoords_(aCPx, aCPy);
var p = this.getCoords_(aX, aY);
var cp1 = {
x: this.currentX_ + 2.0 / 3.0 * (cp.x - this.currentX_),
y: this.currentY_ + 2.0 / 3.0 * (cp.y - this.currentY_)
};
var cp2 = {
x: cp1.x + (p.x - this.currentX_) / 3.0,
y: cp1.y + (p.y - this.currentY_) / 3.0
};
bezierCurveTo(this, cp1, cp2, p);
};
contextPrototype.arc = function(aX, aY, aRadius,
aStartAngle, aEndAngle, aClockwise) {
aRadius *= Z;
var arcType = aClockwise ? 'at' : 'wa';
var xStart = aX + mc(aStartAngle) * aRadius - Z2;
var yStart = aY + ms(aStartAngle) * aRadius - Z2;
var xEnd = aX + mc(aEndAngle) * aRadius - Z2;
var yEnd = aY + ms(aEndAngle) * aRadius - Z2;
// IE won't render arches drawn counter clockwise if xStart == xEnd.
if (xStart == xEnd && !aClockwise) {
xStart += 0.125; // Offset xStart by 1/80 of a pixel. Use something
// that can be represented in binary
}
var p = this.getCoords_(aX, aY);
var pStart = this.getCoords_(xStart, yStart);
var pEnd = this.getCoords_(xEnd, yEnd);
this.currentPath_.push({type: arcType,
x: p.x,
y: p.y,
radius: aRadius,
xStart: pStart.x,
yStart: pStart.y,
xEnd: pEnd.x,
yEnd: pEnd.y});
};
contextPrototype.rect = function(aX, aY, aWidth, aHeight) {
this.moveTo(aX, aY);
this.lineTo(aX + aWidth, aY);
this.lineTo(aX + aWidth, aY + aHeight);
this.lineTo(aX, aY + aHeight);
this.closePath();
};
contextPrototype.strokeRect = function(aX, aY, aWidth, aHeight) {
var oldPath = this.currentPath_;
this.beginPath();
this.moveTo(aX, aY);
this.lineTo(aX + aWidth, aY);
this.lineTo(aX + aWidth, aY + aHeight);
this.lineTo(aX, aY + aHeight);
this.closePath();
this.stroke();
this.currentPath_ = oldPath;
};
contextPrototype.fillRect = function(aX, aY, aWidth, aHeight) {
var oldPath = this.currentPath_;
this.beginPath();
this.moveTo(aX, aY);
this.lineTo(aX + aWidth, aY);
this.lineTo(aX + aWidth, aY + aHeight);
this.lineTo(aX, aY + aHeight);
this.closePath();
this.fill();
this.currentPath_ = oldPath;
};
contextPrototype.createLinearGradient = function(aX0, aY0, aX1, aY1) {
var gradient = new CanvasGradient_('gradient');
gradient.x0_ = aX0;
gradient.y0_ = aY0;
gradient.x1_ = aX1;
gradient.y1_ = aY1;
return gradient;
};
contextPrototype.createRadialGradient = function(aX0, aY0, aR0,
aX1, aY1, aR1) {
var gradient = new CanvasGradient_('gradientradial');
gradient.x0_ = aX0;
gradient.y0_ = aY0;
gradient.r0_ = aR0;
gradient.x1_ = aX1;
gradient.y1_ = aY1;
gradient.r1_ = aR1;
return gradient;
};
contextPrototype.drawImage = function(image, var_args) {
var dx, dy, dw, dh, sx, sy, sw, sh;
// to find the original width we overide the width and height
var oldRuntimeWidth = image.runtimeStyle.width;
var oldRuntimeHeight = image.runtimeStyle.height;
image.runtimeStyle.width = 'auto';
image.runtimeStyle.height = 'auto';
// get the original size
var w = image.width;
var h = image.height;
// and remove overides
image.runtimeStyle.width = oldRuntimeWidth;
image.runtimeStyle.height = oldRuntimeHeight;
if (arguments.length == 3) {
dx = arguments[1];
dy = arguments[2];
sx = sy = 0;
sw = dw = w;
sh = dh = h;
} else if (arguments.length == 5) {
dx = arguments[1];
dy = arguments[2];
dw = arguments[3];
dh = arguments[4];
sx = sy = 0;
sw = w;
sh = h;
} else if (arguments.length == 9) {
sx = arguments[1];
sy = arguments[2];
sw = arguments[3];
sh = arguments[4];
dx = arguments[5];
dy = arguments[6];
dw = arguments[7];
dh = arguments[8];
} else {
throw Error('Invalid number of arguments');
}
var d = this.getCoords_(dx, dy);
var w2 = sw / 2;
var h2 = sh / 2;
var vmlStr = [];
var W = 10;
var H = 10;
// For some reason that I've now forgotten, using divs didn't work
vmlStr.push(' <g_vml_:group',
' coordsize="', Z * W, ',', Z * H, '"',
' coordorigin="0,0"' ,
' style="width:', W, 'px;height:', H, 'px;position:absolute;');
// If filters are necessary (rotation exists), create them
// filters are bog-slow, so only create them if abbsolutely necessary
// The following check doesn't account for skews (which don't exist
// in the canvas spec (yet) anyway.
if (this.m_[0][0] != 1 || this.m_[0][1]) {
var filter = [];
// Note the 12/21 reversal
filter.push('M11=', this.m_[0][0], ',',
'M12=', this.m_[1][0], ',',
'M21=', this.m_[0][1], ',',
'M22=', this.m_[1][1], ',',
'Dx=', mr(d.x / Z), ',',
'Dy=', mr(d.y / Z), '');
// Bounding box calculation (need to minimize displayed area so that
// filters don't waste time on unused pixels.
var max = d;
var c2 = this.getCoords_(dx + dw, dy);
var c3 = this.getCoords_(dx, dy + dh);
var c4 = this.getCoords_(dx + dw, dy + dh);
max.x = m.max(max.x, c2.x, c3.x, c4.x);
max.y = m.max(max.y, c2.y, c3.y, c4.y);
vmlStr.push('padding:0 ', mr(max.x / Z), 'px ', mr(max.y / Z),
'px 0;filter:progid:DXImageTransform.Microsoft.Matrix(',
filter.join(''), ", sizingmethod='clip');")
} else {
vmlStr.push('top:', mr(d.y / Z), 'px;left:', mr(d.x / Z), 'px;');
}
vmlStr.push(' ">' ,
'<g_vml_:image src="', image.src, '"',
' style="width:', Z * dw, 'px;',
' height:', Z * dh, 'px;"',
' cropleft="', sx / w, '"',
' croptop="', sy / h, '"',
' cropright="', (w - sx - sw) / w, '"',
' cropbottom="', (h - sy - sh) / h, '"',
' />',
'</g_vml_:group>');
this.element_.insertAdjacentHTML('BeforeEnd',
vmlStr.join(''));
};
contextPrototype.stroke = function(aFill) {
var lineStr = [];
var lineOpen = false;
var a = processStyle(aFill ? this.fillStyle : this.strokeStyle);
var color = a.color;
var opacity = a.alpha * this.globalAlpha;
var W = 10;
var H = 10;
lineStr.push('<g_vml_:shape',
' filled="', !!aFill, '"',
' style="position:absolute;width:', W, 'px;height:', H, 'px;"',
' coordorigin="0 0" coordsize="', Z * W, ' ', Z * H, '"',
' stroked="', !aFill, '"',
' path="');
var newSeq = false;
var min = {x: null, y: null};
var max = {x: null, y: null};
for (var i = 0; i < this.currentPath_.length; i++) {
var p = this.currentPath_[i];
var c;
switch (p.type) {
case 'moveTo':
c = p;
lineStr.push(' m ', mr(p.x), ',', mr(p.y));
break;
case 'lineTo':
lineStr.push(' l ', mr(p.x), ',', mr(p.y));
break;
case 'close':
lineStr.push(' x ');
p = null;
break;
case 'bezierCurveTo':
lineStr.push(' c ',
mr(p.cp1x), ',', mr(p.cp1y), ',',
mr(p.cp2x), ',', mr(p.cp2y), ',',
mr(p.x), ',', mr(p.y));
break;
case 'at':
case 'wa':
lineStr.push(' ', p.type, ' ',
mr(p.x - this.arcScaleX_ * p.radius), ',',
mr(p.y - this.arcScaleY_ * p.radius), ' ',
mr(p.x + this.arcScaleX_ * p.radius), ',',
mr(p.y + this.arcScaleY_ * p.radius), ' ',
mr(p.xStart), ',', mr(p.yStart), ' ',
mr(p.xEnd), ',', mr(p.yEnd));
break;
}
// TODO: Following is broken for curves due to
// move to proper paths.
// Figure out dimensions so we can do gradient fills
// properly
if (p) {
if (min.x == null || p.x < min.x) {
min.x = p.x;
}
if (max.x == null || p.x > max.x) {
max.x = p.x;
}
if (min.y == null || p.y < min.y) {
min.y = p.y;
}
if (max.y == null || p.y > max.y) {
max.y = p.y;
}
}
}
lineStr.push(' ">');
if (!aFill) {
var lineWidth = this.lineScale_ * this.lineWidth;
// VML cannot correctly render a line if the width is less than 1px.
// In that case, we dilute the color to make the line look thinner.
if (lineWidth < 1) {
opacity *= lineWidth;
}
lineStr.push(
'<g_vml_:stroke',
' opacity="', opacity, '"',
' joinstyle="', this.lineJoin, '"',
' miterlimit="', this.miterLimit, '"',
' endcap="', processLineCap(this.lineCap), '"',
' weight="', lineWidth, 'px"',
' color="', color, '" />'
);
} else if (typeof this.fillStyle == 'object') {
var fillStyle = this.fillStyle;
var angle = 0;
var focus = {x: 0, y: 0};
// additional offset
var shift = 0;
// scale factor for offset
var expansion = 1;
if (fillStyle.type_ == 'gradient') {
var x0 = fillStyle.x0_ / this.arcScaleX_;
var y0 = fillStyle.y0_ / this.arcScaleY_;
var x1 = fillStyle.x1_ / this.arcScaleX_;
var y1 = fillStyle.y1_ / this.arcScaleY_;
var p0 = this.getCoords_(x0, y0);
var p1 = this.getCoords_(x1, y1);
var dx = p1.x - p0.x;
var dy = p1.y - p0.y;
angle = Math.atan2(dx, dy) * 180 / Math.PI;
// The angle should be a non-negative number.
if (angle < 0) {
angle += 360;
}
// Very small angles produce an unexpected result because they are
// converted to a scientific notation string.
if (angle < 1e-6) {
angle = 0;
}
} else {
var p0 = this.getCoords_(fillStyle.x0_, fillStyle.y0_);
var width = max.x - min.x;
var height = max.y - min.y;
focus = {
x: (p0.x - min.x) / width,
y: (p0.y - min.y) / height
};
width /= this.arcScaleX_ * Z;
height /= this.arcScaleY_ * Z;
var dimension = m.max(width, height);
shift = 2 * fillStyle.r0_ / dimension;
expansion = 2 * fillStyle.r1_ / dimension - shift;
}
// We need to sort the color stops in ascending order by offset,
// otherwise IE won't interpret it correctly.
var stops = fillStyle.colors_;
stops.sort(function(cs1, cs2) {
return cs1.offset - cs2.offset;
});
var length = stops.length;
var color1 = stops[0].color;
var color2 = stops[length - 1].color;
var opacity1 = stops[0].alpha * this.globalAlpha;
var opacity2 = stops[length - 1].alpha * this.globalAlpha;
var colors = [];
for (var i = 0; i < length; i++) {
var stop = stops[i];
colors.push(stop.offset * expansion + shift + ' ' + stop.color);
}
// When colors attribute is used, the meanings of opacity and o:opacity2
// are reversed.
lineStr.push('<g_vml_:fill type="', fillStyle.type_, '"',
' method="none" focus="100%"',
' color="', color1, '"',
' color2="', color2, '"',
' colors="', colors.join(','), '"',
' opacity="', opacity2, '"',
' g_o_:opacity2="', opacity1, '"',
' angle="', angle, '"',
' focusposition="', focus.x, ',', focus.y, '" />');
} else {
lineStr.push('<g_vml_:fill color="', color, '" opacity="', opacity,
'" />');
}
lineStr.push('</g_vml_:shape>');
this.element_.insertAdjacentHTML('beforeEnd', lineStr.join(''));
};
contextPrototype.fill = function() {
this.stroke(true);
}
contextPrototype.closePath = function() {
this.currentPath_.push({type: 'close'});
};
/**
* @private
*/
contextPrototype.getCoords_ = function(aX, aY) {
var m = this.m_;
return {
x: Z * (aX * m[0][0] + aY * m[1][0] + m[2][0]) - Z2,
y: Z * (aX * m[0][1] + aY * m[1][1] + m[2][1]) - Z2
}
};
contextPrototype.save = function() {
var o = {};
copyState(this, o);
this.aStack_.push(o);
this.mStack_.push(this.m_);
this.m_ = matrixMultiply(createMatrixIdentity(), this.m_);
};
contextPrototype.restore = function() {
copyState(this.aStack_.pop(), this);
this.m_ = this.mStack_.pop();
};
function matrixIsFinite(m) {
for (var j = 0; j < 3; j++) {
for (var k = 0; k < 2; k++) {
if (!isFinite(m[j][k]) || isNaN(m[j][k])) {
return false;
}
}
}
return true;
}
function setM(ctx, m, updateLineScale) {
if (!matrixIsFinite(m)) {
return;
}
ctx.m_ = m;
if (updateLineScale) {
// Get the line scale.
// Determinant of this.m_ means how much the area is enlarged by the
// transformation. So its square root can be used as a scale factor
// for width.
var det = m[0][0] * m[1][1] - m[0][1] * m[1][0];
ctx.lineScale_ = sqrt(abs(det));
}
}
contextPrototype.translate = function(aX, aY) {
var m1 = [
[1, 0, 0],
[0, 1, 0],
[aX, aY, 1]
];
setM(this, matrixMultiply(m1, this.m_), false);
};
contextPrototype.rotate = function(aRot) {
var c = mc(aRot);
var s = ms(aRot);
var m1 = [
[c, s, 0],
[-s, c, 0],
[0, 0, 1]
];
setM(this, matrixMultiply(m1, this.m_), false);
};
contextPrototype.scale = function(aX, aY) {
this.arcScaleX_ *= aX;
this.arcScaleY_ *= aY;
var m1 = [
[aX, 0, 0],
[0, aY, 0],
[0, 0, 1]
];
setM(this, matrixMultiply(m1, this.m_), true);
};
contextPrototype.transform = function(m11, m12, m21, m22, dx, dy) {
var m1 = [
[m11, m12, 0],
[m21, m22, 0],
[dx, dy, 1]
];
setM(this, matrixMultiply(m1, this.m_), true);
};
contextPrototype.setTransform = function(m11, m12, m21, m22, dx, dy) {
var m = [
[m11, m12, 0],
[m21, m22, 0],
[dx, dy, 1]
];
setM(this, m, true);
};
/******** STUBS ********/
contextPrototype.clip = function() {
// TODO: Implement
};
contextPrototype.arcTo = function() {
// TODO: Implement
};
contextPrototype.createPattern = function() {
return new CanvasPattern_;
};
// Gradient / Pattern Stubs
function CanvasGradient_(aType) {
this.type_ = aType;
this.x0_ = 0;
this.y0_ = 0;
this.r0_ = 0;
this.x1_ = 0;
this.y1_ = 0;
this.r1_ = 0;
this.colors_ = [];
}
CanvasGradient_.prototype.addColorStop = function(aOffset, aColor) {
aColor = processStyle(aColor);
this.colors_.push({offset: aOffset,
color: aColor.color,
alpha: aColor.alpha});
};
function CanvasPattern_() {}
// set up externs
G_vmlCanvasManager = G_vmlCanvasManager_;
CanvasRenderingContext2D = CanvasRenderingContext2D_;
CanvasGradient = CanvasGradient_;
CanvasPattern = CanvasPattern_;
})();
} // if
if (dhtmlx && dhtmlx._modules)
dhtmlx._modules["thirdparty/excanvas/excanvas.js"] = true;
+102
View File
@@ -0,0 +1,102 @@
<?php
session_start();
if (!isset($_SESSION['id_cat_usuario'])){
die("Debes de iniciar sesión. :)");
header('Location: administration.php');
}
if(!empty($_POST))
{
$_SESSION["correo"]=$_POST["correo"];
$_SESSION["contraseña"]=$_POST["contraseña"];
$_SESSION["nombre"] = $_POST["nombre"];
}
include "php/header.php";
include "sql/conexion.php";
include "sql/funciones.php";
include "muestra_conexion.php";
$row = consultar_registro($_GET['id']);
$id = $row[0]['id_registro'];
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D,d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
?>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.11.0/sweetalert2.css"/>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.11.0/sweetalert2.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="estilos/datatables.min.css"/>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script type="text/javascript" src="js/datatables.js"></script>
<div id="contenido" style="margin-left: 35px; border-color: black;">
<div class="wrap">
<form action="actualizar.php" method="post">
<input type="number" name="id_registro" value="<?php echo $row[0]['id_registro'];?>" hidden>
<table class='tabla_datos table'>
<tr>
<th style="text-align:left;">Cuenta:</th>
<td style="text-align:left;"><input type="number" name="id_cuenta" value="<?php echo $row[0]['id_cuenta'];?>"/></td>
</tr>
<tr>
<th style="text-align:left;">Nombre:</th>
<td style="text-align:left;"><input type="text" name="nombre" value="<?php echo $row[0]['nombre'];?>"/></td>
</tr>
<tr>
<th style="text-align:left;">Apellido Paterno</th>
<td style="text-align:left;"><input type="text" name="app" value="<?php echo $row[0]['app'];?>"/></td>
</tr>
<tr>
<th style="text-align:left;">Apellido Materno</th>
<td style="text-align:left;"><input type="text" name="apm" value="<?php echo $row[0]['apm']?>"/></td>
</tr>
<tr>
<th style="text-align:left;">Generación</th>
<td style="text-align:left;"><input type="text" name="generacion" value="<?php echo $row[0]['generacion']?>"/></td>
</tr>
<tr>
<th style="text-align:left;">Telefono de Casa</th>
<td style="text-align:left;"><input type="text" name="telefono_casa" value="<?php echo $row[0]['telefono_casa']?>"/></td>
</tr>
<tr>
<th style="text-align:left;">Telefono Celular</th>
<td style="text-align:left;"><input type="text" name="celular" value="<?php echo $row[0]['celular']?>"/></td>
</tr>
<tr>
<th style="text-align:left;">Correo</th>
<td style="text-align:left;"><input type="text" name="correo" value="<?php echo $row[0]['correo']?>"/></td>
</tr>
<tr>
<th style="text-align:left;">Mesa</th>
<td style="text-align:left;"><input type="text" name="mesa" value="<?php echo $row[0]['mesa']?>"/></td>
</tr>
</table>
<button type="submit" class="boton-verde" style="cursor: pointer; width: 85px;" >Guardar</button>
</form>
<br>
</div>
</div>
<?php
include ("php/footer.php");
+21
View File
@@ -0,0 +1,21 @@
<?php
session_start();
if (!isset($_SESSION['id_cat_usuario'])){
die("Debes de iniciar sesión. :)");
header('Location: administration.php');
}
if(!empty($_POST))
{
$_SESSION["correo"]=$_POST["correo"];
$_SESSION["contraseña"]=$_POST["contraseña"];
$_SESSION["nombre"] = $_POST["nombre"];
}
include "sql/conexion.php";
include "sql/funciones.php";
include "muestra_conexion.php";
eliminar_registro($_GET['id']);
header('Location: monitor.php');
+20
View File
@@ -0,0 +1,20 @@
<?php
include 'php/header.php';
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D,d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
?>
<div id="contenido">
<br><br>
<form method="post" id="">
<center>
<h1><strong>Recomendación</strong></h1>
<h3>Internet Explorer no soporta las caracteristicas del cuestionario.<br>Ingresa con <a href="http://www.mozilla.org/es-MX/firefox/new/">Firefox</a> o con <a href="https://www.google.com/intl/es/chrome/browser/?hl=es"> Chrome</a>.</h3>
<br>
</center>
</form>
<br><br>
</div>
<?php
include 'php/footer.php';
+730
View File
@@ -0,0 +1,730 @@
.tsc_ribbon_wrap {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
border-radius: 5px 5px 5px 5px;
height: 130px;
margin-bottom: 3px;
position: relative;
text-align: center;
width: 650px;
}
.tsc_ribbon_wrap > div {
margin-bottom: 40px;
}
.tsc_ribbon_wrap > div:last-of-type {
margin-bottom: 0;
}
.tsc_ribbon_wrap:before, .tsc_ribbon_wrap:after {
content: "";
display: table;
}
.tsc_ribbon_wrap:after {
clear: both;
}
.tsc_ribbon_wrap {
}
.tsc_ribbon_wrap .ribbon-wrap {
color: #FFFFFF;
position: absolute;
text-align: center;
z-index: 0;
}
.tsc_ribbon_wrap .ribbon-wrap > span {
display: block;
height: 100%;
position: relative;
}
.tsc_ribbon_wrap .ribbon-wrap > span:before, .tsc_ribbon_wrap .ribbon-wrap > span:after {
content: "";
position: absolute;
z-index: -1;
}
.tsc_ribbon_wrap .ribbon-wrap:before, .tsc_ribbon_wrap .ribbon-wrap:after {
content: "";
position: absolute;
z-index: -2;
}
.tsc_ribbon_wrap.edge {
position: relative;
}
.tsc_ribbon_wrap .left-edge.point {
border-radius: 5px 0 0 0;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
height: 40px;
left: -5px;
line-height: 40px;
top: 20px;
width: 120px;
}
.tsc_ribbon_wrap.ie8 .left-edge.point {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
left: 0;
}
.tsc_ribbon_wrap .left-edge.point > span {
border-radius: 5px 0 0 0;
}
.tsc_ribbon_wrap.ie .left-edge.point > span {
}
.tsc_ribbon_wrap .left-edge.point:before {
border-color: transparent;
border-radius: 5px 5px 5px 5px;
border-style: solid;
border-width: 5px;
bottom: -5px;
left: 0;
transform: rotate(-45deg);
}
.tsc_ribbon_wrap .left-edge.point:after {
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
height: 28px;
margin-top: -14px;
right: -14px;
top: 50%;
transform: rotate(45deg);
transform-origin: center center 0;
width: 28px;
}
.tsc_ribbon_wrap.ie8 .left-edge.point:before, .tsc_ribbon_wrap.ie8 .left-edge.point:after {
border-radius: 0 0 0 0;
display: none;
}
.tsc_ribbon_wrap .right-edge.point {
border-radius: 0 5px 0 0;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
height: 40px;
line-height: 40px;
right: -5px;
top: 20px;
width: 120px;
}
.tsc_ribbon_wrap.ie8 .right-edge.point {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
right: 0;
}
.tsc_ribbon_wrap .right-edge.point > span {
border-radius: 0 5px 0 0;
}
.tsc_ribbon_wrap.ie .right-edge.point > span {
}
.tsc_ribbon_wrap .right-edge.point:before {
border-color: transparent;
border-radius: 5px 5px 5px 5px;
border-style: solid;
border-width: 4px;
bottom: -5px;
right: 0;
transform: rotate(45deg);
}
.tsc_ribbon_wrap .right-edge.point:after {
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
height: 28px;
left: -14px;
margin-top: -14px;
top: 50%;
transform: rotate(45deg);
transform-origin: center center 0;
width: 28px;
}
.tsc_ribbon_wrap.ie8 .right-edge.point:before, .tsc_ribbon_wrap.ie8 .right-edge.point:after {
border-radius: 0 0 0 0;
display: none;
}
.tsc_ribbon_wrap .left-edge.fork {
border-radius: 5px 0 0 0;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
height: 40px;
left: -5px;
line-height: 40px;
top: 20px;
width: 120px;
}
.tsc_ribbon_wrap.ie8 .left-edge.fork {
border-radius: 0 0 0 0;
box-shadow: none !important;
left: 0;
}
.tsc_ribbon_wrap .left-edge.fork > span {
border-radius: 5px 0 0 0;
}
.tsc_ribbon_wrap .left-edge.fork > span:before {
border-color: transparent;
border-radius: 5px 5px 5px 5px;
border-style: solid;
border-width: 5px;
bottom: -5px;
left: 0;
transform: rotate(-45deg);
}
.tsc_ribbon_wrap.ie8 .left-edge.fork > span:before {
display: none;
}
.tsc_ribbon_wrap .left-edge.fork > span:after {
border-style: solid;
border-width: 20px;
right: -20px;
top: 0;
}
.tsc_ribbon_wrap .left-edge.fork:before {
background: none repeat scroll 0 0 #666666;
bottom: 5px;
box-shadow: 25px 8px 4px rgba(0, 0, 0, 0.5);
height: 20px;
right: 22px;
transform: rotate(-22deg) skew(18deg, 28deg);
width: 80px;
}
.tsc_ribbon_wrap .left-edge.fork:after {
background: none repeat scroll 0 0 #666666;
box-shadow: 20px -5px 4px rgba(0, 0, 0, 0.5);
height: 20px;
right: 22px;
top: 5px;
transform: rotate(32deg) skew(-18deg, -28deg);
width: 80px;
}
.tsc_ribbon_wrap.ie8 .left-edge.fork:before, .tsc_ribbon_wrap.ie8 .left-edge.fork:after {
display: none;
}
.tsc_ribbon_wrap .right-edge.fork {
border-radius: 0 5px 0 0;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
height: 40px;
line-height: 40px;
right: -5px;
top: 20px;
width: 120px;
}
.tsc_ribbon_wrap.ie8 .right-edge.fork {
border-radius: 0 0 0 0;
box-shadow: none !important;
right: 0;
}
.tsc_ribbon_wrap .right-edge.fork > span {
border-radius: 0 5px 0 0;
}
.tsc_ribbon_wrap .right-edge.fork > span:before {
border-color: transparent;
border-radius: 5px 5px 5px 5px;
border-style: solid;
border-width: 5px;
bottom: -5px;
right: 0;
transform: rotate(45deg);
}
.tsc_ribbon_wrap.ie8 .right-edge.fork > span:before {
display: none;
}
.tsc_ribbon_wrap .right-edge.fork > span:after {
border-style: solid;
border-width: 20px;
left: -20px;
top: 0;
}
.tsc_ribbon_wrap .right-edge.fork:before {
background: none repeat scroll 0 0 #666666;
bottom: 5px;
box-shadow: -25px 8px 4px rgba(0, 0, 0, 0.5);
height: 20px;
left: 22px;
transform: rotate(22deg) skew(-18deg, -28deg);
width: 80px;
}
.tsc_ribbon_wrap .right-edge.fork:after {
background: none repeat scroll 0 0 #666666;
box-shadow: -20px -5px 4px rgba(0, 0, 0, 0.5);
height: 20px;
left: 22px;
top: 5px;
transform: rotate(-32deg) skew(18deg, 28deg);
width: 80px;
}
.tsc_ribbon_wrap.ie8 .right-edge.fork:before, .tsc_ribbon_wrap.ie8 .right-edge.fork:after {
display: none;
}
.tsc_ribbon_wrap.ie8 .lblue, .tsc_ribbon_wrap .lblue > span, .tsc_ribbon_wrap .lblue.left-corner > span:before, .tsc_ribbon_wrap .lblue.left-corner > span:after, .tsc_ribbon_wrap .lblue.right-corner > span, .tsc_ribbon_wrap .lblue.right-corner > span:before, .tsc_ribbon_wrap .lblue.right-corner > span:after {
background-color: #42A5D4;
background-image: -moz-linear-gradient(center top , #42A5D4, #24769D);
}
.tsc_ribbon_wrap .lblue.left-corner:before {
border-bottom-color: #174C66;
border-left-color: #174C66;
}
.tsc_ribbon_wrap .lblue.left-corner:after {
border-right-color: #174C66;
border-top-color: #174C66;
}
.tsc_ribbon_wrap .lblue.right-corner:before {
border-left-color: #174C66;
border-top-color: #174C66;
}
.tsc_ribbon_wrap .lblue.right-corner:after {
border-bottom-color: #174C66;
border-right-color: #174C66;
}
.tsc_ribbon_wrap .lblue.left-edge.point:after, .tsc_ribbon_wrap .lblue.right-edge.point:after {
background-color: #42A5D4;
background-image: linear-gradient(-45deg, #42A5D4, #24769D);
}
.tsc_ribbon_wrap .lblue.left-edge:before {
border-left-color: #174C66;
border-top-color: #174C66;
}
.tsc_ribbon_wrap .lblue.right-edge:before {
border-right-color: #174C66;
border-top-color: #174C66;
}
.tsc_ribbon_wrap .lblue.left-edge.fork > span {
background-color: #42A5D4;
background-image: -moz-linear-gradient(left center , #42A5D4 0px, #42A5D4 5px, #24769D 15%, #24769D 65%, #42A5D4 100%);
}
.tsc_ribbon_wrap.ie8 .lblue.left-edge.fork > span {
}
.tsc_ribbon_wrap .lblue.left-edge.fork > span:after {
border-color: #42A5D4 transparent #42A5D4 #42A5D4;
}
.tsc_ribbon_wrap .lblue.left-edge.fork > span:before {
border-left-color: #174C66;
border-top-color: #174C66;
}
.tsc_ribbon_wrap .lblue.right-edge.fork > span {
background-color: #42A5D4;
background-image: -moz-linear-gradient(right center , #42A5D4 0px, #42A5D4 5px, #24769D 15%, #24769D 65%, #42A5D4 100%);
}
.tsc_ribbon_wrap.ie8 .lblue.right-edge.fork > span {
}
.tsc_ribbon_wrap .lblue.right-edge.fork > span:after {
border-color: #42A5D4 #42A5D4 #42A5D4 transparent;
}
.tsc_ribbon_wrap .lblue.right-edge.fork > span:before {
border-right-color: #174C66;
border-top-color: #174C66;
}
.tsc_ribbon_wrap.ie8 .lred, .tsc_ribbon_wrap .lred > span, .tsc_ribbon_wrap .lred.left-corner > span:before, .tsc_ribbon_wrap .lred.left-corner > span:after, .tsc_ribbon_wrap .lred.right-corner > span, .tsc_ribbon_wrap .lred.right-corner > span:before, .tsc_ribbon_wrap .lred.right-corner > span:after {
background-color: #F80000;
background-image: -moz-linear-gradient(center top , #F80000, #A30000);
}
.tsc_ribbon_wrap .lred.left-corner:before {
border-bottom-color: #5F0000;
border-left-color: #5F0000;
}
.tsc_ribbon_wrap .lred.left-corner:after {
border-right-color: #5F0000;
border-top-color: #5F0000;
}
.tsc_ribbon_wrap .lred.right-corner:before {
border-left-color: #5F0000;
border-top-color: #5F0000;
}
.tsc_ribbon_wrap .lred.right-corner:after {
border-bottom-color: #5F0000;
border-right-color: #5F0000;
}
.tsc_ribbon_wrap .lred.left-edge.point:after, .tsc_ribbon_wrap .lred.right-edge.point:after {
background-color: #F80000;
background-image: linear-gradient(-45deg, #F80000, #A30000);
}
.tsc_ribbon_wrap .lred.left-edge:before {
border-left-color: #5F0000;
border-top-color: #5F0000;
}
.tsc_ribbon_wrap .lred.right-edge:before {
border-right-color: #5F0000;
border-top-color: #5F0000;
}
.tsc_ribbon_wrap .lred.left-edge.fork > span {
background-color: #F80000;
background-image: -moz-linear-gradient(left center , #F80000 0px, #F80000 5px, #A30000 15%, #A30000 65%, #F80000 100%);
}
.tsc_ribbon_wrap.ie8 .lred.left-edge.fork > span {
}
.tsc_ribbon_wrap .lred.left-edge.fork > span:after {
border-color: #F80000 transparent #F80000 #F80000;
}
.tsc_ribbon_wrap .lred.left-edge.fork > span:before {
border-left-color: #5F0000;
border-top-color: #5F0000;
}
.tsc_ribbon_wrap .lred.right-edge.fork > span {
background-color: #F80000;
background-image: -moz-linear-gradient(right center , #F80000 0px, #F80000 5px, #A30000 15%, #A30000 65%, #F80000 100%);
}
.tsc_ribbon_wrap.ie8 .lred.right-edge.fork > span {
}
.tsc_ribbon_wrap .lred.right-edge.fork > span:after {
border-color: #F80000 #F80000 #F80000 transparent;
}
.tsc_ribbon_wrap .lred.right-edge.fork > span:before {
border-right-color: #5F0000;
border-top-color: #5F0000;
}
.tsc_ribbon_hang {
margin-bottom: 60px;
}
.tsc_ribbon_hang:last-child {
margin-bottom: 0;
}
.tsc_ribbon_hang > div {
display: inline-block;
margin: 0 40px 40px 0;
}
.tsc_ribbon_hang > div:last-of-type {
margin-right: 0;
}
.tsc_ribbon_hang .ribbon-bookmark {
border-radius: 3px 3px 0 0;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
color: #FFFFFF;
margin: 20px auto;
position: relative;
text-align: center;
z-index: 0;
}
.tsc_ribbon_hang.ie8 .ribbon-bookmark {
box-shadow: none;
}
.tsc_ribbon_hang .ribbon-bookmark > span {
border-radius: 3px 3px 0 0;
display: block;
position: relative;
}
.tsc_ribbon_hang .ribbon-bookmark.small > span {
height: 82px;
line-height: 82px;
width: 50px;
}
.tsc_ribbon_hang .ribbon-bookmark.medium > span {
height: 124px;
line-height: 124px;
width: 80px;
}
.tsc_ribbon_hang .ribbon-bookmark.large > span {
height: 166px;
line-height: 166px;
width: 120px;
}
.tsc_ribbon_hang .ribbon-bookmark > span:before, .tsc_ribbon_hang.ie8 .ribbon-bookmark .fork {
border-style: solid;
content: "";
left: 0;
position: absolute;
top: 100%;
z-index: -1;
}
.tsc_ribbon_hang.ie8 .ribbon-bookmark > span:before {
display: none;
}
.tsc_ribbon_hang .small > span:before, .tsc_ribbon_hang.ie8 .small .fork {
border-width: 25px;
margin-top: -25px;
}
.tsc_ribbon_hang .medium > span:before, .tsc_ribbon_hang.ie8 .medium .fork {
border-width: 40px;
margin-top: -40px;
}
.tsc_ribbon_hang .large > span:before, .tsc_ribbon_hang.ie8 .large .fork {
border-width: 60px;
margin-top: -60px;
}
.tsc_ribbon_hang .ribbon-bookmark:before {
background: none repeat scroll 0 0 #666666;
box-shadow: 0 6px 2px rgba(0, 0, 0, 0.5), -1px -1px 2px rgba(0, 0, 0, 0.5);
content: "";
left: 1px;
position: absolute;
transform: skew(-20deg, -38deg) rotate(-20deg);
transform-origin: 0 0 0;
z-index: -2;
}
.tsc_ribbon_hang .ribbon-bookmark:after {
background: none repeat scroll 0 0 #666666;
box-shadow: 0 7px 2px rgba(0, 0, 0, 0.5), 1px -1px 2px rgba(0, 0, 0, 0.5);
content: "";
position: absolute;
right: 1px;
transform: skew(20deg, 38deg) rotate(20deg);
transform-origin: right 0 0;
z-index: -2;
}
.tsc_ribbon_hang.ie8 .ribbon-bookmark:before, .tsc_ribbon_hang.ie8 .ribbon-bookmark:after {
display: none;
}
.tsc_ribbon_hang .ribbon-bookmark.small:before, .tsc_ribbon_hang .ribbon-bookmark.small:after {
bottom: -35px;
height: 35px;
width: 25px;
}
.tsc_ribbon_hang .ribbon-bookmark.medium:before, .tsc_ribbon_hang .ribbon-bookmark.medium:after {
bottom: -55px;
height: 55px;
width: 40px;
}
.tsc_ribbon_hang .ribbon-bookmark.large:before, .tsc_ribbon_hang .ribbon-bookmark.large:after {
bottom: -85px;
height: 85px;
width: 60px;
}
.tsc_ribbon_hang .ribbon-bookmark.small:before {
box-shadow: 0 3px 2px rgba(0, 0, 0, 0.5), -1px -1px 2px rgba(0, 0, 0, 0.5);
}
.tsc_ribbon_hang .ribbon-bookmark.small:after {
box-shadow: 0 5px 2px rgba(0, 0, 0, 0.5), 1px -1px 2px rgba(0, 0, 0, 0.5);
}
.tsc_ribbon_hang .ie8 .ribbon-bookmark.small {
box-shadow: none;
}
.tsc_ribbon_hang .lblue {
background: none repeat scroll 0 0 #42A5D4;
}
.tsc_ribbon_hang .lblue > span {
background-color: #42A5D4;
background-image: -moz-linear-gradient(center top , #42A5D4, #24769D);
}
.tsc_ribbon_hang .lblue > span:before, .tsc_ribbon_hang.ie8 .lblue .fork {
border-color: #24769D #24769D transparent;
}
.tsc_ribbon_hang .lred {
background: none repeat scroll 0 0 #F80000;
}
.tsc_ribbon_hang .lred > span {
background-color: #F80000;
background-image: -moz-linear-gradient(center top , #F80000, #A30000);
}
.tsc_ribbon_hang .lred > span:before, .tsc_ribbon_hang.ie8 .lred .fork {
border-color: #A30000 #A30000 transparent;
}
.tsc_ribbon_hang .lgreen {
background: none repeat scroll 0 0 #80B73D;
}
.tsc_ribbon_hang .lgreen > span {
background-color: #80B73D;
background-image: -moz-linear-gradient(center top , #80B73D, #547728);
}
.tsc_ribbon_hang .lgreen > span:before, .tsc_ribbon_hang.ie8 .lgreen .fork {
border-color: #547728 #547728 transparent;
}
.tsc_ribbon_hang .lyellow {
background: none repeat scroll 0 0 #FFC037;
}
.tsc_ribbon_hang .lyellow > span {
background-color: #FFC037;
background-image: -moz-linear-gradient(center top , #FFC037, #E19A00);
}
.tsc_ribbon_hang .lyellow > span:before, .tsc_ribbon_hang.ie8 .lyellow .fork {
border-color: #E19A00 #E19A00 transparent;
}
.tsc_ribbon_banner {
margin: 30px 0;
position: relative;
z-index: 0;
}
.tsc_ribbon_banner > div {
margin-bottom: 40px;
}
.tsc_ribbon_banner > div:last-of-type {
margin-bottom: 0;
}
.tsc_ribbon_banner .ribbon-banner {
color: #FFFFFF;
height: 40px;
line-height: 40px;
margin: 0 auto;
position: relative;
text-align: center;
width: 320px;
}
.tsc_ribbon_banner .ribbon-banner > span {
display: block;
height: 100%;
position: relative;
}
.tsc_ribbon_banner .ribbon-banner > span:before, .tsc_ribbon_banner .ribbon-banner > span:after {
border-color: transparent;
border-style: solid;
border-width: 14px;
content: "";
position: absolute;
z-index: -1;
}
.tsc_ribbon_banner.ie8 .ribbon-banner > span:before, .ie8 .ribbon-banner > span:after {
display: none;
}
.tsc_ribbon_banner .ribbon-banner > span:before {
left: -14px;
}
.tsc_ribbon_banner .ribbon-banner > span:after {
right: -14px;
}
.tsc_ribbon_banner .ribbon-banner:before {
border-style: solid;
border-width: 20px 25px 20px 20px;
content: "";
left: -31px;
position: absolute;
z-index: -2;
}
.tsc_ribbon_banner .ribbon-banner:after {
border-style: solid;
border-width: 20px 20px 20px 25px;
content: "";
position: absolute;
right: -31px;
z-index: -2;
}
.tsc_ribbon_banner .fold-down > span {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.tsc_ribbon_banner .fold-down > span:before, .tsc_ribbon_banner .fold-down > span:after {
bottom: -14px;
}
.tsc_ribbon_banner .fold-down:before {
top: 14px;
}
.tsc_ribbon_banner .fold-down:after {
top: 14px;
}
.tsc_ribbon_banner .fold-straight > span {
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), -1px 0 1px rgba(0, 0, 0, 0.1), 1px 0 1px rgba(0, 0, 0, 0.1);
}
.tsc_ribbon_banner .fold-straight > span:before, .tsc_ribbon_banner .fold-straight > span:after {
display: none;
}
.tsc_ribbon_banner .fold-straight:before {
border-width: 18px 23px 18px 18px;
top: 2px;
}
.tsc_ribbon_banner .fold-straight:after {
border-width: 18px 18px 18px 23px;
top: 2px;
}
.tsc_ribbon_banner .curve.fold-up {
border-radius: 0 0 50% 50%;
}
.tsc_ribbon_banner .curve > span {
box-shadow: none;
}
.tsc_ribbon_banner .curve.fold-up > span:after {
border: 0 none;
border-radius: 0 0 50% 50%;
height: 100%;
left: 0;
top: -40px;
width: 100%;
}
.tsc_ribbon_banner .curve.fold-up > span:before {
background-image: -moz-linear-gradient(left center , rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%), -moz-linear-gradient(right center , rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%);
background-position: left top, right top;
background-repeat: no-repeat, no-repeat;
background-size: 10px 40px, 10px 40px;
border: 0 none;
border-radius: 50% 50% 50% 50%;
height: 100%;
left: 0;
top: -40px;
width: 100%;
}
.tsc_ribbon_banner.ie .curve.fold-up > span:before {
display: none;
}
.tsc_ribbon_banner.ie .curve.fold-up > span .before {
border-left: 10px solid rgba(0, 0, 0, 0.35);
border-radius: 10px 10px 10px 10px;
border-right: 10px solid rgba(0, 0, 0, 0.35);
height: 100%;
left: 0;
position: absolute;
right: 0;
top: -27px;
z-index: -1;
}
.tsc_ribbon_banner .curve.fold-up:before {
left: -34px;
top: -27px;
}
.tsc_ribbon_banner.ie8 .curve.fold-up:before {
left: -31px;
top: -14px;
}
.tsc_ribbon_banner .curve.fold-up:after {
right: -34px;
top: -27px;
}
.tsc_ribbon_banner.ie8 .curve.fold-up:after {
right: -31px;
top: -14px;
}
.tsc_ribbon_banner .lblue, .tsc_ribbon_banner.ie8 .lblue > span {
background-color: #42A5D4;
background-image: -moz-linear-gradient(center top , #42A5D4, #24769D);
}
.tsc_ribbon_banner .lblue > span:before {
border-right-color: #174C66;
}
.tsc_ribbon_banner .lblue > span:after {
border-left-color: #174C66;
}
.tsc_ribbon_banner .lblue:before {
border-color: #24769D #24769D #24769D transparent;
}
.tsc_ribbon_banner .lblue:after {
border-color: #24769D transparent #24769D #24769D;
}
.tsc_ribbon_banner .lblue.curve.fold-up > span:after {
box-shadow: 0 19px 0 #42A5D4;
}
.tsc_ribbon_banner .lred, .tsc_ribbon_banner.ie8 .lred > span {
background-color: #F80000;
background-image: -moz-linear-gradient(center top , #F80000, #A30000);
}
.tsc_ribbon_banner .lred > span:before {
border-right-color: #5F0000;
}
.tsc_ribbon_banner .lred > span:after {
border-left-color: #5F0000;
}
.tsc_ribbon_banner .lred:before {
border-color: #A30000 #A30000 #A30000 transparent;
}
.tsc_ribbon_banner .lred:after {
border-color: #A30000 transparent #A30000 #A30000;
}
.tsc_ribbon_banner .lred.curve.fold-up > span:after {
box-shadow: 0 19px 0 #F80000;
}
.tsc_ribbon_banner .lgreen, .tsc_ribbon_banner.ie8 .lgreen > span {
background-color: #80B73D;
background-image: -moz-linear-gradient(center top , #80B73D, #547728);
}
.tsc_ribbon_banner .lgreen > span:before {
border-right-color: #304417;
}
.tsc_ribbon_banner .lgreen > span:after {
border-left-color: #304417;
}
.tsc_ribbon_banner .lgreen:before {
border-color: #547728 #547728 #547728 transparent;
}
.tsc_ribbon_banner .lgreen:after {
border-color: #547728 transparent #547728 #547728;
}
.tsc_ribbon_banner .lgreen.curve.fold-up > span:after {
box-shadow: 0 19px 0 #80B73D;
}
.tsc_ribbon_banner .lyellow, .tsc_ribbon_banner.ie8 .lyellow > span {
background-color: #FFC037;
background-image: -moz-linear-gradient(center top , #FFC037, #E19A00);
}
.tsc_ribbon_banner .lyellow > span:before {
border-right-color: #9D6C00;
}
.tsc_ribbon_banner .lyellow > span:after {
border-left-color: #9D6C00;
}
.tsc_ribbon_banner .lyellow:before {
border-color: #E19A00 #E19A00 #E19A00 transparent;
}
.tsc_ribbon_banner .lyellow:after {
border-color: #E19A00 transparent #E19A00 #E19A00;
}
.tsc_ribbon_banner .lyellow.curve.fold-up > span:after {
box-shadow: 0 19px 0 #FFC037;
}
+41
View File
@@ -0,0 +1,41 @@
/*
Created on : 22/08/2014, 05:01:00 PM
Author : Abel
*/
table.listados{
width: 100%;
}
table.listados th{
background: #2F5BB7;
color: white;
padding-top: 5px;
padding-bottom: 5px;
}
div.izquierda{
float: left;
width: 50%;
}
div.derecha{
float: right;
width: 50%;
}
ul.carreras li{
text-align: left;
margin: 0px;
margin-top: 15px;
padding: 0px;
font-size: 13px;
}
div.parteDerecha{
align:center;
width: 35%;
background: white;
float: right;
/* padding-top: 130px; */
padding-left: 3%;
padding-right: 2%
}
p.azul{
background: #E5EBFD;
}
File diff suppressed because it is too large Load Diff
+79
View File
@@ -0,0 +1,79 @@
#loadingProgressG{
width:128px;
height:10px;
overflow:hidden;
background-color:#A6B3AE;
-webkit-border-radius:5px;
-moz-border-radius:5px;
-o-border-radius:5px;
-ms-border-radius:5px;
border-radius:5px;
}
.loadingProgressG{
background-color:#FAFAFA;
margin-top:0;
margin-left:-128px;
-webkit-animation-name:bounce_loadingProgressG;
-webkit-animation-duration:1.7s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-timing-function:linear;
-moz-animation-name:bounce_loadingProgressG;
-moz-animation-duration:1.7s;
-moz-animation-iteration-count:infinite;
-moz-animation-timing-function:linear;
-o-animation-name:bounce_loadingProgressG;
-o-animation-duration:1.7s;
-o-animation-iteration-count:infinite;
-o-animation-timing-function:linear;
-ms-animation-name:bounce_loadingProgressG;
-ms-animation-duration:1.7s;
-ms-animation-iteration-count:infinite;
-ms-animation-timing-function:linear;
width:128px;
height:10px;
}
@-webkit-keyframes bounce_loadingProgressG{
0%{
margin-left:-128px;
}
100%{
margin-left:128px;
}
}
@-moz-keyframes bounce_loadingProgressG{
0%{
margin-left:-128px;
}
100%{
margin-left:128px;
}
}
@-o-keyframes bounce_loadingProgressG{
0%{
margin-left:-128px;
}
100%{
margin-left:128px;
}
}
@-ms-keyframesbounce_loadingProgressG{
0%{
left:-128px;
}
100%{
left:128px;
}
}
+47
View File
@@ -0,0 +1,47 @@
.button {
background: -moz-linear-gradient(center top , #F5F5F5, #F1F1F1) repeat scroll 0 0 #F1F1F1;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 2px 2px 2px 2px;
color: #666666;
font-family: Arial,sans-serif;
font-size: 12px;
font-weight: bold;
margin: 0 3px;
padding: 7px 12px;
text-decoration: none;
text-transform: uppercase;
transition: border-color 0.218s ease 0s;
margin-bottom: 10px;
}
.button.blue {
background: -moz-linear-gradient(center top , #4D90FE, #4787ED) repeat scroll 0 0 #4787ED;
border-color: #427EDE;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
color: #FFFFFF;
}
.button.blue:hover {
background: -moz-linear-gradient(center top , #4D90FE, #357AE8) repeat scroll 0 0 #357AE8;
border-color: #2F5BB7;
}
.button.blue:active {
background: none repeat scroll 0 0 #4D90FE;
}
:optional.button.red {
background: -moz-linear-gradient(center top , #DD4B39, #D14836) repeat scroll 0 0 #D14836;
border: 1px solid transparent;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
color: #FFFFFF;
text-shadow: 0 1px rgba(0, 0, 0, 0.1);
}
.button.red:hover {
background: -moz-linear-gradient(center top , #DD4B39, #C53727) repeat scroll 0 0 #C53727;
border-bottom: 1px solid #AF301F;
border-color: #B0281A #B0281A #AF301F;
}
.button.red:active {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
}
+221
View File
@@ -0,0 +1,221 @@
body{
color: #000000;
/*font-family: Helvetica,Verdana,Tahoma;
font-size: 13px; */
background: none repeat scroll 0 0 #E9E9E9;
font: 12px/150% Verdana,"DejaVu Sans","Bitstream Vera Sans",sans-serif;
}
#liga
{
margin-left: 20px;
font-size: 15px;
font-style: bold;
}
#escudo
{
width: 100px;
margin-left: 50px;
margin-top: 10px;
}
.alinear
{
margin-left: 50px;
}
.tipo3 {
width:800px;
height:80px;
border: 1px solid activecaption;
margin-left: 50px;
}
.tipo4 {
width:40px;
border: 1px solid activecaption;
margin-left: 50px;
}
.nota_mostrada
{
background-color: #E5EBFD;
background-position: -136px -33px;
border-color: #A0B1DE;
width:800px;
border-radius: 3px 3px 3px 3px;
border-style: solid;
border-width: 1px;
margin: auto;
margin-bottom: 10px;
margin-top: 10px;
padding: 8px 8px 8px 34px;
}
h3{
color: #000000;
font: 100% Arial,A030,"Nimbus Sans L",FreeSans,"Liberation Sans",sans-serif;
margin: 0;
font-weight:bold;
padding-left: 30px;
padding-right: 30px;
padding-top: 10px;
margin-bottom: 10px;
}
h2{
color: #000000;
line-height: normal;
font: Arial,A030,"Nimbus Sans L",FreeSans,"Liberation Sans",sans-serif;
font-size: 140%;
margin: 0;
font-weight:bold;
padding-left: 30px;
padding-right: 30px;
padding-top: 10px;
text-shadow: 2px 2px 2px #CFCFCF;
}
#page {
background-color: #FFFFFF;
border: 1px solid #496077;
margin: auto;
/*margin-left: 200px;*/
width: 960px;
}
#titulo
{
font: 100% Arial,A030,"Nimbus Sans L",FreeSans,"Liberation Sans",sans-serif;
font-size: 20px;
color: #4787ED ;
margin-top: 20px;
padding-left: 200px;
padding-right: 50px;
padding-bottom: 10px;
}
.respuesta_dependiente
{
width: 400px;
margin-left: 50px;
}
#cuestionario
{
padding-left: 20px;
padding-right: 20px;
}
.requerido {
color: red;
padding-left: 10px;
margin-left: 60px;
width: 300px;
border-style:solid;
border-width: 1px;
margin-bottom: 10px;
}
.numeric
{
width: 30px;
}
.error{
width: 180px;
margin-bottom: 1px;
margin-left: 80px;
margin-top: 10px;
background:#890000;
padding:5px 10px;
font-size:12px;
color:#fff;
text-shadow:#500 0 1px 0;
text-align:left;
white-space:nowrap;
border:1px solid #500;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow:0 0 5px #700;
-webkit-box-shadow:0 0 5px #700;
box-shadow:0 0 5px #700;
}
.avance_con {
text-shadow: 0.1em 0.1em 0.05em #333;
color:whitesmoke;
background-color: #333C4D;
border-style: solid;
border-width: 1px;
border-color: #333C4D;
padding-left: 20px;
padding-right: 20px;
padding-top: 2px;
padding-bottom: 2px;
border-bottom-color: #E1B715;
border-bottom-width: 3px;
}
.avance_sin
{
color:black;
border-style: solid;
border-width: 1px;
border-color: #333C4D;
padding-left: 20px;
padding-right: 20px;
padding-top: 2px;
padding-bottom: 2px;
}
#mostrar_avance
{
margin-left: 50px;
width: 900px;
margin-bottom: 10px;
}
.marco
{
background-color:#fff;
border-color:#aaa;
border-style:ridge groove groove ridge;
border-width:3px;
padding:5px;
-moz-box-shadow:0 0 4px rgba(0,0,0,.3);
-webkit-box-shadow:0 0 4px rgba(0,0,0,.3);
box-shadow:0 0 6px rgba(0,0,0,.6);
}
+462
View File
@@ -0,0 +1,462 @@
/*
* This combined file was created by the DataTables downloader builder:
* https://datatables.net/download
*
* To rebuild or modify this file with the latest versions of the included
* software please visit:
* https://datatables.net/download/#dt/dt-1.10.18
*
* Included libraries:
* DataTables 1.10.18
*/
/*
* Table styles
*/
table.dataTable {
width: 100%;
margin: 0 auto;
clear: both;
border-collapse: separate;
border-spacing: 0;
/*
* Header and footer styles
*/
/*
* Body styles
*/
}
table.dataTable thead th,
table.dataTable tfoot th {
font-weight: bold;
}
table.dataTable thead th,
table.dataTable thead td {
padding: 10px 18px;
border-bottom: 1px solid #111;
}
table.dataTable thead th:active,
table.dataTable thead td:active {
outline: none;
}
table.dataTable tfoot th,
table.dataTable tfoot td {
padding: 10px 18px 6px 18px;
border-top: 1px solid #111;
}
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
cursor: pointer;
*cursor: hand;
background-repeat: no-repeat;
background-position: center right;
}
table.dataTable thead .sorting {
/*background-image: url("DataTables-1.10.18/images/sort_both.png");*/
}
table.dataTable thead .sorting_asc {
/*background-image: url("DataTables-1.10.18/images/sort_asc.png");*/
}
table.dataTable thead .sorting_desc {
background-image: url("DataTables-1.10.18/images/sort_desc.png");
}
table.dataTable thead .sorting_asc_disabled {
background-image: url("DataTables-1.10.18/images/sort_asc_disabled.png");
}
table.dataTable thead .sorting_desc_disabled {
background-image: url("DataTables-1.10.18/images/sort_desc_disabled.png");
}
table.dataTable tbody tr {
background-color: #ffffff;
}
table.dataTable tbody tr.selected {
background-color: #B0BED9;
}
table.dataTable tbody th,
table.dataTable tbody td {
padding: 8px 10px;
}
table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
border-top: 1px solid #ddd;
}
table.dataTable.row-border tbody tr:first-child th,
table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th,
table.dataTable.display tbody tr:first-child td {
border-top: none;
}
table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td {
border-top: 1px solid #ddd;
border-right: 1px solid #ddd;
}
table.dataTable.cell-border tbody tr th:first-child,
table.dataTable.cell-border tbody tr td:first-child {
border-left: 1px solid #ddd;
}
table.dataTable.cell-border tbody tr:first-child th,
table.dataTable.cell-border tbody tr:first-child td {
border-top: none;
}
table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
background-color: #f9f9f9;
}
table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected {
background-color: #acbad4;
}
table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
background-color: #f6f6f6;
}
table.dataTable.hover tbody tr:hover.selected, table.dataTable.display tbody tr:hover.selected {
background-color: #aab7d1;
}
table.dataTable.order-column tbody tr > .sorting_1,
table.dataTable.order-column tbody tr > .sorting_2,
table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1,
table.dataTable.display tbody tr > .sorting_2,
table.dataTable.display tbody tr > .sorting_3 {
background-color: #fafafa;
}
table.dataTable.order-column tbody tr.selected > .sorting_1,
table.dataTable.order-column tbody tr.selected > .sorting_2,
table.dataTable.order-column tbody tr.selected > .sorting_3, table.dataTable.display tbody tr.selected > .sorting_1,
table.dataTable.display tbody tr.selected > .sorting_2,
table.dataTable.display tbody tr.selected > .sorting_3 {
background-color: #acbad5;
}
table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
background-color: #f1f1f1;
}
table.dataTable.display tbody tr.odd > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd > .sorting_2 {
background-color: #f3f3f3;
}
table.dataTable.display tbody tr.odd > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd > .sorting_3 {
background-color: whitesmoke;
}
table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 {
background-color: #a6b4cd;
}
table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 {
background-color: #a8b5cf;
}
table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 {
background-color: #a9b7d1;
}
table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
background-color: #fafafa;
}
table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 {
background-color: #fcfcfc;
}
table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 {
background-color: #fefefe;
}
table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 {
background-color: #acbad5;
}
table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 {
background-color: #aebcd6;
}
table.dataTable.display tbody tr.even.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 {
background-color: #afbdd8;
}
table.dataTable.display tbody tr:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
background-color: #eaeaea;
}
table.dataTable.display tbody tr:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2 {
background-color: #ececec;
}
table.dataTable.display tbody tr:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3 {
background-color: #efefef;
}
table.dataTable.display tbody tr:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1 {
background-color: #a2aec7;
}
table.dataTable.display tbody tr:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2 {
background-color: #a3b0c9;
}
table.dataTable.display tbody tr:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3 {
background-color: #a5b2cb;
}
table.dataTable.no-footer {
border-bottom: 1px solid #111;
}
table.dataTable.nowrap th, table.dataTable.nowrap td {
white-space: nowrap;
}
table.dataTable.compact thead th,
table.dataTable.compact thead td {
padding: 4px 17px 4px 4px;
}
table.dataTable.compact tfoot th,
table.dataTable.compact tfoot td {
padding: 4px;
}
table.dataTable.compact tbody th,
table.dataTable.compact tbody td {
padding: 4px;
}
table.dataTable th.dt-left,
table.dataTable td.dt-left {
text-align: left;
}
table.dataTable th.dt-center,
table.dataTable td.dt-center,
table.dataTable td.dataTables_empty {
text-align: center;
}
table.dataTable th.dt-right,
table.dataTable td.dt-right {
text-align: right;
}
table.dataTable th.dt-justify,
table.dataTable td.dt-justify {
text-align: justify;
}
table.dataTable th.dt-nowrap,
table.dataTable td.dt-nowrap {
white-space: nowrap;
}
table.dataTable thead th.dt-head-left,
table.dataTable thead td.dt-head-left,
table.dataTable tfoot th.dt-head-left,
table.dataTable tfoot td.dt-head-left {
text-align: left;
}
table.dataTable thead th.dt-head-center,
table.dataTable thead td.dt-head-center,
table.dataTable tfoot th.dt-head-center,
table.dataTable tfoot td.dt-head-center {
text-align: center;
}
table.dataTable thead th.dt-head-right,
table.dataTable thead td.dt-head-right,
table.dataTable tfoot th.dt-head-right,
table.dataTable tfoot td.dt-head-right {
text-align: right;
}
table.dataTable thead th.dt-head-justify,
table.dataTable thead td.dt-head-justify,
table.dataTable tfoot th.dt-head-justify,
table.dataTable tfoot td.dt-head-justify {
text-align: justify;
}
table.dataTable thead th.dt-head-nowrap,
table.dataTable thead td.dt-head-nowrap,
table.dataTable tfoot th.dt-head-nowrap,
table.dataTable tfoot td.dt-head-nowrap {
white-space: nowrap;
}
table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left {
text-align: left;
}
table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center {
text-align: center;
}
table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
text-align: right;
}
table.dataTable tbody th.dt-body-justify,
table.dataTable tbody td.dt-body-justify {
text-align: justify;
}
table.dataTable tbody th.dt-body-nowrap,
table.dataTable tbody td.dt-body-nowrap {
white-space: nowrap;
}
table.dataTable,
table.dataTable th,
table.dataTable td {
box-sizing: content-box;
}
/*
* Control feature layout
*/
.dataTables_wrapper {
position: relative;
clear: both;
*zoom: 1;
zoom: 1;
}
.dataTables_wrapper .dataTables_length {
float: left;
}
.dataTables_wrapper .dataTables_filter {
float: right;
text-align: right;
}
.dataTables_wrapper .dataTables_filter input {
margin-left: 0.5em;
}
.dataTables_wrapper .dataTables_info {
clear: both;
float: left;
padding-top: 0.755em;
}
.dataTables_wrapper .dataTables_paginate {
float: right;
text-align: right;
padding-top: 0.25em;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
box-sizing: border-box;
display: inline-block;
min-width: 1.5em;
padding: 0.5em 1em;
margin-left: 2px;
text-align: center;
text-decoration: none !important;
cursor: pointer;
*cursor: hand;
color: #333 !important;
border: 1px solid transparent;
border-radius: 2px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
color: #333 !important;
border: 1px solid #979797;
background-color: white;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, white 0%, #dcdcdc 100%);
/* Chrome10+,Safari5.1+ */
background: -moz-linear-gradient(top, white 0%, #dcdcdc 100%);
/* FF3.6+ */
background: -ms-linear-gradient(top, white 0%, #dcdcdc 100%);
/* IE10+ */
background: -o-linear-gradient(top, white 0%, #dcdcdc 100%);
/* Opera 11.10+ */
background: linear-gradient(to bottom, white 0%, #dcdcdc 100%);
/* W3C */
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
cursor: default;
color: #666 !important;
border: 1px solid transparent;
background: transparent;
box-shadow: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
color: white !important;
border: 1px solid #111;
background-color: #585858;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
/* Chrome10+,Safari5.1+ */
background: -moz-linear-gradient(top, #585858 0%, #111 100%);
/* FF3.6+ */
background: -ms-linear-gradient(top, #585858 0%, #111 100%);
/* IE10+ */
background: -o-linear-gradient(top, #585858 0%, #111 100%);
/* Opera 11.10+ */
background: linear-gradient(to bottom, #585858 0%, #111 100%);
/* W3C */
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
outline: none;
background-color: #2b2b2b;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
/* Chrome10+,Safari5.1+ */
background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
/* FF3.6+ */
background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
/* IE10+ */
background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
/* Opera 11.10+ */
background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
/* W3C */
box-shadow: inset 0 0 3px #111;
}
.dataTables_wrapper .dataTables_paginate .ellipsis {
padding: 0 1em;
}
.dataTables_wrapper .dataTables_processing {
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 40px;
margin-left: -50%;
margin-top: -25px;
padding-top: 20px;
text-align: center;
font-size: 1.2em;
background-color: white;
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
color: #333;
}
.dataTables_wrapper .dataTables_scroll {
clear: both;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
*margin-top: -1px;
-webkit-overflow-scrolling: touch;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
vertical-align: middle;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing {
height: 0;
overflow: hidden;
margin: 0 !important;
padding: 0 !important;
}
.dataTables_wrapper.no-footer .dataTables_scrollBody {
border-bottom: 1px solid #111;
}
.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,
.dataTables_wrapper.no-footer div.dataTables_scrollBody > table {
border-bottom: none;
}
.dataTables_wrapper:after {
visibility: hidden;
display: block;
content: "";
clear: both;
height: 0;
}
@media screen and (max-width: 767px) {
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
float: none;
text-align: center;
}
.dataTables_wrapper .dataTables_paginate {
margin-top: 0.5em;
}
}
@media screen and (max-width: 640px) {
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
float: none;
text-align: center;
}
.dataTables_wrapper .dataTables_filter {
margin-top: 0.5em;
}
}
File diff suppressed because one or more lines are too long
+324
View File
@@ -0,0 +1,324 @@
.dhx_tabbar_zone_top{
position:relative;
}
.dhx_tabbar_zone, .dhx_tabbar_zoneB, .dhx_tabbar_zoneV, .dhx_tabbar_zoneVB{
position:relative;
width:100%;
height:100%;
overflow:hidden;
z-index:1;
}
.dhx_tablist_line{
height:1px;
width:1px;
background-color:#91A7B4;
position:absolute;
overflow:hidden;
}
.dhx_tabbar_row, .dhx_tablist_zone, .dhx_tabcontent_zone, .dhx_tab_element{
width:100%;
height:100%;
overflow:hidden;
position:absolute;
}
.dhx_tablist_zone{
z-index:3;
overflow:hidden;
}
.dhx_tabcontent_zone{
border:1px solid #91A7B4;
z-index:2;
}
.dhx_tabbar_zone_top .dhx_tab_element{
padding-top:3px;
}
.dhx_tab_element span{
white-space: nowrap;
}
.dhx_tab_element{
cursor:pointer;
text-align:center;
font-family:Tahoma;
font-size:8pt;
background-color:white;
}
.dhx_tabbar_zoneV .dhx_tab_element{
padding:0px 0px 0px 3px;
text-align:left;
}
.dhx_tabbar_zoneVB .dhx_tab_element{
padding:0px 3px 0px 0px;
text-align:right;
}
.dhx_tab_element div{
height:40px;
width:40px;
position:absolute;
overflow:hidden;
}
.dhx_tab_element span{
position:relative;
z-index:10;
}
.dhx_tabbar_zone_dhx_blue .dhx_tablist_line{
background-color:#C2D5DC;
}
.dhx_tabbar_zone_dhx_blue .dhx_tabcontent_zone{
border-color:#D2E3EA;
}
.dhx_tabbar_zone_dhx_blue .dhx_tab_element{
color:#006699;
}
.dhx_tab_element_active{
font-weight:bold;
}
.dhx_tabbar_zone_dark_blue .dhx_tab_element,.dhx_tabbar_zone_dhx_black .dhx_tab_element{
color:white;
}
.dhx_tabbar_zone_dhx_black .dhx_tablist_line{
background-color:#626262;
}
.dhx_tabbar_zone_dhx_black .dhx_tabcontent_zone{
border-color:#333333;
}
.dhx_tabbar_zone_dhx_web .dhx_tabbar_row{
background-color:#646464;
}
.dhx_tabbar_zone_dhx_web .dhx_tab_element span{
top:4px;
font-weight:normal !important;
font-size:12px;
}
.dhx_tabbar_zone_dhx_web .dhx_tablist_line{
display:none;
}
.dhx_tabbar_zone_dhx_web .dhx_tabcontent_zone{
border-width:0px 1px 1px 1px;
border-color:#646464;;
background-color:#646464!important;
border:none!important;
}
.dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_row{
background-image:url(./imgs/dhx_skyblue/bg_top.png);
border-right:1px solid #B6CBDD;
border-left:1px solid #B6CBDD;
}
.dhx_tabbar_zone_dhx_blue .dhx_tabbar_row{
background-color: #D2E3EA;
}
.dhx_tabbar_zone_dhx_black .dhx_tabbar_row{
background-color: black;
}
.dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineA{
position:absolute;
left:0px; width:1px; height:3px;
background-color:white;
z-index:999;
border-left:1px solid #A4BED4;
border-right:1px solid #A4BED4;
overflow:hidden;
}
.dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineB{
position:absolute; left:2px; width:100px; height:3px;
background-color: #D0E5FF;
z-index:999; overflow:hidden;
}
.dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineC{
position:absolute; right:0px; width:1px; height:21px;
background-color: white;
z-index:999; overflow:hidden;
border-right:1px solid #A4BED4;
}
.dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineD{
position:absolute; left:1px; width:1px; height:21px;
background-color: white;
z-index:999; overflow:hidden;
}
.dhx_tabbar_zone_top .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineD{
top:1px;
}
.dhx_tabbar_zone_top .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineC{
top:1px;
}
.dhx_tabbar_zone_bottom .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineD{
bottom:1px;
}
.dhx_tabbar_zone_bottom .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineC{
bottom:1px;
}
.dhx_tabbar_zone_bottom .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_row{
background-image:url(./imgs/dhx_skyblue/bg_bottom.png);
background-position:bottom;
}
.dhx_tabbar_zone_bottom .dhx_tabbar_zone_dhx_skyblue .dhx_tablist_line {
border-width:0px 1px 1px 0px;
}
.dhx_tabbar_zone_bottom .dhx_tab_element span{
padding-top:5px;
display:block;
}
.dhx_tabbar_zone_left .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineB{
width:3px;left:auto; top:2px;
}
.dhx_tabbar_zone_left .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineA{
width:3px;
border:1px solid #A4BED4;
border-width:1px 0px 1px 0px;
}
.dhx_tabbar_zone_left .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineD{
height:1px; width:21px; right:auto; bottom:0px; left:1px;
border:1px solid #A4BED4;
border-width:0px 0px 1px 0px;
}
.dhx_tabbar_zone_left .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineC{
height:1px; width:21px; right:auto; top:1px; left:1px;
}
.dhx_tabbar_zone_left .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_row{
background-image:url(./imgs/dhx_skyblue/bg_left.png);
border:1px solid #B6CBDD;
border-width:1px 0px 1px 0px;
}
.dhx_tabbar_zone_left .dhx_tabbar_zone_dhx_skyblue .dhx_tablist_line {
border-width:0px 0px 1px 1px;
width:2px !ie;
}
.dhx_tabbar_zone_left .dhx_tabbar_zone_dhx_skyblue .dhx_tab_element{
padding-top:0px;
}
.dhx_tabbar_zone_left .dhx_tabbar_zone_dhx_skyblue .dhx_tab_element span{
padding-top:5px;
display:block;
}
.dhx_tabbar_zone_right .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineA{
left:auto; width:3px;
border:1px solid #A4BED4;
border-width:1px 0px 1px 0px;
}
.dhx_tabbar_zone_right .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineB{
width:3px;left:auto; top:2px;
}
.dhx_tabbar_zone_right .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineD{
height:1px; width:21px; left:auto; bottom:0px; right:1px;
border:1px solid #A4BED4;
border-width:0px 0px 1px 0px;
}
.dhx_tabbar_zone_right .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_lineC{
height:1px; width:21px; left:auto; top:1px; right:0px;
}
.dhx_tabbar_zone_right .dhx_tabbar_zone_dhx_skyblue .dhx_tabbar_row{
background-image:url(imgs/dhx_skyblue/bg_right.png);
background-position:right;
border:1px solid #B6CBDD;
border-width:1px 0px 1px 0px;
}
.dhx_tabbar_zone_right .dhx_tabbar_zone_dhx_skyblue .dhx_tablist_line {
border-width:0px 1px 1px 0px;
width:2px !ie;
}
.dhx_tabbar_zone_right .dhx_tabbar_zone_dhx_skyblue .dhx_tab_element{
padding-top:0px;
}
.dhx_tabbar_zone_right .dhx_tabbar_zone_dhx_skyblue .dhx_tab_element span{
padding-top:5px;
display:block;
}
.dhx_tabbar_zone_dhx_skyblue .dhx_tablist_line{
height:3px; border:1px solid #A4BED4; background-color:white; border-width:1px 1px 0px 0px;
}
.dhx_tabbar_zone_dhx_skyblue .dhx_tabcontent_zone{
border-color:#A4BED4;
}
/* common */
div.dhxcont_main_content {
position: relative;
left: 0px;
top: 0px;
overflow: hidden;
}
div.dhxcont_content_blocker {
position: absolute;
left: 0px;
top: 0px;
width: 101%;
height: 101%;
filter: alpha(opacity=0);
-moz-opacity: 0;
opacity: 0;
background: #FFFFFF;
z-index: 1;
-moz-user-select: none;
}
div.dhx_tabbar_zone_dhx_skyblue div.dhxcont_sb_container {
position: relative;
height: 24px;
}
div.dhx_tabbar_zone_dhx_skyblue div.dhxcont_sb_container div.dhxcont_statusbar {
background-image: url("./imgs/dhx_skyblue/dhxlayout_bg_sb.gif");
position: relative;
top: 2px;
height: 22px;
line-height: 22px;
background-repeat: repeat-x;
width: auto;
padding: 0px 4px;
overflow: hidden;
white-space: nowrap;
border-top: none;
border-bottom: none;
border-left: #a4bed4 0px solid;
border-right: #a4bed4 0px solid;
font-family: Tahoma;
font-size: 11px;
vertical-align: middle;
color: #000000;
}
div.dhx_tabbar_zone_dhx_web div.dhxcont_sb_container {
position: relative;
height: 41px;
}
div.dhx_tabbar_zone_dhx_web div.dhxcont_sb_container div.dhxcont_statusbar {
position: relative;
top: 9px;
height: 32px;
line-height: 32px;
background-color: #ececec;
width: auto;
padding: 0px 12px;
overflow: hidden;
white-space: nowrap;
font-family: "Trebuchet MS";
font-size: 14px;
vertical-align: middle;
color: #666666;
}
/* dhxcont cells in layout */
.dhx_tabbar_zone_dhx_web div.dhxcont_global_content_area {
position: absolute;
overflow: hidden; /* important for IE */
background-color: #FFFFFF;
}
.dhx_tabbar_zone_dhx_web div.dhxcont_global_content_area.dhxcont_tabbar_dhx_web {
border: white 8px solid; /* change to white */
}
+122
View File
@@ -0,0 +1,122 @@
#colaboradores_block{
width:600px;
margin: auto;
display: none;
height:270px;
background-color:transparent;
position:absolute;
left:400px;
top:255px;
}
.indent{
padding-right: 15.5em;
}
#form {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border:0.5px solid ;
/*border-color: blue;*/
width:500px;
margin:20px auto 80px;
color: #999999;
}
#form legend{
font-weight:bold;
font-size:12px;
}
#form ol{
list-style:none;
}
#form ol li{
padding-bottom:1px;
}
#form ol li label{
width:120px;
float:left;
text-align:left;
}
#form input[type=text] {
border:1px solid #CCCCCC;
}
#form input.btn {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
padding:3px;
color:#FFFFFF;
background-color:blue;
border:1px solid #000000;
}
#form_consulta {
border:0.5px solid ;
border-color: gray;
width:800px;
margin:20px auto 80px;
}
#form_consulta legend{
font-weight:bold;
font-size:12px;
}
#form_consulta ol{
list-style:none;
}
#form_consulta ol li{
padding-bottom:1px;
}
#form_consulta ol li label{
width:120px;
float:left;
text-align:left;
}
#form_consulta input[type=text] {
border:1px solid #CCCCCC;
}
#form_consulta input.btn {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
padding:3px;
color:#FFFFFF;
background-color:blue;
border:1px solid #000000;
}
fieldset {
width:580px;
margin:auto;
}
#contacto ol{
list-style:none;
}
#contacto ol li{
padding-bottom:10px;
}
#contacto ol li label{
float:left;
width:90px;
}
#result {
width:280px;
padding:10px;
border:1px solid #bfcddb;
margin:auto;
margin-top:10px;
text-align:center;
display:none;
}
#loading {
background-image:url(../images/ajax-loader.gif);
width:31px;
height:31px;
margin:auto;
display:none;
}
+1
View File
@@ -0,0 +1 @@
Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 951 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 928 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

+401
View File
@@ -0,0 +1,401 @@
/* login form */
#login_alumno , textarea, li{
font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
line-height:1.5em;
color:#444;
font-size:12px;
text-align:center;
}
#login_alumno input{
font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
line-height:1.5em;
color:#444;
font-size:12px;
}
#login_alumno{
margin:auto;
background:#fff;
border:8px solid #eee;
width:350px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
-moz-box-shadow:0 0 10px #4e707c;
-webkit-box-shadow:0 0 10px #4e707c;
box-shadow:0 0 10px #4e707c;
text-align:left;
position:relative;
}
#login_alumno a, #login_alumno a:visited{color:#0283b2;}
#login_alumno a:hover{color:#111;}
#login_alumno h1{
background:#333333;
color:#fff;
font-size:14px;
padding:5px 10px;
margin:0 0 1.5em 0;
}
#login_alumno .register{
position:absolute;
float:left;
margin:0;
line-height:30px;
top:-40px;
right:0;
font-size:11px;
}
#login_alumno p{margin:.5em 25px;}
#login_alumno div{
margin:.5em 15px;
background:#eee;
padding:1px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
text-align:right;
position:relative;
}
#login_alumno label{
float:left;
font-size: 13px;
line-height:20px;
padding-left:10px;
}
#login_alumno .field{
border:1px solid #ccc;
font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
width:200px;
font-size:13px;
padding:4px;
-moz-box-shadow:inset 0 0 5px #ccc;
-webkit-box-shadow:inset 0 0 5px #ccc;
box-shadow:inset 0 0 5px #ccc;
}
#login_alumno div.submit{background:none;margin:1em 25px;text-align:left;}
#login_alumno div.submit label{float:none;display:inline;font-size:11px;}
#login_alumno .forgot{text-align:right;font-size:11px;}
#login_alumno .error{
float:left;
position:absolute;
left:100%;
top:-5px;
background:#890000;
padding:5px 10px;
font-size:11px;
color:#fff;
text-shadow:#500 0 1px 0;
text-align:left;
white-space:nowrap;
border:1px solid #500;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow:0 0 5px #700;
-webkit-box-shadow:0 0 5px #700;
box-shadow:0 0 5px #700;
}
/* --------------*/
#login_profesor , table, textarea, li{
font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
line-height:1.5em;
color:#444;
font-size:12px;
text-align:center;
}
#login_profesor input{
font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
line-height:1.5em;
color:#444;
font-size:12px;
}
#login_profesor{
margin:auto;
background:#fff;
border:8px solid #eee;
width:350px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
-moz-box-shadow:0 0 10px #4e707c;
-webkit-box-shadow:0 0 10px #4e707c;
box-shadow:0 0 10px #4e707c;
text-align:left;
position:relative;
}
#login_profesor a, #login_profesor a:visited{color:#0283b2;}
#login_profesor a:hover{color:#111;}
#login_profesor h1{
background:#333C4D;
color:#fff;
font-size:14px;
padding:5px 10px;
margin:0 0 1.5em 0;
}
#login_profesor .register{
position:absolute;
float:left;
margin:0;
line-height:30px;
top:-40px;
right:0;
font-size:11px;
}
#login_profesor p{margin:.5em 25px;}
#login_profesor div{
margin:.5em 15px;
background:#eee;
padding:1px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
text-align:right;
position:relative;
}
#login_profesor label{
float:left;
font-size: 13px;
line-height:20px;
padding-left:10px;
}
#login_profesor .field{
border:1px solid #ccc;
font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
width:200px;
font-size:13px;
padding:4px;
-moz-box-shadow:inset 0 0 5px #ccc;
-webkit-box-shadow:inset 0 0 5px #ccc;
box-shadow:inset 0 0 5px #ccc;
}
#login_profesor div.submit{background:none;margin:1em 25px;text-align:left;}
#login_profesor div.submit label{float:none;display:inline;font-size:11px;}
#login_profesor .forgot{text-align:right;font-size:11px;}
#login_profesor .error{
float:left;
position:absolute;
left:100%;
top:-5px;
background:#890000;
padding:5px 10px;
font-size:11px;
color:#fff;
text-shadow:#500 0 1px 0;
text-align:left;
white-space:nowrap;
border:1px solid #500;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow:0 0 5px #700;
-webkit-box-shadow:0 0 5px #700;
box-shadow:0 0 5px #700;
}
/*--*----------------------------------*/
/* --------------*/
#login_idioma , table, textarea, li{
font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
line-height:1.5em;
color:#444;
font-size:12px;
text-align:center;
}
#login_idioma input{
font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
line-height:1.5em;
color:#444;
font-size:12px;
}
#login_idioma{
margin:auto;
background:#fff;
border:8px solid #eee;
width:420px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
-moz-box-shadow:0 0 10px #4e707c;
-webkit-box-shadow:0 0 10px #4e707c;
box-shadow:0 0 10px #4e707c;
text-align:left;
position:relative;
}
#login_idioma a, #login_idioma a:visited{color:#0283b2;}
#login_idioma a:hover{color:#111;}
#login_idioma h1{
background:#08298A;
color:#fff;
font-size:14px;
padding:5px 10px;
margin:0 0 1.5em 0;
}
#login_idioma .register{
position:absolute;
float:left;
margin:0;
line-height:30px;
top:-40px;
right:0;
font-size:11px;
}
#login_idioma p{margin:.5em 25px;}
#login_idioma div{
margin:.5em 15px;
background:#eee;
padding:1px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
text-align:right;
position:relative;
}
#login_idioma label{
float:left;
font-size: 13px;
line-height:20px;
padding-left:10px;
}
#login_idioma .field{
border:1px solid #ccc;
font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
width:200px;
font-size:13px;
padding:4px;
-moz-box-shadow:inset 0 0 5px #ccc;
-webkit-box-shadow:inset 0 0 5px #ccc;
box-shadow:inset 0 0 5px #ccc;
}
#login_idioma div.submit{background:none;margin:1em 25px;text-align:left;}
#login_idioma div.submit label{float:none;display:inline;font-size:11px;}
#login_idioma .forgot{text-align:right;font-size:11px;}
#login_idioma .error{
float:left;
position:absolute;
left:100%;
top:-5px;
background:#890000;
padding:5px 10px;
font-size:11px;
color:#fff;
text-shadow:#500 0 1px 0;
text-align:left;
white-space:nowrap;
border:1px solid #500;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow:0 0 5px #700;
-webkit-box-shadow:0 0 5px #700;
box-shadow:0 0 5px #700;
}
/*-------------------------------------*/
.response{
background:#890000;
display: none;
padding:5px 10px;
font-size:11px;
color:#fff;
text-shadow:#500 0 1px 0;
white-space:nowrap;
border:1px solid #500;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow:0 0 5px #700;
-webkit-box-shadow:0 0 5px #700;
box-shadow:0 0 5px #700;
}
.requerido, .requerido_correo{
margin-bottom: 10px;
margin-top: 10px;
background:#890000;
width: 200px;
padding:3px 10px;
font-size:11px;
color:#fff;
text-shadow:#500 0 1px 0;
white-space:nowrap;
border:1px solid #500;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow:0 0 5px #700;
-webkit-box-shadow:0 0 5px #700;
box-shadow:0 0 5px #700;
}
.mensaje_verde{
margin-bottom: 10px;
margin-top: 10px;
background-color: rgb(81, 163, 81);
width: 200px;
padding:3px 10px;
font-size:11px;
color: rgb(255, 255, 255);
border-style: none;
font-weight: normal;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow:0 0 5px white;
-webkit-box-shadow:0 0 5px white;
box-shadow:0 0 5px white;
}
/* // login form */
#enviar, #download_ticket, #enviar_1, .boton-verde{
border-style: none;
font-weight: normal;
padding: 10px 10px 10px 10px;
width: auto;
background-color: rgb(81,163,81);
color: rgb(255,255,255);
}
#descargar_comprobante, #generar_reporte{
border-style: none;
font-weight: bold;
/*margin-left: 400px;*/
padding: 10px 10px 10px 10px;
margin-bottom: 10px;
margin-top: 0px;
width: auto;
background-color: #2790B0;
color: rgb(255, 255, 255);
}
#generar_reporte{
padding-left: 500px;
}
+152
View File
@@ -0,0 +1,152 @@
.modal
{
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
border-radius: 10px;
width: 50%; /* Could be more or less, depending on screen size */
}
.modal-footer
{
position: relative;
left: 90%;
}
.close {
cursor: pointer;
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.input-seccion > label
{
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: 700;
}
.input-seccion > input
{
display: block;
width: 100%;
font-size: 14px;
line-height: 1.42857143;
color: #555;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
}
.warning
{
background: #ffa7a7;
font-style: italic;
padding: 3px;
border-radius: 5px;
}
.send-btn
{
padding: 10px;
margin-top: 20px;
background: #BB8800;
border: none;
border-radius: 3px;
color: white;
}
/****SPINER***/
.spin
{
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.spin-content
{
margin: 15% auto;
width: 60px;
}
.spin .spiner{
width: 20px;
position: relative;
float: left;
color: black;
font-size:35px;
-webkit-animation: slideIn 1s linear infinite; /* Safari */
animation: slideIn 1s linear infinite;
}
.spin1.slideIn
{
animation-delay: 0.3s;
-moz-animation-delay: 0.3s;
-webkit-animation-delay: 0.3s;
-o-animation-delay: 0.3s;
}
.spin2.slideIn {
animation-delay: 0.6s;
-moz-animation-delay: 0.6s;
-webkit-animation-delay: 0.6s;
-o-animation-delay: 0.6s;
}
.spin3.slideIn {
animation-delay: 0.9s;
-moz-animation-delay: 0.9s;
-webkit-animation-delay: 0.9s;
-o-animation-delay: 0.9s;
}
@-webkit-keyframes slideIn {
0% { font-size:35px; }
100% { font-size:80px; }
}
@keyframes slideIn
{
0%{
font-size:35px;
}
50%
{
color: white;
font-size:80px;
}
100%
{
color: black;
font-size:35px;
}
}
.white
{
color:white;
text-align: center;
}
+105
View File
@@ -0,0 +1,105 @@
body{
color: #000000;
font-family: verdana,arial,sans-serif;
font-size:13px;
background: none repeat scroll 0 0 #E9E9E9;
}
#page {
background-color: #FFFFFF;
border: 1px solid #496077;
margin: auto;
padding-left: 20px;
padding-top: 20px;
padding-bottom: 20px;
width: 960px;
}
table.respuestas {
font-family: verdana,arial,sans-serif;
font-size:11px;
color:#333333;
border-width: 1px;
border-color: #666666;
border-collapse: collapse;
margin-left: 100px;
}
/*table.gridtable th {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #666666;
background-color: #dedede;
}*/
table.respuestas td {
border-width: 1px;
padding: 4px;
border-style: solid;
border-color: #666666;
background-color: #ffffff;
}
.total
{
margin-left: 100px;
width: 200px;
}
.pregunta
{
margin-left: 20px;
}
.seccion
{
margin-left: 10px;
width: 800px;
font-weight:bold;
font-size: 110%;
}
#escudo
{
width: 300px;
margin-left: 20px;
margin-top: 10px;
margin-bottom: 50px;
}
#titulo
{
font: 100% Arial,A030,"Nimbus Sans L",FreeSans,"Liberation Sans",sans-serif;
font-size: 20px;
color: #4787ED ;
margin-top: 20px;
padding-left: 200px;
padding-right: 50px;
padding-bottom: 10px;
}
#datos
{
width: 800px;
margin-left: 50px;
}
.nota_mostrada
{
background-color: #E5EBFD;
background-position: -136px -33px;
border-color: #A0B1DE;
width:800px;
border-radius: 3px 3px 3px 3px;
border-style: solid;
border-width: 1px;
margin: auto;
margin-bottom: 10px;
margin-top: 10px;
padding: 8px 8px 8px 34px;
}
+94
View File
@@ -0,0 +1,94 @@
html {
}
#cabecera
{
margin: 0px auto;
padding: 20px;
width: 80%;
height: 70px;;
background: #fff;
font-family: 'trebuchet MS', Arial, helvetica;
-moz-border-radius: 10px;
border-radius: 20px;
-moz-box-shadow: 0 0 10px #555;
-webkit-box-shadow: 0 0 10px #555;
box-shadow: 0 0 10px #555;
}
.ribbon:after, .ribbon:before,
h2:after, h2:before,
#twitter-follow:after, #twitter-follow:before
{
content: '';
position: absolute;
}
/* ---------------------------------------------- */
.ribbon{
position: relative;
color: #fff;
margin: 0 -30px 30px -30px;
padding: 10px 0;
text-shadow: 0 1px rgba(0,0,0,.8);
background: #333C4D;
background-image: -moz-linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,0));
background-image: -webkit-linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,0));
background-image: -o-linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,0));
background-image: -ms-linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,0));
background-image: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,0));
-moz-box-shadow: 0 2px 0 rgba(0,0,0,.3);
-webkit-box-shadow: 0 2px 0 rgba(0,0,0,.3);
box-shadow: 0 2px 0 rgba(0,0,0,.3);
clear: both;
}
.ribbon:before, .ribbon:after
{
border-style: solid;
border-color: transparent;
bottom: -10px;
}
.ribbon:before
{
border-width: 0 10px 10px 0;
border-right-color: #222;
left: 0;
}
.ribbon:after
{
border-width: 0 0 10px 10px;
border-left-color: #222;
right: 0;
}
.nota_mostrada
{
background-color: #E5EBFD;
background-position: -136px -33px;
border-color: #A0B1DE;
margin-left:-10px;
margin-bottom:20px;
width:auto;
border-radius: 3px 3px 3px 3px;
border-style: solid;
border-width: 1px;
margin: 10px 0 5px;
padding: 8px 8px 8px 34px;
}
/* ---------------------------------------------- */
/* ---------------------------------------------- */
+644
View File
@@ -0,0 +1,644 @@
/* ------------------
styling for the tables
------------------ */
ul.lista-b {
margin-left:30px;
margin-right:50px;
margin-bottom: 25px;
text-align: justify;
}
ul.lista-a li{
height: 10px;
}
ul.lista-a, ul.lista-b {list-style-type: none;}
#nombre, #app, #apm{width: 200px;}
#star{color:red;}
body
{
line-height: 1.6em;
}
#hor-minimalist-a
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
background: #fff;
margin: 45px;
width: 480px;
border-collapse: collapse;
text-align: left;
padding-top: 100px;
}
#hor-minimalist-a th
{
font-size: 14px;
font-weight: normal;
color: #039;
padding: 10px 8px;
border-bottom: 2px solid #6678b1;
}
#hor-minimalist-a td
{
color: #669;
padding: 9px 8px 0px 8px;
}
#hor-minimalist-a tbody tr:hover td
{
color: #009;
}
#hor-minimalist-b
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
background: #fff;
margin: 45px;
width: 480px;
border-collapse: collapse;
text-align: left;
}
#hor-minimalist-b th
{
font-size: 14px;
font-weight: normal;
color: #039;
padding: 10px 8px;
border-bottom: 2px solid #6678b1;
}
#hor-minimalist-b td
{
border-bottom: 1px solid #ccc;
color: #669;
padding: 6px 8px;
}
#hor-minimalist-b tbody tr:hover td
{
color: #009;
}
#ver-minimalist
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
}
#ver-minimalist th
{
padding: 8px 2px;
font-weight: normal;
font-size: 14px;
border-bottom: 2px solid #6678b1;
border-right: 30px solid #fff;
border-left: 30px solid #fff;
color: #039;
}
#ver-minimalist td
{
padding: 12px 2px 0px 2px;
border-right: 30px solid #fff;
border-left: 30px solid #fff;
color: #669;
}
#box-table-a
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
}
#box-table-a th
{
font-size: 13px;
font-weight: normal;
padding: 8px;
background: #b9c9fe;
border-top: 4px solid #aabcfe;
border-bottom: 1px solid #fff;
color: #039;
}
#box-table-a td
{
padding: 8px;
background: #e8edff;
border-bottom: 1px solid #fff;
color: #669;
border-top: 1px solid transparent;
}
#box-table-a tr:hover td
{
background: #d0dafd;
color: #339;
}
#box-table-b
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
border-top: 7px solid #9baff1;
border-bottom: 7px solid #9baff1;
}
#box-table-b th
{
font-size: 13px;
font-weight: normal;
padding: 8px;
background: #e8edff;
border-right: 1px solid #9baff1;
border-left: 1px solid #9baff1;
color: #039;
}
#box-table-b td
{
padding: 8px;
background: #e8edff;
border-right: 1px solid #aabcfe;
border-left: 1px solid #aabcfe;
color: #669;
}
#hor-zebra
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
}
#hor-zebra th
{
font-size: 14px;
font-weight: normal;
padding: 10px 8px;
color: #039;
}
#hor-zebra td
{
padding: 8px;
color: #669;
}
#hor-zebra .odd
{
background: #e8edff;
}
#ver-zebra
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
}
#ver-zebra th
{
font-size: 14px;
font-weight: normal;
padding: 12px 15px;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #039;
}
#ver-zebra td
{
padding: 8px 15px;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #669;
}
.vzebra-odd
{
background: #eff2ff;
}
.vzebra-even
{
background: #e8edff;
}
#ver-zebra #vzebra-adventure, #ver-zebra #vzebra-children
{
background: #d0dafd;
border-bottom: 1px solid #c8d4fd;
}
#ver-zebra #vzebra-comedy, #ver-zebra #vzebra-action
{
background: #dce4ff;
border-bottom: 1px solid #d6dfff;
}
#one-column-emphasis
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
}
#one-column-emphasis th
{
font-size: 14px;
font-weight: normal;
padding: 12px 15px;
color: #039;
}
#one-column-emphasis td
{
padding: 10px 15px;
color: #669;
border-top: 1px solid #e8edff;
}
.oce-first
{
background: #d0dafd;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
}
#one-column-emphasis tr:hover td
{
color: #339;
background: #eff2ff;
}
#newspaper-a
{
font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;
/* font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;*/
font-size: 12px;
margin: 45px;
width: 850px;
text-align: left;
border-collapse: collapse;
border: 1px solid #69c;
}
#newspaper-a th
{
padding: 12px 17px 12px 17px;
font-weight: normal;
font-size: 14px;
color: #039;
border-bottom: 1px dashed #69c;
}
#newspaper-a td
{
padding: 7px 17px 7px 17px;
/* color: #669;*/
}
#newspaper-a tbody tr:hover td
{
/* color: #669;*/
background:#D7E8EA;
/*background: #d0dafd;*/
}
#newspaper-b
{
font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;
/*font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;*/
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
border: 1px solid #69c;
}
#newspaper-b th
{
padding: 15px 10px 10px 10px;
font-weight: normal;
font-size: 14px;
color: #039;
}
#newspaper-b tbody
{
background: #e8edff;
}
#newspaper-b td
{
padding: 10px;
color: #669;
border-top: 1px dashed #fff;
}
#newspaper-b tbody tr:hover td
{
color: #339;
background: #d0dafd;
}
#newspaper-c
{
font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;
/*font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;*/
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
border: 1px solid #6cf;
}
#newspaper-c th
{
padding: 20px;
font-weight: normal;
font-size: 13px;
color: #039;
text-transform: uppercase;
border-right: 1px solid #0865c2;
border-top: 1px solid #0865c2;
border-left: 1px solid #0865c2;
border-bottom: 1px solid #fff;
}
#newspaper-c td
{
padding: 10px 20px;
color: #669;
border-right: 1px dashed #6cf;
}
#rounded-corner
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
}
#rounded-corner thead th.rounded-company
{
background: #b9c9fe url('table-images/left.png') left -1px no-repeat;
}
#rounded-corner thead th.rounded-q4
{
background: #b9c9fe url('table-images/right.png') right -1px no-repeat;
}
#rounded-corner th
{
padding: 8px;
font-weight: normal;
font-size: 13px;
color: #039;
background: #b9c9fe;
}
#rounded-corner td
{
padding: 8px;
background: #e8edff;
border-top: 1px solid #fff;
color: #669;
}
#rounded-corner tfoot td.rounded-foot-left
{
background: #e8edff url('table-images/botleft.png') left bottom no-repeat;
}
#rounded-corner tfoot td.rounded-foot-right
{
background: #e8edff url('table-images/botright.png') right bottom no-repeat;
}
#rounded-corner tbody tr:hover td
{
background: #d0dafd;
}
#background-image
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
background: url('table-images/blurry.jpg') 330px 59px no-repeat;
}
#background-image th
{
padding: 12px;
font-weight: normal;
font-size: 14px;
color: #339;
}
#background-image td
{
padding: 9px 12px;
color: #669;
border-top: 1px solid #fff;
}
#background-image tfoot td
{
font-size: 11px;
}
#background-image tbody td
{
background: url('table-images/back.png');
}
* html #background-image tbody td
{
/*
----------------------------
PUT THIS ON IE6 ONLY STYLE
AS THE RULE INVALIDATES
YOUR STYLESHEET
----------------------------
*/
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='table-images/back.png',sizingMethod='crop');
background: none;
}
#background-image tbody tr:hover td
{
color: #339;
background: none;
}
#gradient-style
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
}
#gradient-style th
{
font-size: 13px;
font-weight: normal;
padding: 8px;
background: #b9c9fe url('table-images/gradhead.png') repeat-x;
border-top: 2px solid #d3ddff;
border-bottom: 1px solid #fff;
color: #039;
}
#gradient-style td
{
padding: 8px;
border-bottom: 1px solid #fff;
color: #669;
border-top: 1px solid #fff;
background: #e8edff url('table-images/gradback.png') repeat-x;
}
#gradient-style tfoot tr td
{
background: #e8edff;
font-size: 12px;
color: #99c;
}
#gradient-style tbody tr:hover td
{
background: #d0dafd url('table-images/gradhover.png') repeat-x;
color: #339;
}
#pattern-style-a
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
background: url('table-images/pattern.png');
}
#pattern-style-a thead tr
{
background: url('table-images/pattern-head.png');
}
#pattern-style-a th
{
font-size: 13px;
font-weight: normal;
padding: 8px;
border-bottom: 1px solid #fff;
color: #039;
}
#pattern-style-a td
{
padding: 8px;
border-bottom: 1px solid #fff;
color: #669;
border-top: 1px solid transparent;
}
#pattern-style-a tbody tr:hover td
{
color: #339;
background: #fff;
}
#pattern-style-b
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
background: url('table-images/patternb.png');
}
#pattern-style-b thead tr
{
background: url('table-images/patternb-head.png');
}
#pattern-style-b th
{
font-size: 13px;
font-weight: normal;
padding: 8px;
border-bottom: 1px solid #fff;
color: #039;
}
#pattern-style-b td
{
padding: 8px;
border-bottom: 1px solid #fff;
color: #669;
border-top: 1px solid transparent;
}
#pattern-style-b tbody tr:hover td
{
color: #339;
background: #cdcdee;
}
.varela
{
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
margin-bottom: 3em;
font-size: 90%;
line-height: 1.1;
text-align: left;
}
.varela tr:hover, td.start:hover, td.end:hover
{
/*background: #FF9;*/
background: #FBF7BD;
}
.varela th, td
{
padding: .3em .5em;
}
.varela th
{
font-weight: normal;
text-align: left;
padding-left: 15px;
}
.varela th.name { width: 12em; }
.varela th.location { width: 12em; }
.varela th.color { width: 10em; }
.varela thead th
{
background: #c6ceda;
border-color: #fff #fff #888 #fff;
border-style: solid;
border-width: 1px 1px 2px 1px;
padding-left: .5em;
}
.varela tbody th.start
{
padding-left: 26px;
}
.varela tbody th.end
{
padding-left: 26px;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

+32
View File
@@ -0,0 +1,32 @@
<?php
include ("php/header.php");
echo "<center><h1>¡Lo sentimos!, el cupo de registro por este medio se ha agotado.</h1></center>";
?>
<div id="contenido" style="margin-left: 35px; border-color: black;">
<div style="padding-left:100px">
<table style="border-collapse: collapse; width: 750px;">
<tr>
<td colspan="2"><h6 style="font-weight: bold;">Datos de contacto</h6></td>
</tr>
<tr>
<td colspan="2" style="text-align: left;">
<label style="padding-left: 30px; font-weight: bold;">Gloria Moctezuma Nájera</label>
<ul class="lista-b">
<li style="height: 10px;"><label style="font-style: italic;">Secretaria Técnica de la Secretaría de Extensión Universitaria y Vinculación Institucional</label></li>
<li style="height: 10px;">Facultad de Estudios Superiores Acatlán</li>
<li style="height: 22px;">Universidad Nacional Autónoma de México</li>
<li style="height: 10px;"><span style="font-style: italic;">Número de contacto:</span> 5623-1665</li>
<li><span style="font-style: italic;">Correo electrónico:</span><span style="color: blue;"> vegresados@apolo.acatlan.unam.mx</span></li>
</ul>
</td>
</tr>
</table>
</div>
</div>
<?php
include ("php/footer.php");
+21
View File
@@ -0,0 +1,21 @@
<?php
include 'php/header.php';
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D,d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
?>
<div id="contenido">
<br><br>
<form method="post" id="">
<center>
<h1><strong>Gracias por su colaboración.</strong></h1>
<h3>Se enviará la referencia bancaria al correo registrado.</h3>
<h3>Una vez hecho el pago, podrá descargar su boleto a partir del 15 de octubre del presente año.</h3>
<br>
</center>
</form>
<br><br>
</div>
<?php
include 'php/footer.php';
Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Some files were not shown because too many files have changed in this diff Show More