Add version files and new GIF images for UI components
This commit is contained in:
27
objectx/obj_uar/uar.html.php
Normal file
27
objectx/obj_uar/uar.html.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
class BASE_UAR extends MY_DHTMLX
|
||||
{
|
||||
public function fn_page_construct()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class UAR_HTML extends BASE_UAR
|
||||
{
|
||||
public function fn_page_home()
|
||||
{
|
||||
|
||||
}
|
||||
public function fn_url_home()
|
||||
{
|
||||
return "$('#uri').val('');$('#fm').prop('target','_self');$('#fm').submit();";
|
||||
}
|
||||
|
||||
public function fn_url_uar_history()
|
||||
{
|
||||
return "$('#uri').val('ajax=0&sec=1&option=0fa52904055248b994964c14e8c769d3&obj=1e0c08bed18f056a45dcb1cceb383292&task=de7eb57f52fc4d8a6fef759e7bb0844b');$('#fm').prop('target','_self');$('#fm').submit();";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
39
objectx/obj_uar/uar.php
Normal file
39
objectx/obj_uar/uar.php
Normal file
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
require_once($pg.".html.php");
|
||||
class UAR extends UAR_HTML
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
$cl=new UAR();
|
||||
|
||||
if(isset($_REQUEST['task'])){$case=$_REQUEST['task'];}
|
||||
if(isset($_POST['task'])){$case=$_POST['task'];}
|
||||
if(isset($_REQUEST['obj'])){$obj=$_REQUEST['obj'];}
|
||||
if(isset($_POST['obj'])){$obj=$_POST['obj'];}
|
||||
|
||||
if($_REQUEST){if($_REQUEST['sec']){$case=$cl->dec($case);$obj=$cl->dec($obj);}}
|
||||
|
||||
if(file_exists(PATH_OBJECT."/$option/$obj.php"))
|
||||
{
|
||||
require_once("$obj.php");
|
||||
$className=strtoupper($obj);
|
||||
$clfile=new $className();
|
||||
$fn_init_java=$className."_javainit";
|
||||
$init_java=trim($_REQUEST['init_java']);if($init_java){$clfile->$fn_init_java();}
|
||||
|
||||
$case=$obj;
|
||||
}
|
||||
|
||||
if(!$case){$case=$obj;if(!file_exists(PATH_OBJECT."/$option/$obj.php")){$cl->under_construction();}}
|
||||
$sptask=explode("_",$case);$modulename=$sptask[1];$fn_module_init="fn_".$modulename."_init";
|
||||
|
||||
switch($case)
|
||||
{
|
||||
case "uar_$modulename":
|
||||
$clfile->$fn_module_init();
|
||||
break;
|
||||
}
|
||||
|
||||
?>
|
||||
59
objectx/obj_uar/uar_history.php
Normal file
59
objectx/obj_uar/uar_history.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
class UAR_HISTORY extends UAR
|
||||
{
|
||||
public function uar_history_javainit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function fn_history_init()
|
||||
{
|
||||
if(isset($_REQUEST['task'])){$task=trim(strtolower($_REQUEST['task']));}
|
||||
if(isset($_POST['task'])){$task=trim(strtolower($_POST['task']));}
|
||||
if($_REQUEST||$_POST){if($_REQUEST['sec']||$_POST['sec']){$task=$this->dec($task);}}
|
||||
|
||||
switch($task)
|
||||
{
|
||||
case "default":
|
||||
$this->fn_default_history();
|
||||
break;
|
||||
|
||||
case $task:
|
||||
$task="fn_".$task;
|
||||
if(method_exists($this,$task)){$this->$task();}
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->fn_default_history();
|
||||
break;
|
||||
}
|
||||
}
|
||||
public function fn_default_history()
|
||||
{
|
||||
echo $this->FN_CREATEHEADER();
|
||||
|
||||
echo "<style>
|
||||
.besidebtnsave {margin-left:104px;margin-top:-6px;position:absolute;}
|
||||
.besidebtnupdate {margin-left:198px;margin-top:-6px;position:absolute;}
|
||||
.besidebtndelete {margin-left:288px;margin-top:-6px;position:absolute;}
|
||||
</style>";
|
||||
echo "<script>
|
||||
var myForm,myFormsearch,dgtra;
|
||||
function initObject()
|
||||
{";
|
||||
|
||||
echo " }
|
||||
|
||||
function fn_grid_loaddata()
|
||||
{";
|
||||
|
||||
echo " }
|
||||
</script>";
|
||||
echo $this->FN_CLOSEHEADER();
|
||||
echo $this->FN_CREATEBODY("e8f1ff");
|
||||
|
||||
echo $this->FN_CREATEFOOTER();
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
59
objectx/obj_uar/uar_monitor.php
Normal file
59
objectx/obj_uar/uar_monitor.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
class UAR_MONITOR extends UAR
|
||||
{
|
||||
public function uar_monitor_javainit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function fn_monitor_init()
|
||||
{
|
||||
if(isset($_REQUEST['task'])){$task=trim(strtolower($_REQUEST['task']));}
|
||||
if(isset($_POST['task'])){$task=trim(strtolower($_POST['task']));}
|
||||
if($_REQUEST||$_POST){if($_REQUEST['sec']||$_POST['sec']){$task=$this->dec($task);}}
|
||||
|
||||
switch($task)
|
||||
{
|
||||
case "default":
|
||||
$this->fn_default_monitor();
|
||||
break;
|
||||
|
||||
case $task:
|
||||
$task="fn_".$task;
|
||||
if(method_exists($this,$task)){$this->$task();}
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->fn_default_monitor();
|
||||
break;
|
||||
}
|
||||
}
|
||||
public function fn_default_monitor()
|
||||
{
|
||||
echo $this->FN_CREATEHEADER();
|
||||
|
||||
echo "<style>
|
||||
.besidebtnsave {margin-left:104px;margin-top:-6px;position:absolute;}
|
||||
.besidebtnupdate {margin-left:198px;margin-top:-6px;position:absolute;}
|
||||
.besidebtndelete {margin-left:288px;margin-top:-6px;position:absolute;}
|
||||
</style>";
|
||||
echo "<script>
|
||||
var myForm,myFormsearch,dgtra;
|
||||
function initObject()
|
||||
{";
|
||||
|
||||
echo " }
|
||||
|
||||
function fn_grid_loaddata()
|
||||
{";
|
||||
|
||||
echo " }
|
||||
</script>";
|
||||
echo $this->FN_CLOSEHEADER();
|
||||
echo $this->FN_CREATEBODY("e8f1ff");
|
||||
|
||||
echo $this->FN_CREATEFOOTER();
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
59
objectx/obj_uar/uar_trend.php
Normal file
59
objectx/obj_uar/uar_trend.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
class UAR_TREND extends UAR
|
||||
{
|
||||
public function uar_trend_javainit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function fn_trend_init()
|
||||
{
|
||||
if(isset($_REQUEST['task'])){$task=trim(strtolower($_REQUEST['task']));}
|
||||
if(isset($_POST['task'])){$task=trim(strtolower($_POST['task']));}
|
||||
if($_REQUEST||$_POST){if($_REQUEST['sec']||$_POST['sec']){$task=$this->dec($task);}}
|
||||
|
||||
switch($task)
|
||||
{
|
||||
case "default":
|
||||
$this->fn_default_trend();
|
||||
break;
|
||||
|
||||
case $task:
|
||||
$task="fn_".$task;
|
||||
if(method_exists($this,$task)){$this->$task();}
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->fn_default_trend();
|
||||
break;
|
||||
}
|
||||
}
|
||||
public function fn_default_trend()
|
||||
{
|
||||
echo $this->FN_CREATEHEADER();
|
||||
|
||||
echo "<style>
|
||||
.besidebtnsave {margin-left:104px;margin-top:-6px;position:absolute;}
|
||||
.besidebtnupdate {margin-left:198px;margin-top:-6px;position:absolute;}
|
||||
.besidebtndelete {margin-left:288px;margin-top:-6px;position:absolute;}
|
||||
</style>";
|
||||
echo "<script>
|
||||
var myForm,myFormsearch,dgtra;
|
||||
function initObject()
|
||||
{";
|
||||
|
||||
echo " }
|
||||
|
||||
function fn_grid_loaddata()
|
||||
{";
|
||||
|
||||
echo " }
|
||||
</script>";
|
||||
echo $this->FN_CLOSEHEADER();
|
||||
echo $this->FN_CREATEBODY("e8f1ff");
|
||||
|
||||
echo $this->FN_CREATEFOOTER();
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user