Example #1
0
 public static function delBuy()
 {
     $navId = $_GET['navId'];
     $snavId = $_GET['snavId'];
     $id = $_GET['buyId'];
     mod_buy::delBuy($id);
     render_template("buy.php", array("navId" => $navId, "snavId" => $snavId));
 }
Example #2
0
 public static function saveJoinus()
 {
     $params['bus_name'] = $_POST['bus_name'];
     $params['address'] = $_POST['address'];
     $params['phone'] = $_POST['phone'];
     $params['email'] = $_POST['email'];
     $params['others'] = $_POST['others'];
     mod_buy::saveJoinus($params);
     echo json_encode(array("error" => 0));
 }