[admin] profile can be uploaded
This commit is contained in:
32
_include/include_milestones.php
Normal file
32
_include/include_milestones.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
|
||||
# HA VAN ID, AKKOR PROFIL FELTÖLTÉS
|
||||
|
||||
if ($this->is_id()) {
|
||||
switch ($this->get_id()) {
|
||||
case '1':
|
||||
$smarty->assign('error', 'Nem található a fájlnévvel egyező gyerek a rendszerben!');
|
||||
break;
|
||||
case '2':
|
||||
$smarty->assign('error', 'Ismeretlen esemény típus');
|
||||
break;
|
||||
case 'success':
|
||||
# code...
|
||||
$smarty->assign('success', 'Sikeres feltöltés!');
|
||||
break;
|
||||
|
||||
default:
|
||||
# code...
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
else {
|
||||
# PROFIL FELTÖLTÉS
|
||||
}
|
||||
|
||||
$smarty->display('upload_milestone.tpl');
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user