sort fix. school edit.

This commit is contained in:
Ricsi
2016-12-16 21:52:29 +01:00
parent d458b996a4
commit 52e8c55e81
18 changed files with 119 additions and 6 deletions

View File

@@ -0,0 +1,30 @@
<?php
# HA NINCS ID, AKKOR ISKOLALISTA
if ($this->is_id()) {
# ISKOLA SZERKESZTÉSE
}
else {
# ISKOLA LISTA
$tr_type_query = "SELECT * FROM school ORDER BY sc_name ASC";
$tr_type_assoc_array = $sql->assoc_array($tr_type_query);
$smarty->assign('school_assoc_array',$tr_type_assoc_array);
$smarty->display('school_list.tpl');
}
?>