Flash menu with php
Posted: Wed Dec 15, 2004 11:17 am
Hi,
I currently using a TOP LINKS on my website
http://volkan-dil.co.uk/html/index.php
I want to convert this to a Flash Dropdown menu, with the links assined by a file called link.php
Here is my current settings:
LINK.php
Not not good with flash, can anybody help me?
I currently using a TOP LINKS on my website
http://volkan-dil.co.uk/html/index.php
I want to convert this to a Flash Dropdown menu, with the links assined by a file called link.php
Here is my current settings:
LINK.php
Code: Select all
<?
//Links
$link1name = "Home";
$link1 = "index.php";
$link2name = "Model Reveiws";
$link2 = "modules.php?op=modload&name=Reviews&file=index&req=All";
$link3name = "My Account";
$link3 = "user.php";
$link4name = "Videos";
$link4 = "modules.php?op=modload&name=Downloads&file=index";
$link5name = "Web Links";
$link5 = "modules.php?op=modload&name=Web_Links&file=index";
$link6name = "Top 10 List";
$link6 = "modules.php?op=modload&name=Top_List&file=index";
$link7name = "About RCE";
$link7 = "wrap.php?file=team.htm";
$link8name = "Logout";
$link8 = "user.php?module=NS-User&op=logout";
//Flash settings
$link1 = str_replace(""", "'", $link1);
$link1 = str_replace("&", "-ampersand-", $link1);
$link1name = str_replace(""", "'", $link1name);
$link1name = str_replace("&", "-ampersand-", $link1name);
$link2 = str_replace(""", "'", $link2);
$link2 = str_replace("&", "-ampersand-", $link2);
$link2name = str_replace(""", "'", $link2name);
$link2name = str_replace("&", "-ampersand-", $link2name);
$link3 = str_replace(""", "'", $link3);
$link3 = str_replace("&", "-ampersand-", $link3);
$link3name = str_replace(""", "'", $link3name);
$link3name = str_replace("&", "-ampersand-", $link3name);
$link4 = str_replace(""", "'", $link4);
$link4 = str_replace("&", "-ampersand-", $link4);
$link4name = str_replace(""", "'", $link4name);
$link4name = str_replace("&", "-ampersand-", $link4name);
$link5 = str_replace(""", "'", $link5);
$link5 = str_replace("&", "-ampersand-", $link5);
$link5name = str_replace(""", "'", $link5name);
$link5name = str_replace("&", "-ampersand-", $link5name);
$link6 = str_replace(""", "'", $link6);
$link6 = str_replace("&", "-ampersand-", $link6);
$link6name = str_replace(""", "'", $link6name);
$link6name = str_replace("&", "-ampersand-", $link6name);
$link7 = str_replace(""", "'", $link7);
$link7 = str_replace("&", "-ampersand-", $link7);
$link7name = str_replace(""", "'", $link7name);
$link7name = str_replace("&", "-ampersand-", $link7name);
$link8 = str_replace(""", "'", $link8);
$link8 = str_replace("&", "-ampersand-", $link8);
$link8name = str_replace(""", "'", $link8name);
$link8name = str_replace("&", "-ampersand-", $link8name);
?>