login != $admin1 && $data->login != $admin2) { exit; } if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { //update layout if( mysql_query("UPDATE instellingen SET sitetitle='".mysql_escape_string($_POST['sitetitle'])."' WHERE id=1") ) { echo "Site Naam is gewijzigd. Ververs uw game om de instellingen direct te activeren of druk op F5"; } else { echo "Foutje: ". mysql_error(); } }//einde verwerking # $select = mysql_query("SELECT * FROM `instellingen`"); # $page = mysql_fetch_object($select); ?>
Extra paneel | |