here is the code
CODE
"<td align=\"center\">\n".
switch ($_GET['mod'])
{
case "news": $inc = 'news/news.txt';
break;
case "downloads": $inc = 'display.php';
break;
case "links": $inc = 'show.php';
break;
case "addlink": $inc = 'link.php';
break;
case "get": $inc = 'get.php';
break;
default: $inc = 'news/news.txt';
break;
}
include ($inc);
"</td>\n".
switch ($_GET['mod'])
{
case "news": $inc = 'news/news.txt';
break;
case "downloads": $inc = 'display.php';
break;
case "links": $inc = 'show.php';
break;
case "addlink": $inc = 'link.php';
break;
case "get": $inc = 'get.php';
break;
default: $inc = 'news/news.txt';
break;
}
include ($inc);
"</td>\n".
thats from line 74 to line 91
any ideas?
i fixed my problem
CODE
echo "<td align=\"center\">";
switch ($_GET['mod'])
{
case "news":
$inc = 'news/news.txt';
break;
case "downloads":
$inc = 'display.php';
break;
case "links":
$inc = 'show.php';
break;
case "addlink":
$inc = 'link.php';
break;
case "get":
$inc = 'get.php';
break;
default:
$inc = 'news/news.txt';
break;
}
include ($inc);
echo "</td>";
switch ($_GET['mod'])
{
case "news":
$inc = 'news/news.txt';
break;
case "downloads":
$inc = 'display.php';
break;
case "links":
$inc = 'show.php';
break;
case "addlink":
$inc = 'link.php';
break;
case "get":
$inc = 'get.php';
break;
default:
$inc = 'news/news.txt';
break;
}
include ($inc);
echo "</td>";
took me a while but i got it heheh