sort fix. school edit.
This commit is contained in:
30
_include/include_schools.php
Normal file
30
_include/include_schools.php
Normal 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');
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user