$rights)) { echo functions::display_error($lng['access_forbidden']); require('../incfiles/end.php'); exit; } if (isset($_POST['submit'])) { mysql_query("UPDATE `urers` SET `set_user`='" . (isset($_POST['doank']) ? intval($_POST['doank']) : 0) . "' WHERE `id` = '$user_id'"); $set_user['doank'] = 1; $req = mysql_query("SELECT * FROM `cms_settings`"); $set = array (); while ($res = mysql_fetch_row($req)) $set[$res[0]] = $res[1]; mysql_free_result($req); echo '
'; } $color = array('red', 'yelow', 'green', 'gray'); echo '