<?php include "../../../system.php"; include "../../system.php"; include "pic_unit.php"; //System----------------------------------------------------------- $now_table = $pro_pic_table; //System----------------------------------------------------------- $unit = new pic(); $id = $_POST['id']; $unit->table = $now_table; $unit->id = $id; $unit->get_db_var(); $unit->del(); @unlink("../" . $unit->pic); @unlink("../" . $unit->s_pic); //刪除圖檔