info['admin'] > 0 ) { $itm = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "'.mysql_real_escape_string($_GET['edit_item_data']).'" LIMIT 1')); if(isset($itm['id'])) { if(isset($_POST['newdata'])) { mysql_query('UPDATE `items_main_data` SET `data` = "'.mysql_real_escape_string($_POST['newdata']).'" WHERE `id` = "'.mysql_real_escape_string($itm['id']).'" LIMIT 1'); die(''); } echo '
'; } }else{ header('location: https://new-combats.com/'); } ?>