- Joined
- Mar 18, 2004
- Messages
- 81
- Reaction score
- 0
I read some days ago that 1 guy wanna get rid of the nasty frames.
Well ... i did this thing, is not the perfect solution, but it work nicely.
So, as usual, u will do this by yourself:
Open includes/functions.php.
- Search for:
Replace with:
Inside the same function (ya, u r on a function called "display"), on the line 88, or near, search for:
Replace with:
Open "login.php":
Find
Replace with:
Well .. we r not done yet:
Download the attached file "leftmenu.php", and paste it on your server.
It has a few lines disabled, but its more easy that edit 1 by 1.
If u have any problem with this, comment here.
Well ... i did this thing, is not the perfect solution, but it work nicely.
So, as usual, u will do this by yourself:
Open includes/functions.php.
- Search for:
Code:
$DisplayPage .= "<center>\n". $page ."\n</center>\n";
Replace with:
Code:
if(!$AdminPage AND !$InLogin){
$DisplayPage .='
<br />
<center>
<div style="width:90%;">
<div style="float:left; margin-right:25px;">' . $Menu . '</div>
<div style="float:left; width: 600px;">' . $page . '</div>
</div>
</center>
';
}else{
$DisplayPage .= "<center>\n". $page ."\n</center>\n";
}
Inside the same function (ya, u r on a function called "display"), on the line 88, or near, search for:
Code:
global $link, $game_config, $debug, $user, $planetrow;
Replace with:
Code:
global $link, $ugamela_root_path, $InLogin, $game_config, $debug, $user, $planetrow;
include($ugamela_root_path . "leftmenu.php");
$Menu = ShowLeftMenu ( $user['authlevel'] );
Open "login.php":
Find
Code:
header("Location: ./frames.php");
Code:
header("Location: ./overview.php");
Well .. we r not done yet:
Download the attached file "leftmenu.php", and paste it on your server.
It has a few lines disabled, but its more easy that edit 1 by 1.
If u have any problem with this, comment here.
Attachments
You must be registered for see attachments list