GIF89a=( ý' 7IAXKgNgYvYx\%wh&h}týh%ýs%xý}9ýRýý&ý0%ý (ý.ýý5ýSDýý&ýa)ýx5ýý;c*!&r)ï7õ<{4ý3ýH§KoTýýYýaqýýqýýFý !ý ' !ýNETSCAPE2.0 , =( ýýpH,ý$rýl:x(tJýZý,výýzýýxL.:ýýzýnýýý|Nýýýýý~ýýýýýýý& !ý0`9Rý}ýý"ý"a:Sý~xýýýýýýýýgýýýEýýýýýýýRýýýEýýýýBýý ýý8ýýDýýý"ýný ýHýýLýýDkDýBýýýýýDýýýTýýýH ýGýýA Rý |ýým&ýýE8ýSýkGýAýpxýaýýýR2XBýýE8Iýýý6Xý:vT)ý~ýýqýåýý"F~%xý ý 4#Zý0O|-4BsýX:= Qý SalýýyXJ`G&|shýýK3l7ýB|ý$'7J©*0!ýýDýn=ýPýýýýý0`ýRýljýýýýv>ýýý5 ý.69ýødýýýýýnlvý9ýýf{ýýýPbxýl5}ýpýýýýý3aýýýIýOýýýý!>ýýýiýý9ýý#ýý)pýa ½ ý{ý)vmýý%D~6fýýs}RýDýW Eý`!ý ý&L8xý ý{)x`X/>ý}mýýRý*|`Dý=ý_ ^ý5!_&'aýOý7ýcýý`DCx`ý¥ý9ýYýFýýý`?ýý"ý ýn@`ý} lýý@4>ýd S ývýxNýý"@~dýý=ýgýs~Gýýýýýýud &p8Qý)«lXDýýýýA~HýySunýjýýýk*DýLHý] ýýC"JýýXb~ªwSt}6K,ýýqýS:9*:ýýýlý@ý`ýý ý.ìýt9ýSý[©:ýý=`9Nýýýý{¿ýA !Rý:ýýý6ýýxý0ý_ ý;ýýýýýý^ýýý#ýýýý!ýýýýUýýý;0L1ýýýýýp%AýýU,uýý%ýSýý!ýýý~`ýGýýýý ýýý=4ýnpý3ýýýýýýýýýuýuýn|%2ýIýýrý#0ýýJ``8ý@S@5ýýýý^`8Eý]ý.ýSýýý7 ý ý0ýj SýDý zýýýiýSýýýýý!ýýýlýýw9*ýDýIýnEXýýý &AýGoýQfýýFýý;ýýý}ýJýýýýF5ýýQ|ýýýXýýTýýyýýý]ý o ýýC=ýý:ýýýPB@ DýSý(>ýCýx}`ýýxJ,ýàýýp+eE0`ý}`Aý/NEýý ý9@ýýý Hý7ý!%B0`ýl*ýý!8 2ý%ý ý:ý1ý0Eýýux%nP1ý!ýC)ýP81lýxF#¬{ýýýýB0>ýý
Server IP : 217.18.85.50 / Your IP : 18.227.46.87 Web Server : LiteSpeed System : Linux server50.tr85.dhs.com.tr 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : ferhatgenc ( ) PHP Version : 7.2.34 Disable Function : restore_ini,mail,openbasedir,f_open,system,dl,array_compare,array_user_key_compare,passthru,cat,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,escapeshellcmd,escapeshellarg,show_source,posix_mkfifo,ini_restore,mysql_list_dbs,getmyuid,pconnect,link,symlink,fin,passthruexec,fileread,shell_exec,pcntl_exec,ini_alter,leak,apache_child_terminate,chown,posix_kill,posix_setpgid,posix_setsid,posix_setuid,proc_terminate,syslog,allow_url_fopen,fpassthru,execute,shell,chgrp,passthru,socket_select,socket_create,socket_create_listen,socket_create_pair,socket_listen,socket_accept,socket_bind,foreach,socket_strerror,pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,openlog,apache_get_version,apache_getenv,apache_note,apache_setenv,virtualal MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/ferhatgenc/public_html/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('title','Ürün '.(isset($product) && $product->exists ? "Düzenle" : "Ekle")); ?> <?php $__env->startPush('styles'); ?> <link rel="stylesheet" type="text/css" href="/panel/assets/plugins/jquery-dropdown/plugin.css"/> <?php $__env->stopPush(); ?> <?php $__env->startPush('scripts'); ?> <script src="/panel/assets/plugins/jquery-dropdown/plugin.js"></script> <script> /* $(document).ready(function(){ $('.jq-dropdown').dropdown(); });*/ </script> <?php $__env->stopPush(); ?> <?php $__env->startPush('head_begin'); ?> <?php $__env->stopPush(); ?> <?php $__env->startPush('head_end'); ?> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="container"> <div class="page-header"> <h1 class="page-title" style="width:100%;"> Ürün <?php echo e(isset($product) && $product->exists ? "Düzenle" : "Ekle"); ?> </h1> </div> <div class="row-fluid"> <div class="card"> <div class="card-body"> <?php if($errors->any()): ?> <div class="alert alert-danger"> <ul> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><?php echo e($error); ?></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <?php endif; ?> <form action="<?php echo url(route('admin.product.add',$product->id ?? "")); ?>" class="" method="post" enctype="multipart/form-data"> <?php echo e(csrf_field()); ?> <div class="form-group"> <label class="form-label">Ürün Kodu</label> <input type="text" class="form-control" name="code" value="<?php echo e($product->code ?? ""); ?>" placeholder="Ürün Kodu"> </div> <div class="form-group"> <label class="form-label">Ürün Adı</label> <input type="text" class="form-control" name="title" value="<?php echo e($product->title ?? ""); ?>" placeholder="Ürün Adı"> </div> <div class="form-group"> <label class="form-label">Kısa Detay</label> <input type="text" class="form-control" name="short_detail" value="<?php echo e($product->short_detail ?? ""); ?>" placeholder="Kısa Detay"> </div> <div class="form-group"> <label class="form-label">URL için Ad</label> <input type="text" class="form-control" name="slug" value="<?php echo e($product->slug ?? ""); ?>" placeholder="URL için Ad"> </div> <div class="form-group"> <label class="form-label">Kategori</label> <select name="category_id" class="form-control jq-dropdown"> <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($category->id); ?>" <?php echo e(isset($product) && $product->category_id == $category->id ? "selected":""); ?>><?php echo e($category->title); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group"> <label class="form-label">Galeri</label> <select name="gallery_id" class="form-control jq-dropdown"> <?php $__currentLoopData = $galleries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gallery): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($gallery->id); ?>" <?php echo e(isset($product) && $gallery->id == $product->gallery_id ? "selected":""); ?>><?php echo e($gallery->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <br/> <br/> <div class="row"> <div class="col"> <div class="form-group"> <label class="form-label">Ayrıntılı Bilgi </label> <textarea class="form-control has-counter w-100" name="detail" data-maxlength="3000" rows="15" placeholder="Ürün detaylarını girin..."><?php echo e($product->detail ?? ""); ?></textarea> <span class="form-label-small textarea-counter"><?php echo e(isset($product) && isset($product->detail) ? strlen($product->detail) : 0); ?>/3000</span> </div> </div> </div> <br/> <br/> <div class="row"> <div class="col"> <div class="form-group"> <label class="form-label">Alan (m<sup>2</sup>)</label> <input type="number" class="form-control w-50" name="area" value="<?php echo e($product->area ?? ""); ?>"> </div> </div> <div class="col"> <div class="form-group"> <label class="form-label">Yapım Süresi (gün)</label> <input type="number" class="form-control w-50" name="const_time" value="<?php echo e($product->const_time ?? "15"); ?>"> </div> </div> </div> <br/> <br/> <div class="row"> <div class="col"> <div class="form-group"> <label class="form-label">Kat Sayısı</label> <div class="selectgroup w-100"> <?php $__currentLoopData = range(0,5); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $floor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <label class="selectgroup-item"> <input type="radio" name="floors" value="<?php echo e($floor); ?>" class="selectgroup-input" <?php echo e(isset($product) && $product->floors == $floor ? "checked":""); ?>> <span class="selectgroup-button"><?php echo e($floor); ?></span> </label> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <div class="col"> <div class="form-group"> <label class="form-label">Oda Sayısı</label> <div class="selectgroup w-100"> <?php $__currentLoopData = range(0,5); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $room): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <label class="selectgroup-item"> <input type="radio" name="rooms" value="<?php echo e($room); ?>" class="selectgroup-input" <?php echo e(isset($product) && $product->rooms == $room ? "checked":""); ?>> <span class="selectgroup-button"><?php echo e($room); ?></span> </label> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <div class="col"> <div class="form-group"> <label class="form-label">Salon Sayısı</label> <div class="selectgroup w-100"> <?php $__currentLoopData = range(0,3); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $salons): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <label class="selectgroup-item"> <input type="radio" name="salons" value="<?php echo e($salons); ?>" class="selectgroup-input" <?php echo e(isset($product) && $product->salons == $salons ? "checked":""); ?>> <span class="selectgroup-button"><?php echo e($salons); ?></span> </label> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> <div class="row"> <div class="col"> <div class="form-group"> <label class="form-label">Balkon Sayısı</label> <div class="selectgroup w-100"> <?php $__currentLoopData = range(0,5); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $balconies): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <label class="selectgroup-item"> <input type="radio" name="balconies" value="<?php echo e($balconies); ?>" class="selectgroup-input" <?php echo e(isset($product) && $product->balconies == $balconies ? "checked":""); ?>> <span class="selectgroup-button"><?php echo e($balconies); ?></span> </label> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <div class="col"> <div class="form-group"> <label class="form-label">Banyo/WC Sayısı</label> <div class="selectgroup w-100"> <?php $__currentLoopData = range(0,5); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $bathrooms): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <label class="selectgroup-item"> <input type="radio" name="bathrooms" value="<?php echo e($bathrooms); ?>" class="selectgroup-input" <?php echo e(isset($product) && $product->bathrooms == $bathrooms ? "checked":""); ?>> <span class="selectgroup-button"><?php echo e($bathrooms); ?></span> </label> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> <br> <br> <div class="row"> <div class="col-4"> <div class="row"> <div class="form-group"> <div class="form-label">Görsel</div> <?php if(isset($product) && ($image = $product->getImage) != null): ?> <img src="<?php echo e($image->getFileUrlOrDefault(450,300)."?v=".rand(1,200000000)); ?>"/> <?php endif; ?> <div class="custom-file"> <input type="file" class="custom-file-input" name="image"> <label class="custom-file-label">Görsel seçin</label> </div> </div> </div> </div> <div class="col-4"> <div class="row"> <div class="form-group"> <div class="form-label">Plan 1</div> <?php if(isset($product) && ($plan1 = $product->getPlan1) != null): ?> <img src="<?php echo e($plan1->getFileUrlOrDefault(450,300)."?v=".rand(1,200000000)); ?>"/> <?php endif; ?> <div class="custom-file"> <input type="file" class="custom-file-input" name="plan1"> <label class="custom-file-label">Plan 1</label> </div> </div> </div> </div> <div class="col-4"> <div class="row"> <div class="form-group"> <div class="form-label">Plan 2</div> <?php if( isset($product) &&($plan2 = $product->getPlan2) != null): ?> <img src="<?php echo e($plan2->getFileUrlOrDefault(450,300)."?v=".rand(1,200000000)); ?>"/> <?php endif; ?> <div class="custom-file"> <input type="file" class="custom-file-input" name="plan2"> <label class="custom-file-label">Plan 2</label> </div> </div> </div> </div> </div> <br><br> <div class="col-12"> <div class="row"> <button type="submit" class="btn btn-primary pull-right ml-auto">Tamam</button> </div> </div> </form> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.inc.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>