Example #1
0
 public function getEventsbyGroup($GroupID)
 {
     global $db;
     $db->select('groups', array('Gid' => $GroupID), $limit = false, $order = false, $where_mode = "AND", $print_query = false, $What = "*", $innerJoin = "");
     $Group = $db->row_array();
     $Page_Title = "مناسبات قبيله  " . $Group['Gname'];
     $where = array('members`.`groupID' => $GroupID);
     $myFunctions = new TableView();
     $myFunctions->addF("عرض", "ViewEvent", "v");
     $myFunctions->addF("تعديل", "Edit", "e");
     events::ViewList($where, $Page_Title, $myFunctions);
 }