Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php $_SESSION["guvenlik"] = ["haber_ekle" => kod()]; if (isset($_GET["islem"]) == ..

Decoded Output download

<?php 
 
 
$_SESSION["guvenlik"] = ["haber_ekle" => kod()]; 
if (isset($_GET["islem"]) == "duzenle") { 
    $durum = "duzenle"; 
    $Sorgu = $db->prepare("SELECT * FROM haberler WHERE id = ?"); 
    $Sorgu->execute([$_GET["id"]]); 
    if ($Sorgu->rowCount()) { 
        $Sonuc = $Sorgu->fetch(PDO::FETCH_ASSOC); 
        $_SESSION["guvenlik"] = ["haber_guncelle" => kod(), "haberresimsil" => kod()]; 
    } else { 
        header("Location:" . $url . "/404.html"); 
        unset($_SESSION["guvenlik"]); 
        exit; 
    } 
} 
echo "<div class=\"page-header\">
	<div class=\"page-title mt-0 mb-0\">
		<h3>"; 
echo $admindil["txt78"]; 
echo "</h3>
		<div class=\"crumbs\">
			<ul id=\"breadcrumbs\" class=\"breadcrumb\">
				<li><a href=\"index.html\"><i class=\"icon-home menu-icon\"></i></a></li>
				<li><a href=\""; 
echo $sayfalink; 
echo "\">"; 
echo $admindil["txt77"]; 
echo "</a></li>
				<li class=\"active\"><a href=\""; 
echo $sayfalink; 
echo "\">"; 
echo $admindil["txt78"]; 
echo "</a></li>
			</ul>
		</div>
	</div>
</div>
<div class=\"row\">
	<div class=\"col-md-12 grid-margin\">
		<div class=\"card\">
			<div class=\"card-body\">
				<form class=\"forms-sample\" method=\"post\" action=\"../_class/yonetim_islem.php\" enctype=\"multipart/form-data\">
				<input id=\"id\" name=\"id\" type=\"hidden\" value=\""; 
echo $Sonuc["id"]; 
echo "\">
					<div class=\"form-group\">
						<label for=\"sira\">Sra</label>
						<input type=\"number\" class=\"form-control form-control-sm\" min=\"0\" name=\"sira\" id=\"sira\" value=\""; 
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["sira"] : ""; 
echo "\" />
					</div>
					<div class=\"form-group\">
						<label for=\"adi\">Balk <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"Proje adnda tamamen BYK harf kullanmayn. 70 karakterden uzun balklar Google indexlemede gstermez ve deerlendirmez. Bu nedenle uzun balklar kullanmaktan kann. Balklarda ift trnak kesinlikle kullanmayn.\" data-trigger=\"hover\" data-original-title=\"Balk\"></i></label>
						<input type=\"text\" class=\"form-control form-control-sm\" name=\"adi\" id=\"adi\" value=\""; 
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["adi"] : ""; 
echo "\" />
					</div>

					<div class=\"row\">
						<div class=\"form-group col-md-6\">
							<label for=\"kategori\">Kategori</label>
							<select class=\"js-example-basic-single form-control-sm\" name=\"kategori\" id=\"kategori\" required style=\"width:100%\">
							"; 
$KATEGORISorgu = $db->prepare("SELECT * FROM haber_kategori WHERE durum = ? AND dil = ? ORDER BY id ASC"); 
$KATEGORISorgu->execute(["1", $_SESSION["admin_dil"]]); 
$KATEGORIislem = $KATEGORISorgu->fetchALL(PDO::FETCH_ASSOC); 
echo "								"; 
foreach ($KATEGORIislem as $KATEGORISonuc) { 
    echo "								<option value=\""; 
    echo $KATEGORISonuc["id"]; 
    echo "\" "; 
    echo $Sonuc["kategori"] == $KATEGORISonuc["id"] ? "selected" : ""; 
    echo ">"; 
    echo $KATEGORISonuc["adi"]; 
    echo "</option>
								"; 
} 
echo "							</select>
						</div>
						<div class=\"form-group col-md-6\">
							<label for=\"videoid\">YouTube Video ID <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"Haber ieriinizin haber detay grseli alannda grsel yerine, haberin videosunu gsterebilirsiniz. Bunun iin Youtube'a yklediiniz videonuzun sadece ID numarasn bu alana yaptrmanz yeterlidir. (r: https://www.youtube.com/watch?v=TqeSxMdnEQE adresindeki videonun ID'si v= sorasndaki ID numarasdr. TqeSxMdnEQE eklenmesi yeterlidir.)\" data-trigger=\"hover\" data-original-title=\"YouTube Video ID\"></i></label>
							<input type=\"text\" class=\"form-control form-control-sm\" name=\"videoid\" id=\"videoid\" value=\""; 
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["videoid"] : ""; 
echo "\" />
						</div>
						<div class=\"form-group col-md-6\">
							<label>Yayn Tarihi <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"eriin ilk eklendii tarihtir. Sistem ekleme srasnda otomatik olarak verir. Dilerseniz tarihi deitirebilirsiniz.\" data-trigger=\"hover\" data-original-title=\"Yayn Tarihi\"></i></label>
							<div class=\"input-group\">
								<input type=\"text\" autocomplete=\"off\" name=\"tarih\" value=\""; 
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["tarih"] : date("d-m-Y H:i"); 
echo "\" class=\"form-control form-control-sm date-timepicker\" />
								<span class=\"input-group-addon input-group-append border-left\" style=\"height: 35px;\">
								  <span class=\"mdi mdi-calendar input-group-text\"></span>
								</span>
							</div>
						</div>
							
						<div class=\"form-group col-md-6\">
							<label>Gncelleme Tarihi <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"eriinizde gncelleme yaptysanz takvim simgesine tklayarak gncelleme tarihini belirtmeniz gerekir. lk ierik giriinde yayn tarih ve saatiyle ayn seilmesinde yarar vardr.\" data-trigger=\"hover\" data-original-title=\"Gncelleme Tarihi\"></i></label>
							<div class=\"input-group\">
								<input type=\"text\" autocomplete=\"off\" name=\"tarihg\" value=\""; 
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["tarihg"] : ""; 
echo "\" class=\"form-control form-control-sm date-timepicker\" />
								<span class=\"input-group-addon input-group-append border-left\" style=\"height: 35px;\">
								  <span class=\"mdi mdi-calendar input-group-text\"></span>
								</span>
							</div>
						</div>
					</div>
					"; 
