- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
<...>
switch($action) {
case 'postAjouterDocument' :
$titre = read_post_str('text1');
$files['fichier'] = isset($_FILES['text2'])?$_FILES['text2']:'';
$codeRet = $ClsDocument->Add(GUSERID, $files, $titre, GROUPE );
location(PAGE_DOC_DEFAUT."&codeRet=".$codeRet);
exit();
break;
case 'postAjouterCommentaire' :
<...>
exit();
break;
case 'postModifierCommentaire' :
<...>
exit();
break;
}
Follow us!