Advertisement
Guest User

Untitled

a guest
Jul 16th, 2024
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 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. require_once 'baglan.php';
  15. require_once 'fonksiyon.php';
  16. require_once 'class.upload.php';
  17. require_once 'class.phpmailer.php';
  18. $logo = url . tema . '/uploads/logo/footer/' . footerlogo;
  19. $domain_bilgi = url;
  20. if (empty($_POST) && empty($_GET)) {
  21. header('Location:../' . yonetim . '/');
  22. exit();
  23. }
  24.  
  25. if (isset($_POST['urun_ekle'])) {
  26. OYet9qjdkH_panelislemkontrol();
  27.  
  28. if ($_SESSION['rutbe'] == 0) {
  29. $sira = $_POST['sira'];
  30. $kategori = $_POST['kategori'];
  31. $adi = $_POST['adi'];
  32. $urun_kodu = $_POST['urun_kodu'];
  33. $fiyat = $_POST['fiyat'];
  34. $pbirim = $_POST['pbirim'];
  35.  
  36. if ($_POST['ifiyat']) {
  37. $ifiyat = $_POST['ifiyat'];
  38. }
  39. else {
  40. $ifiyat = NULL;
  41. }
  42.  
  43. $seo = OYet9qjdkH_seo($adi);
  44. $spot = $_POST['spot'];
  45. $aciklama = $_POST['aciklama'];
  46. $description = $_POST['description'];
  47. $keywords = $_POST['keywords'];
  48. $stok = $_POST['stok'];
  49.  
  50. if ($_POST['durum']) {
  51. $durum = 1;
  52. }
  53. else {
  54. $durum = 0;
  55. }
  56.  
  57. if ($_POST['anasayfa']) {
  58. $anasayfa = 1;
  59. }
  60. else {
  61. $anasayfa = 0;
  62. }
  63.  
  64. if ($_POST['yeni']) {
  65. $yeni = 1;
  66. }
  67. else {
  68. $yeni = 0;
  69. }
  70.  
  71. $tarih = date('Y-m-d H:i:s');
  72. $tarih = OYet9qjdkH_tr_tarih($tarih);
  73. $resimler = json_decode($_POST['resimler'], true);
  74. $ozellikler = NULL;
  75.  
  76. foreach ($_POST['ozellik'] as $k => $v) {
  77. $ozellik = explode('-', $v);
  78.  
  79. if (isset($ozellikler[$ozellik[0]])) {
  80. $ozellikler[$ozellik[0]] .= '|' . @$ozellik[1];
  81. }
  82. else {
  83. $ozellikler[$ozellik[0]] = @$ozellik[1];
  84. }
  85. }
  86.  
  87. if (is_array($ozellikler)) {
  88. $_ozellikler = NULL;
  89.  
  90. foreach ($ozellikler as $k => $v) {
  91. if (is_null($_ozellikler)) {
  92. $_ozellikler = $k . '-' . $v;
  93. }
  94. else {
  95. $_ozellikler .= ',' . $k . '-' . $v;
  96. }
  97. ...................................................................
  98. ..........................................
  99. ...................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement