log[2]'"); $data = $db->fetch_array($query); if($data){ $data = daddslashes($data,1); //exit($log[10].$data['customstatus']); if($data['avatar']!=$log['8'] || $data['nickname']!=$log['9'] || $data['customstatus']!=$log['10']){ $img_url = dhtmlspecialchars('images/avatars/pig/'.$log['8']); $img_info = getimagesize($img_url); $img_width = $img_info[0] ? $img_info[0] : 0; $img_height = $img_info[1] ? $img_info[1] : 0; $db->query("UPDATE {$tablepre}memberfields SET avatar='$img_url', avatarwidth='$img_width', avatarheight='$img_height', nickname='$log[9]', customstatus='$log[10]' WHERE uid='$log[2]'", 'UNBUFFERED'); } } } $logs_new[] = trim(str_replace("