Newsflash

8° Corso Transnazionale CIRCE per docenti Europei di discipline classiche: Aquileia (Italia), 07 - 14 Luglio 2013. Per ulteriori dettagli click su Corsi Circe nel Menu...

 
Benvenuto arrow Risorse CIRCE arrow Scenari didattici arrow Aggiungi uno scenario
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(); ?>

Mostra gli scenari

Inserisci scenari load($uid); lessonsplan_html::view($option, $row); ?>

Mostra gli scenari

Inserisci scenari 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 ); ?>

Mostra 5 | 10 | 15 | 20 | 25 | 50Gli scenari pi recenti

Mostra

"; }*/ $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 ); ?>
Selezione multipla in un campo: per favore, premi CTRL e poi clicca sui criteri che vuoi selezionare
Livello:     Aggiungi uno scenario
Disciplina:
Et:
Stato:
Tema:
Lingua:
    Visualizza tutti gli scenari
Mostra gli scenari pi recenti


Mostra gli scenari

Inserisci scenari 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; } } } ?>