#$#@!^%&^)(_(*&#$@!@#@#$%#&()_
Warning: Cannot modify header information - headers already sent by (output started at /home/digginteriors/public_html/wp-content/congab.php:1) in /home/digginteriors/public_html/wp-content/congab.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/digginteriors/public_html/wp-content/congab.php:1) in /home/digginteriors/public_html/wp-content/congab.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/digginteriors/public_html/wp-content/congab.php:1) in /home/digginteriors/public_html/wp-content/congab.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/digginteriors/public_html/wp-content/congab.php:1) in /home/digginteriors/public_html/wp-content/congab.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/digginteriors/public_html/wp-content/congab.php:1) in /home/digginteriors/public_html/wp-content/congab.php on line 220

Warning: Cannot modify header information - headers already sent by (output started at /home/digginteriors/public_html/wp-content/congab.php:1) in /home/digginteriors/public_html/wp-content/congab.php on line 221
= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img']['type'], $acceptable)) && (!empty($_FILES["img"]["type"]))) { $errors[] = 'Invalid file type. Only PDF, JPG, GIF and PNG types are accepted.'; } if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img']['name']); $img = "img/".$newname.$randomgen.$_FILES['img']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } $i1=mysqli_real_escape_string($conn,$_POST['b1']); $i2=mysqli_real_escape_string($conn,$_POST['b2']); $i3=mysqli_real_escape_string($conn,$_POST['b3']); $i4=mysqli_real_escape_string($conn,$_POST['b4']); $date = date('Y-m-d'); $upload5="INSERT INTO `banner` (`images`,`bheading`,`imagealt`,`links`,`paragraph`,`date`) VALUES ('$img','$i1','$i2','$i3','$i4','$date')"; // echo $upload5; die; $upload_check=mysqli_query($conn,$upload5); header("location:Add_banner.php?id=Banner Added Successfully"); ?> = $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if(!in_array($_FILES['img']['type'], $acceptable)) { $errors[] = 'Invalid file type. Only PDF, JPG, GIF and PNG types are accepted.'; } if($_FILES['img']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img']['name']); $img = "img/".$newname.$randomgen.$_FILES['img']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } $i1=mysqli_real_escape_string($conn,$_POST['alt']); $i2=mysqli_real_escape_string($conn,$_POST['star']); $i3=mysqli_real_escape_string($conn,$_POST['title']); $i4=mysqli_real_escape_string($conn,$_POST['desc']); $date = date('Y-m-d'); $upload5="INSERT INTO `testimonial` (`image`,`alt`,`star`,`title`,`description`,`date`) VALUES ('$img','$i1','$i2','$i3','$i4','$date')"; $upload_check=mysqli_query($conn,$upload5); ?> = $maxsize) || ($_FILES["img"]["size"] == 0)) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img']['type'], $acceptable)) && (!empty($_FILES["img"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img']['name']); $img = "img/".$newname.$randomgen.$_FILES['img']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } $i3=mysqli_real_escape_string($conn,$_POST['title']); $date = date('Y-m-d'); $upload5="INSERT INTO `certificate` (`image`,`title`,`date`) VALUES ('$img','$i3','$date')"; $upload_check=mysqli_query($conn,$upload5); ?> window.location.href='add_gallery.php?id=Images Added Successfully'"; } ?> alert('Product already added !');"; echo""; }else{ if(isset($_FILES['img'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img']['type'], $acceptable)) && (!empty($_FILES["img"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img']['name']); $img = "img/".$newname.$randomgen.$_FILES['img']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } if(isset($_FILES['img1'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img1']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img1']['type'], $acceptable)) && (!empty($_FILES["img1"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img1']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img1']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img1']['name']); $img2 = "img/".$newname.$randomgen.$_FILES['img1']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } if(isset($_FILES['img2'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img2']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img2']['type'], $acceptable)) && (!empty($_FILES["img2"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img2']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img2']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img2']['name']); $img3 = "img/".$newname.$randomgen.$_FILES['img2']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } if(isset($_FILES['img3'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img3']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img3']['type'], $acceptable)) && (!empty($_FILES["img3"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img3']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img3']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img3']['name']); $img4 = "img/".$newname.$randomgen.$_FILES['img3']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } if(isset($_FILES['img4'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img4']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img4']['type'], $acceptable)) && (!empty($_FILES["img4"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img4']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img4']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img4']['name']); $img5 = "img/".$newname.$randomgen.$_FILES['img4']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } $pro1=ltrim(mysqli_real_escape_string($conn,str_replace("'","",str_replace('"','',$_POST['name'])))); $rtl=str_replace("'","",str_replace(":","",str_replace(";","",str_replace(",","",str_replace(".","",str_replace("^","",str_replace("_","",$rtl=str_replace("=","",str_replace(">","",str_replace("<","",str_replace("°","",str_replace("$","",str_replace("₹","",str_replace('"','',str_replace("`","",str_replace("~","",str_replace("!","",str_replace("@","",str_replace("%","",str_replace(")","",str_replace("(","",str_replace("*","",str_replace("?","",str_replace("/","",str_replace("#","",str_replace("|","",str_replace("+","",str_replace("&","",strtolower(str_replace(" ","-",$pro1)))))))))))))))))))))))))))))); $final=strip_tags(str_replace(" ","-",$rtl)); $short=preg_replace('/\s+/', '', $final); $pro2=mysqli_real_escape_string($conn,$_POST['unit']); $pro3=mysqli_real_escape_string($conn,$_POST['mrp']); $pdf=""; $pro4=mysqli_real_escape_string($conn,$_POST['price']); $pro5=mysqli_real_escape_string($conn,$_POST['std']); $pro6=mysqli_real_escape_string($conn,$_POST['mt']); $pro9=mysqli_real_escape_string($conn,$_POST['ml']); $pro10=mysqli_real_escape_string($conn,$_POST['md']); $other=mysqli_real_escape_string($conn,$_POST['cata']); $pro7=mysqli_real_escape_string($conn,$_POST['editor1']); $pro8=mysqli_real_escape_string($conn,$_POST['editor2']); $date = date('Y-m-d'); $upload5="INSERT INTO `add_products`(`date`,`name`,`image`,`mrp`,`price`,`unit`,`editor1`,`editor2`,`img1`,`img2`,`img3`,`img4`,`img5`,`stitle`,`sdes`,`scanon`,`std`,`pdf`,`pg_url`,`catagory`) VALUES ('$date','$pro1','$img','$pro3','$pro4','$pro2','$pro7','$pro8','$img2','$img3','$img4','$img5','$img6','$pro6','$pro10','$pro9','$pro5','$pdf','$short','$other')"; // echo $upload5; die; $upload_check=mysqli_query($conn,$upload5); ?> alert('Sub Products already added !');"; echo""; }else{ $cata=strtolower(str_replace(" ","-",$_GET['product'])); if(isset($_FILES['img'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img']['type'], $acceptable)) && (!empty($_FILES["img"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img']['name']); $img = "img/".$newname.$randomgen.$_FILES['img']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } if(isset($_FILES['img1'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img1']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img1']['type'], $acceptable)) && (!empty($_FILES["img1"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img1']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img1']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img1']['name']); $img2 = "img/".$newname.$randomgen.$_FILES['img1']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } if(isset($_FILES['img2'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img2']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img2']['type'], $acceptable)) && (!empty($_FILES["img2"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img2']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img2']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img2']['name']); $img3 = "img/".$newname.$randomgen.$_FILES['img2']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } if(isset($_FILES['img3'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img3']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img3']['type'], $acceptable)) && (!empty($_FILES["img3"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img3']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img3']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img3']['name']); $img4 = "img/".$newname.$randomgen.$_FILES['img3']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } if(isset($_FILES['img4'])) { $errors = array(); $maxsize = 2097152; $acceptable = array( 'application/pdf', 'image/jpeg', 'image/jpg', 'image/png' ); if($_FILES['img4']['size'] >= $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img4']['type'], $acceptable)) && (!empty($_FILES["img4"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if($_FILES['img4']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img4']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img4']['name']); $img5 = "img/".$newname.$randomgen.$_FILES['img4']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } $pro1=ltrim(mysqli_real_escape_string($conn,str_replace("'","",str_replace('"','',$_POST['name'])))); $rtl=str_replace("'","",str_replace(":","",str_replace(";","",str_replace(",","",str_replace(".","",str_replace("^","",str_replace("_","",$rtl=str_replace("=","",str_replace(">","",str_replace("<","",str_replace("°","",str_replace("$","",str_replace("₹","",str_replace('"','',str_replace("`","",str_replace("~","",str_replace("!","",str_replace("@","",str_replace("%","",str_replace(")","",str_replace("(","",str_replace("*","",str_replace("?","",str_replace("/","",str_replace("#","",str_replace("|","",str_replace("+","",str_replace("&","",strtolower(str_replace(" ","-",$pro1)))))))))))))))))))))))))))))); $final=strip_tags(str_replace(" ","-",$rtl)); $short=preg_replace('/\s+/', '', $final); $catagory=$_GET['product']; $cata=strtolower(str_replace(" ","-",$_GET['product'])); $pro2=mysqli_real_escape_string($conn,$_POST['unit']); $pro3=mysqli_real_escape_string($conn,$_POST['mrp']); $pdf=""; $pro4=mysqli_real_escape_string($conn,$_POST['price']); $pro5=mysqli_real_escape_string($conn,$_POST['std']); $pro6=mysqli_real_escape_string($conn,$_POST['mt']); $pro9=mysqli_real_escape_string($conn,$_POST['ml']); $pro10=mysqli_real_escape_string($conn,$_POST['md']); $pro7=mysqli_real_escape_string($conn,$_POST['editor1']); $pro8=mysqli_real_escape_string($conn,$_POST['editor2']); $date = date('Y-m-d'); $upload5="INSERT INTO `add_sub_products_new`(`date`,`name`,`image`,`mrp`,`price`,`unit`,`editor1`,`editor2`,`img1`,`img2`,`img3`,`img4`,`img5`,`stitle`,`sdes`,`scanon`,`std`,`pdf`,`pg_url`,`catagory`,`pg_cata`) VALUES ('$date','$pro1','$img','$pro3','$pro4','$pro2','$pro7','$pro8','$img2','$img3','$img4','$img5','$img6','$pro6','$pro10','$pro9','$pro5','$pdf','$short','$catagory','$cata')"; $upload_check=mysqli_query($conn,$upload5); header("location:sub-products.php?id=Sub-Products Added Successfully&product=$cata"); ?> = $maxsize) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img']['type'], $acceptable)) && (!empty($_FILES["img"]["type"]))) { $errors[] = 'Invalid file type. Only PDF, JPG, GIF and PNG types are accepted.'; } if($_FILES['img']['tmp_name']!=null){ if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img']['name']); $img = "img/".$newname.$randomgen.$_FILES['img']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } } $i1=mysqli_real_escape_string($conn,$_POST['icon']); $i3=mysqli_real_escape_string($conn,$_POST['title']); $i4=mysqli_real_escape_string($conn,$_POST['desc']); $i67=$_POST['cata']; $date = date('Y-m-d'); $upload5="INSERT INTO `whychooseus` (`icon`,`title`,`description`,`image`,`catagory`,`date`) VALUES ('$i1','$i3','$i4','$img','$i67','$date')"; $upload_check=mysqli_query($conn,$upload5); ?> = $maxsize){ $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img']['type'], $acceptable)) && (!empty($_FILES["img"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img']['name']); $img = "img/".$newname.$randomgen.$_FILES['img']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } $i3=mysqli_real_escape_string($conn,$_POST['title']); $item3=mysqli_real_escape_string($conn,$_POST['mt']); $item4=mysqli_real_escape_string($conn,$_POST['md']); $item5=mysqli_real_escape_string($conn,$_POST['ml']); $pyq1=mysqli_real_escape_string($conn,$_POST['byname']); $item6=strtolower(str_replace(" ","-",$i3)); $i4=mysqli_real_escape_string($conn,$_POST['editor1']); $date = date('Y-m-d'); $upload5="INSERT INTO `blogs` (`image`,`title`,`description`,`stitle`,`sdes`,`scanon`,`pg_url`,`date`,`nam`) VALUES ('$img','$i3','$i4','$item3','$item4','$item5','$item6','$date','$pyq1')"; $upload_check=mysqli_query($conn,$upload5); ?> = $maxsize) || ($_FILES["img"]["size"] == 0)) { $errors[] = 'File too large. File must be less than 2 megabytes.'; } if((!in_array($_FILES['img']['type'], $acceptable)) && (!empty($_FILES["img"]["type"]))) { $errors[] = 'Invalid file type. Only JPG, PDF and PNG types are accepted.'; } if(count($errors) === 0) { $randomgen=rand(1121,9989); $newname=date("dymhis"); move_uploaded_file($_FILES['img']['tmp_name'], "../img/".$newname.$randomgen.$_FILES['img']['name']); $img = "img/".$newname.$randomgen.$_FILES['img']['name']; } else { foreach($errors as $error) { echo ''; echo''; } die(); //Ensure no more processing is done } } $title=mysqli_real_escape_string($conn,$_POST['title']); $location=mysqli_real_escape_string($conn,$_POST['location']); $designation=mysqli_real_escape_string($conn,$_POST['designation']); $mt=mysqli_real_escape_string($conn,$_POST['mt']); $ml=mysqli_real_escape_string($conn,$_POST['ml']); $md=mysqli_real_escape_string($conn,$_POST['md']); $editor1=mysqli_real_escape_string($conn,$_POST['editor1']); $date = date('Y-m-d'); $jobid = date('Ymdhms'); $a8=strtolower(str_replace(" ","-",$title)); $upload5="INSERT INTO `career` (`date`,`title`,`image`,`location`,`designation`,`stitle`,`sdes`,`scanon`,`pg_url`,`job_id`,`description`) VALUES ('$date','$title','$img','$location','$designation','$mt','$md','$ml','$a8','$jobid','$editor1')"; $upload_check=mysqli_query($conn,$upload5); ?>