Files
code-cegled/_include/include_cities.php
Ricsi 20781a0847 school and school_city class
user edit with parent edit included (ajax)
city and school connected
overview updated
2017-01-12 22:59:36 +01:00

30 lines
380 B
PHP

<?php
# HA NINCS ID, AKKOR VÁROSLISTA
if ($this->is_id()) {
# VÁROS SZERKESZTÉSE
}
else {
# VÁROS LISTA
$scc_query = "SELECT * FROM school_city WHERE scc_deleted = 0 ORDER BY - scc_order DESC, scc_city ASC";
$scc_assoc_array = $sql->assoc_array($scc_query);
$smarty->assign('scc_assoc_array',$scc_assoc_array);
$smarty->display('city_list.tpl');
}
?>