This commit is contained in:
Paula Quispe
2017-08-02 16:06:56 -04:00
parent 27f6e7344a
commit 58f038140d
2289 changed files with 204853 additions and 80064 deletions

View File

@@ -26,7 +26,7 @@
if (isset( $_SESSION['CURRENT_PAGE_INITILIZATION'] ))
eval( $_SESSION['CURRENT_PAGE_INITILIZATION'] );
// G::LoadThirdParty('pear/json','class.json');
// $json=new Services_JSON();
if (! defined( 'XMLFORM_AJAX_PATH' ))
define( 'XMLFORM_AJAX_PATH', PATH_XMLFORM );

View File

@@ -3,7 +3,7 @@ if (function_exists("http_response_code")) {
http_response_code(200);
}
$http = G::is_https() ? "https" : "http";
$http = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") ? "https" : "http";
$host = $_SERVER["SERVER_NAME"] . (($_SERVER["SERVER_PORT"] != "80") ? ":" . $_SERVER["SERVER_PORT"] : "");
$urlLogin = $http . "://" . $host . "/sys/en/neoclassic/login/login";

View File

@@ -1,6 +1,6 @@
<?php
$http = G::is_https() ? "https" : "http";
$http = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on")? "https" : "http";
$host = $_SERVER["SERVER_NAME"] . (($_SERVER["SERVER_PORT"] != "80")? ":" . $_SERVER["SERVER_PORT"] : "");
$urlLogin = $http . "://" . $host . "/sys/en/neoclassic/login/login";

View File

@@ -1,4 +1,9 @@
<?php
$filter = new InputFilter();
$_GET = $filter->xssFilterHard($_GET,"url");
$_POST = $filter->xssFilterHard($_POST,"url");
$_REQUEST = $filter->xssFilterHard($_REQUEST,"url");
$_SESSION = $filter->xssFilterHard($_SESSION,"url");
$request = isset($_POST['request'])? $_POST['request']: null;
if( !isset($request) ){
@@ -32,6 +37,7 @@ if( isset($request) ){
$_SESSION[$_POST["formID"]][$_POST["gridname"]] = $oFields;
}
break;
/** widgets **/
case 'suggest':
@@ -55,7 +61,6 @@ if( isset($request) ){
}
// Parsed SQL Structure
G::LoadClass('phpSqlParser');
$parser = new PHPSQLParser($SQL);
$searchType = $_GET["searchType"];

View File

@@ -1,7 +1,5 @@
<?php
G::LoadSystem('helper');
$helper = new Helper();
$type = $_GET['t'];

View File

@@ -23,12 +23,8 @@
*
*/
G::LoadSystem('pagedTable');
G::LoadClass('propelTable');
G::LoadInclude('ajax');
G::LoadAllModelClasses();
G::LoadAllPluginModelClasses();
require_once ( 'classes/class.xmlfield_InputPM.php' );
$id=get_ajax_value('ptID');
$ntable = unserialize(base64_decode($_SESSION['pagedTable[' . $id . ']']));
$page=get_ajax_value('page');
@@ -96,7 +92,6 @@ require_once ( 'classes/class.xmlfield_InputPM.php' );
return ;
}
$ntable->renderTable( 'content' );
G::LoadClass('configuration');
$conf = new Configurations();
$conf->setConfig($ntable->__Configuration,$ntable,$conf->aConfig);
$conf->saveConfig('pagedTable',$ntable->__OBJ_UID,'',$_SESSION['USER_LOGGED'],'');

View File

@@ -23,12 +23,7 @@
*
*/
/* Includes */
G::LoadSystem('pagedTable');
G::LoadClass('propelTable');
G::LoadInclude('ajax');
G::LoadAllModelClasses();
G::LoadAllPluginModelClasses();
require_once ( 'classes/class.xmlfield_InputPM.php' );
$id = get_ajax_value('ptID');
$ntable = unserialize(base64_decode($_SESSION['pagedTable[' . $id . ']']));
$page = get_ajax_value('page');
@@ -128,8 +123,6 @@
$ntable->renderTable("content");
G::LoadClass("configuration");
$conf = new Configurations();
$conf->setConfig($ntable->__Configuration, $ntable, $conf->aConfig);