query_fetchDB(" SELECT id FROM ot_posts WHERE post_title = '" . addslashes($_POST['settings_homepage']) . "' LIMIT 1 "); $_POST['settings_homepage_on'] = $Page['0']['id']; } else { $_POST['settings_homepage_on'] = 0; } // Update fields in DB $DB->query_execDB(" UPDATE ot_config t1, ot_config t2, ot_config t3, ot_config t4, ot_config t5 SET t1.config_value = '" . addslashes($_POST['settings_visible']) . "', t2.config_value = '" . addslashes($_POST['settings_upload_folder']) . "', t3.config_value = '" . addslashes($_POST['settings_upload_month']) . "', t4.config_value = '" . addslashes($_POST['settings_homepage_on']) . "', t5. config_value = '" . addslashes($_POST['settings_posts_page']) . "' WHERE t1.config_name = 'visible' && t2.config_name = 'upload_folder' && t3.config_name = 'upload_month' && t4.config_name = 'homepage' && t5.config_name = 'posts_page' "); header("Location: settings-other.php?update=true"); } else { header("Location: err-403.php"); // Error } } $PageTitle = " » Instellingen » Overige"; // Set page title include("admin-header.php"); // Load header ?>
AlgemeenAlgemeen SchrijvenSchrijven WeergaveWeergave PermalinksPermalinks OverigeOverige OverOver
De instellingen werden succesvol opgeslaan.

Overige instellingen

Weergave weblog


query_fetchDB(" SELECT post_title FROM ot_posts WHERE post_type = 'page' ORDER BY post_title ASC "); // Load all pages $Homepage = $DB->query_fetchDB(" SELECT post_title FROM ot_posts WHERE id = '" . CONF_HOMEPAGE . "' LIMIT 1 "); // Load current page if( ! $Pages) // Are there pages? { $Pages = array(array('id' => 0, 'post_title' => '(Geen pagina\'s beschikbaar)')); } get_form_select("settings_homepage", $Pages, "post_title", 50, stripslashes($Homepage['0']['post_title'])); ?> .

Maximum berichten per pagina weergeven.

Bestanden uploaden

Bestanden opslaan in:
Standaard map is 'content/uploads'.

Privacy

Deze weblog is zichtbaar voor:

"; get_form_radio("settings_visible", "nosearchengines", "unchecked"); echo " gewone bezoekers, maar niet voor zoekmachines en andere ge-automatiseerde diensten."; } elseif(CONF_VISIBLE == "nosearchengines") { get_form_radio("settings_visible", "everyone", "unchecked"); echo " iedereen, inclusief zoekmachines.
"; get_form_radio("settings_visible", "nosearchengines", "checked"); echo " gewone bezoekers, maar niet voor zoekmachines en andere ge-automatiseerde diensten."; } ?>