Limit Koya PHP Ve JS
-
Selam arkadaşlar bir ilan sitesi için çalışma yapıtorum da şöyşe bir sorunum var.
Resim yükleme ile ilgili bir problemim var. Yükleme sistemi orakuploader-1.3 kullanıyorum
<script> $(document).ready(function(){ $('#imagesex').orakuploader({ orakuploader : true, orakuploader_path : 'orakuploader/', orakuploader_main_path : 'files/165', orakuploader_thumbnail_path : 'files/165/thumbnail', orakuploader_use_main : true, orakuploader_use_sortable : true, orakuploader_use_dragndrop : true, orakuploader_use_rotation: true, orakuploader_add_image : 'orakuploader/images/add.png', orakuploader_add_label : 'Resim Seç Yükle', orakuploader_resize_to : 800, orakuploader_crop_thumb_to_width: 150, orakuploader_crop_thumb_to_height: 113, orakuploader_hide_in_progress: true, orakuploader_watermark : '../uploads/watermark.png', orakuploader_attach_images: ['1536152736_6061700ld.jpg','1536147685_reparatur-notebook-service.png','1536147647_6061700ld.jpg','1536147648_reparatur-notebook-service.png','1536147684_lenovo-ideapad-120s-11iap-81a40025us-11.6-laptop-intel-celeron-2gb-memory-32gb-emmc-flash-memory-storage-mineral-gray.jpg',], orakuploader_maximum_uploads : 10, orakuploader_hide_on_exceed : true, orakuploader_max_exceeded : function() { alert("You exceeded the max. limit of 3 images."); }, orakuploader_main_changed : function (filename) { var images = $('.file').find('img').map(function() { return this.src; }).get(); $("#mainlabel-images").remove(); $("div").find("[filename='" + filename + "']").append("<div id='mainlabel-images' class='maintext'>Varsayılan Resim</div>"); $.post( "sirala.php", { name: images}, function( data ) { }); }, }); }); </script>
Yukardaki fonksiyonla dosya yüklüyorum limit olarak 10 adet fotoğraf koydum ama bu sayfayı yenilediğimde 10 adet fotoğraf daha ekleyebiliyorum bunu nasıl 10 olarak limit koyabilirim. Bunu php den mi halletmem gerek yoksa javadan mı?
Yardımlarınızı bekliyorum. Yada önerebileceğiniz başka bir sistem varsa onada açığım.
-
orakuploader_maximum_uploads : 10
yerine (10 - yüklenmiş resim sayısı) bunu ister js ile ister php ile saydır
bi de toplam yüklenmiş sayısı 10 ve üzeri ise, uploader'ı gösterme/iptal et koşulu, bu da iki taraftan da sağlanabilir
-
Khaine bunu yazdı
orakuploader_maximum_uploads : 10
yerine (10 - yüklenmiş resim sayısı) bunu ister js ile ister php ile saydır
bi de toplam yüklenmiş sayısı 10 ve üzeri ise, uploader'ı gösterme/iptal et koşulu, bu da iki taraftan da sağlanabilir
Reis güzel dedin de onu nasıl yapabilirim.
-
tabi bi de resim yüklemesini karşılayan php tarafında, her resim yüklemesi için 'toplam resim sayısı 10u geçti mi?' sorgusu olsun ki, uyanıklar daha fazla yükleyemesin.
-
Khaine bunu yazdı
tabi bi de resim yüklemesini karşılayan php tarafında, her resim yüklemesi için 'toplam resim sayısı 10u geçti mi?' sorgusu olsun ki, uyanıklar daha fazla yükleyemesin.
Valla üstad mükemmel söylüyorsun onu nasıl yapabilirim.
index.php
<? include 'functions.php'; if(!isset($_SESSION)) { session_start(); } $ref = $_SERVER['HTTP_REFERER']; $konum = strpos($ref, $sitedomain); if ($konum === false){ // exit; } $_SESSION["resimklasoru"] = $_GET["id"]; $klasor_adi = "files/".$_SESSION["resimklasoru"]; if(file_exists($klasor_adi)){} else { $olustur = mkdir($klasor_adi, 0755); if($olustur){} $olustur = mkdir($klasor_adi."/thumbnail", 0755); if($olustur){} } if ($handle = opendir('files/'.$_SESSION["resimklasoru"])) { $blacklist = array('.', '..', 'thumbnail'); while (false !== ($file = readdir($handle))) { if (!in_array($file, $blacklist)) { $resimler[] = $file; } } closedir($handle); } function sortByOrder($a, $b) { return $a['order'] - $b['order']; } usort($resimler, 'sortByOrder'); ?> <!DOCTYPE html> <html lang="tr"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <link type="text/css" href="orakuploader/orakuploader.css" rel="stylesheet"/> <script type="text/javascript" src="orakuploader/jquery.min.js"></script> <script type="text/javascript" src="orakuploader/jquery-ui.min.js"></script> <script type="text/javascript" src="orakuploader/orakuploader.js"></script> <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="bootstrap/css/jumbotron-narrow.css" rel="stylesheet"> </head> <body> <script> $(document).ready(function(){ $('#imagesex').orakuploader({ orakuploader : true, orakuploader_path : 'orakuploader/', orakuploader_main_path : 'files/<? echo $_SESSION["resimklasoru"]; ?>', orakuploader_thumbnail_path : 'files/<? echo $_SESSION["resimklasoru"]; ?>/thumbnail', orakuploader_use_main : true, orakuploader_use_sortable : true, orakuploader_use_dragndrop : true, orakuploader_use_rotation: true, orakuploader_add_image : 'orakuploader/images/add.png', orakuploader_add_label : 'Resim Seç Yükle', orakuploader_resize_to : 800, orakuploader_crop_thumb_to_width: 150, orakuploader_crop_thumb_to_height: 113, orakuploader_hide_in_progress: true, <? $sql = $db ->query("SELECT * FROM ayarlar"); $row = $sql->fetch(PDO::FETCH_ASSOC); ?> orakuploader_watermark : '../uploads/<? echo $row["watermark"]; ?>', orakuploader_attach_images: [<? foreach ($resimler as $re){ echo "'$re',"; } ?>], orakuploader_maximum_uploads : 10, orakuploader_hide_on_exceed : true, orakuploader_max_exceeded : function() { alert("You exceeded the max. limit of 3 images."); }, orakuploader_main_changed : function (filename) { var images = $('.file').find('img').map(function() { return this.src; }).get(); $("#mainlabel-images").remove(); $("div").find("[filename='" + filename + "']").append("<div id='mainlabel-images' class='maintext'>Varsayılan Resim</div>"); $.post( "sirala.php", { name: images}, function( data ) { }); }, }); }); </script> Resimlerinizi sürükle bırak ile yükleyebilir ve sıralayabilirsiniz...<br><br> <div id="imagesex" orakuploader="on"></div> </div> </body> </html>
sira.php ile verileri çekiyor eski yüklü olanları
<? include 'functions.php'; if(!isset($_SESSION)) { session_start(); } $name = $_POST['name']; $idd = $_SESSION["resimklasoru"]; $name = str_replace("http://","",$name); $name = str_replace("www.","",$name); $name = str_replace("zulfumehmet.tk","",$name); $name = str_replace("/files/$idd/thumbnail/","",$name); $name = str_replace("/orakuploader/images/loader.gif","",$name); $id = 100; foreach ($name as $n){ $id = $id - 1; $sql = $db->prepare("UPDATE resimler SET tarih=? WHERE ilanId = '$idd' and resim_adi = '$n'"); $ekle = $sql->execute(array($id)); } ?>
<?php set_time_limit(0); error_reporting(0); ini_set("display_errors",0); try { $db = new PDO("mysql:host=localhost;dbname=zulfumeh_ddd", "zulfumehmet", "sifre",array(PDO::MYSQL_ATTR_INIT_COMMAND =>"SET NAMES utf8",PDO::MYSQL_ATTR_INIT_COMMAND => "SET CHARACTER SET utf8",array( PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION ))); } catch ( PDOException $e ){ print $e->getMessage(); } $limit = 10; $sitedomain = "zulfumehmet.tk"; ?>
Buda orakupload dosyası
<?php if(!isset($_SESSION)) { session_start(); } include '../functions.php'; error_reporting(0); ini_set("display_errors",0); $_REQUEST['path'] = 100; if(!isset($_REQUEST['path'])) exit; $dirback_calc = str_replace('/', '../', preg_replace("#[^\/]#", '', trim($_REQUEST['path'], '/'))); $dirback = $dirback_calc != '' ? '..'.$dirback_calc : "../"; $main_path = $dirback.$_REQUEST["main_path"]; $thumbnail_path = $dirback.$_REQUEST["thumbnail_path"]; if(isset($_GET['delete'])) { unlink($main_path."/".$_GET['delete']); unlink($thumbnail_path."/".$_GET['delete']); if(file_exists($main_path."/cache/".$_GET['delete'])) unlink($main_path."/cache/".$_GET['delete']); if(file_exists($thumbnail_path."/cache/".$_GET['delete'])) unlink($thumbnail_path."/cache/".$_GET['delete']); $idd = $_SESSION["resimklasoru"]; $del = $_GET['delete']; $sql2 = $db->prepare("DELETE FROM resimler WHERE ilanId = '{$idd}' and resim_adi = '$del'"); $sql2->execute(); exit; } elseif(isset($_GET['rotate'])) { rotateImage($_GET['rotate'], $main_path, $_GET['degree_lvl']); rotateImage($_GET['rotate'], $thumbnail_path, $_GET['degree_lvl']); echo $_GET['rotate']; exit; } $filename = time().'_'.strtolower($_GET['filename']); $filename = preg_replace("#\\s+#", "_", $filename); $cyr = array( 'ж', 'ч', 'щ', 'ш', 'ю', 'а', 'б', 'в', 'г', 'д', 'е', 'з', 'и', 'й', 'к', 'л', 'м', 'н', 'о', 'п', 'р', 'с', 'т', 'у', 'ф', 'х', 'ц', 'ъ', 'ь', 'я', 'Ж', 'Ч', 'Щ', 'Ш', 'Ю', 'А', 'Б', 'В', 'Г', 'Д', 'Е', 'З', 'И', 'Й', 'К', 'Л', 'М', 'Н', 'О', 'П', 'Р', 'С', 'Т', 'У', 'Ф', 'Х', 'Ц', 'Ъ', 'Ь', 'Я'); $lat = array( "l", "s", 'zh', 'ch', 'sht', 'sh', 'yu', 'a', 'b', 'v', 'g', 'd', 'e', 'z', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'r', 's', 't', 'u', 'f', 'h', 'c', 'y', 'x', 'q', 'Zh', 'Ch', 'Sht', 'Sh', 'Yu', 'A', 'B', 'V', 'G', 'D', 'E', 'Z', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'F', 'H', 'c', 'Y', 'X', 'Q'); $filename = str_replace($cyr, $lat, $filename); $filename = normalizeChars($filename); $bytes = file_put_contents( $main_path.'/'.($filename), file_get_contents('php://input') ); $imgsize = @getimagesize($main_path.'/'.$filename); $idd = $_SESSION["resimklasoru"]; $sql = $db->prepare('INSERT INTO resimler (Id,ilanId,resim_adi,tarih,kucuk) VALUES (?,?,?,?,?)'); $ekle = $sql->execute(array(null, $idd,$filename,time(),$filename)); if(!isset($imgsize) || !isset($imgsize['mime']) || !in_array($imgsize['mime'], array('image/jpeg', 'image/png'))) { unlink($main_path.'/'.($filename)); exit; } if($_REQUEST["resize_to"] > 0) { $width = $imgsize[0]; $height = $imgsize[1]; if ($width > $_REQUEST["resize_to"]) createThumbnail($main_path, $filename, $main_path, $_REQUEST["resize_to"], 100); } if($bytes > 8) { if((int)$_REQUEST["thumbnail_size"] > 0) createThumbnail($main_path, $filename, $thumbnail_path, $_REQUEST["thumbnail_size"], 100); } else exit; function createThumbnail($imageDirectory, $imageName, $thumbDirectory, $thumbWidth, $quality = 100) { $image_extension = @end(explode(".", $imageName)); switch($image_extension) { case "jpg": @$srcImg = imagecreatefromjpeg("$imageDirectory/$imageName"); break; case "jpeg": @$srcImg = imagecreatefromjpeg("$imageDirectory/$imageName"); break; case "png": $srcImg = imagecreatefrompng("$imageDirectory/$imageName"); break; } if(!$srcImg) exit; $origWidth = imagesx($srcImg); $origHeight = imagesy($srcImg); $ratio = $origHeight/ $origWidth; $thumbHeight = $thumbWidth * $ratio; $thumbImg = imagecreatetruecolor($thumbWidth, $thumbHeight); if($image_extension == 'png') { $background = imagecolorallocate($thumbImg, 0, 0, 0); imagecolortransparent($thumbImg, $background); imagealphablending($thumbImg, false); imagesavealpha($thumbImg, true); } imagecopyresampled($thumbImg, $srcImg, 0, 0, 0, 0, $thumbWidth, $thumbHeight, $origWidth, $origHeight); switch($image_extension) { case "jpg": imagejpeg($thumbImg, "$thumbDirectory/$imageName", $quality); break; case "jpeg": imagejpeg($thumbImg, "$thumbDirectory/$imageName", $quality); break; case "png": imagepng($thumbImg, "$thumbDirectory/$imageName"); break; } } function normalizeChars($s) { $replace = array( 'À'=>'A', 'Á'=>'A', 'Â'=>'A', 'Ã'=>'A', 'Ä'=>'Ae', 'Å'=>'A', 'Æ'=>'A', 'Ă'=>'A', 'Ą' => 'A', 'ą' => 'a', 'à'=>'a', 'á'=>'a', 'â'=>'a', 'ã'=>'a', 'ä'=>'ae', 'å'=>'a', 'ă'=>'a', 'æ'=>'ae', 'þ'=>'b', 'Þ'=>'B', 'Ç'=>'C', 'ç'=>'c', 'Ć' => 'C', 'ć' => 'c', 'È'=>'E', 'É'=>'E', 'Ê'=>'E', 'Ë'=>'E', 'Ę' => 'E', 'ę' => 'e', 'è'=>'e', 'é'=>'e', 'ê'=>'e', 'ë'=>'e', 'Ğ'=>'G', 'ğ'=>'g', 'Ì'=>'I', 'Í'=>'I', 'Î'=>'I', 'Ï'=>'I', 'İ'=>'I', 'ı'=>'i', 'ì'=>'i', 'í'=>'i', 'î'=>'i', 'ï'=>'i', 'Ł' => 'L', 'ł' => 'l', 'Ñ'=>'N', 'Ń' => 'N', 'ń' => 'n', 'Ò'=>'O', 'Ó'=>'O', 'Ô'=>'O', 'Õ'=>'O', 'Ö'=>'Oe', 'Ø'=>'O', 'ö'=>'oe', 'ø'=>'o', 'ð'=>'o', 'ñ'=>'n', 'ò'=>'o', 'ó'=>'o', 'ô'=>'o', 'õ'=>'o', 'Š'=>'S', 'š'=>'s', 'Ş'=>'S', 'ș'=>'s', 'Ș'=>'S', 'ş'=>'s', 'ß'=>'ss', 'Ś' => 'S', 'ś' => 's', 'ț'=>'t', 'Ț'=>'T', 'Ù'=>'U', 'Ú'=>'U', 'Û'=>'U', 'Ü'=>'Ue', 'ù'=>'u', 'ú'=>'u', 'û'=>'u', 'ü'=>'ue', 'Ý'=>'Y', 'ý'=>'y', 'ý'=>'y', 'ÿ'=>'y', 'Ž'=>'Z', 'ž'=>'z', 'Ż' => 'Z', 'ż' => 'z', 'Ź' => 'Z', 'ź' => 'z' ); return strtr($s, $replace); } function rotateImage($image_name, $path, $degree_lvl) { if($degree_lvl == 4) { unlink($path."/".$image_name); rename($path."/cache/".$image_name, $path."/".$image_name); return $image_name; } if(!file_exists($path."/cache/".$image_name)) { @mkdir($path."/cache", 0777); copy($path."/".$image_name, $path."/cache/".$image_name); unlink($path."/".$image_name); } $image_extension = @end(explode(".", $image_name)); switch($image_extension) { case "jpg": @$image = imagecreatefromjpeg($path."/cache/".$image_name); break; case "jpeg": @$image = imagecreatefromjpeg($path."/cache/".$image_name); break; case "png": $image = imagecreatefrompng($path."/cache/".$image_name); break; } $transColor = imagecolorallocatealpha($image, 255, 255, 255, 270); $rotated_image = imagerotate($image, -90*$degree_lvl, $transColor); switch($image_extension) { case "jpg": header('Content-type: image/jpeg'); imagejpeg($rotated_image, "$path/$image_name", 100); break; case "jpeg": header('Content-type: image/jpeg'); imagejpeg($rotated_image, "$path/$image_name", 100); break; case "png": header('Content-type: image/png'); imagepng($rotated_image, "$path/$image_name"); break; } return $image_name; } function addWatermark($watermark, $imageDirectory, $imageName, $x = 0, $y = 0) { if(file_exists($watermark)) { $marge_right = 0; $marge_bottom = 0; $stamp = imagecreatefrompng($watermark); $image_extension = @end(explode(".", $imageName)); switch($image_extension) { case "jpg": $im = imagecreatefromjpeg("$imageDirectory/$imageName"); break; case "jpeg": $im = imagecreatefromjpeg("$imageDirectory/$imageName"); break; case "png": $im = imagecreatefrompng("$imageDirectory/$imageName"); break; } $imageSize = getimagesize("$imageDirectory/$imageName"); $watermark_o_width = imagesx($stamp); $watermark_o_height = imagesy($stamp); $newWatermarkWidth = $imageSize[0]; $newWatermarkHeight = $watermark_o_height * $newWatermarkWidth / $watermark_o_width; if((int)$x <= 0) $x = $imageSize[0]/2 - $newWatermarkWidth/2; if((int)$y <= 0) $y = $imageSize[1]/2 - $newWatermarkHeight/2; imagecopyresized($im, $stamp, $x, $y, 0, 0, $newWatermarkWidth, $newWatermarkHeight, imagesx($stamp), imagesy($stamp)); switch($image_extension) { case "jpg": header('Content-type: image/jpeg'); imagejpeg($im, "$imageDirectory/$imageName", 100); break; case "jpeg": header('Content-type: image/jpeg'); imagejpeg($im, "$imageDirectory/$imageName", 100); break; case "png": header('Content-type: image/png'); imagepng($im, "$imageDirectory/$imageName"); break; } } } if(isset($_REQUEST["watermark"]) && $_REQUEST["watermark"] != '') { addWatermark($dirback.$_REQUEST["watermark"], $main_path, $filename); addWatermark($dirback.$_REQUEST["watermark"], $thumbnail_path, $filename); } function crop($max_width, $max_height, $source_file, $dst_dir) { $imgsize = getimagesize($source_file); $width = $imgsize[0]; $height = $imgsize[1]; $mime = $imgsize['mime']; switch($mime){ case 'image/png': $image_create = "imagecreatefrompng"; $image = "imagepng"; break; case 'image/jpeg': $image_create = "imagecreatefromjpeg"; $image = "imagejpeg"; break; default: return false; break; } $dst_img = imagecreatetruecolor($max_width, $max_height); if($mime == 'image/png') { $background = imagecolorallocate($dst_img, 0, 0, 0); imagecolortransparent($dst_img, $background); imagealphablending($dst_img, false); imagesavealpha($dst_img, true); } $src_img = $image_create($source_file); $width_new = $height * $max_width / $max_height; $height_new = $width * $max_height / $max_width; if($width_new > $width){ $h_point = (($height - $height_new) / 2); imagecopyresampled($dst_img, $src_img, 0, 0, 0, $h_point, $max_width, $max_height, $width, $height_new); } else{ $w_point = (($width - $width_new) / 2); imagecopyresampled($dst_img, $src_img, 0, 0, $w_point, 0, $max_width, $max_height, $width_new, $height); } if($mime == 'image/jpeg') $image($dst_img, $dst_dir, 100); else $image($dst_img, $dst_dir); if($dst_img)imagedestroy($dst_img); if($src_img)imagedestroy($src_img); } $crop_to_width = isset($_REQUEST['orakuploader_crop_to_width']) ? (int)$_REQUEST['orakuploader_crop_to_width'] : 0; $crop_to_height = isset($_REQUEST['orakuploader_crop_to_height']) ? (int)$_REQUEST['orakuploader_crop_to_height'] : 0; $crop_thumb_to_width = isset($_REQUEST['orakuploader_crop_thumb_to_width']) ? (int)$_REQUEST['orakuploader_crop_thumb_to_width'] : 0; $crop_thumb_to_height = isset($_REQUEST['orakuploader_crop_thumb_to_height']) ? (int)$_REQUEST['orakuploader_crop_thumb_to_height'] : 0; if($crop_thumb_to_width > 0 && $crop_thumb_to_height > 0) { crop($crop_thumb_to_width, $crop_thumb_to_height, $main_path.'/'.$filename, $thumbnail_path.'/'.$filename); } if($crop_to_width > 0 && $crop_to_height > 0) { crop($crop_to_width, $crop_to_height, $main_path.'/'.$filename, $main_path.'/'.$filename); } echo $filename; ?>
Biri bir elt atsa çok iyi olacak
-
Buda orakupload dosyası üstünde yazan fonksiyon.php dosyası
-
php tarafından
$limit = 10 yaz;
db den den kaç adet olduğunu kontrol ettir.
10 veya fazla ise script kodunu gizle onuda bize anlattırma :)
-
Dostum bunu JS veya PHP ile boş boş yapamazsın. Yükleme işlemi sayfasında functions.php dosyasını çağırıyor zaten. Burda sürekli ajax ile sorgu yapacaksın veya daha basiti yükleme işleminde sorgu yazacaksın.
Kullanılan veritabanı mimarisini bilmiyorum ama örneklersek;
İlan id'si ile galeri tablosunda sorgu yapacaksın. Eğer kayıt 10 olmuşsa yükleme uyarısı echo edersin. 10 altı ise girilen kayıt sayısını gösterir en fazla 10 resim girebilirsiniz gibi uyarı verdirirsin. -
hocam yanlış anlama ama, bunu yazılım (php, js, frontend, backend vs.) öğrenmek için yapıyosan, ve bunu yapamıyosan, daha temel eğitimlere bak.
eğer scripti adam ediyim diyorsan, daha sağlıklı bi script bulup türkçeleştir, senin için çok daha kolay olur.
"free marketplace script php" diye aratınca bissürü örnek çıkıyor.
-
Varya mükemmel söylüyorsunuz. PHP ile pek aram yok. Tam aklımdan geçenleri söylüyorsunuz ama bu söylediklerinizi nasıl yapacağımı bilmiyorum. Örnek bir kod verecek olan var mı?
-
Hocam örnek sorgu ne işine yarayacak ki ? Vereyim vereyim de işine yaramaz =)
İlanlar Tablosu ve Galeri Tablosu olduğunu varsayıyorum, belkide yoktur =)
Son girilen ilanın idsini galeri sayfasına post edeceksin veya get ile alabilirsin.İlan id'si 31 diyelim. Galeride resim yüklersen aşağıda ki gibi bir sorgu çalışacak. Bu sorgu ile o ilana kaç resim girmiş girmemiş girebilir vs kontrol etmiş olacaksın. Kafan karışmaması için çok basit bir sorgu vereceğim belki mantığı anlarsın.
Galeri tablosunda ilana ait id ilan_id sütununda bulunduğunu varsayıyorum.$sorgu = mysql_query("SELECT * FROM galeri WHERE ilan_id=31");
$sorgu_say = mysql_num_rows($sorgu);if ($sorgu_say < 10) {
YÜKLEME YAPABİLİR ANCAK YİNE YÜKLERKEN BU SORGU GİBİ SORGU OLACAK NEDENİ İSE 9 ADET FOTOĞRAF YÜKLÜ İSE 1 ADET YÜKLEYİP DURDURMAK İÇİN...BUNU AJAX İLEDE YAPABİLİRSİN VEYA TEK TEK KAYIT EDERKEN SÜREKLİ SAYDIRARAKTA}
elseif ($sorgu_say == 10) {
echo "BURAYA MESAJ VEREBİLİRSİN 10 ADET GİRİŞ OLMUŞTUR DAHA FAZLA GİREMEZSİNİZ VS. VS.";
}
Ancak bu senin pek işine yaramayacaktır sadece mantığı bil diye basitçe geçtim.