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