📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
yoresele-ticaret.demodesign.com.tr
/
secured
📝
home-index.php
← Geri Dön
<?php include "inc/session.php"; if ("0" < $adminSorgu->rowCount()) { $currentURL = $ayar["panel_url"]; $_SESSION["current_url"] = $currentURL; echo "<!DOCTYPE html>\r\n <html lang=\""; echo $mevcutdil["kisa_ad"]; echo "\" dir=\""; echo $mevcutdil["area"]; echo "\">\r\n <head>\r\n <meta charset=\"utf-8\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui\">\r\n <title>"; echo $diller["adminpanel-text-47"]; echo " - "; echo $panelayar["baslik"]; echo "</title>\r\n <meta content=\"Admin Dashboard\" name=\"description\" />\r\n <meta content=\"ThemeDesign\" name=\"author\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\r\n "; include "inc/template/headerlibs.php"; echo " </head>\r\n <body>\r\n <div class=\"panel-home-main-div\">\r\n\r\n\r\n <!-- Header !-->\r\n "; include "inc/template/header.php"; echo " <!-- <========SON=========>>> Header SON !-->\r\n\r\n\r\n <div class=\"wrapper\" style=\"margin-top: 0;\">\r\n\r\n <div class=\"container-fluid\">\r\n\r\n\r\n "; if ($panelayar["dash_alert"] == "1") { echo " <!-- Welcome !-->\r\n <div class=\"row\" >\r\n <div class=\"col-md-12\" >\r\n <div class=\" alert alert-white card alert-dismissible fade show welcome-area-alert \" role=\"alert\" style=\"box-shadow: none; background-color: #dbedff; \">\r\n <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n <div class=\"card-body d-flex justify-content-start align-items-center flex-wrap welcome-area\">\r\n <div style=\"margin-right: 25px;\" class=\"welcome-area-img\" >\r\n <img src=\"assets/images/dash3.png\" style=\"width: 160px\">\r\n </div>\r\n <div class=\"flex-grow-1 \">\r\n <h4 style=\"font-weight: 400;\">"; echo $diller["adminpanel-text-49"]; echo " <strong>"; echo $adminRow["isim"]; echo ",</strong></h4>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["adminpanel-text-50"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-1"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-2"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-3"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-4"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-5"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-6"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-7"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-8"]; echo ".\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-9"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-10"]; echo "\"\r\n </div>\r\n <div class=\"welcomeText\" style=\"font-weight: 400; font-size: 15px; display: none;\">\r\n \""; echo $diller["bilgitext-11"]; echo "\"\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <script>\r\n \$(function(){\r\n var random = Math.floor(Math.random() * \$('.welcomeText').length);\r\n \$('.welcomeText').eq(random).show().css('background-color');\r\n });\r\n </script>\r\n <!-- <========SON=========>>> Welcome SON !-->\r\n "; } echo "\r\n\r\n <!-- Page-Title -->\r\n <div class=\"row mb-4\">\r\n <div class=\"col-sm-12\">\r\n <div class=\"page-title-box bg-white p-3 rounded\" >\r\n <div class=\"row align-items-center\" >\r\n <div class=\"col-md-8\" >\r\n <div class=\" d-flex align-items-center justify-content-start\" style=\"font-size: 20px ; font-weight: 600;\" >\r\n <i class=\"las la-tachometer-alt mr-1\" style=\"font-size: 28px ;\"></i>\r\n "; echo $diller["adminpanel-text-47"]; echo " </div>\r\n <div style=\"width: 5px; height: 20px\" class=\" d-sm-inline-block block d-md-none\"></div>\r\n </div>\r\n "; if ($panelayar["bekleyen_isler_modal"] == "1") { echo " <div class=\"col-md-4 text-right \">\r\n <a href=\"\" data-toggle=\"modal\" data-target=\".bekleyenler-modal\" class=\"btn btn-primary\" style=\"font-size: 13px; font-weight: 400;\"><i class=\"fa fa-question-circle\"></i> "; echo $diller["adminpanel-text-48"]; echo "</a>\r\n </div>\r\n "; } echo " </div>\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n <!-- end page title end breadcrumb -->\r\n\r\n\r\n\r\n\r\n "; if ($panelayar["dash_ust"] == "1") { echo " "; if ($yetki["katalog"] == "1" && $yetki["urun"] == "1" && $yetki["siparis"] == "1" && $yetki["siparis_yonet"] == "1" && $yetki["uyelik"] == "1" && $yetki["ticket"] == "1") { echo " <!-- 3'lü box !-->\r\n <div class=\"row\">\r\n <div class=\"col-xl-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body text-center pb-xl-5 pt-xl-5\" >\r\n <img class=\"mb-3\" src=\"assets/images/icon/stores.png\" >\r\n <br>\r\n <h6>"; echo $diller["adminpanel-text-51"]; echo "</h6>\r\n <h7 style=\"color:#999\">"; echo $diller["adminpanel-text-52"]; echo "</h7>\r\n <br><br>\r\n <a href=\"pages.php?page=products\" class=\"btn btn-sm btn-success\">"; echo $diller["adminpanel-text-53"]; echo "</a>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-xl-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body text-center pb-xl-5 pt-xl-5\" >\r\n <img class=\"mb-3\" src=\"assets/images/icon/orders.png\" >\r\n <br>\r\n <h6>"; echo $diller["adminpanel-text-54"]; echo "</h6>\r\n <h7 style=\"color:#999\">"; echo $diller["adminpanel-text-55"]; echo "</h7>\r\n <br><br>\r\n <a href=\"pages.php?page=orders\" class=\"btn btn-sm btn-success\">"; echo $diller["adminpanel-text-56"]; echo "</a>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-xl-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body text-center pb-xl-5 pt-xl-5\" >\r\n <img class=\"mb-3\" src=\"assets/images/icon/supp.png\" >\r\n <br>\r\n <h6>"; echo $diller["adminpanel-text-57"]; echo "</h6>\r\n <h7 style=\"color:#999\">"; echo $diller["adminpanel-text-58"]; echo "</h7>\r\n <br><br>\r\n <a href=\"pages.php?page=tickets\" class=\"btn btn-sm btn-success\">"; echo $diller["adminpanel-text-59"]; echo "</a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!-- <========SON=========>>> 3'lü box SON !-->\r\n "; } echo " "; } echo "\r\n\r\n "; if ($panelayar["dash_istatistik"] == "1") { echo " <!-- Sol ve Sağ Blok !-->\r\n <div class=\"row\">\r\n <div class=\"col-xl-8\">\r\n <div class=\"row\">\r\n <div class=\"col-md-7 \">\r\n <div class=\"card m-b-30\">\r\n <div class=\"card-body\">\r\n\r\n <div class=\"w-100 d-flex align-items-start justify-content-between flex-wrap\">\r\n <div>\r\n <h4 class=\"mt-0 header-title\">"; echo $diller["adminpanel-text-60"]; echo "</h4>\r\n "; if ($yetki["uyelik"] == "1" && $yetki["ziyaretci_istatistik"] == "1") { echo " <p class=\"text-muted m-b-0 d-inline-block text-truncate w-100\" style=\"margin-bottom: 0;\">"; echo $diller["adminpanel-text-61"]; echo "</p>\r\n "; } echo " </div>\r\n "; if ($yetki["uyelik"] == "1" && $yetki["ziyaretci_istatistik"] == "1") { echo " <a href=\"pages.php?page=visitor_analytics\" class=\"text-pink\" style=\"font-weight: 400; font-size: 12px;\">\r\n <i class=\"fa fa-external-link-alt\"></i> "; echo $diller["adminpanel-text-62"]; echo " </a>\r\n "; } echo " </div>\r\n "; if ($yetki["uyelik"] == "1" && $yetki["ziyaretci_istatistik"] == "1") { echo " <div id=\"visitors-analytics-home\"></div>\r\n "; } else { echo " <div class=\"w-100 bg-light d-flex align-items-center justify-content-center flex-column\" style=\"padding: 20px;text-align: center; min-height:250px; border:2px dashed #ccc\">\r\n <i class=\"fa fa-exclamation-triangle\" style=\"font-size: 35px ; margin-bottom: 8px;\"></i>\r\n <h6>"; echo $diller["adminpanel-text-74"]; echo "</h6>\r\n </div>\r\n "; } echo " </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-5 \">\r\n\r\n\r\n <div class=\"card \">\r\n <div class=\"card-body text-center\">\r\n <h6 class=\"text-dark\"> "; echo $diller["adminpanel-text-68"]; echo "</h6>\r\n <div class=\"row\">\r\n "; if ($yetki["uyelik"] == "1" && $yetki["ziyaretci_istatistik"] == "1") { echo " <div class=\"col-md-12 text-center text-dark\" id=\"onlinever\" style=\"padding: 0px; margin: 0px\"></div>\r\n <script>\r\n \$('#onlinever').html('<div class=\"spinner-border text-success\" style=\"width:50px; height: 50px; margin:38px 0\" role=\"status\">\\n' +\r\n '<span class=\"sr-only\">Loading...</span>\\n' +\r\n '</div>');\r\n function veriler2(){ \$.get(\"inc/online.php\",function(data){ jQuery('#onlinever').html(data); }); }\r\n window.setInterval(\"veriler2()\",3000);\r\n </script>\r\n "; } else { echo " <div class=\"bg-light d-flex align-items-center justify-content-center flex-column\" style=\"padding: 20px;text-align: center; margin:20px; min-height:100px; border:2px dashed #ccc\">\r\n <i class=\"fa fa-exclamation-triangle\" style=\"font-size: 35px ; margin-bottom: 8px;\"></i>\r\n "; echo $diller["adminpanel-text-74"]; echo " </div>\r\n "; } echo " </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"card bg-white\">\r\n <div class=\"card-body d-flex align-items-start justify-content-start text-left row\">\r\n <div class=\"header-title col-md-12 mb-3 d-flex align-items-center justify-content-between flex-wrap\" style=\"font-weight: 600; border-bottom: 2px solid #fff; padding-bottom: 10px; \">\r\n "; echo $diller["adminpanel-text-69"]; echo " </div>\r\n "; if ($yetki["veriler"] == "1") { echo " <div id=\"home-veriler-java\" style=\"width: 100%\"></div>\r\n "; } else { echo " <div class=\"bg-light d-flex align-items-center justify-content-center flex-column\" style=\"padding: 20px; margin:0 20px; text-align: center; min-height:auto; border:2px dashed #ccc\">\r\n <i class=\"fa fa-exclamation-triangle\" style=\"font-size: 35px ; margin-bottom: 8px;\"></i>\r\n "; echo $diller["adminpanel-text-74"]; echo " </div>\r\n "; } echo " </div>\r\n </div>\r\n\r\n\r\n\r\n </div>\r\n </div>\r\n <div class=\"card\">\r\n <div class=\"d-flex p-2 pb-xl-4 pt-xl-4 flex-wrap\">\r\n\r\n\r\n <div class=\"mb-4 col-md-12\" >\r\n <div class=\"font-14 d-flex align-items-center justify-content-between\" style=\" font-weight: 600;\">\r\n "; echo $diller["adminpanel-text-75"]; echo " "; if ($yetki["siparis"] == "1" && $yetki["siparis_diger"] == "1") { echo " <a href=\"pages.php?page=order_reports\" class=\"text-pink\" style=\"font-weight: 400; font-size: 12px; \">\r\n <i class=\"fa fa-external-link-alt\"></i> "; echo $diller["adminpanel-text-62"]; echo " </a>\r\n "; } echo " </div>\r\n </div>\r\n "; if ($yetki["siparis"] == "1" && $yetki["siparis_diger"] == "1") { echo " <div id=\"home-order-data\" style=\"width: 100%; display: flex; flex-wrap: wrap\"></div>\r\n "; } else { echo " <div class=\"bg-light \" style=\" border:2px dashed #ccc; padding:20px; text-align: center; margin: 0 auto; margin-bottom: 20px; width: 97% !important; \">\r\n <i class=\"fa fa-exclamation-triangle\" style=\"font-size: 35px ; margin-bottom: 8px;\"></i><br>\r\n "; echo $diller["adminpanel-text-74"]; echo " </div>\r\n "; } echo "\r\n\r\n <div class=\"mb-4 col-md-12\" >\r\n <div class=\"font-14 d-flex align-items-center justify-content-between\" style=\" font-weight: 600;\">\r\n "; echo $diller["adminpanel-text-79"]; echo " "; if ($yetki["siparis"] == "1" && $yetki["siparis_diger"] == "1") { echo " <a href=\"pages.php?page=sale_reports\" class=\"text-pink\" style=\"font-weight: 400; font-size: 12px; \">\r\n <i class=\"fa fa-external-link-alt\"></i> "; echo $diller["adminpanel-text-62"]; echo " </a>\r\n "; } echo " </div>\r\n </div>\r\n "; if ($yetki["siparis"] == "1" && $yetki["siparis_diger"] == "1") { echo " <div id=\"home-sale-data\" style=\"width: 100%; display: flex; flex-wrap: wrap\"></div>\r\n "; } else { echo " <div class=\"bg-light \" style=\" border:2px dashed #ccc; padding:20px; text-align: center; margin: 0 auto; margin-bottom: 20px; width: 97% !important; \">\r\n <i class=\"fa fa-exclamation-triangle\" style=\"font-size: 35px ; margin-bottom: 8px;\"></i><br>\r\n "; echo $diller["adminpanel-text-74"]; echo " </div>\r\n "; } echo "\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- sağ taraf !-->\r\n <div class=\"col-xl-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body text-left \" >\r\n "; include "inc/template/bekleyen-isler.php"; echo " </div>\r\n </div>\r\n </div>\r\n <!-- <========SON=========>>> sağ taraf SON !-->\r\n </div>\r\n <!-- <========SON=========>>> Sol ve Sağ Blok SON !-->\r\n "; } echo "\r\n "; if ($panelayar["dash_siparis"] == "1") { echo " <div class=\"row\">\r\n\r\n\r\n <div class=\"col-md-8\">\r\n <div class=\"card \">\r\n <div class=\"card-body\">\r\n <div class=\"col-md-14 mb-3 d-flex align-items-center justify-content-between flex-wrap\">\r\n <div class=\"font-14\" style=\"font-weight: 600;\">\r\n "; echo $diller["adminpanel-text-89"]; echo " </div>\r\n "; if ($yetki["siparis"] == "1" && $yetki["siparis_yonet"] == "1") { echo " <a href=\"pages.php?page=orders\" class=\"btn btn-sm text-dark\" style=\"font-weight: 600; padding: 0;\">\r\n "; echo $diller["adminpanel-text-90"]; echo " </a>\r\n "; } echo " </div>\r\n <!-- Siparişler Tablosu !-->\r\n <div class=\"table-responsive \">\r\n "; if ($yetki["siparis"] == "1" && $yetki["siparis_yonet"] == "1") { $homeLastOrders = $db->prepare("select siparis_no,siparis_tarih,isim,soyisim,siparis_durum,odeme_tur,toplam_tutar,havale_toplamtutar,parabirimi from siparisler where onay=:onay order by id desc limit 7 "); $homeLastOrders->execute(["onay" => "1"]); echo " <table class=\"table table-hover mb-0 \">\r\n <thead class=\"thead-default\">\r\n <tr>\r\n <th>"; echo $diller["adminpanel-text-91"]; echo "</th>\r\n <th>"; echo $diller["adminpanel-text-92"]; echo "</th>\r\n <th>"; echo $diller["adminpanel-text-93"]; echo "</th>\r\n <th>"; echo $diller["adminpanel-text-94"]; echo "</th>\r\n <th>"; echo $diller["adminpanel-text-95"]; echo "</th>\r\n <th>"; echo $diller["adminpanel-text-96"]; echo "</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n "; foreach ($homeLastOrders as $orderRow) { $OdemeDurumu = $db->prepare("select baslik from siparis_durumlar where id='" . $orderRow["siparis_durum"] . "' and durum='1' "); $OdemeDurumu->execute(); $sipDurum = $OdemeDurumu->fetch(PDO::FETCH_ASSOC); echo " <tr >\r\n <th scope=\"row\" style=\"font-weight: 600;\"><a href=\"pages.php?page=order_detail&orderID="; echo $orderRow["siparis_no"]; echo "\" class=\"text-pink\"><u>#"; echo $orderRow["siparis_no"]; echo "</u></a></th>\r\n <td>"; echo $orderRow["isim"]; echo " "; echo $orderRow["soyisim"]; echo "</td>\r\n <td>\r\n "; if ($orderRow["odeme_tur"] == "1") { echo " "; echo $diller["adminpanel-text-97"]; echo " "; } echo " "; if ($orderRow["odeme_tur"] == "2") { echo " "; echo $diller["adminpanel-text-98"]; echo " "; } echo " "; if ($orderRow["odeme_tur"] == "3") { echo " "; echo $diller["adminpanel-text-99"]; echo " "; } echo " "; if ($orderRow["odeme_tur"] == "4") { echo " "; echo $diller["adminpanel-text-100"]; echo " "; } echo " "; if ($orderRow["odeme_tur"] == "free") { echo " "; echo $diller["adminpanel-text-342"]; echo " "; } echo " </td>\r\n <td style=\"font-weight: 500;\">\r\n "; if ($orderRow["odeme_tur"] == "2") { echo " "; echo number_format($orderRow["havale_toplamtutar"], 2); echo " "; echo $orderRow["parabirimi"]; echo " "; } else { echo " "; echo number_format($orderRow["toplam_tutar"], 2); echo " "; echo $orderRow["parabirimi"]; echo " "; } echo " </td>\r\n <td>"; echo $sipDurum["baslik"]; echo "</td>\r\n <td class=\"font-12 text-muted\">"; echo date_tr("j F Y, H:i", "" . $orderRow["siparis_tarih"] . ""); echo "</td>\r\n </tr>\r\n "; } echo " </tbody>\r\n </table>\r\n "; } else { echo " <div class=\"w-100 bg-light d-flex align-items-center justify-content-center flex-column\" style=\"padding: 20px;text-align: center; min-height:250px; border:2px dashed #ccc\">\r\n <i class=\"fa fa-exclamation-triangle\" style=\"font-size: 35px ; margin-bottom: 8px;\"></i>\r\n <h6>"; echo $diller["adminpanel-text-74"]; echo "</h6>\r\n </div>\r\n "; } echo " </div>\r\n <!-- <========SON=========>>> Siparişler Tablosu SON !-->\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"col-md-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"col-md-14 mb-3 d-flex align-items-center justify-content-between flex-wrap\">\r\n <div class=\"font-14\" style=\"font-weight: 600;\">\r\n "; echo $diller["adminpanel-text-101"]; echo "<i class=\"fa fa-info-circle float-right\" data-toggle=\"tooltip\" data-placement=\"top\" title=\""; echo $diller["adminpanel-text-104"]; echo "\"></i>\r\n <div class=\" text-muted mt-3 mb-4\" style=\"font-weight: 400; font-size: 13px ;\">\r\n "; echo $diller["adminpanel-text-102"]; echo " </div>\r\n </div>\r\n </div>\r\n "; if ($yetki["siparis"] == "1" && $yetki["siparis_diger"] == "1") { echo " <div id=\"order-type-pie\"></div>\r\n "; } else { echo " <div class=\"w-100 bg-light d-flex align-items-center justify-content-center flex-column\" style=\"padding: 20px;text-align: center; min-height:250px; border:2px dashed #ccc\">\r\n <i class=\"fa fa-exclamation-triangle\" style=\"font-size: 35px ; margin-bottom: 8px;\"></i>\r\n <h6>"; echo $diller["adminpanel-text-74"]; echo "</h6>\r\n </div>\r\n "; } echo "\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n "; } echo "\r\n "; if ($panelayar["dash_alt"] == "1") { echo " <div class=\"row\" >\r\n \r\n <div class=\"col-xl-4 todo_list\" >\r\n <div class=\"card\">\r\n <div class=\"card-body\" >\r\n <div class=\"col-md-14 mb-3 d-flex align-items-center justify-content-between flex-wrap\" >\r\n <div class=\"font-14\" style=\"font-weight: 600;\">\r\n "; echo $diller["adminpanel-text-10-2"]; echo " </div>\r\n <a href=\"pages.php?page=todo_list\" class=\"btn btn-sm text-dark\" style=\"font-weight: 600; padding: 0;\">\r\n "; echo $diller["adminpanel-text-90"]; echo " </a>\r\n </div>\r\n <form action=\"post.php?process=todopost\" method=\"post\">\r\n <div class=\"input-group custom-input mb-4\">\r\n <input type=\"text\" class=\"form-control todo-list-input\" placeholder=\""; echo $diller["adminpanel-text-105"]; echo "\" name=\"todo_value\" required autocomplete=\"off\">\r\n <span class=\"input-group-append\"></span>\r\n <button name=\"todoPost\" class=\"btn btn-primary add-new-todo-btn\">"; echo $diller["adminpanel-text-106"]; echo "</button>\r\n </div>\r\n </form>\r\n "; $todoCheck = $db->prepare("select * from panel_todo where admin_id=:admin_id order by id desc limit 5 "); $todoCheck->execute(["admin_id" => $adminRow["id"]]); echo " "; if ("0" < $todoCheck->rowCount()) { echo " "; foreach ($todoCheck as $todoRow) { echo " <div class=\"col-md-12 p-2 d-flex justify-content-between mb-3 bg-light\" style=\"border: 1px solid #EBEBEB;\">\r\n "; if ($todoRow["durum"] == "1") { echo " <a href=\"javascript:Void(0)\" class=\"rounded btn btn-success p-2 d-flex justify-content-center align-items-center\" style=\"font-size: 14px ; width: 40px\" data-toggle=\"tooltip\" data-placement=\"right\" title=\""; echo $diller["adminpanel-text-107"]; echo " / "; echo date_tr("j F Y, H:i ", "" . $todoRow["do_tarih"] . ""); echo "\">\r\n <i class=\"fa fa-check\" ></i>\r\n </a>\r\n "; } echo " "; if ($todoRow["durum"] == "0") { echo " <a href=\"#\" class=\"rounded btn btn-light border p-2 d-flex justify-content-center align-items-center gorev-tamamlandi\" style=\"background-color: #e3e6ea !important; font-size: 14px ; width: 40px\" data-code=\""; echo $todoRow["random_id"]; echo "\" data-toggle=\"tooltip\" data-placement=\"right\" title=\""; echo $diller["adminpanel-text-108"]; echo " \">\r\n <i class=\"fa fa-check\" ></i>\r\n </a>\r\n "; } echo " <div class=\"p-2\" style=\"font-size: 13px ; font-weight: 500; flex:1; margin-left: 10px;\">\r\n <div style=\"font-size: 11px ; color: #999;\" class=\"mb-1\">"; echo date_tr("j F Y, H:i ", "" . $todoRow["tarih"] . ""); echo "</div>\r\n "; echo $todoRow["baslik"]; echo " </div>\r\n <a href=\"\" data-href=\"post.php?process=todo_delete&todo=success&todo_no="; echo $todoRow["random_id"]; echo "\" data-toggle=\"modal\" data-target=\"#confirm-delete\" class=\"rounded bg-white text-pink p-2 d-flex align-items-center justify-content-center \" style=\"font-size: 14px ; font-weight: 600; border: 1px solid #EBEBEB; width: 50px\" >\r\n <i class=\"fa fa-trash-alt\" ></i>\r\n </a>\r\n </div>\r\n "; } echo " "; } else { echo " <div class=\"w-100 text-center p-4 \">\r\n <img src=\"assets/images/icon/todo.png\" class=\"img-fluid\" style=\"width: 150px\">\r\n <br><br>\r\n <h6>"; echo $diller["adminpanel-text-109"]; echo "</h6>\r\n "; echo $diller["adminpanel-text-110"]; echo " </div>\r\n "; } echo "\r\n </div>\r\n </div>\r\n "; if ($_SESSION["collepse_status"] == "todo_list") { echo " <script>\r\n \$(function(){\r\n \$('html, body').animate({\r\n scrollTop: \$('.todo_list').offset().top\r\n }, 100);\r\n return false;\r\n });\r\n </script>\r\n "; unset($_SESSION["collepse_status"]); echo " "; } echo " </div>\r\n\r\n <!-- end col -->\r\n\r\n <div class=\"col-xl-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <h4 class=\"mt-0 header-title mb-4\">"; echo $diller["adminpanel-text-112"]; echo "</h4>\r\n "; $hit5urun = $db->prepare("select * from urun where durum='1' order by hit desc limit 5 "); $hit5urun->execute(); echo " "; if ("0" < $hit5urun->rowCount()) { echo " "; foreach ($hit5urun as $hitRow) { echo " <div class=\"w-100 d-flex align-items-start justify-content-start mb-3\">\r\n <div style=\"width: 80px\">\r\n <img src=\"../images/product/"; echo $hitRow["gorsel"]; echo "\" class=\"img-fluid card-img border p-1\" style=\"max-height: 80px\">\r\n </div>\r\n <div class=\"col-md-8\">\r\n <div href=\"\" class=\"text-dark \" style=\"font-weight: 500;\">\r\n "; echo $hitRow["baslik"]; echo " </div>\r\n <div class=\"d-flex justify-content-start align-items-center mt-2\">\r\n <a href=\"pages.php?page=product_detail&productID="; echo $hitRow["id"]; echo "\" class=\"btn btn-sm btn-primary mr-1\" style=\"padding: 2px 6px;\" data-toggle=\"tooltip\" data-placement=\"top\" title=\""; echo $diller["adminpanel-text-115"]; echo "\">\r\n <i class=\"fa fa-pencil-alt\" style=\"font-size: 10px ;\" ></i>\r\n </a>\r\n <a href=\""; echo $ayar["site_url"]; echo $hitRow["seo_url"]; echo "-P"; echo $hitRow["id"]; echo "\" class=\"btn btn-sm btn-light border\" style=\"padding: 2px 6px;\" data-toggle=\"tooltip\" data-placement=\"top\" title=\""; echo $diller["adminpanel-text-116"]; echo "\" target=\"_blank\">\r\n <i class=\"fa fa-external-link-alt\" style=\"font-size: 10px ;\" ></i>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n "; } echo " "; } else { echo " <div class=\"w-100 text-center p-4 \">\r\n <img src=\"assets/images/icon/shops.png\" class=\"img-fluid\" style=\"width: 208px\">\r\n <br><br>\r\n <h6>"; echo $diller["adminpanel-text-113"]; echo "</h6>\r\n "; echo $diller["adminpanel-text-114"]; echo " </div>\r\n "; } echo " </div>\r\n </div>\r\n </div>\r\n <!-- end col -->\r\n\r\n <!-- Carousel !-->\r\n <div class=\"col-xl-4\">\r\n <div id=\"carousel\" class=\"carousel slide\" data-ride=\"carousel\" data-interval=\"3500\">\r\n <div class=\"carousel-inner\" role=\"listbox\">\r\n <div class=\"carousel-item active\">\r\n <div class=\"card bg-warning \">\r\n <div class=\"card-body ml-2 mr-2 \">\r\n <div class=\"text-dark-50\">\r\n <h5 class=\"text-dark\">"; echo $diller["adminpanel-text-117"]; echo "</h5>\r\n <p>"; echo $diller["adminpanel-text-118"]; echo "</p>\r\n <div>\r\n <a href=\"pages.php?page=newsletter\" class=\"btn btn-primary btn-sm mb-2 text-left\" style=\"width: 200px\"><i class=\"fa fa-envelope mr-2\"></i> "; echo $diller["adminpanel-text-119"]; echo "</a>\r\n <br>\r\n <a href=\"pages.php?page=multi_sms\" class=\"btn btn-primary btn-sm mb-2 text-left\" style=\"width: 200px\">\r\n <svg width=\"15px\" height=\"15px\" viewBox=\"0 0 16 16\" class=\"bi bi-phone-vibrate mr-2\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path fill-rule=\"evenodd\" d=\"M10 3H6a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM6 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H6z\"/>\r\n <path fill-rule=\"evenodd\" d=\"M8 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM1.599 4.058a.5.5 0 0 1 .208.676A6.967 6.967 0 0 0 1 8c0 1.18.292 2.292.807 3.266a.5.5 0 0 1-.884.468A7.968 7.968 0 0 1 0 8c0-1.347.334-2.619.923-3.734a.5.5 0 0 1 .676-.208zm12.802 0a.5.5 0 0 1 .676.208A7.967 7.967 0 0 1 16 8a7.967 7.967 0 0 1-.923 3.734.5.5 0 0 1-.884-.468A6.967 6.967 0 0 0 15 8c0-1.18-.292-2.292-.807-3.266a.5.5 0 0 1 .208-.676zM3.057 5.534a.5.5 0 0 1 .284.648A4.986 4.986 0 0 0 3 8c0 .642.12 1.255.34 1.818a.5.5 0 1 1-.93.364A5.986 5.986 0 0 1 2 8c0-.769.145-1.505.41-2.182a.5.5 0 0 1 .647-.284zm9.886 0a.5.5 0 0 1 .648.284C13.855 6.495 14 7.231 14 8c0 .769-.145 1.505-.41 2.182a.5.5 0 0 1-.93-.364C12.88 9.255 13 8.642 13 8c0-.642-.12-1.255-.34-1.818a.5.5 0 0 1 .283-.648z\"/>\r\n </svg>\r\n "; echo $diller["adminpanel-text-120"]; echo " </a>\r\n <br>\r\n <a href=\"pages.php?page=notifications\" class=\"btn btn-primary btn-sm text-left\" style=\"width: 200px\">\r\n <i class=\"fa fa-bell mr-2\"></i>\r\n "; echo $diller["adminpanel-text-121"]; echo "</a>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-11\">\r\n <div class=\"mt-4\">\r\n <img src=\"assets/images/icon/p-5.svg\" alt=\"\" class=\"img-fluid mx-auto d-block\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"carousel-item \">\r\n <div class=\"card bg-primary \">\r\n <div class=\"card-body ml-2 mr-2 \">\r\n <div class=\"text-white-50\">\r\n <h5 class=\"text-white\">"; echo $diller["adminpanel-text-122"]; echo "</h5>\r\n <p>"; echo $diller["adminpanel-text-123"]; echo "</p>\r\n <div>\r\n <a href=\"pages.php?page=coupons\" class=\"btn btn-warning btn-sm\">"; echo $diller["adminpanel-text-124"]; echo "</a>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-11\">\r\n <div class=\"mt-4\">\r\n <img src=\"assets/images/icon/widget-img.png\" alt=\"\" class=\"img-fluid mx-auto d-block\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"carousel-item \">\r\n <div class=\"card bg-dark \">\r\n <div class=\"card-body ml-2 mr-2 \">\r\n <div class=\"text-white-50\">\r\n <h5 class=\"text-white\">"; echo $diller["adminpanel-text-125"]; echo "</h5>\r\n <p>"; echo $diller["adminpanel-text-126"]; echo "</p>\r\n <div>\r\n <a href=\"pages.php?page=users\" class=\"btn btn-light btn-sm\">"; echo $diller["adminpanel-text-127"]; echo "</a>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-11\">\r\n <div class=\"mt-4\">\r\n <img src=\"assets/images/icon/p-1.svg\" alt=\"\" class=\"img-fluid mx-auto d-block\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"carousel-item \">\r\n <div class=\"card bg-info \">\r\n <div class=\"card-body ml-2 mr-2 \">\r\n <div class=\"text-white-50\">\r\n <h5 class=\"text-white\">"; echo $diller["adminpanel-text-128"]; echo "</h5>\r\n <p>"; echo $diller["adminpanel-text-129"]; echo "</p>\r\n <div>\r\n <a href=\"pages.php?page=todo_list\" class=\"btn btn-pink btn-sm\">"; echo $diller["adminpanel-text-130"]; echo "</a>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-11\">\r\n <div class=\"mt-4\">\r\n <img src=\"assets/images/icon/p-2.svg\" alt=\"\" class=\"img-fluid mx-auto d-block\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"carousel-item \">\r\n <div class=\"card bg-secondary \">\r\n <div class=\"card-body ml-2 mr-2 \">\r\n <div class=\"text-white-50\">\r\n <h5 class=\"text-white\">"; echo $diller["adminpanel-text-131"]; echo "</h5>\r\n <p>"; echo $diller["adminpanel-text-132"]; echo " </p>\r\n <div>\r\n <a href=\"pages.php?page=order_reports\" class=\"btn btn-pink btn-sm mb-2 text-left\" style=\"width: 200px\">"; echo $diller["adminpanel-text-133"]; echo "</a>\r\n <br>\r\n <a href=\"pages.php?page=sale_reports\" class=\"btn btn-pink btn-sm mb-2 text-left\" style=\"width: 200px\">"; echo $diller["adminpanel-text-134"]; echo "</a>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-11\">\r\n <div class=\"mt-4\">\r\n <img src=\"assets/images/icon/p-4.svg\" alt=\"\" class=\"img-fluid mx-auto d-block\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <a class=\"carousel-control-prev\" href=\"#carousel\" role=\"button\" data-slide=\"prev\">\r\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\r\n <span class=\"sr-only\">Previous</span>\r\n </a>\r\n <a class=\"carousel-control-next\" href=\"#carousel\" role=\"button\" data-slide=\"next\">\r\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\r\n <span class=\"sr-only\">Next</span>\r\n </a>\r\n </div>\r\n\r\n </div>\r\n <!-- <========SON=========>>> Carousel SON !-->\r\n <!-- end col -->\r\n </div>\r\n "; } echo "\r\n\r\n </div> <!-- end container-fluid -->\r\n </div>\r\n <!-- end wrapper -->\r\n\r\n "; if ($panelayar["footer_text"]) { echo " <!-- Footer -->\r\n <footer class=\"footer "; echo $panelayar["footer_bg"]; echo "\" >\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-12 "; echo $panelayar["footer_text_color"]; echo "\">\r\n "; echo $panelayar["footer_text"]; echo " </div>\r\n </div>\r\n </div>\r\n </footer>\r\n <!-- End Footer -->\r\n "; } echo " "; include "inc/template/footerlibs.php"; echo " </div>\r\n </body>\r\n</html>\r\n"; include "inc/template/all-modals.php"; echo "\r\n"; } else { header("Location:" . $ayar["site_panel_url"] . "login/"); } ?>
💾 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