- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 79 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 - Right menu $index not working [ ]
Author
Message
Nextri
Guest
Posted:
Mon Jun 09, 2003 3:26 am
Hey, i going crazy now, Even though I set the $index = 0 the right menu still shows on some pages. f.eks. my forum.
here are two eksamples.
http://www.nextri.com/modules.php?name=Content
Code:
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
$index = 0;
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
$pagetitle = "- $module_name";
function showpage($pid, $page=0) {
http://www.nextri.com/modules.php?name=Surveys
Code:
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
$index = 0;
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
$pagetitle = "- "._SURVEYS."";
if(!isset($pollID)) {
In the first page, there is no right menu, but on the second page there is..
Can someone please tell me why.
The page is not in english...
You can post new topics in this forum You can 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