function __construct() { global $conn, $Language, $UserAgent; // User agent $UserAgent = ew_UserAgent(); $GLOBALS["Page"] =& $this; // Language object if (!isset($Language)) { $Language = new cLanguage(); } // Parent constuctor parent::__construct(); // Table object (socios) if (!isset($GLOBALS["socios"])) { $GLOBALS["socios"] =& $this; $GLOBALS["Table"] =& $GLOBALS["socios"]; } // Table object (usuario) if (!isset($GLOBALS['usuario'])) { $GLOBALS['usuario'] = new cusuario(); } // Page ID if (!defined("EW_PAGE_ID")) { define("EW_PAGE_ID", 'edit', TRUE); } // Table name (for backward compatibility) if (!defined("EW_TABLE_NAME")) { define("EW_TABLE_NAME", 'socios', TRUE); } // Start timer if (!isset($GLOBALS["gTimer"])) { $GLOBALS["gTimer"] = new cTimer(); } // Open connection if (!isset($conn)) { $conn = ew_Connect(); } }
function __construct() { global $conn, $Language, $UserAgent; // User agent $UserAgent = ew_UserAgent(); $GLOBALS["Page"] =& $this; // Language object if (!isset($Language)) { $Language = new cLanguage(); } // Parent constuctor parent::__construct(); // Table object (montos) if (!isset($GLOBALS["montos"])) { $GLOBALS["montos"] =& $this; $GLOBALS["Table"] =& $GLOBALS["montos"]; } // Initialize URLs $this->ExportPrintUrl = $this->PageUrl() . "export=print"; $this->ExportExcelUrl = $this->PageUrl() . "export=excel"; $this->ExportWordUrl = $this->PageUrl() . "export=word"; $this->ExportHtmlUrl = $this->PageUrl() . "export=html"; $this->ExportXmlUrl = $this->PageUrl() . "export=xml"; $this->ExportCsvUrl = $this->PageUrl() . "export=csv"; $this->ExportPdfUrl = $this->PageUrl() . "export=pdf"; $this->AddUrl = "montosadd.php"; $this->InlineAddUrl = $this->PageUrl() . "a=add"; $this->GridAddUrl = $this->PageUrl() . "a=gridadd"; $this->GridEditUrl = $this->PageUrl() . "a=gridedit"; $this->MultiDeleteUrl = "montosdelete.php"; $this->MultiUpdateUrl = "montosupdate.php"; // Table object (usuario) if (!isset($GLOBALS['usuario'])) { $GLOBALS['usuario'] = new cusuario(); } // Page ID if (!defined("EW_PAGE_ID")) { define("EW_PAGE_ID", 'list', TRUE); } // Table name (for backward compatibility) if (!defined("EW_TABLE_NAME")) { define("EW_TABLE_NAME", 'montos', TRUE); } // Start timer if (!isset($GLOBALS["gTimer"])) { $GLOBALS["gTimer"] = new cTimer(); } // Open connection if (!isset($conn)) { $conn = ew_Connect(); } // List options $this->ListOptions = new cListOptions(); $this->ListOptions->TableVar = $this->TableVar; // Export options $this->ExportOptions = new cListOptions(); $this->ExportOptions->Tag = "span"; $this->ExportOptions->TagClassName = "ewExportOption"; // Other options $this->OtherOptions['addedit'] = new cListOptions(); $this->OtherOptions['addedit']->Tag = "span"; $this->OtherOptions['addedit']->TagClassName = "ewAddEditOption"; $this->OtherOptions['detail'] = new cListOptions(); $this->OtherOptions['detail']->Tag = "span"; $this->OtherOptions['detail']->TagClassName = "ewDetailOption"; $this->OtherOptions['action'] = new cListOptions(); $this->OtherOptions['action']->Tag = "span"; $this->OtherOptions['action']->TagClassName = "ewActionOption"; }
function __construct() { global $conn, $Language, $UserAgent; // User agent $UserAgent = ew_UserAgent(); $GLOBALS["Page"] =& $this; // Language object if (!isset($Language)) { $Language = new cLanguage(); } if (!isset($GLOBALS["usuario"])) { $GLOBALS["usuario"] = new cusuario(); } // Page ID if (!defined("EW_PAGE_ID")) { define("EW_PAGE_ID", 'logout', TRUE); } // Start timer if (!isset($GLOBALS["gTimer"])) { $GLOBALS["gTimer"] = new cTimer(); } // Open connection if (!isset($conn)) { $conn = ew_Connect(); } }
function __construct() { global $conn, $Language, $UserAgent; // User agent $UserAgent = ew_UserAgent(); $GLOBALS["Page"] =& $this; // Language object if (!isset($Language)) { $Language = new cLanguage(); } // Parent constuctor parent::__construct(); // Table object (realmcharacters) if (!isset($GLOBALS["realmcharacters"])) { $GLOBALS["realmcharacters"] =& $this; $GLOBALS["Table"] =& $GLOBALS["realmcharacters"]; } $KeyUrl = ""; if (@$_GET["realmid"] != "") { $this->RecKey["realmid"] = $_GET["realmid"]; $KeyUrl .= "&realmid=" . urlencode($this->RecKey["realmid"]); } if (@$_GET["acctid"] != "") { $this->RecKey["acctid"] = $_GET["acctid"]; $KeyUrl .= "&acctid=" . urlencode($this->RecKey["acctid"]); } $this->ExportPrintUrl = $this->PageUrl() . "export=print" . $KeyUrl; $this->ExportHtmlUrl = $this->PageUrl() . "export=html" . $KeyUrl; $this->ExportExcelUrl = $this->PageUrl() . "export=excel" . $KeyUrl; $this->ExportWordUrl = $this->PageUrl() . "export=word" . $KeyUrl; $this->ExportXmlUrl = $this->PageUrl() . "export=xml" . $KeyUrl; $this->ExportCsvUrl = $this->PageUrl() . "export=csv" . $KeyUrl; $this->ExportPdfUrl = $this->PageUrl() . "export=pdf" . $KeyUrl; // Page ID if (!defined("EW_PAGE_ID")) { define("EW_PAGE_ID", 'view', TRUE); } // Table name (for backward compatibility) if (!defined("EW_TABLE_NAME")) { define("EW_TABLE_NAME", 'realmcharacters', TRUE); } // Start timer if (!isset($GLOBALS["gTimer"])) { $GLOBALS["gTimer"] = new cTimer(); } // Open connection if (!isset($conn)) { $conn = ew_Connect(); } // Export options $this->ExportOptions = new cListOptions(); $this->ExportOptions->Tag = "span"; $this->ExportOptions->TagClassName = "ewExportOption"; }
function __construct() { global $conn, $Language, $UserAgent; // User agent $UserAgent = ew_UserAgent(); $GLOBALS["Page"] =& $this; // Language object if (!isset($Language)) { $Language = new cLanguage(); } // Parent constuctor parent::__construct(); // Table object (usuario) if (!isset($GLOBALS["usuario"])) { $GLOBALS["usuario"] =& $this; $GLOBALS["Table"] =& $GLOBALS["usuario"]; } if (!isset($GLOBALS["usuario"])) { $GLOBALS["usuario"] =& $this; } // Page ID if (!defined("EW_PAGE_ID")) { define("EW_PAGE_ID", 'forgotpwd', TRUE); } // Start timer if (!isset($GLOBALS["gTimer"])) { $GLOBALS["gTimer"] = new cTimer(); } // Open connection if (!isset($conn)) { $conn = ew_Connect(); } }
function ew_AllowAddDeleteRow() { $ua = ew_UserAgent(); if (count($ua) >= 4) { return $ua[1] != "MSIE" || $ua[3] > 8; } else { return TRUE; } }
function ew_AllowAddDeleteRow() { $ua = ew_UserAgent(); return count($ua) >= 2 && ($ua[0] != "IE" || $ua[1] > 5); }
function __construct() { global $conn, $Language, $UserAgent; // User agent $UserAgent = ew_UserAgent(); $this->FormActionName .= '_' . $this->FormName; $this->FormKeyName .= '_' . $this->FormName; $this->FormOldKeyName .= '_' . $this->FormName; $this->FormBlankRowName .= '_' . $this->FormName; $this->FormKeyCountName .= '_' . $this->FormName; $GLOBALS["Grid"] =& $this; // Language object if (!isset($Language)) { $Language = new cLanguage(); } // Parent constuctor parent::__construct(); // Table object (montos) if (!isset($GLOBALS["montos"])) { $GLOBALS["montos"] =& $this; // $GLOBALS["MasterTable"] = &$GLOBALS["Table"]; // if (!isset($GLOBALS["Table"])) $GLOBALS["Table"] = &$GLOBALS["montos"]; } // Page ID if (!defined("EW_PAGE_ID")) { define("EW_PAGE_ID", 'grid', TRUE); } // Table name (for backward compatibility) if (!defined("EW_TABLE_NAME")) { define("EW_TABLE_NAME", 'montos', TRUE); } // Start timer if (!isset($GLOBALS["gTimer"])) { $GLOBALS["gTimer"] = new cTimer(); } // Open connection if (!isset($conn)) { $conn = ew_Connect(); } // List options $this->ListOptions = new cListOptions(); $this->ListOptions->TableVar = $this->TableVar; // Other options $this->OtherOptions['addedit'] = new cListOptions(); $this->OtherOptions['addedit']->Tag = "span"; $this->OtherOptions['addedit']->TagClassName = "ewAddEditOption"; }
function __construct() { global $conn, $Language, $UserAgent; // User agent $UserAgent = ew_UserAgent(); $GLOBALS["Page"] =& $this; // Language object if (!isset($Language)) { $Language = new cLanguage(); } // Parent constuctor parent::__construct(); // Table object (tbl_subject_group_type) if (!isset($GLOBALS["tbl_subject_group_type"])) { $GLOBALS["tbl_subject_group_type"] =& $this; $GLOBALS["Table"] =& $GLOBALS["tbl_subject_group_type"]; } // Page ID if (!defined("EW_PAGE_ID")) { define("EW_PAGE_ID", 'delete', TRUE); } // Table name (for backward compatibility) if (!defined("EW_TABLE_NAME")) { define("EW_TABLE_NAME", 'tbl_subject_group_type', TRUE); } // Start timer if (!isset($GLOBALS["gTimer"])) { $GLOBALS["gTimer"] = new cTimer(); } // Open connection if (!isset($conn)) { $conn = ew_Connect(); } }
function __construct() { global $conn, $Language, $UserAgent; // User agent $UserAgent = ew_UserAgent(); $GLOBALS["Page"] =& $this; // Language object if (!isset($Language)) { $Language = new cLanguage(); } // Parent constuctor parent::__construct(); // Table object (GM_Logs) if (!isset($GLOBALS["GM_Logs"])) { $GLOBALS["GM_Logs"] =& $this; $GLOBALS["Table"] =& $GLOBALS["GM_Logs"]; } // Initialize URLs $this->ExportPrintUrl = $this->PageUrl() . "export=print"; $this->ExportExcelUrl = $this->PageUrl() . "export=excel"; $this->ExportWordUrl = $this->PageUrl() . "export=word"; // Page ID if (!defined("EW_PAGE_ID")) { define("EW_PAGE_ID", 'report', TRUE); } // Table name (for backward compatibility) if (!defined("EW_TABLE_NAME")) { define("EW_TABLE_NAME", 'GM Logs', TRUE); } // Start timer if (!isset($GLOBALS["gTimer"])) { $GLOBALS["gTimer"] = new cTimer(); } // Open connection if (!isset($conn)) { $conn = ew_Connect(); } // Export options $this->ExportOptions = new cListOptions(); $this->ExportOptions->Tag = "span"; $this->ExportOptions->TagClassName = "ewExportOption"; }
function __construct() { global $conn, $Language, $UserAgent; // User agent $UserAgent = ew_UserAgent(); $GLOBALS["Page"] =& $this; // Language object if (!isset($Language)) { $Language = new cLanguage(); } // Parent constuctor parent::__construct(); // Table object (v_trabajos_a_entregar) if (!isset($GLOBALS["v_trabajos_a_entregar"])) { $GLOBALS["v_trabajos_a_entregar"] =& $this; $GLOBALS["Table"] =& $GLOBALS["v_trabajos_a_entregar"]; } // Page ID if (!defined("EW_PAGE_ID")) { define("EW_PAGE_ID", 'blobview', TRUE); } // Table name (for backward compatibility) if (!defined("EW_TABLE_NAME")) { define("EW_TABLE_NAME", 'v_trabajos_a_entregar', TRUE); } // Start timer if (!isset($GLOBALS["gTimer"])) { $GLOBALS["gTimer"] = new cTimer(); } // Open connection if (!isset($conn)) { $conn = ew_Connect(); } }
function ew_IsMobile() { global $UserAgent, $EW_USE_MOBILE_MENU; if (!isset($UserAgent)) { $UserAgent = ew_UserAgent(); } return $EW_USE_MOBILE_MENU && $UserAgent[2] != ""; }