Newsflash
Due to the late implementation of the new Erasmus+ funding programme, we are unfortunately unable to organise a CIRCE course in 2014. For more info click on CIRCE Courses in the Menu...
 
Circe Menu
Facebook
CIRCE

Promoot jouw pagina ook
getPath( 'front_html' ) ); require_once( $mainframe->getPath( 'class' ) ); $task = mosGetParam($_REQUEST, "task", ""); //$id = mosGetParam( $_REQUEST, 'cid', array(0) ); $row = mosGetParam($_REQUEST, "row", ""); $recentnum=mosGetParam($_REQUEST,"recentnum", ""); $searchtype=mosGetParam($_REQUEST,"searchtype", ""); $submit=mosGetParam($_REQUEST,"submit", ""); $addbutton=mosGetParam($_REQUEST,"addbutton", ""); $CurrUID=$my->id; $isAdmin=False; $isUser=False; // Check for Admin rights $isAdmin=checkType_comdown('admin'); // Check for User rights if (!$isAdmin) { $isUser=checkType_comdown('user'); } switch($task){ default: search1($option); break; case "add": add($option,$addbutton); break; case "search" : search($option,$searchtype,$recentnum); break; case "view" : view($option,$row); break; case "save" : save(); break; } function default1($mosConfig_live_site,$option){ lessonsplan_html::header(); ?>

View all lesson plans

Add lesson plans load($uid); lessonsplan_html::view($option, $row); ?>

View all lesson plans

Add lesson plans bind($_POST)) { echo "\n"; exit(); } $alltheme; for ($i = 0; $i < count($_POST['theme']); $i++) { if($i!=count($_POST['theme'])-1){ $alltheme=$_POST['theme'][$i].",".$alltheme;} else{$alltheme=$alltheme.$_POST['theme'][$i];} } $row->theme=$alltheme; //echo $_POST['subject']; /*$newdescription=str_replace( "\n","

", $_POST['description'] ); $row->description=$newdescription; $newevaluation=str_replace( "\n","

", $_POST['evaluation'] ); $row->evaluation=$newevaluation; $newnota=str_replace( "\n","

", $_POST['nota'] ); $row->nota=$newnota;*/ $row->reference=sprintf("%s %s %s",$row->age,$row->class_subject,$row->country); $row->published=1; $row->dateinsert=date("Y-m-d"); // store it in the db if (!$row -> store()) { echo "\n"; exit(); } } else{ global $database; $id=0; $row = new mosLessonsPlan($database); $row -> load($id); ?>

age); $lists['theme'] = mosHTML::selectList( $themelist, 'theme[]', 'class="inputbox" size="7" multiple','value', 'text', $row->theme); $lists['country'] = mosHTML::selectList( $countrylist, 'country', 'class="inputbox" size="1"','value', 'text', $row->country); $lists['level'] = mosHTML::selectList( $levellist, 'level', 'class="inputbox" size="1"','value', 'text', $row->level); $lists['class_subject'] = mosHTML::selectList( $subjectlist, 'class_subject', 'class="inputbox" size="1"','value', 'text', $row->class_subject); $lists['language'] = mosHTML::selectList( $languagelist, 'language', 'class="inputbox" size="1"','value', 'text', $row->language); lessonsplan_html::edit( $option, $row, $lists); // ?>

"._REGISTER."."; } } function search($option,$searchtype,$recentnum){ global $mosConfig_live_site; global $submit; if($searchtype){ if($searchtype=="all"){ global $database; $database->setQuery("SELECT * FROM #__lessonsplan ORDER BY id" ); $rows = $database -> loadObjectList(); if ($database -> getErrorNum()) { echo $database -> stderr(); return false; } lessonsplan_html::showLesson( $option, $rows ); ?> setQuery($sqlnum); $rows = $database -> loadObjectList(); if ($database -> getErrorNum()) { echo $database -> stderr(); return false; } lessonsplan_html::showLesson( $option, $rows ); ?>

View 5 | 10 | 15 | 20 | 25 | 50View the most recent lesson plans

View

"; }*/ $list_country = $_POST['country']; $list_age = $_POST['age']; $list_level = $_POST['level']; $list_theme = $_POST['theme']; $list_theme = $_POST['theme']; $list_language = $_POST['language']; $wsql="WHERE "; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////Country if($list_country[0]!="" && $list_country[0]!="All" && $list_country[0]!="ALL") { if (count($list_country) > 0) { for ($i=0;$i 0) { for ($i=0;$i 0) { for ($i=0;$i 0) { for ($i=0;$i 0) { for ($i=0;$i 0) { for ($i=0;$isetQuery($asql); $rows = $database -> loadObjectList(); if ($database -> getErrorNum()) { echo $database -> stderr(); return false; } lessonsplan_html::showLesson( $option, $rows ); ?>
For multiple selections: Press and hold the CTRL key and click on your criteria
Level:     Add a lesson plan
Class:
Age:
Country:
Theme(s):
Language of the lesson plan:
    View all lesson plans
View the most recent lesson plans


View all lesson plans

Add lesson plans bind($_POST)) { echo "\n"; exit(); } $row->reference=sprintf("%s %s %s",$row->age,$row->class_subject,$row->country); $row->dateinsert=date("Y-m-d"); // store it in the db if (!$row -> store()) { echo "\n"; exit(); } } function checkType_comdown($type){ global $my; if ($type=='admin'){ if ((strtolower($my->usertype)=='administrator') || (strtolower($my->usertype)=='superadministrator') || (strtolower($my->usertype)=='super administrator')){ return true; } else { return false; } } else { if (($my->usertype<>'') || ($my->gid>0)){ return true; } else { return false; } } } ?>