20161215
This commit is contained in:
30
_include/include_regions.php
Normal file
30
_include/include_regions.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
|
||||
# HA NINCS ID, AKKOR RÉGIÓLISTA
|
||||
|
||||
if ($this->is_id()) {
|
||||
|
||||
# RÉGIÓ SZERKESZTÉSE
|
||||
|
||||
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
# RÉGIÓ LISTA
|
||||
|
||||
$reg_query = "SELECT * FROM region ORDER BY reg_name ASC";
|
||||
$reg_assoc_array = $sql->assoc_array($reg_query);
|
||||
|
||||
$smarty->assign('reg_assoc_array',$reg_assoc_array);
|
||||
$smarty->display('region_list.tpl');
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user