📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
belediyescripti.demodesign.com.tr
/
yonetim
/
sayfalar
📝
proje_kategoriler.php
← Geri Dön
<?php $_SESSION["guvenlik"] = ["proje_kat_aktif" => kod(), "proje_kat_pasif" => kod(), "proje_kat_tumu" => kod(), "projekattumunusil" => kod(), "projekatsil" => kod()]; echo "<div class=\"page-header\">\r\n\t<div class=\"page-title mt-0 mb-0\">\r\n\t\t<h3>"; echo $admindil["txt47"]; 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["txt42"]; echo "</a></li>\r\n\t\t\t\t<li class=\"active\"><a href=\""; echo $sayfalink; echo "\">"; echo $admindil["txt47"]; 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=\"proje-kategori-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["txt48"]; echo "\t\t\t\t\t</a>\r\n\t\t\t\t\t<div class=\"dropdown mr-1\">\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=\"proje_kat_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=\"proje_kat_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=\"proje_kat_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\t<a href=\"../_class/yonetim_islem.php?projekattumunusil=ok\" title=\"Tüm Veriyi Sil\" class=\"btn btn-danger btn-sm mr-1 popconfirm\">\r\n\t\t\t\t\t\t<i class=\"ti-trash font-12\"></i> Tüm Veriyi Sil\r\n\t\t\t\t\t</a>\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;\">ID</th>\r\n\t\t\t\t\t\t\t\t<th>Başlık</th>\r\n\t\t\t\t\t\t\t\t<th>SEF Url</th>\r\n\t\t\t\t\t\t\t\t<th style=\"width:70px;\">Durum</th>\r\n\t\t\t\t\t\t\t\t<th style=\"width:115px;\">İş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 id=\"sortable\"></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<script>\r\n \$(document).ready(function () {\r\n\r\n\t var dataTable = \$('#order-listingg').DataTable({\r\n\t \"processing\": true,\r\n\t \"serverSide\": true,\r\n\t \"ajax\": {\r\n\t url: \"data/proje_kategoriler.php\",\r\n\t type: \"post\"\r\n\t },\r\n\t\t\t\"order\": [[ 1, \"asc\" ]],\r\n\t \"aLengthMenu\": [\r\n\t\t\t\t[5, 10, 15, "; echo tumu("proje_kategori"); echo "],\r\n\t\t\t\t[5, 10, 15, \"Tümü\"]\r\n\t ],\r\n\t \"columnDefs\": [\r\n\t\t\t\t{ \"orderable\": false, \"targets\": [0, 5]},\r\n\t\t\t\t{ \"targets\": [ 1 ],\"visible\": false },\r\n\t\t\t\t{ \"className\": \"secili\", targets: [1, 2, 3] },\r\n\t\t\t\t{ \"className\": \"secili text-center\", targets: [4] },\r\n\t\t\t\t{ \"className\": \"text-center\", targets: [5] }\r\n\t ],\r\n\t \"iDisplayLength\": 10,\r\n\t \"language\": {\r\n\t \"url\": \"js/Turkish.json\"\r\n\t },\r\n\t\t\t\"fnCreatedRow\": function( nRow, aData, iDataIndex ) {\r\n\t\t\t\t\$(nRow).attr('id', 'item-'+aData[1]);\r\n\t\t\t},\r\n\t \"fnDrawCallback\": function (oSettings) {\r\n\t console.log(oSettings);\r\n\r\n\t \$(\".popconfirm\").popConfirm();\r\n\t }\r\n\t });\r\n\r\n\r\n\r\n\t\t\$('#order-listingg').on('click', 'tbody tr td.secili', function(event) {\t\r\n\t\t\t\$(this).closest(\"tr\").find(\"td:eq(0)\").find(\"input[type=checkbox]\").trigger('click');\r\n\t\t\tif(\$(this).closest(\"tr\").find(\"input[type=checkbox]\").prop(\"checked\")){\r\n\t\t\t\t\$(this).closest(\"tr\").addClass('highlight');\r\n\t\t\t}else{\r\n\t\t\t\t\$(this).closest(\"tr\").removeClass('highlight');\r\n\t\t\t}\r\n\t\t});\r\n\t\t\$(\".select-all\").click(function () {\r\n\t\t\t\$(\"input:checkbox\").not(this).prop('checked', this.checked);\r\n\r\n\t\t\tif(this.checked){\r\n\t\t\t\t\$(\"input:checkbox\").not(this).closest(\"tr\").addClass('highlight');\r\n\t\t\t}else{\r\n\t\t\t\t\$(\"input:checkbox\").not(this).closest(\"tr\").removeClass('highlight');\r\n\t\t\t}\t\t\t\r\n\t\t});\r\n\t});\r\n</script>\r\n<style type=\"text/css\">\r\n.secili{\r\n\tcursor:move;\r\n}\r\n</style>\r\n<script src=\"vendors/js/jquery-ui.min.js\"></script>\r\n<script type=\"text/javascript\">\r\n\$(function(){\r\n\t\$(\"#sortable\").sortable({\r\n\t\trevert: true,\r\n\t\thandle: \".secili\",\r\n\t\tstop: function(event, ui){\r\n\t\t\tvar data = \$(this).sortable('serialize');\r\n\t\t\t\r\n\t\t\t\$.ajax({\r\n\t\t\t\ttype: \"POST\",\r\n\t\t\t\tdataType: \"json\",\r\n\t\t\t\tdata: data,\r\n\t\t\t\turl: \"../_class/yonetim_islem.php?projekatsiralama=sira\",\r\n\t\t\t\tsuccess: function(msg){\r\n\t\t\t\t\tif(msg.islemMsj == \"Güncellendi\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\$.toast({\r\n\t\t\t\t\t\t heading: 'Başarılı!',\r\n\t\t\t\t\t\t text: msg.islemMsj,\r\n\t\t\t\t\t\t showHideTransition: 'slide',\r\n\t\t\t\t\t\t icon: 'success',\r\n\t\t\t\t\t\t loaderBg: '#fff',\r\n\t\t\t\t\t\t position: 'top-right'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(msg.islemMsj == \"İşlem başarısız\")\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\$.toast({\r\n\t\t\t\t\t\t heading: 'Hata',\r\n\t\t\t\t\t\t text: msg.islemMsj,\r\n\t\t\t\t\t\t showHideTransition: 'slide',\r\n\t\t\t\t\t\t icon: 'error',\r\n\t\t\t\t\t\t loaderBg: '#fff',\r\n\t\t\t\t\t\t position: 'top-right'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t});\r\n\t\t}\r\n\t});\r\n\t\$(\"#sortable\").disableSelection();\r\n});\r\n</script>\r\n"; mesaj("proje_kategori_ekle", 1, "yes", "Başarı ile eklenmiştir."); mesaj("projekatsil", 1, "yes", "Başarı ile silinmiştir."); mesaj("projekatsil", 2, "no", "Hata oluştu tekrar deneyiniz.!"); mesaj("proje_kat_tumu", 1, "yes", "Seçilen kayıtlar başarıyla silinmiştir."); mesaj("proje_kat_tumu", 2, "no", "Hata oluştu tekrar deneyiniz.!"); mesaj("projekattumunusil", 1, "yes", "Tüm kayıtlar başarıyla silinmiştir."); mesaj("projekattumunusil", 2, "no", "Hata oluştu tekrar deneyiniz.!"); mesaj("proje_kat_aktif", 1, "yes", "Bilgileriniz başarıyla güncellendi."); mesaj("proje_kat_aktif", 2, "no", "Hata oluştu tekrar deneyiniz.!"); mesaj("proje_kat_pasif", 1, "yes", "Bilgileriniz başarıyla güncellendi."); mesaj("proje_kat_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."); ?>
💾 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