if (isset($_GET["islem"]) == "duzenle") { 
    echo "							
						"; 
    if ($Sonuc["resim"]) { 
        echo "						<div class=\"form-group row col-md-2\">
							<div id=\"lightgallery\" class=\"row lightGallery\">
								<a href=\"../"; 
        echo tema; 
        echo "/uploads/haberler/"; 
        echo $Sonuc["resim"]; 
        echo "\"><img src=\"../"; 
        echo tema; 
        echo "/uploads/haberler/"; 
        echo $Sonuc["resim"]; 
        echo "\" class=\"img-responsive img-thumbnail\" style=\"margin-bottom:2px;width:100%;\"></a>
							</div>
							<a style=\"width: 100%;\" class=\"btn btn-danger btn-sm popconfirm\" title=\"Resim Sil\" href=\"../_class/yonetim_islem.php?haberresimsil=ok&sid="; 
        echo $Sonuc["id"]; 
        echo "\"><i class=\"fal fa-trash\"></i> Resim Sil</a>
						</div>
						"; 
    } 
    echo "							
					"; 
} 
echo "					<div class=\"form-group row col-md-6\">
					<label>Listeleme Grseli</label>
						<input type=\"file\" name=\"resim\" class=\"file-upload-default\">
						<div class=\"input-group col-xs-12\">
							<input type=\"text\" class=\"form-control file-upload-info form-control-sm\" disabled=\"\" placeholder=\"Resim dosyas seiniz\">
							<span class=\"input-group-append\">
								<button class=\"file-upload-browse btn btn-primary btn-sm\" type=\"button\"><i class=\"icon-cloud-upload font-12\"></i> Dosya Se</button>
							</span>
						</div>
					</div>
					<div class=\"form-group mb-2\">						
						"; 
