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
/
View File Name :
grapeController.php
<?php SYS::DOMAIN("Grape"); $action = isset($_GET["action"]) ? $_GET["action"] : null ; switch ($action) { case "save" : $grapeInstance = new Grape(); $excute = $grapeInstance->save($_POST); if($excute) { $grapeInstance->lastRow(); header("location:?page=Grape/show&id=$grapeInstance->id"); } break; case "update" : $grapeInstance = new Grape(); $grapeInstance->get($_GET["id"]); $excute = $grapeInstance->update($_POST); if($excute) { header("location:?page=Grape/show&id=$grapeInstance->id"); } break; case "delete" : $grapeInstance = new Grape(); $grapeInstance->get($_GET["id"]); $excute = $grapeInstance->delete(); if($excute) { header("location:?page=Grape/list"); } break; } ?>