- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 67 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - simple block problem ... my brain must be mush [ ]
Author
Message
moosus
Nuke Soldier
Joined: Mar 07, 2004
Posts: 14
Location: Australia - Sunny Queensland
Posted:
Sun Jul 10, 2005 9:38 pm
G'day Guys
Ok I though this was going to be easy, i'm sure I have done it before but it was a long time ago.
I have created a new statis navigation block I called block-Navi.php uploaded it, tried to activte it and nothing happens.
I have read http://www.nukecops.com/postt1.html and this is exactly what I am trying to do.
I have also checked the file by echoing $content and it looke exactly like I want but for some reason it does not eant to activate ... any chance you guys can tell me what I have stuffed
Code:
<?php
if (eregi("block-Navi.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
$content = "<p><img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"BARRA Home Page\" href=\"index.php\">Site Home<br>";
$content .= "</a><img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a href=\"modules.php?name=Your_Account\">Your Home</a></p>";
$content .= "<p> <img src=\"../themes/subBlue/images/features.gif\" alt=\"\" width=\"140\" height=\"25\" border=\"0\"><br>";
$content .= "<img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"Bass Articles\" href=\"topics.html\">Bass Articles<br>";
$content .= "</a><img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"All Bass Articles within this Site\" href=\"archive.html&sa-show_all\">Archive Bass Articles</a></p>";
$content .= "<p><img src=\"../themes/subBlue/images/information.gif\" alt=\"\" width=\"140\" height=\"25\" border=\"0\"><br>";
$content .= " <img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"BASS Electric\" href=\"sections.html&op=listarticles&secid=2\">BASS Electric<br>";
$content .= " </a><img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"BASS Pro\" href=\"sections.html&op=listarticles&secid=1\">BASS Pro</a><a title=\"BASS Electric\" href=\"sections.html&op=listarticles&secid=2\"><br>";
$content .= " </a><img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"BASS Rules\" href=\"sections.html&op=listarticles&secid=3\">BASS Rules</a><a title=\"BASS Electric\" href=\"sections.html&op=listarticles&secid=2\"><br>";
$content .= " </a><img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a href=\"sections.html&op=listarticles&secid=4\">BASS Record Book</a><a title=\"BASS Electric\" href=\"sections.html&op=listarticles&secid=2\"><br>";
$content .= " </a><img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"BASS Image gallery\" href=\"modules.php?name=Gallery\">BASS Images</a><a title=\"BASS Electric\" href=\"sections.html&op=listarticles&secid=2\"><br>";
$content .= " </a><img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"Frequently Asked Questions about BASS\" href=\"faq.html\">BASS FAQ</a></p>";
$content .= "<p><img src=\"../themes/subBlue/images/sitetools.gif\" alt=\"\" width=\"140\" height=\"25\" border=\"0\"><br>";
$content .= " <img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"Send us your comments\" href=\"modules.php?name=Feedback\">Feed Back</a><br>";
$content .= " <img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"BASS Surveys\" href=\"modules.php?name=Surveys\">Surveys</a><br>";
$content .= " <img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"Search this site\" href=\"modules.php?name=Search\">Search</a><br>";
$content .= " <img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"Send us your news to post on AUSTRALIAN BASS\" href=\"submit.html\">Submit News</a><br>";
$content .= " <img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"Top 10 across all fields\" href=\"top.html\">Top 10</a><br>";
$content .= " <img src=\"../themes/subBlue/images/lilfish.gif\" alt=\"\" width=\"20\" height=\"13\" align=\"absmiddle\" border=\"0\"> <a title=\"Links to other associated websites\" href=\"links.html\">Web Links</a></p>";
?>
cheers
moosus
TFX_NateDog
Corporal
Joined: Jun 16, 2005
Posts: 65
Posted:
Sun Jul 10, 2005 10:02 pm
moosus
Nuke Soldier
Joined: Mar 07, 2004
Posts: 14
Location: Australia - Sunny Queensland
Posted:
Mon Jul 11, 2005 1:24 pm
TFX_NateDog
While I thank you for your comment it is not really a solution. I was hoping somebody could tell me what I was missing.
To me my code is a very basic block all returning to the string content and as such sould work ..... this is why I am at a loss to determine my problem.
cheers
moosus
TFX_NateDog
Corporal
Joined: Jun 16, 2005
Posts: 65
Posted:
Fri Jul 15, 2005 9:24 pm
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum