One Hat Cyber Team
Your IP :
216.73.216.152
Server IP :
27.254.111.200
Server :
Linux wh-sh59.csloxinfo.com 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64
Server Software :
Apache
PHP Version :
5.5.38
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
vhosts
/
oakwine.co.th
/
httpdocs
/
controller
/
Edit File:
typesController.php
<?php SYS::DOMAIN("Types"); $action = isset($_GET["action"]) ? $_GET["action"] : null ; switch ($action) { case "save" : $typesInstance = new Types(); $excute = $typesInstance->save($_POST); if($excute) { $typesInstance->lastRow(); header("location:?page=Types/show&id=$typesInstance->id"); } break; case "update" : $typesInstance = new Types(); $typesInstance->get($_GET["id"]); $excute = $typesInstance->update($_POST); if($excute) { header("location:?page=Types/show&id=$typesInstance->id"); } break; case "delete" : $typesInstance = new Types(); $typesInstance->get($_GET["id"]); $excute = $typesInstance->delete(); if($excute) { header("location:?page=Types/list"); } break; } ?>
Simpan