settings added; information textarea added
This commit is contained in:
28
_include/include_information.php
Normal file
28
_include/include_information.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
# HA NINCS ID, AKKOR INFORMÁCIÓK
|
||||
|
||||
if ($this->is_id()) {
|
||||
# EMPTY
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
# INFORMÁCIÓK
|
||||
|
||||
$info_query = "SELECT setv_id FROM setting_value JOIN setting ON setv_setting_set_id = set_id WHERE set_name = 'Információk'";
|
||||
|
||||
$setv_id = $sql->single_variable($info_query);
|
||||
|
||||
$new_setval = new setting_value();
|
||||
$new_setval->set_setting_value_data_by_id($setv_id);
|
||||
|
||||
$smarty->assign('setting', $new_setval);
|
||||
|
||||
$smarty->display('information.tpl');
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user