Viewing file: home.php (21.98 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html>
<html class="wide wow-animation" lang="en">
<head>
<title><?= settings('site_name'); ?></title>
<meta name="viewport" content="width=device-width height=device-height initial-scale=1.0">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="assets/softui/img/favicon.png" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,500,600,700,800%7CPoppins:300,400,500,600,700%7CMuli:200,300,400,500">
<link rel="stylesheet" href="assets/softui/home/css/bootstrap.css">
<link rel="stylesheet" href="assets/softui/home/css/fonts.css">
<link rel="stylesheet" href="assets/softui/home/css/style.css">
<style>.ie-panel{display: none;background: #212121;padding: 10px 0;box-shadow: 3px 3px 5px 0 rgba(0,0,0,.3);clear: both;text-align:center;position: relative;z-index: 1;} html.ie-10 .ie-panel, html.lt-ie-10 .ie-panel {display: block;}</style>
<!-- CSS Files -->
<?php if (settings('chat_active') == 'true') : ?>
<link href="<?= base_url('assets/tpk-message.css'); ?>" rel="stylesheet" />
<?php endif; ?>
<?= settings('custom_header'); ?>
<script>
window.base_url = "<?= base_url(); ?>/";
</script>
<style>
.landing-img {
width: calc(100% / 2);
}
</style>
</head>
<body class="g-sidenav-show bg-gray-100">
<?php if (settings('chat_active') == 'true') : ?>
<div class="floating-chat">
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor" class="bi bi-chat-fill" viewBox="0 0 16 16">
<path d="M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z"/>
</svg>
<div class="chat">
<div class="header">
<span class="title">
<?= settings('site_name'); ?> Destek
</span>
<button class="tpk-button-times">
<i class="fas fa-times"></i>
</button>
</div>
<ul class="messages">
<li class="self">
<?php echo preg_replace(
'!(http|ftp|scp)(s)?:\/\/(.*)+!',
"<a href=\"\\0\">\\0</a>",
settings('chat_default')
); ?>
</li>
</ul>
<div class="footer">
<div class="text-box mesajAlani" contenteditable="true" disabled="true"></div>
<button data-ust-hash="buton" class="mesaj-buton" id="sendMessage">Gönder</button>
</div>
</div>
</div>
<?php endif; ?>
</head>
<body>
<div class="preloader" id="loading">
<div class="preloader-body">
<div id="loading-center-object">
<div class="object" id="object_four"></div>
<div class="object" id="object_three"></div>
<div class="object" id="object_two"></div>
<div class="object" id="object_one"></div>
</div>
</div>
</div>
<div class="page">
<header class="section page-header">
<!-- RD Navbar-->
<div class="rd-navbar-wrap">
<nav class="rd-navbar rd-navbar-modern" data-layout="rd-navbar-fixed" data-sm-layout="rd-navbar-fixed" data-md-layout="rd-navbar-fixed" data-md-device-layout="rd-navbar-fixed" data-lg-layout="rd-navbar-fixed" data-lg-device-layout="rd-navbar-fixed" data-xl-layout="rd-navbar-static" data-xl-device-layout="rd-navbar-static" data-xxl-layout="rd-navbar-static" data-xxl-device-layout="rd-navbar-static" data-lg-stick-up-offset="10px" data-xl-stick-up-offset="10px" data-xxl-stick-up-offset="10px" data-lg-stick-up="true" data-xl-stick-up="true" data-xxl-stick-up="true">
<div class="rd-navbar-main">
<!-- RD Navbar Panel-->
<div class="rd-navbar-panel">
<!-- RD Navbar Toggle-->
<button class="rd-navbar-toggle" data-rd-navbar-toggle=".rd-navbar-nav-wrap"><span></span></button>
<!-- RD Navbar Brand-->
<div class="rd-navbar-brand"> <a class="brand" href=""><img src="logo.png" alt="" width="199" height="41"/></a></div>
</div>
<div class="rd-navbar-nav-wrap">
<!-- RD Navbar Nav-->
<ul class="rd-navbar-nav">
<li class="rd-nav-item active"><a class="rd-nav-link" href="">Ana Sayfa</a>
</li>
<?php if (settings('freesms') == 'true') : ?>
<li class="rd-nav-item"><a class="rd-nav-link" href="/ucretsizsmsonay"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-square-text" viewBox="0 0 16 16">
<path d="M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-2.5a2 2 0 0 0-1.6.8L8 14.333 6.1 11.8a2 2 0 0 0-1.6-.8H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z"/>
<path d="M3 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5M3 6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 6m0 2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5"/>
</svg> Ücretsiz SMS Onay</a></li>
<?php endif; ?>
<li class="rd-nav-item"><a class="rd-nav-link" href="/blog">Blog</a>
</li>
<li class="rd-nav-item"><a class="rd-nav-link" href="/terms">Kullanım Koşulları</a>
</li>
<li class="rd-nav-item"><a class="rd-nav-link" href="/login">Giriş Yap</a>
</li>
<li class="rd-nav-item"><a class="rd-nav-link" href="/register">Kayıt Ol</a>
</li>
</ul>
</div>
<div class="rd-navbar-element"><a class="button button-sm button-default-outline button-winona" href="/login">SMS Onay</a>
</div>
<div class="rd-navbar-dummy"></div>
</div>
</nav>
</div>
</header>
<title>Popup</title>
<style>
/* CSS */
.popup-container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 9999;
}
.popup {
display: none;
background-color: pink;
padding: 30px;
box-shadow: 0px 0px 100px rgb(255, 255, 70); /* shadow */
border-radius: 10px;
width: %300px;
width: 300px;
}
.close {
position: absolute;
top: 5px;
right: 10px;
cursor: pointer;
}
/* Popup'ı göstermek için bir class ekleyin */
.popup.show {
display: block;
}
</style>
</head>
<body>
<?php if (settings('popup') == 'true') : ?>
<div class="popup-container">
<div id="popup" class="popup">
<span class="close" id="close">×</span>
<center>
<img src="<?php echo base_url(); ?>/popup.gif" style="width: 100px;">
<h5><?= settings('duyurubas'); ?></h5>
<br>
<font color="#000000"><?= settings('duyuruicerik'); ?></font></center>
</div>
</div>
<script>
// JavaScript
document.addEventListener("DOMContentLoaded", function() {
// Popup elementi
const popup = document.getElementById("popup");
// Popup'ı göster
popup.classList.add("show");
// Çarpı işaretine tıklandığında popup'ı kapat
const close = document.getElementById("close");
close.addEventListener("click", function() {
popup.classList.remove("show");
});
});
</script>
</body>
</html>
<?php endif; ?>
<!-- FScreen-->
<div class="layout-4">
<div class="layout-4-item-right">
<div class="box-custom-2 bg-accent">
<div class="box-custom-2-bg bg-gray-900" style="background-color:#cb0c9f;"></div>
<div class="box-custom-2-inner">
<h4 class="wow fadeIn"><?= settings('site_slogan'); ?></h4>
<h2 class="wow fadeIn"><b><?= settings('site_name'); ?></b></h2>
<h4 class="wow fadeIn"><?= settings('site_description'); ?></h4>
<br>
<form class="ajaxForm" method="post" action="<?= base_url('login'); ?>">
<div class="form-group">
<input type="email" class="form-control " name="emailInput" placeholder="Email adresinizi giriniz." required>
<label class="form-label text-center" for="subscribe-form-email"></label>
</div>
<input type="password" class="form-control" name="passwordInput" placeholder="Parolanızı giriniz." minlength="6" required>
<label class="form-label text-center" for="subscribe-form-email"></label>
<br>
<div class="form-button">
<button class="button button-block button-primary button-winona" type="submit">Giriş Yap!</button>
</div>
</form>
<?php if (settings('appactive') == 'true') : ?>
<br><a href="/uygulama.apk" target="_blank">
<button type="button" class="btn btn-success"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-android2" viewBox="0 0 16 16">
<path d="m10.213 1.471.691-1.26c.046-.083.03-.147-.048-.192-.085-.038-.15-.019-.195.058l-.7 1.27A4.832 4.832 0 0 0 8.005.941c-.688 0-1.34.135-1.956.404l-.7-1.27C5.303 0 5.239-.018 5.154.02c-.078.046-.094.11-.049.193l.691 1.259a4.25 4.25 0 0 0-1.673 1.476A3.697 3.697 0 0 0 3.5 5.02h9c0-.75-.208-1.44-.623-2.072a4.266 4.266 0 0 0-1.664-1.476ZM6.22 3.303a.367.367 0 0 1-.267.11.35.35 0 0 1-.263-.11.366.366 0 0 1-.107-.264.37.37 0 0 1 .107-.265.351.351 0 0 1 .263-.11c.103 0 .193.037.267.11a.36.36 0 0 1 .112.265.36.36 0 0 1-.112.264Zm4.101 0a.351.351 0 0 1-.262.11.366.366 0 0 1-.268-.11.358.358 0 0 1-.112-.264c0-.103.037-.191.112-.265a.367.367 0 0 1 .268-.11c.104 0 .19.037.262.11a.367.367 0 0 1 .107.265c0 .102-.035.19-.107.264ZM3.5 11.77c0 .294.104.544.311.75.208.204.46.307.76.307h.758l.01 2.182c0 .276.097.51.292.703a.961.961 0 0 0 .7.288.973.973 0 0 0 .71-.288.95.95 0 0 0 .292-.703v-2.182h1.343v2.182c0 .276.097.51.292.703a.972.972 0 0 0 .71.288.973.973 0 0 0 .71-.288.95.95 0 0 0 .292-.703v-2.182h.76c.291 0 .54-.103.749-.308.207-.205.311-.455.311-.75V5.365h-9v6.404Zm10.495-6.587a.983.983 0 0 0-.702.278.91.91 0 0 0-.293.685v4.063c0 .271.098.501.293.69a.97.97 0 0 0 .702.284c.28 0 .517-.095.712-.284a.924.924 0 0 0 .293-.69V6.146a.91.91 0 0 0-.293-.685.995.995 0 0 0-.712-.278Zm-12.702.283a.985.985 0 0 1 .712-.283c.273 0 .507.094.702.283a.913.913 0 0 1 .293.68v4.063a.932.932 0 0 1-.288.69.97.97 0 0 1-.707.284.986.986 0 0 1-.712-.284.924.924 0 0 1-.293-.69V6.146c0-.264.098-.491.293-.68Z"/>
</svg> UYGULAMAMIZI İNDİR!</button>
</a>
<?php endif; ?>
</div>
</div>
</div>
<div class="layout-4-item-left"><img src="assets/softui/home/images/smsonay.png" alt="" width="750" height="550"/>
</div>
</div>
</div>
</div>
<!-- Our Solutions-->
<section class="section section-lg bg-gray-100 text-center" id="solutions">
<div class="container">
<h3 class="wow fadeIn" data-wow-delay=".1s">En İyisiyiz Diyebiliriz..</h3>
<div class="row row-30 row-md-50 row-xl-60">
<div class="col-sm-6 col-lg-4 wow fadeIn">
<!-- Box Modern-->
<article class="box-modern" data-anime="circles-1">
<div class="box-modern-media">
<div class="box-modern-icon mdi mdi-comment-text"></div>
<div class="box-modern-circle box-modern-circle-1"></div>
<div class="box-modern-circle box-modern-circle-2"></div>
</div>
<p class="box-modern-title">Hızlı SMS</p>
<div class="box-modern-text">
<p>Tam otomatik sistemimiz sayesinde dakikalar içinde sms!</p>
</div>
</article>
</div>
<div class="col-sm-6 col-lg-4 wow fadeIn" data-wow-delay=".1s">
<!-- Box Modern-->
<article class="box-modern box-modern_alternate" data-anime="circles-2">
<div class="box-modern-media">
<div class="box-modern-icon mdi mdi-monitor-multiple"></div>
<div class="box-modern-circle box-modern-circle-1"></div>
<div class="box-modern-circle box-modern-circle-2"></div>
</div>
<p class="box-modern-title">Tüm Servisler</p>
<div class="box-modern-text">
<p>İstediğiniz her yerde onay alabilin diye tüm servisler aktif!</p>
</div>
</article>
</div>
<div class="col-sm-6 col-lg-4 wow fadeIn" data-wow-delay=".2s">
<!-- Box Modern-->
<article class="box-modern" data-anime="circles-1">
<div class="box-modern-media">
<div class="box-modern-icon mdi mdi-web"></div>
<div class="box-modern-circle box-modern-circle-1"></div>
<div class="box-modern-circle box-modern-circle-2"></div>
</div>
<p class="box-modern-title">Tüm Ülkeler</p>
<div class="box-modern-text">
<p>200 'e yakın ülke. Aradığınız ülke burada var!</p>
</div>
</article>
</div>
</div>
</div>
</section>
<!-- Counters-->
<section class="section section-md text-center">
<div class="container">
<div class="layout-bordered-1">
<div class="layout-bordered-1-item">
<!-- Counter Classic-->
<article class="counter-classic">
<div class="counter-classic-main">
<div class="counter">7862</div>
</div>
<h4 class="counter-classic-title">TAMAMLANMIŞ ONAY</h4>
</article>
</div>
<div class="layout-bordered-1-item">
<!-- Counter Classic-->
<article class="counter-classic">
<div class="counter-classic-main">
<div class="counter">4236</div>
</div>
<h4 class="counter-classic-title">MUTLU MÜŞTERİ</h4>
</article>
</div>
<div class="layout-bordered-1-item">
<!-- Counter Classic-->
<article class="counter-classic">
<div class="counter-classic-main">
<div class="counter">6325</div>
</div>
<h4 class="counter-classic-title">ÇÖZÜMLENMİŞ DESTEK</h4>
</article>
</div>
</div>
</div>
</section>
<!-- Testimonials-->
<section class="section section-md-2 text-center bg-white" id="testimonials">
<div class="container">
<h3>MÜŞTERİ YORUMLARI</h3>
<!-- Isotope-->
<div class="isotope-outer">
<div class="row row-15 row-md-30 row-xl-40 isotope" data-isotope-layout="masonry">
<div class="col-md-6 col-lg-4 isotope-item wow fadeInUpSmall">
<!-- Quote Modern-->
<blockquote class="quote-modern">
<div class="quote-modern-header">
<div class="quote-modern-info"><img class="quote-modern-avatar" src="assets/softui/home/images/profilimg.jpg" alt="" width="74" height="74"/>
<div class="quote-modern-info-main">
<cite class="quote-modern-cite">Hakan Akyurt</cite>
<p class="quote-modern-position">Site Müşterisi</p>
</div>
</div>
</div>
<div class="quote-modern-main">
<div class="quote-modern-text">
<p><?= settings('site_name'); ?> sitesini bulduğumdan beri tüm onay işlemlerimi aksatmadan yapabiliyorum.</p>
</div>
</div>
</blockquote>
</div>
<div class="col-md-6 col-lg-4 isotope-item wow fadeInUpSmall" data-wow-delay=".1s">
<!-- Quote Modern-->
<blockquote class="quote-modern">
<div class="quote-modern-header">
<div class="quote-modern-info"><img class="quote-modern-avatar" src="assets/softui/home/images/profilimg.jpg" alt="" width="74" height="74"/>
<div class="quote-modern-info-main">
<cite class="quote-modern-cite">Deniz Gümüş</cite>
<p class="quote-modern-position">r10 Müşterisi</p>
</div>
</div>
</div>
<div class="quote-modern-main">
<div class="quote-modern-text">
<p><?= settings('site_name'); ?> sitesiyle tüm onay işlemlerimi hızlıca yapabiliyorum. Gerçekten çok stabil servisler.</p>
</div>
</div>
</blockquote>
</div>
<div class="col-md-6 col-lg-4 isotope-item wow fadeInUpSmall" data-wow-delay=".3s">
<!-- Quote Modern-->
<blockquote class="quote-modern">
<div class="quote-modern-header">
<div class="quote-modern-info"><img class="quote-modern-avatar" src="assets/softui/home/images/profilimg.jpg" alt="" width="74" height="74"/>
<div class="quote-modern-info-main">
<cite class="quote-modern-cite">Gaye Pınar Saatçi</cite>
<p class="quote-modern-position">Site Müşterisi</p>
</div>
</div>
</div>
<div class="quote-modern-main">
<div class="quote-modern-text">
<p>Şirketimiz içn toplu onay işlemlerimizi karşılıyoruz. Ve gerçekten <?= settings('site_name'); ?> en iyisi diyebilirim.</p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</section>
<div style="height:100px;overflow:auto;">
<h2><?= settings('seo1') ?> </h2>
<p><?= settings('seo1i') ?> </p>
<h2><?= settings('seo2') ?> </h2>
<p><?= settings('seo2i') ?> </p>
<h2><?= settings('seo3') ?> </h2>
<p><?= settings('seo3i') ?> </p>
</div>
<div class="footer-classic-aside" style="background-color:#cb0c9f;">
<div class="container">
<p class="rights"><span><font color="#ffffff"> TÜM HAKLARI SAKLIDIR © <a href=""><?= settings('site_name'); ?> </font></a></p>
</div>
</div>
</footer>
</div>
<div class="snackbars" id="form-output-global"></div>
<script src="assets/softui/home/js/core.min.js"></script>
<script src="assets/softui/home/js/script.js"></script>
<!-- Core JS Files -->
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.css">
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.js"></script>
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<?= settings('custom_footer'); ?>
<?= $this->renderSection('js'); ?>
<script>
var win = navigator.platform.indexOf('Win') > -1;
if (win && document.querySelector('#sidenav-scrollbar')) {
var options = {
damping: '0.5'
}
Scrollbar.init(document.querySelector('#sidenav-scrollbar'), options);
}
</script>
<script src="<?= assets('js/soft-ui-dashboard.min.js?v=1.0.7'); ?>"></script>
<script src="<?= base_url('assets/app.js'); ?>"></script>
<?php if (!user() && settings('fake_notification') == 'true') : ?>
<script src="<?= base_url('assets/notification.js') ?>"></script>t
<?php endif; ?>
<?php if (settings('chat_active') == 'true') : ?>
<script src="<?= base_url('assets/tpk-message.js'); ?>"></script>
<script>
$("body").on("click", ".mesaj-buton", function() {
const mesajHash = $(this).attr("data-ust-hash")
var mesajIcerik = $(".mesajAlani").text()
var messagesContainer = $('.messages');
if (mesajHash != "buton") {
mesajIcerik = $(this).attr("data-soru")
}
$(".mesaj-buton").attr("disabled", true)
const text = `<li class="other">${mesajIcerik}</li>`
$("ul.messages").append(text)
$.ajax({
url: "<?= base_url('chat/message'); ?>",
type: "POST",
data: {
"mesajgonder": "ok",
"mesajHash": mesajHash,
"mesajIcerik": mesajIcerik
},
success: function(result) {
$(".mesajAlani").html(null)
$(".mesaj-buton").removeAttr("disabled")
$("ul.messages").append(result)
messagesContainer.finish().animate({
scrollTop: messagesContainer.prop("scrollHeight")
}, 250);
}
});
})
</script>
<?php endif; ?>
</body>
</html>
|