<?php


echo "<div class=\"page-header\">\r\n\t<div class=\"page-title mt-0 mb-0\">\r\n\t\t<h3>";
echo $admindil["txt27"];
echo "</h3>\r\n\t\t<div class=\"crumbs\">\r\n\t\t\t<ul id=\"breadcrumbs\" class=\"breadcrumb\">\r\n\t\t\t\t<li><a href=\"index.html\"><i class=\"icon-home menu-icon\"></i></a></li>\r\n\t\t\t\t<li><a href=\"";
echo $sayfalink;
echo "\">";
echo $admindil["txt26"];
echo "</a></li>\r\n\t\t\t\t<li class=\"active\"><a href=\"";
echo $sayfalink;
echo "\">";
echo $admindil["txt27"];
echo "</a></li>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n<div class=\"card\">\r\n\t<form action=\"../_class/yonetim_islem.php\" method=\"POST\">\r\n\t<div class=\"card-body\">\r\n\t\t<div class=\"row mb-3\">\r\n\t\t\t<div class=\"col-lg-12\">\r\n\t\t\t\t<div class=\"btn-toolbar\" role=\"toolbar\">\t\t\t\t\t\r\n\t\t\t\t\t<a href=\"rehber-ekle.html\" class=\"btn btn-primary btn-sm mr-1\">\r\n\t\t\t\t\t\t<i class=\"icon-plus font-12\"></i> ";
echo $admindil["txt28"];
echo "\t\t\t\t\t</a>\r\n\t\t\t\t\t<div class=\"dropdown\">\r\n\t\t\t\t\t\t<button class=\"btn btn-primary btn-sm dropdown-toggle\" type=\"button\" id=\"dropdownMenuSizeButton3\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\r\n\t\t\t\t\t\t\t<i class=\"icon-options-vertical font-12\"></i> Seçilenlere Uygula\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t<div class=\"dropdown-menu p-0 min-width-full\" aria-labelledby=\"dropdownMenuSizeButton3\">\r\n\t\t\t\t\t\t\t<button class=\"dropdown-item p-2 cursor-pointer\" type=\"submit\" name=\"rehber_aktif\"><i class=\"icon-check\"></i> Seçilenleri Aktif Et</button>\r\n\t\t\t\t\t\t\t<button class=\"dropdown-item p-2 cursor-pointer\" type=\"submit\" name=\"rehber_pasif\"><i class=\"icon-close\"></i> Seçilenleri Pasif Et</button>\r\n\t\t\t\t\t\t\t<button class=\"dropdown-item p-2 cursor-pointer\" type=\"submit\" name=\"rehber_tumu\"><i class=\"icon-trash\"></i> Seçilenleri Sil</button>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t\r\n\t\t<div class=\"row\">\r\n\t\t\t<div class=\"col-12\">\r\n\t\t\t\t<div class=\"table-responsive\">\r\n\t\t\t\t\t<table id=\"order-listingg\" class=\"table table-bordered table-hover\">\r\n\t\t\t\t\t\t<thead class=\"headbg\">\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<th class=\"noshort\" style=\"width:20px;\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Tümünü Seç\">\r\n\t\t\t\t\t\t\t\t\t<input id=\"checkbox-4\" class=\"select-all checkbox-custom\" type=\"checkbox\" style=\"width:100px;\">\r\n\t\t\t\t\t\t\t\t\t<label for=\"checkbox-4\" class=\"checkbox-custom-label mb-0\"><span class=\"checktext\"></span></label>\r\n\t\t\t\t\t\t\t\t</th>\r\n\t\t\t\t\t\t\t\t<th style=\"width:30px;\">Sıra</th>\r\n\t\t\t\t\t\t\t\t<th>Adı Soyadı</th>\r\n\t\t\t\t\t\t\t\t<th>E-Posta</th>\r\n\t\t\t\t\t\t\t\t<th>Telefon</th>\r\n\t\t\t\t\t\t\t\t<th>Oluşturma Tarihi</th>\r\n\t\t\t\t\t\t\t\t<th style=\"width:70px;\" class=\"text-center\">Durum</th>\r\n\t\t\t\t\t\t\t\t<th style=\"width:90px;\" class=\"text-center\">İşlem</th>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</thead>\r\n\t\t\t\t\t\t<tbody></tbody>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n\t</form>\r\n</div>\r\n<!-- content-wrapper ends -->\r\n<script>\r\n\$(document).ready(function(){\r\n\tvar dataTable=\$('#order-listingg').DataTable({\r\n\t\t\"processing\": true,\r\n\t\t\"serverSide\":true,\r\n\t\t\"ajax\":{\r\n\t\t\turl:\"data/rehberim.php\",\r\n\t\t\ttype:\"post\"\r\n\t\t},\r\n\t\t\"aLengthMenu\": [\r\n\t\t\t[5, 10, 15, ";
echo tumu("rehber", 2);
echo "],\r\n\t\t\t[5, 10, 15, \"Tümü\"]\r\n\t\t],\r\n\t\t\"columnDefs\": [\r\n\t\t\t{ \"orderable\": false, \"targets\": [0, 7] },\r\n\t\t\t{  \"className\": \"secili\", targets: [1, 2, 3, 4, 5] },\r\n\t\t\t{  \"className\": \"secili text-center\", targets: [6] },\r\n\t\t\t{  \"className\": \"text-center\", targets: [7] }\r\n\t\t],\r\n\t\t\"iDisplayLength\": 10,\r\n\t\t\"language\": {\r\n\t\t\t\"url\":\"js/Turkish.json\"\r\n\t\t},\r\n\t\t\"fnDrawCallback\": function( oSettings ) {\r\n\t\t\$(\".popconfirm\").popConfirm();\r\n\t\t}\r\n\t});\r\n\t\$('#order-listingg').on('click', 'tbody tr td.secili', function(event) {\t\r\n\t\t\$(this).closest(\"tr\").find(\"td:eq(0)\").find(\"input[type=checkbox]\").trigger('click');\r\n\t\tif(\$(this).closest(\"tr\").find(\"input[type=checkbox]\").prop(\"checked\")){\r\n\t\t\t\$(this).closest(\"tr\").addClass('highlight');\r\n\t\t}else{\r\n\t\t\t\$(this).closest(\"tr\").removeClass('highlight');\r\n\t\t}\r\n\t});\r\n\t\$(\".select-all\").click(function () {\r\n\t\t\$(\"input:checkbox\").not(this).prop('checked', this.checked);\r\n\r\n\t\tif(this.checked){\r\n\t\t\t\$(\"input:checkbox\").not(this).closest(\"tr\").addClass('highlight');\r\n\t\t}else{\r\n\t\t\t\$(\"input:checkbox\").not(this).closest(\"tr\").removeClass('highlight');\r\n\t\t}\t\t\t\r\n\t});\r\n});\r\n</script>\r\n";
mesaj("rehber_ekle", 1, "yes", "Başarı ile eklenmiştir.");
mesaj("rehbersil", 1, "yes", "Başarı ile silinmiştir.");
mesaj("rehbersil", 2, "no", "Hata oluştu tekrar deneyiniz.!");
mesaj("rehber_tumu", 1, "yes", "Seçilen kayıtlar başarıyla silinmiştir.");
mesaj("rehber_tumu", 2, "no", "Hata oluştu tekrar deneyiniz.!");
mesaj("rehber_aktif", 1, "yes", "Bilgileriniz başarıyla güncellendi.");
mesaj("rehber_aktif", 2, "no", "Hata oluştu tekrar deneyiniz.!");
mesaj("rehber_pasif", 1, "yes", "Bilgileriniz başarıyla güncellendi.");
mesaj("rehber_pasif", 2, "no", "Hata oluştu tekrar deneyiniz.!");
mesaj("secim", 3, "secimyok", "Hiç bir şey seçmediniz. Lütfen işlem yapmak istediğiniz eylemi ve ID leri seçin.");


?>