function batchDelete($p, $ids)
 {
     $c = new AsProduct($this->db_conn);
     $i = 0;
     for ($i = 0; $i < count($ids); $i++) {
         $c->getData($ids[$i]);
         $c->delete();
     }
     $this->gotoURL("product.php?action=list");
     //$this->browse($p);
 }
Esempio n. 2
0
 $p = array();
 $clists = $b->getListArray($p);
 
 $s = new Subclass();
 $p = array();
 $p['cat_id'] = '37';
 $lists = $s->getListArray($p);
 */
if ($cat_id == "") {
    $cat_id = 44;
}
if ($sub_id == "") {
    $sub_id = 8;
}
//if($id =="") $id = 8;
$c = new AsProduct();
$p['cat_id'] = $cat_id;
$p['sub_id'] = $sub_id;
$prolists = $c->getListArray($p);
//print_r($prolists);
//print_r($lists);return
?>
<!DOCTYPE html>

<html lang="en">

  <head>

    <meta charset="utf-8">

    <title>木屋專家-工程實績-安信木匠</title>