Bak sana bir yol göstereyim onu izle bakalım....
pop-up kodunu php'ye çevir...Öneri program HTML to Any Code Converter
Örnek Kod
<head> <meta http-equiv="Content-Language" content="tr"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> <title>Yeni Sayfa 1</title> </head>Örnek PHP:
echo "<meta http-equiv=\"Content-Language\" content=\"tr\">\n"; echo "<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">\n"; echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1254\">\n"; echo "<title>Yeni Sayfa 1</title>";Daha sonra bütün echo yazan yerleri $content .= ile değiştir. ve şöyle bir sayfa hazırla....
<?php
if (eregi("block-blokadi.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content .= .... ile başlayan kodlar.....
?>ve block-blokadi.php şeklinde kaydedip /blocks klasörüne at ve admin panelinden blok yönetimine girip ismini verdiğin bloğu seçip aktifle....Bu şekilde de olmazsa dahada olmaz herhalde ...