function viewme($id, $classname, $classID) { // echo "List : ".$id." ".$classname." ".$classID; $id = tin($id); $list = new Lists(); $list->getByID($id); $li = new ListItem(); $arrLi = $li->getWhere("list_parent_id = '{$id}' ORDER BY list_urutan DESC"); $arr['list'] = $list; $arr['arrLi'] = $arrLi; $layout_id = $list->list_layout; $file = Layout::getFile($layout_id); // echo "Pages/".$layout_id."/".$file; Mold::theme("Pages/" . $layout_id . "/" . $file, $arr); //pr($list); }