PDA

View Full Version : PHP help


Lafa
12-31-2003, 07:39 PM
<?php
if (eregi("block-Affiliates.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}

//Add your links and pictures here. If you wish to add more links then create a $link4 = ""; and $pic4 = ""; then add an extra bit of code into the $content! DONT EDIT UNLESS YOU KNOW WHAT YOUR DOING!
$link1 = "http://www.namek.co.uk";
$pic1 = "http://www.namek.co.uk/images/8831.gif";

$link2 = "";
$pic2 = "";

$link3 = "";
$pic3 = "";

//Dont edit this unless you know what your doing!!
$content = "<A name= \"scrollingCode\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" scrollamount= \"2\" scrolldelay= \"20\" onmouseover='this.stop()' onmouseout='this.start()'><center> <STYLE=\"text-decoration: none\"><font color=\"#666666\"><b>Affiliates</b><br><br><a href=\"$link1\"><img src=\"$pic1\"></a><br><br><a href=\"$link2\"><img src=\"$pic2\"></a><br><br><a href=\"$link3\"><img src=\"$pic3\"></a></center>";
$content .= "<br><br>Created By <a href=\"http://www.namek.co.uk\">Namek.co.uk</a>";

//(c) Jack Collier
?>


thats the code for PHP-Nuke...
i need to use it outside nuke but i need to change some stuff now
can any one help me on that??