if(!@img_resize($_FILES['logo']['tmp_name'][$i],$_SERVER['DOCUMENT_ROOT'].$GLOBALS['p']."/upload/normal/".$filename,$c['width_normal_images'],0,0,$ext,$size[1],$size[0],"1")){
define("ALERT",$lang[411]." ".$_FILES['logo']['name'][$i]." ".$lang[227]."");
if(file_exists($_SERVER['DOCUMENT_ROOT'].$GLOBALS['p']."/upload/small/".$filename))unlink($_SERVER['DOCUMENT_ROOT'].$GLOBALS['p']."/upload/small/".$filename);
mysql_query($die_del_mess);mysql_query ($die_del_img);
require_once("add_new_form.inc.php");die();
}