Add version files and new GIF images for UI components
This commit is contained in:
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