if (isset($_GET["islem"]) == "duzenle") { 
    echo "						<label class=\"switch\">
							<input type=\"checkbox\" name=\"durum\" id=\"durum\" value=\"1\" "; 
    if ($Sonuc["durum"] == "1") { 
        echo " checked "; 
    } 
    echo ">
							<span class=\"slider\"></span>
						</label>
						"; 
} else { 
    echo "						<label class=\"switch\">
							<input type=\"checkbox\" name=\"durum\" id=\"durum\" value=\"1\" checked>
							<span class=\"slider\"></span>
						</label>
						"; 
} 
echo "						<label class=\"d-inline-block\" style=\"line-height: 34px;\" for=\"durum\">Durum</label>						
					</div>
					<div class=\"form-group mb-2\">						
						"; 
if (isset($_GET["islem"]) == "duzenle") { 
    echo "						<label class=\"switch\">
							<input type=\"checkbox\" name=\"manset\" id=\"manset\" value=\"1\" "; 
    if ($Sonuc["manset"] == "1") { 
        echo " checked "; 
    } 
    echo ">
							<span class=\"slider\"></span>
						</label>
						"; 
} else { 
    echo "						<label class=\"switch\">
							<input type=\"checkbox\" name=\"manset\" id=\"manset\" value=\"1\" checked>
							<span class=\"slider\"></span>
						</label>
						"; 
} 
echo "	
						<label class=\"d-inline-block\" style=\"line-height: 34px;\" for=\"manset\">Manette Gster</label>
					</div>
					<div class=\"form-group mb-2\">						
						"; 
if (isset($_GET["islem"]) == "duzenle") { 
    echo "						<label class=\"switch\">
							<input type=\"checkbox\" name=\"manset_yani\" id=\"manset_yani\" value=\"1\" "; 
    if ($Sonuc["manset_yani"] == "1") { 
        echo " checked "; 
    } 
    echo ">
							<span class=\"slider\"></span>
						</label>
						"; 
} else { 
    echo "						<label class=\"switch\">
							<input type=\"checkbox\" name=\"manset_yani\" id=\"manset_yani\" value=\"1\" checked>
							<span class=\"slider\"></span>
						</label>
						"; 
} 
echo "	
						<label class=\"d-inline-block\" style=\"line-height: 34px;\" for=\"manset_yani\">Manet Yan</label>
					</div>
					<div class=\"form-group\">
						<label for=\"spot\">Spot Metin <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"Spot metin, ieriinizi zetleyen bir ya da iki cmlelik metindir. 180 karakteri gememesi gerekmektedir.  Spot metinde de tamamen BYK harften kanmal ve ift trnak kullanlmamaldr.\" data-trigger=\"hover\" data-original-title=\"Spot Metin\"></i></label>
						<textarea id=\"spot\" name=\"spot\" class=\"form-control\" rows=\"4\">"; 
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["spot"] : ""; 
echo "</textarea>
					</div>
					<div class=\"form-group\">
						<label for=\"myTextarea\">erik</label>
						<textarea name=\"aciklama\" id=\"myTextarea\">"; 
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["aciklama"] : ""; 
echo "</textarea>
					</div>
					<div class=\"card mb-4\">
						<div class=\"card-header\">
							SEO AYARLARI
						</div>
						<div class=\"card-body\">
							<div class=\"form-group\">
								<label for=\"maxlength-textarea\">SEO Aklama (Description)</label>
								<textarea id=\"maxlength-textarea\" name=\"description\"  class=\"form-control\" maxlength=\"260\" rows=\"2\">"; 
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["description"] : ""; 
echo "</textarea>
							</div>
							<div class=\"form-group mb-0\">
								<label for=\"tags\">SEO Kelimeler (Keywords) <small>(Kelimenin sonuna virgl koyunuz)</small></label>
								<input name=\"keywords\" id=\"tags\" value=\""; 
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["keywords"] : ""; 
echo "\" />
							</div>							
						</div>
					</div>
					"; 
