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