folder instead of downloading all of them to reduce the load. --> <link rel="stylesheet" href="<?php echo XT_THEME_PATH; ?> dist/css/skins/_all-skins.min.css"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <?php XTReferencia::LoadUrlVars(); ?> </head> <body class="hold-transition skin-blue sidebar-mini layout-boxed"> <div class="wrapper"> <header class="main-header"> <!-- Logo --> <a href="index2.html" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels --> <span class="logo-mini"><b>F</b>EJ</span> <!-- logo for regular state and mobile devices --> <span class="logo-lg"><b>eXTend</b> Generador</span> </a> <!-- Header Navbar: style can be found in header.less --> <nav class="navbar navbar-static-top" role="navigation">
<? /** * @version 1.0.0 * @package XTFRAMEWORK * @author JaVuu * @copyright Copyright (C) 2016 por EcuaLatino. Todos los derechos reservados. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, mire LICENSE.php */ defined("_XTEXEC") or die("Area restingida"); XTReferencia::LoadControlLib("XTToolbar"); XTReferencia::LoadControlLib("XTControles"); $barra = new XTToolbar(" Generar Interfaces","cpanel"); $barra->AgregarBoton("Generar","javascript: _doPostForm('tablaform'); ","default"); $barra->show(); XTControles::InitForm("tablaform","index.php?accion=crearinterfaces"); ?> <?php ?> <div class="row"> <div class="col-md-12"> <div class="box box-primary"> <div class="box-header with-border"> <h3 class="box-title">Seleccionar Tablas</h3> </div><!-- /.box-header --> <div class="box-body"> <table class="table"> <thead> <tr> <th style='width:10px'>#</th> <th style='width:10px'> <input type="checkbox" id="todos" name="todos" onchange="seleccionar_check(this.checked,'tablaform')">
<? /** * @version 1.0.0 * @package XTFRAMEWORK * @author JaVuu * @copyright Copyright (C) 2011 por EcuaLatino. Todos los derechos reservados. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, mire LICENSE.php */ defined("_XTEXEC") or die("Area restingida"); XTReferencia::LoadControlLib("XTToolbar.v1"); XTReferencia::LoadControlLib("XTControles"); XTReferencia::LoadControlLib("XTNyroModal"); $barra = new XTToolbar(" Generar Vista Listar","cpanel"); $barra->AgregarBoton("Generar","javascript: _doPostForm('tablaform'); ","default"); $barra->show(); XTControles::InitForm("tablaform","index.php?accion=crearinterfaces"); ?> <table class="adminlist"> <thead> <tr> <th scope="col" class="rounded-company">#</th> <th scope="col" class="rounded-company"> <input type="checkbox" id="todos" name="todos" onchange="seleccionar_check(this.checked,'tablaform')"> </th> <th scope="col" class="rounded">Tabla</th> <th scope="col" class="rounded">Vistas</th> <th scope="col" class="rounded"> </th> </tr> </thead> <?php for ($i = 0; $i < count($listado); $i++) {
<? defined("_XTEXEC") or die("Area restingida"); //XTReferencia::LoadJQuery(); if($_REQUEST["JQUERYLOAD"]==""){ $_REQUEST["JQUERYLOAD"] = true; XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/js/jquery.js"); } //XTReferencia::LoadEstiloUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/css/jquery.ui.base.css"); //XTReferencia::LoadEstiloUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/css/jquery-ui.css"); //XTReferencia::LoadEstiloUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/css/demo_table_jui.css"); //XTReferencia::LoadEstiloUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/css/demo_table.css"); //XTReferencia::LoadEstiloUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/css/jquery.dataTables.css"); //XTReferencia::LoadEstiloUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/css/bootstrap_dt/dataTables.bootstrap.css"); //XTReferencia::LoadEstiloUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/css/TableTools_JUI.css"); //XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/js/jquery-ui.js"); //XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/js/jquery.validate.js"); XTReferencia::LoadEstiloUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/css/fancybox/jquery.fancybox.css"); XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/js/fancybox/jquery.mousewheel-3.0.6.pack.js"); XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/js/fancybox/jquery.fancybox.js"); XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/js/fancybox/jquery.fancyboxbox.transitions.js"); XTReferencia::LoadEstiloUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/bootstrap-table/bootstrap-table.css"); XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/bootstrap-table/bootstrap-table.js"); //XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/js/ZeroClipboard.js"); //XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/js/TableTools.js"); XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH")."librerias/core/controles/XTControles/js/js.valida.js"); require_once dirname(__FILE__).'/XTControles.part.php';
<? /** * @version 1.0.0 * @package XTFRAMEWORK * @author JaVuu * @copyright Copyright (C) 2011 por EcuaLatino. Todos los derechos reservados. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, mire LICENSE.php */ defined("_XTEXEC") or die("Area restingida"); XTReferencia::LoadControlLib("XTToolbar"); $barra = new XTToolbar(" Generar Controlador","cpanel"); $barra->AgregarBoton("Generar","javascript: _doPostForm('tablaform'); ","default"); $barra->show(); XTControles::InitForm("tablaform","index.php?accion=generarcontrolador"); ?> <table class="adminlist"> <thead> <tr> <th scope="col" class="rounded-company">#</th> <th scope="col" class="rounded-company"> <input type="checkbox" id="todos" name="todos" onchange="seleccionar_check(this.checked,'tablaform')"> </th> <th scope="col" class="rounded">Tabla</th> <th scope="col" class="rounded">Controlador</th> </tr> </thead> <?php for ($i = 0; $i < count($listado); $i++) { $fila = $listado[$i]; $estilofila = $i % 2 == 0 ? 'row0' : 'row1'; $i_item_pos = XTUtils::Request("xtpagcon") == '' ? 1 : XTUtils::Request("xtpagcon");
<? /** * @version 1.0.0 * @package XTFRAMEWORK * @author JaVuu * @copyright Copyright (C) 2011 por EcuaLatino. Todos los derechos reservados. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, mire LICENSE.php */ defined("_XTEXEC") or die("Area restingida"); XTReferencia::LoadModelLib("tablas"); XTReferencia::LoadHelperLib("index"); class indexController extends XTControllerBase { //Accion index public function actionIndex() { $this->view->show("inicio"); } public function actionSeleccionartablas(){ $tablas = new tablasModel(); $localdatos = $tablas->Todas(); $data['listado'] = $localdatos; $this->view->show("seleccionartablas",$data); } public function actionAcercade(){ $this->view->show("acercade"); } public function actionParcial(){} public function actionSeleccionartablas_controlador(){ $tablas = new tablasModel(); $localdatos = $tablas->Todas();
<?php defined("_XTEXEC") or die("Area restingida"); XTReferencia::LoadHelperLib("mod_menus"); class mod_menusController extends XTControllerBase { public function actionVertical() { $menus = array(); $menus[] = array("id" => 1, "etiqueta" => "Inicio", "url" => "index.php", "submenu" => null); $menus[] = array("id" => 1, "etiqueta" => "Generador Completo", "url" => "index.php?accion=seleccionartablas", "submenu" => null); $submenu = array(); $submenu[] = array("id" => 1, "etiqueta" => "Controlador", "url" => "index.php?accion=seleccionartablas_controlador", "submenu" => null); $submenu[] = array("id" => 1, "etiqueta" => "Modelo", "url" => "index.php?accion=seleccionartablas_modelo", "submenu" => null); $submenu_vistas[] = array("id" => 1, "etiqueta" => "Listar", "url" => "index.php?accion=seleccionartablas_vlistar", "submenu" => null); $submenu_vistas[] = array("id" => 1, "etiqueta" => "Agregar", "url" => "index.php?accion=seleccionartablas_vnuevo", "submenu" => null); $submenu_vistas[] = array("id" => 1, "etiqueta" => "Editar", "url" => "index.php?accion=seleccionartablas_veditar", "submenu" => null); $submenu[] = array("id" => 1, "etiqueta" => "Vistas", "url" => "index.php?accion=seleccionartablas_vistas", "submenu" => $submenu_vistas); $menus[] = array("id" => 1, "etiqueta" => "Generador Parcial", "url" => "index.php?accion=parcial", "submenu" => $submenu); $menus[] = array("id" => 1, "etiqueta" => "Generar Privilegios", "url" => "index.php?accion=generarprivilegios", "submenu" => null); $data["listado_menus"] = $menus; $data["menu_nombre"] = "Navegador"; $this->view->show("vertical", $data); } }
<?php $config = XTConfig::singleton(); if (!$_REQUEST["JQUERYLOAD"]) { XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH") . "librerias/core/controles/XTControles/js/jquery.js"); $_REQUEST["JQUERYLOAD"] = true; } XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH") . "plugins/ckeditor/ckeditor.js"); XTReferencia::LoadScriptUtf8($config->get("XTSITE_PATH") . "plugins/ckeditor/adapters/jquery.js"); define("DefFilebrowserBrowseUrl", $config->get("XTSITE_PATH") . 'plugins/filemanager/filemanager.php'); ?> <script type="text/javascript"> CKEDITOR.disableAutoInline = true; </script> <?php class XTRichText { static function RichText($Nombre, $parametros = array()) { $config = XTConfig::singleton(); $user_media_path = $parametros['media_path']; if ($user_media_path == "") { $XTMEDIA_PATH = $config->get("XTMEDIA_PATH"); $XTMEDIA_PATH_ABSOLUTE = $config->get("XTMEDIA_PATH_ABSOLUTE"); } else { $XTMEDIA_PATH = $config->get("XTSITE_PATH") . $user_media_path; $XTMEDIA_PATH_ABSOLUTE = $config->get("XTSITE_PATH_ABSOLUTE") . $user_media_path; //echo "$XTMEDIA_PATH -> $XTMEDIA_PATH_ABSOLUTE"; } $XTMEDIA_PATH = base64_encode($XTMEDIA_PATH); $XTMEDIA_PATH_ABSOLUTE = base64_encode($XTMEDIA_PATH_ABSOLUTE);