if (isset($_GET["islem"]) == "duzenle") { 
    echo "					<button type=\"submit\" name=\"haber_guncelle\" class=\"btn btn-success btn-icon-text btn-sm\">
						<i class=\"mdi mdi-reload  btn-icon-prepend\"></i>                                                    
						GNCELLE
					</button>
					"; 
} else { 
    echo "					<button type=\"submit\" name=\"haber_ekle\" class=\"btn btn-primary btn-icon-text btn-sm\">
						<i class=\"mdi mdi-file-check btn-icon-prepend\"></i>
						KAYDET
					</button>
					"; 
} 
echo "				</form>
			</div>
		</div>
	</div>

</div>
"; 
mesaj("haber_ekle", 2, "no", "Hata olutu tekrar deneyiniz.!"); 
mesaj("haber_guncelle", 1, "yes", "Baar ile guncellenmitir."); 
mesaj("haber_guncelle", 2, "no", "Hata olutu tekrar deneyiniz.!"); 
mesaj("haberresimsil", 1, "yes", "Baar ile siinmitir."); 
mesaj("haberresimsil", 2, "no", "Hata olutu tekrar deneyiniz.!"); 
echo "		
"; 
 
 
?>

Did this file decode correctly?

Original Code

<?php


$_SESSION["guvenlik"] = ["haber_ekle" => kod()];
if (isset($_GET["islem"]) == "duzenle") {
    $durum = "duzenle";
    $Sorgu = $db->prepare("SELECT * FROM haberler WHERE id = ?");
    $Sorgu->execute([$_GET["id"]]);
    if ($Sorgu->rowCount()) {
        $Sonuc = $Sorgu->fetch(PDO::FETCH_ASSOC);
        $_SESSION["guvenlik"] = ["haber_guncelle" => kod(), "haberresimsil" => kod()];
    } else {
        header("Location:" . $url . "/404.html");
        unset($_SESSION["guvenlik"]);
        exit;
    }
}
echo "<div class=\"page-header\">\r\n\t<div class=\"page-title mt-0 mb-0\">\r\n\t\t<h3>";
echo $admindil["txt78"];
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["txt77"];
echo "</a></li>\r\n\t\t\t\t<li class=\"active\"><a href=\"";
echo $sayfalink;
echo "\">";
echo $admindil["txt78"];
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=\"row\">\r\n\t<div class=\"col-md-12 grid-margin\">\r\n\t\t<div class=\"card\">\r\n\t\t\t<div class=\"card-body\">\r\n\t\t\t\t<form class=\"forms-sample\" method=\"post\" action=\"../_class/yonetim_islem.php\" enctype=\"multipart/form-data\">\r\n\t\t\t\t<input id=\"id\" name=\"id\" type=\"hidden\" value=\"";
echo $Sonuc["id"];
echo "\">\r\n\t\t\t\t\t<div class=\"form-group\">\r\n\t\t\t\t\t\t<label for=\"sira\">Sra</label>\r\n\t\t\t\t\t\t<input type=\"number\" class=\"form-control form-control-sm\" min=\"0\" name=\"sira\" id=\"sira\" value=\"";
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["sira"] : "";
echo "\" />\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"form-group\">\r\n\t\t\t\t\t\t<label for=\"adi\">Balk <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"Proje adnda tamamen BYK harf kullanmayn. 70 karakterden uzun balklar Google indexlemede gstermez ve deerlendirmez. Bu nedenle uzun balklar kullanmaktan kann. Balklarda ift trnak kesinlikle kullanmayn.\" data-trigger=\"hover\" data-original-title=\"Balk\"></i></label>\r\n\t\t\t\t\t\t<input type=\"text\" class=\"form-control form-control-sm\" name=\"adi\" id=\"adi\" value=\"";
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["adi"] : "";
echo "\" />\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t\t<div class=\"form-group col-md-6\">\r\n\t\t\t\t\t\t\t<label for=\"kategori\">Kategori</label>\r\n\t\t\t\t\t\t\t<select class=\"js-example-basic-single form-control-sm\" name=\"kategori\" id=\"kategori\" required style=\"width:100%\">\r\n\t\t\t\t\t\t\t";
$KATEGORISorgu = $db->prepare("SELECT * FROM haber_kategori WHERE durum = ? AND dil = ? ORDER BY id ASC");
$KATEGORISorgu->execute(["1", $_SESSION["admin_dil"]]);
$KATEGORIislem = $KATEGORISorgu->fetchALL(PDO::FETCH_ASSOC);
echo "\t\t\t\t\t\t\t\t";
foreach ($KATEGORIislem as $KATEGORISonuc) {
    echo "\t\t\t\t\t\t\t\t<option value=\"";
    echo $KATEGORISonuc["id"];
    echo "\" ";
    echo $Sonuc["kategori"] == $KATEGORISonuc["id"] ? "selected" : "";
    echo ">";
    echo $KATEGORISonuc["adi"];
    echo "</option>\r\n\t\t\t\t\t\t\t\t";
}
echo "\t\t\t\t\t\t\t</select>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"form-group col-md-6\">\r\n\t\t\t\t\t\t\t<label for=\"videoid\">YouTube Video ID <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"Haber ieriinizin haber detay grseli alannda grsel yerine, haberin videosunu gsterebilirsiniz. Bunun iin Youtube'a yklediiniz videonuzun sadece ID numarasn bu alana yaptrmanz yeterlidir. (r: https://www.youtube.com/watch?v=TqeSxMdnEQE adresindeki videonun ID'si v= sorasndaki ID numarasdr. TqeSxMdnEQE eklenmesi yeterlidir.)\" data-trigger=\"hover\" data-original-title=\"YouTube Video ID\"></i></label>\r\n\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control form-control-sm\" name=\"videoid\" id=\"videoid\" value=\"";
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["videoid"] : "";
echo "\" />\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"form-group col-md-6\">\r\n\t\t\t\t\t\t\t<label>Yayn Tarihi <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"eriin ilk eklendii tarihtir. Sistem ekleme srasnda otomatik olarak verir. Dilerseniz tarihi deitirebilirsiniz.\" data-trigger=\"hover\" data-original-title=\"Yayn Tarihi\"></i></label>\r\n\t\t\t\t\t\t\t<div class=\"input-group\">\r\n\t\t\t\t\t\t\t\t<input type=\"text\" autocomplete=\"off\" name=\"tarih\" value=\"";
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["tarih"] : date("d-m-Y H:i");
echo "\" class=\"form-control form-control-sm date-timepicker\" />\r\n\t\t\t\t\t\t\t\t<span class=\"input-group-addon input-group-append border-left\" style=\"height: 35px;\">\r\n\t\t\t\t\t\t\t\t  <span class=\"mdi mdi-calendar input-group-text\"></span>\r\n\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t<div class=\"form-group col-md-6\">\r\n\t\t\t\t\t\t\t<label>Gncelleme Tarihi <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"eriinizde gncelleme yaptysanz takvim simgesine tklayarak gncelleme tarihini belirtmeniz gerekir. lk ierik giriinde yayn tarih ve saatiyle ayn seilmesinde yarar vardr.\" data-trigger=\"hover\" data-original-title=\"Gncelleme Tarihi\"></i></label>\r\n\t\t\t\t\t\t\t<div class=\"input-group\">\r\n\t\t\t\t\t\t\t\t<input type=\"text\" autocomplete=\"off\" name=\"tarihg\" value=\"";
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["tarihg"] : "";
echo "\" class=\"form-control form-control-sm date-timepicker\" />\r\n\t\t\t\t\t\t\t\t<span class=\"input-group-addon input-group-append border-left\" style=\"height: 35px;\">\r\n\t\t\t\t\t\t\t\t  <span class=\"mdi mdi-calendar input-group-text\"></span>\r\n\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t";
if (isset($_GET["islem"]) == "duzenle") {
    echo "\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t";
    if ($Sonuc["resim"]) {
        echo "\t\t\t\t\t\t<div class=\"form-group row col-md-2\">\r\n\t\t\t\t\t\t\t<div id=\"lightgallery\" class=\"row lightGallery\">\r\n\t\t\t\t\t\t\t\t<a href=\"../";
        echo tema;
        echo "/uploads/haberler/";
        echo $Sonuc["resim"];
        echo "\"><img src=\"../";
        echo tema;
        echo "/uploads/haberler/";
        echo $Sonuc["resim"];
        echo "\" class=\"img-responsive img-thumbnail\" style=\"margin-bottom:2px;width:100%;\"></a>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<a style=\"width: 100%;\" class=\"btn btn-danger btn-sm popconfirm\" title=\"Resim Sil\" href=\"../_class/yonetim_islem.php?haberresimsil=ok&sid=";
        echo $Sonuc["id"];
        echo "\"><i class=\"fal fa-trash\"></i> Resim Sil</a>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t";
    }
    echo "\t\t\t\t\t\t\t\r\n\t\t\t\t\t";
}
echo "\t\t\t\t\t<div class=\"form-group row col-md-6\">\r\n\t\t\t\t\t<label>Listeleme Grseli</label>\r\n\t\t\t\t\t\t<input type=\"file\" name=\"resim\" class=\"file-upload-default\">\r\n\t\t\t\t\t\t<div class=\"input-group col-xs-12\">\r\n\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control file-upload-info form-control-sm\" disabled=\"\" placeholder=\"Resim dosyas seiniz\">\r\n\t\t\t\t\t\t\t<span class=\"input-group-append\">\r\n\t\t\t\t\t\t\t\t<button class=\"file-upload-browse btn btn-primary btn-sm\" type=\"button\"><i class=\"icon-cloud-upload font-12\"></i> Dosya Se</button>\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"form-group mb-2\">\t\t\t\t\t\t\r\n\t\t\t\t\t\t";
if (isset($_GET["islem"]) == "duzenle") {
    echo "\t\t\t\t\t\t<label class=\"switch\">\r\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"durum\" id=\"durum\" value=\"1\" ";
    if ($Sonuc["durum"] == "1") {
        echo " checked ";
    }
    echo ">\r\n\t\t\t\t\t\t\t<span class=\"slider\"></span>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t";
} else {
    echo "\t\t\t\t\t\t<label class=\"switch\">\r\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"durum\" id=\"durum\" value=\"1\" checked>\r\n\t\t\t\t\t\t\t<span class=\"slider\"></span>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t";
}
echo "\t\t\t\t\t\t<label class=\"d-inline-block\" style=\"line-height: 34px;\" for=\"durum\">Durum</label>\t\t\t\t\t\t\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"form-group mb-2\">\t\t\t\t\t\t\r\n\t\t\t\t\t\t";
if (isset($_GET["islem"]) == "duzenle") {
    echo "\t\t\t\t\t\t<label class=\"switch\">\r\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"manset\" id=\"manset\" value=\"1\" ";
    if ($Sonuc["manset"] == "1") {
        echo " checked ";
    }
    echo ">\r\n\t\t\t\t\t\t\t<span class=\"slider\"></span>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t";
} else {
    echo "\t\t\t\t\t\t<label class=\"switch\">\r\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"manset\" id=\"manset\" value=\"1\" checked>\r\n\t\t\t\t\t\t\t<span class=\"slider\"></span>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t";
}
echo "\t\r\n\t\t\t\t\t\t<label class=\"d-inline-block\" style=\"line-height: 34px;\" for=\"manset\">Manette Gster</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"form-group mb-2\">\t\t\t\t\t\t\r\n\t\t\t\t\t\t";
if (isset($_GET["islem"]) == "duzenle") {
    echo "\t\t\t\t\t\t<label class=\"switch\">\r\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"manset_yani\" id=\"manset_yani\" value=\"1\" ";
    if ($Sonuc["manset_yani"] == "1") {
        echo " checked ";
    }
    echo ">\r\n\t\t\t\t\t\t\t<span class=\"slider\"></span>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t";
} else {
    echo "\t\t\t\t\t\t<label class=\"switch\">\r\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"manset_yani\" id=\"manset_yani\" value=\"1\" checked>\r\n\t\t\t\t\t\t\t<span class=\"slider\"></span>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t";
}
echo "\t\r\n\t\t\t\t\t\t<label class=\"d-inline-block\" style=\"line-height: 34px;\" for=\"manset_yani\">Manet Yan</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"form-group\">\r\n\t\t\t\t\t\t<label for=\"spot\">Spot Metin <i class=\"icon-info text-info\" data-toggle=\"popover\" data-content=\"Spot metin, ieriinizi zetleyen bir ya da iki cmlelik metindir. 180 karakteri gememesi gerekmektedir.  Spot metinde de tamamen BYK harften kanmal ve ift trnak kullanlmamaldr.\" data-trigger=\"hover\" data-original-title=\"Spot Metin\"></i></label>\r\n\t\t\t\t\t\t<textarea id=\"spot\" name=\"spot\" class=\"form-control\" rows=\"4\">";
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["spot"] : "";
echo "</textarea>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"form-group\">\r\n\t\t\t\t\t\t<label for=\"myTextarea\">erik</label>\r\n\t\t\t\t\t\t<textarea name=\"aciklama\" id=\"myTextarea\">";
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["aciklama"] : "";
echo "</textarea>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"card mb-4\">\r\n\t\t\t\t\t\t<div class=\"card-header\">\r\n\t\t\t\t\t\t\tSEO AYARLARI\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"card-body\">\r\n\t\t\t\t\t\t\t<div class=\"form-group\">\r\n\t\t\t\t\t\t\t\t<label for=\"maxlength-textarea\">SEO Aklama (Description)</label>\r\n\t\t\t\t\t\t\t\t<textarea id=\"maxlength-textarea\" name=\"description\"  class=\"form-control\" maxlength=\"260\" rows=\"2\">";
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["description"] : "";
echo "</textarea>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"form-group mb-0\">\r\n\t\t\t\t\t\t\t\t<label for=\"tags\">SEO Kelimeler (Keywords) <small>(Kelimenin sonuna virgl koyunuz)</small></label>\r\n\t\t\t\t\t\t\t\t<input name=\"keywords\" id=\"tags\" value=\"";
echo isset($_GET["islem"]) == "duzenle" ? $Sonuc["keywords"] : "";
echo "\" />\r\n\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t";
if (isset($_GET["islem"]) == "duzenle") {
    echo "\t\t\t\t\t<button type=\"submit\" name=\"haber_guncelle\" class=\"btn btn-success btn-icon-text btn-sm\">\r\n\t\t\t\t\t\t<i class=\"mdi mdi-reload  btn-icon-prepend\"></i>                                                    \r\n\t\t\t\t\t\tGNCELLE\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t";
} else {
    echo "\t\t\t\t\t<button type=\"submit\" name=\"haber_ekle\" class=\"btn btn-primary btn-icon-text btn-sm\">\r\n\t\t\t\t\t\t<i class=\"mdi mdi-file-check btn-icon-prepend\"></i>\r\n\t\t\t\t\t\tKAYDET\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t";
}
echo "\t\t\t\t</form>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n\r\n</div>\r\n";
mesaj("haber_ekle", 2, "no", "Hata olutu tekrar deneyiniz.!");
mesaj("haber_guncelle", 1, "yes", "Baar ile guncellenmitir.");
mesaj("haber_guncelle", 2, "no", "Hata olutu tekrar deneyiniz.!");
mesaj("haberresimsil", 1, "yes", "Baar ile siinmitir.");
mesaj("haberresimsil", 2, "no", "Hata olutu tekrar deneyiniz.!");
echo "\t\t\r\n";


?>

Function Calls

None

Variables

None

Stats

MD5 6377e37f8090eae20c7d007ddf94f7eb
Eval Count 0
Decode Time 57 ms