Guest User

Untitled

a guest
Sep 28th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.79 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. include 'ayarlar.php';
  15. error_reporting(0);
  16. $AlanAdi = $_SERVER['HTTP_HOST'];
  17. $ipAdresi = $_SERVER['SERVER_ADDR'];
  18.  
  19. if (ini_get('allow_url_fopen') == 1) {
  20. $Cek = file_get_contents('https://www.hddizayn.com/lisans/orumcek.php');
  21. preg_match('@<div>(.*?)</div>@si', $Cek, $Yazdir);
  22. $Gonder = 'https://www.hddizayn.com/lisans/orumcek.php?domain=' . $AlanAdi . '&ipadresi=' . $ipAdresi;
  23. $AlanAdi = file_get_contents($Gonder);
  24. $Durum = $Yazdir[1];
  25. }
  26. else {
  27. function StartCurl($site_url, $timeout = 5)
  28. {
  29. $ch = curl_init();
  30. $tarayici = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0';
  31. curl_setopt($ch, CURLOPT_URL, $site_url);
  32. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  33. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  34. curl_setopt($ch, CURLOPT_HEADER, 0);
  35. curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
  36. curl_setopt($ch, CURLOPT_USERAGENT, $tarayici);
  37. $result = curl_exec($ch);
  38. curl_close($ch);
  39. return $result;
  40. }
  41.  
  42. $Gonder = 'domain=' . $AlanAdi . '&ipadresi=' . $ipAdresi;
  43. $Kontrol = 'https://www.hddizayn.com/lisans/orumcek.php?' . $Gonder;
  44. $Baslat = curl_init();
  45. curl_setopt($Baslat, CURLOPT_URL, $Kontrol);
  46. curl_setopt($Baslat, CURLOPT_RETURNTRANSFER, true);
  47. $LisansDurum = curl_exec($Baslat);
  48. curl_close($Baslat);
  49. $Site = StartCurl('https://www.hddizayn.com/lisans/orumcek.php');
  50. preg_match('@<div>(.*?)</div>@si', $Site, $Yazdir);
  51. $Durum = $Yazdir[1];
  52. }
  53.  
  54. $AlanAdi = $_SERVER['HTTP_HOST'];
  55.  
  56. if ($Durum == 0) {
  57. echo '<html>' . "\n\t\t\t" . '<head>' . "\n\t\t\t\t" . '<title>Lisanssız Kullanım ! HDDIZAYN WEB YAZILIM</title>' . "\n\t\t\t\t" . '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' . "\n\t\t\t\t" . '<link rel="shortcut icon" href="https://www.hddizayn.com/assets/images/favicon.ico">' . "\n\t\t\t\t" . '<meta name="robots" content="noindex">' . "\n\t\t\t\t" . '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">' . "\n\t\t\t\t" . '<link href="https://fonts.googleapis.com/css?family=Oswald:400,100,300,500,700%7CTitillium+Web:400,300,700,900&amp;subset=latin,latin-ext" rel="stylesheet" type="text/css">' . "\n\t\t\t\t" . '<link rel="stylesheet" href="https://www.hddizayn.com/assets/css/lisans.css">' . "\n\t\t\t" . '</head>' . "\n\t\t\t" . '<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false">' . "\n\t\t\t" . '<center>' . "\n\t\t\t\t" . '<img src="https://hddizayn.com/images/hddizayn-yasak.png" width="300" height="150" style="margin-top:40px;">' . "\n\t\t\t\t" . '<div class="transbox" style="color:black;font-weight:bold;" align="center">' . "\n\t\t\t\t\t" . '<p>' . "\n\t\t\t\t\t\t" . '<h3>Uyarı : Lisanssız Kullanım !</h3>' . "\n\t\t\t\t\t\t" . 'Yasadışı (illegal) Kullanım Tespit Edildi. Bilgileriniz Kayıt Altına Alındı !<br>' . "\n\t\t\t\t\t\t" . '<span style="color:#013d9f;">Domain: ' . $AlanAdi . ' | Sunucu IP: (' . $ipAdresi . ')</span>' . "\n\t\t\t\t\t\t" . '<br/>Sistemi Yasal olarak Aktif hale getirmek için &nbsp;<a style="color:red; text-decoration:none;" href="https://www.hddizayn.com "target="_blank">“HDDIZAYN.COM” </a> Adresinden Ürünü Lisanslı Olarak Satın Alınız.</br>' . "\n\t\t\t\t\t\t" . '<span style="text-decoration: underline;">Aksi takdirde yasal işlem başlatılacaktır.</span>' . "\n\t\t\t\t\t\t" . '<br/>E-Posta: [email protected]<br>Tel: 0551 555 82 93' . "\n\t\t\t\t\t\t" . '<br><br>' . "\n\t\t\t\t\t\t" . 'HDDIZAYN WEB YAZILIM' . "\n\t\t\t\t\t" . '</p>' . "\n\t\t\t\t" . '</div>' . "\n\t\t\t" . '</center>' . "\n\t\t\t" . '</body>' . "\n\t\t" . '</html>';
  58. }
  59. else if ($Durum == 1) {
  60. date_default_timezone_set('Europe/Istanbul');
  61. $Ayarlar = $Baglan->query('SELECT * FROM hddizayn_site_ayarlari');
  62. $HDDizayn = $Ayarlar->fetch_array();
  63. $SmtpSorgu = $Baglan->query('SELECT * FROM hddizayn_smtp_ayarlari');
  64. $Smtp = $SmtpSorgu->fetch_object();
  65. $Protocol = (strtolower(substr($_SERVER['SERVER_PROTOCOL'], 0, 5)) == 'https' ? 'https' : 'http');
  66. $Protocol = (isset($_SERVER['HTTPS']) ? 'https://' : 'http://');
  67. $Author = 'HDDIZAYN WEB YAZILIM';
  68. $Sorgu = $Baglan->query('SELECT * FROM hddizayn_uyeler WHERE id = \'' . $_SESSION['uye_id'] . '\'');
  69. $Uye = $Sorgu->fetch_object();
  70. $Sure = 60;
  71. $Zaman = time();
  72. $Hesap = $Zaman - $Sure;
  73.  
  74. if (isset($_SESSION['kullanici'])) {
  75. $Guncelle = $Baglan->query('UPDATE hddizayn_uyeler SET son_islem = \'' . $Zaman . '\' WHERE eposta = \'' . $_SESSION['eposta'] . '\'');
  76. }
  77.  
  78. function Menu()
  79. {
  80. include 'ayarlar.php';
  81. echo '<div class="block-nav-categori">' . "\n\t" . '<div class="block-title">' . "\n\t\t" . '<span>Kategoriler</span>' . "\n\t" . '</div>' . "\n\t" . '<div class="block-content">' . "\n\t\t" . '<ul class="ui-categori">';
  82. $Sorgu = $Baglan->query('SELECT * FROM hddizayn_kategori WHERE durum = 1 ORDER BY id ASC');
  83.  
  84. while ($Sonuc = $Sorgu->fetch_object()) {
  85. echo '<li class="' . $Sonuc->menu_durumu . '">';
  86. echo '<a href="kategori/' . $Sonuc->seflink . '/' . $Sonuc->no . '">';
  87. echo '<span class="icon"><i class="' . $Sonuc->ikon . '"></i></span>';
  88. echo $Sonuc->baslik;
  89. echo '</a>';
  90. echo '<span class="toggle-submenu"></span>';
  91. echo '<div class="submenu">';
  92.  
  93. if ($Sonuc->resim == '') {
  94. }
  95. else {
  96. echo '<div class="categori-img">';
  97. echo '<a href="kategori/' . $Sonuc->seflink . '/' . $Sonuc->no . '"><img src="dosyalar/kategori/' . $Sonuc->resim . '" alt="categori-img"></a>';
  98. echo '</div>';
  99. }
  100.  
  101. echo '<ul class="categori-list">';
  102. $Sorgula = $Baglan->query('SELECT * FROM hddizayn_kategori_alt WHERE durum = 1 and ust = \'' . $Sonuc->id . '\' ORDER BY id ASC');
  103.  
  104. while ($Sonucla = $Sorgula->fetch_object()) {
  105. echo '<li class="col-sm-3">';
  106. echo '<strong class="title"><a href="kategori/' . $Sonucla->seflink . '/' . $Sonucla->no . '">' . $Sonucla->baslik . '</a></strong>';
  107. echo '<ul>';
  108. $Sorgucu = $Baglan->query('SELECT * FROM hddizayn_categori_alt WHERE durum = 1 and ust = \'' . $Sonucla->id . '\' ORDER BY id ASC');
  109.  
  110. while ($Sonuccu = $Sorgucu->fetch_object()) {
  111. echo '<li><a href="kategori/' . $Sonuccu->seflink . '/' . $Sonuccu->no . '">' . $Sonuccu->baslik . '</a></li>';
  112. }
  113.  
  114. echo '</ul>';
  115. echo '</li>';
  116. }
  117.  
  118. echo '</ul>';
  119. echo '</div>';
  120. echo '</li>';
  121. }
  122.  
  123. echo '</ul>' . "\n\t\t" . '<div class="view-all-categori">' . "\n\t\t\t" . '<a class="open-cate btn-view-all">Tüm Kategoriler</a>' . "\n\t\t" . '</div>' . "\n\t" . '</div>' . "\n" . '</div>';
  124. }
  125.  
  126. function slider()
  127. {
  128. include 'ayarlar.php';
  129. echo '<div class="block-section-top block-section-top1">' . "\n\t\t" . '<div class="container">' . "\n\t\t\t" . '<div class="box-section-top">';
  130. Menu();
  131. echo "\n\t\t\t\t" . '<div class="block-slide-main slide-opt-1">' . "\n\t\t\t\t\t" . '<!-- slide -->' . "\n\t\t\t\t\t" . '<div class="owl-carousel" ' . "\n\t\t\t\t\t\t" . 'data-nav="true" ' . "\n\t\t\t\t\t\t" . 'data-dots="true" ' . "\n\t\t\t\t\t\t" . 'data-margin="0" ' . "\n\t\t\t\t\t\t" . 'data-items="1" ' . "\n\t\t\t\t\t\t" . 'data-autoplayTimeout="1600" ' . "\n\t\t\t\t\t\t" . 'data-autoplay="true" ' . "\n\t\t\t\t\t\t" . 'data-loop="true">';
  132. $Sorgu = $Baglan->query('SELECT * FROM hddizayn_slider WHERE durum = 1 ORDER BY id DESC');
  133.  
  134. while ($Sonuc = $Sorgu->fetch_object()) {
  135. echo '<div class="item item' . $Sonuc->stil . '" style="background-image: url(dosyalar/slider/' . $Sonuc->resim . ');">';
  136. echo "\t" . '<div class="description">';
  137.  
  138. if ($Sonuc->baslik_durum == 1) {
  139. echo '<span class="title">' . $Sonuc->baslik_tr . '</span>';
  140. }
  141.  
  142. if ($Sonuc->alt_baslik_durum == 1) {
  143. echo '<span class="subtitle">' . $Sonuc->alt_baslik_tr . '</span>';
  144. }
  145.  
  146. if ($Sonuc->aciklama_durum == 1) {
  147. echo '<span class="des">' . $Sonuc->aciklama_tr . '</span>';
  148. }
  149.  
  150. if ($Sonuc->buton_durum == 1) {
  151. echo '<a style="font-weight:bold;" href="' . $Sonuc->sliderlink . '" class="btn">' . $Sonuc->buton_tr . '</a>';
  152. }
  153.  
  154. echo '</div>';
  155. echo '</div>';
  156. }
  157.  
  158. echo '</div>';
  159. echo '</div>';
  160. echo '<div class="banner-slide">';
  161. $Sorgucu = $Baglan->query('SELECT * FROM hddizayn_reklam WHERE durum = 1 and reklam_alani = \'slider_alani\' ORDER BY id ASC LIMIT 2');
  162.  
  163. while ($Sonucla = $Sorgucu->fetch_object()) {
  164. echo '<a href="' . $Sonucla->reklam_link . '" class="box-img"><img src="dosyalar/afis/' . $Sonucla->resim . '" alt="' . $Sonucla->reklam_aciklama . '" width="207" height="226"></a>';
  165. }
  166.  
  167. echo '</div>';
  168. ............................................................................................
  169. ...........................................................
  170. ...................
Add Comment
Please, Sign In to add comment