Add version files and new GIF images for UI components
This commit is contained in:
27
objectx/obj_usracc/usracc.html.php
Normal file
27
objectx/obj_usracc/usracc.html.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
class BASE_USRACC extends MY_DHTMLX
|
||||
{
|
||||
public function fn_page_construct()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class USRACC_HTML extends BASE_USRACC
|
||||
{
|
||||
public function fn_page_home()
|
||||
{
|
||||
|
||||
}
|
||||
public function fn_url_home()
|
||||
{
|
||||
return "$('#uri').val('');$('#fm').prop('target','_self');$('#fm').submit();";
|
||||
}
|
||||
|
||||
public function fn_url_usracc_rptprd()
|
||||
{
|
||||
return "$('#uri').val('ajax=0&sec=1&option=c88641f3a44ac9caa729c03300b1c2b5&obj=bbf1a77b0a7c41436fc437e00daa9482&task=de7eb57f52fc4d8a6fef759e7bb0844b');$('#fm').prop('target','_self');$('#fm').submit();";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
39
objectx/obj_usracc/usracc.php
Normal file
39
objectx/obj_usracc/usracc.php
Normal file
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
require_once($pg.".html.php");
|
||||
class USRACC extends USRACC_HTML
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
$cl=new USRACC();
|
||||
|
||||
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 "usracc_$modulename":
|
||||
$clfile->$fn_module_init();
|
||||
break;
|
||||
}
|
||||
|
||||
?>
|
||||
59
objectx/obj_usracc/usracc_rptmnth.php
Normal file
59
objectx/obj_usracc/usracc_rptmnth.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
class USRACC_RPTMNTH extends USRACC
|
||||
{
|
||||
public function usracc_rptmnth_javainit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function fn_rptmnth_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_rptmnth();
|
||||
break;
|
||||
|
||||
case $task:
|
||||
$task="fn_".$task;
|
||||
if(method_exists($this,$task)){$this->$task();}
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->fn_default_rptmnth();
|
||||
break;
|
||||
}
|
||||
}
|
||||
public function fn_default_rptmnth()
|
||||
{
|
||||
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_usracc/usracc_rptprd.php
Normal file
59
objectx/obj_usracc/usracc_rptprd.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
class USRACC_RPTPRD extends USRACC
|
||||
{
|
||||
public function usracc_rptprd_javainit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function fn_rptprd_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_rptprd();
|
||||
break;
|
||||
|
||||
case $task:
|
||||
$task="fn_".$task;
|
||||
if(method_exists($this,$task)){$this->$task();}
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->fn_default_rptprd();
|
||||
break;
|
||||
}
|
||||
}
|
||||
public function fn_default_rptprd()
|
||||
{
|
||||
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_usracc/usracc_trndyr.php
Normal file
59
objectx/obj_usracc/usracc_trndyr.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
class USRACC_TRNDYR extends USRACC
|
||||
{
|
||||
public function usracc_trndyr_javainit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function fn_trndyr_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_trndyr();
|
||||
break;
|
||||
|
||||
case $task:
|
||||
$task="fn_".$task;
|
||||
if(method_exists($this,$task)){$this->$task();}
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->fn_default_trndyr();
|
||||
break;
|
||||
}
|
||||
}
|
||||
public function fn_default_trndyr()
|
||||
{
|
||||
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