📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
otelscripti.demodesign.com.tr
/
application
/
views
/
contact
📝
index.php
← Geri Dön
<main id="main"> <section class="banner"> <div class="bread" style="background-image: url(public/img/slider.png);"> <div class="container"> <h2 class="title"><?= $this->module->arguments->title ?></h2> </div> </div> </section> <section class="content"> <div class="container"> <div class="content-body"> <div class="row"> <div class="col-sm-4 clearfix box"> <h5 class="caption"><?= lang('contact-email') ?></h5> <span> <a href="mailto:<?= $this->module->arguments->mail ?>"><?= $this->module->arguments->mail ?></a> </span> </div> <div class="col-sm-4 clearfix box"> <h5 class="caption"><?= lang('contact-phone') ?></h5> <span> <a href="tel:<?= $this->module->arguments->phone ?>"><?= $this->module->arguments->phone ?></a> </span> </div> <div class="col-sm-4 clearfix box"> <h5 class="caption"><?= lang('contact-adres') ?></h5> <span><?= $this->module->arguments->address ?></span> </div> <div class="col-sm-12 mT30"> <div class="row"> <form method="post" action="<?php echo clink('@contact') ?>" accept-charset="utf-8"> <?php echo $this->site->alert() ?> <div class="col-xs-12"> <div class="row"> <div class="col-sm-4"> <div class="form-group"> <input type="text" class="form-control" placeholder="<?php echo lang('contact-fullname') ?>" name="fullname" required="required" value="<?php echo set_value('fullname') ?>"> </div> </div> <div class="col-sm-4"> <div class="form-group"> <input type="email" class="form-control" placeholder="<?php echo lang('contact-email') ?>" name="email" required="required" value="<?php echo set_value('email') ?>" /> </div> </div> <div class="col-sm-4"> <div class="form-group"> <input type="text" class="form-control mask-phone" placeholder="<?php echo lang('contact-phone') ?>" name="phone" required="required" value="<?php echo set_value('phone') ?>" /> </div> </div> </div> </div> <div class="col-xs-12"> <textarea class="form-control" name="comment" placeholder="<?php echo lang('contact-message') ?>" required="required" rows="5"><?php echo set_value('comment') ?></textarea> </div> <div class="col-xs-12 text-right mT15"> <button type="submit" class="btn1 blue"><?= lang('contact-send') ?></button> </div> </form> </div> </div> </div> </div> </div> </section> <?php if (! empty($this->module->arguments->googleMap)): ?> <section class="main-maps"> <div id="map-canvas" style="width: 100%; height: 500px;"></div> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&libraries=places"></script> <script type="text/javascript"> function initialize() { var konum = new google.maps.LatLng(<?php echo $this->module->arguments->googleMap ?>); var isDraggable = !('ontouchstart' in document.documentElement); var mapOptions = { zoom: 17, center: konum, scrollwheel: false, draggable: isDraggable, mapTypeId: google.maps.MapTypeId.ROADMAP, styles: [{ stylers: [{ saturation: -100 }] }] }; var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions); var contentString = '<?php echo htmlspecialchars($this->module->arguments->googleMapText) ?>'; var infowindow = new google.maps.InfoWindow({ content: contentString }); var marker = new google.maps.Marker({ position: konum, map: map, icon: 'public/img/marker2.png', title: '<?php htmlspecialchars($this->module->arguments->title) ?>' }); if (marker.getAnimation() != null) { marker.setAnimation(null); } else { marker.setAnimation(google.maps.Animation.DROP); } google.maps.event.addListener(marker, 'click', function() { infowindow.open(map, marker); }); console.log(); } google.maps.event.addDomListener(window, 'load', initialize); </script> </section> <?php endif; ?> </main>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula