function __construct()
 {
     global $conn, $Language;
     $GLOBALS["Page"] =& $this;
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (seguimiento_tramites)
     if (!isset($GLOBALS["seguimiento_tramites"]) || get_class($GLOBALS["seguimiento_tramites"]) == "cseguimiento_tramites") {
         $GLOBALS["seguimiento_tramites"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["seguimiento_tramites"];
     }
     // 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 = "cciag_seguimiento_tramitesadd.php";
     $this->InlineAddUrl = $this->PageUrl() . "a=add";
     $this->GridAddUrl = $this->PageUrl() . "a=gridadd";
     $this->GridEditUrl = $this->PageUrl() . "a=gridedit";
     $this->MultiDeleteUrl = "cciag_seguimiento_tramitesdelete.php";
     $this->MultiUpdateUrl = "cciag_seguimiento_tramitesupdate.php";
     // Table object (usuario)
     if (!isset($GLOBALS['usuario'])) {
         $GLOBALS['usuario'] = new cusuario();
     }
     // Table object (tramites)
     if (!isset($GLOBALS['tramites'])) {
         $GLOBALS['tramites'] = new ctramites();
     }
     // User table object (usuario)
     if (!isset($GLOBALS["UserTable"])) {
         $GLOBALS["UserTable"] = 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", 'seguimiento_tramites', 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 = "div";
     $this->ExportOptions->TagClassName = "ewExportOption";
     // Other options
     $this->OtherOptions['addedit'] = new cListOptions();
     $this->OtherOptions['addedit']->Tag = "div";
     $this->OtherOptions['addedit']->TagClassName = "ewAddEditOption";
     $this->OtherOptions['detail'] = new cListOptions();
     $this->OtherOptions['detail']->Tag = "div";
     $this->OtherOptions['detail']->TagClassName = "ewDetailOption";
     $this->OtherOptions['action'] = new cListOptions();
     $this->OtherOptions['action']->Tag = "div";
     $this->OtherOptions['action']->TagClassName = "ewActionOption";
 }
 function __construct()
 {
     global $conn, $Language;
     $GLOBALS["Page"] =& $this;
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (seguimiento_tramites)
     if (!isset($GLOBALS["seguimiento_tramites"]) || get_class($GLOBALS["seguimiento_tramites"]) == "cseguimiento_tramites") {
         $GLOBALS["seguimiento_tramites"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["seguimiento_tramites"];
     }
     $KeyUrl = "";
     if (@$_GET["id_tramite"] != "") {
         $this->RecKey["id_tramite"] = $_GET["id_tramite"];
         $KeyUrl .= "&id_tramite=" . urlencode($this->RecKey["id_tramite"]);
     }
     if (@$_GET["fecha"] != "") {
         $this->RecKey["fecha"] = $_GET["fecha"];
         $KeyUrl .= "&fecha=" . urlencode($this->RecKey["fecha"]);
     }
     if (@$_GET["hora"] != "") {
         $this->RecKey["hora"] = $_GET["hora"];
         $KeyUrl .= "&hora=" . urlencode($this->RecKey["hora"]);
     }
     $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;
     // Table object (usuario)
     if (!isset($GLOBALS['usuario'])) {
         $GLOBALS['usuario'] = new cusuario();
     }
     // Table object (tramites)
     if (!isset($GLOBALS['tramites'])) {
         $GLOBALS['tramites'] = new ctramites();
     }
     // User table object (usuario)
     if (!isset($GLOBALS["UserTable"])) {
         $GLOBALS["UserTable"] = new cusuario();
     }
     // 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", 'seguimiento_tramites', 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 = "div";
     $this->ExportOptions->TagClassName = "ewExportOption";
     // Other options
     $this->OtherOptions['action'] = new cListOptions();
     $this->OtherOptions['action']->Tag = "div";
     $this->OtherOptions['action']->TagClassName = "ewActionOption";
     $this->OtherOptions['detail'] = new cListOptions();
     $this->OtherOptions['detail']->Tag = "div";
     $this->OtherOptions['detail']->TagClassName = "ewDetailOption";
 }
 function __construct()
 {
     global $conn, $Language;
     $GLOBALS["Page"] =& $this;
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (seguimiento_tramites)
     if (!isset($GLOBALS["seguimiento_tramites"]) || get_class($GLOBALS["seguimiento_tramites"]) == "cseguimiento_tramites") {
         $GLOBALS["seguimiento_tramites"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["seguimiento_tramites"];
     }
     // Table object (usuario)
     if (!isset($GLOBALS['usuario'])) {
         $GLOBALS['usuario'] = new cusuario();
     }
     // Table object (tramites)
     if (!isset($GLOBALS['tramites'])) {
         $GLOBALS['tramites'] = new ctramites();
     }
     // User table object (usuario)
     if (!isset($GLOBALS["UserTable"])) {
         $GLOBALS["UserTable"] = new cusuario();
     }
     // 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", 'seguimiento_tramites', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect();
     }
 }
 function __construct()
 {
     global $conn, $Language;
     $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 (seguimiento_tramites)
     if (!isset($GLOBALS["seguimiento_tramites"]) || get_class($GLOBALS["seguimiento_tramites"]) == "cseguimiento_tramites") {
         $GLOBALS["seguimiento_tramites"] =& $this;
         //			$GLOBALS["MasterTable"] = &$GLOBALS["Table"];
         //			if (!isset($GLOBALS["Table"])) $GLOBALS["Table"] = &$GLOBALS["seguimiento_tramites"];
     }
     // Table object (usuario)
     if (!isset($GLOBALS['usuario'])) {
         $GLOBALS['usuario'] = new cusuario();
     }
     // User table object (usuario)
     if (!isset($GLOBALS["UserTable"])) {
         $GLOBALS["UserTable"] = new cusuario();
     }
     // 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", 'seguimiento_tramites', 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 = "div";
     $this->OtherOptions['addedit']->TagClassName = "ewAddEditOption";
 }