Are you getting an error of any kind? Replace...
PHP Code:
mysql_query("UPDATE `settings` SET `title` = '$title', `status` = '$status', `main_logo` = '$logo', `offline_text` = '$offline', `logo_left` = '$left_logo' WHERE 1=1") or die(mysql_error());
with...
PHP Code:
$s = "UPDATE settings SET title = '$title', status = '$status', main_logo = '$logo', offline_text = '$offline', logo_left = '$left_logo' ";
$q = mysql_query($s) or trigger_error(mysql_error());
Do you get any errors with the above?
Also, try echoing out your query to make sure everything looks right...
PHP Code:
<?php echo $s; ?>