| View previous topic :: View next topic |
| Author |
Message |
bestbuildpc I might as well work here


Joined: Nov 16, 2009 Posts: 61
  
|
|
| Back to top |
|
 |
bobby Site Admin


Joined: Jan 20, 2009 Posts: 600 Location: North Carolina
    votes: 4
|
|
| Back to top |
|
 |
bestbuildpc I might as well work here


Joined: Nov 16, 2009 Posts: 61
  
|
|
| Back to top |
|
 |
bestbuildpc I might as well work here


Joined: Nov 16, 2009 Posts: 61
  
|
|
| Back to top |
|
 |
bobby Site Admin


Joined: Jan 20, 2009 Posts: 600 Location: North Carolina
    votes: 4
|
|
| Back to top |
|
 |
kguske Blingaholic


Joined: May 19, 2009 Posts: 24
   votes: 1
|
|
| Back to top |
|
 |
bestbuildpc I might as well work here


Joined: Nov 16, 2009 Posts: 61
  
|
|
| Back to top |
|
 |
bobby Site Admin


Joined: Jan 20, 2009 Posts: 600 Location: North Carolina
    votes: 4
|
Posted: Sun Oct 10, 2010 9:28 am Post subject: |
|
|
Try replacing your theme.php function themeheader with this:
Code:function themeheader() {
global $admin, $user, $banners, $sitename, $slogan, $cookie, $prefix, $anonymous, $topic, $name, $sel, $db, $ThemeSel, $nukeNAV;
cookiedecode($user);
echo "<body>";
if ($banners) {
echo ads(0);
}
if (is_admin($admin)) {
if (defined('INDEX_FILE')) {
echo '<div id="header"><div id="header_inner" class="fixed"><div id="logo"><span><img src="themes/'.$ThemeSel.'/images/logo.gif" alt="" border="0" /></span></div></div><div style="width:730px; margin: 0 auto;">'.$nukeNAV.'</div><br style="clear: left" /></div><div id="main"><div id="main_inner" class="fixed"><div id="primaryContent_3columns">';
}else{
echo '<div><div id="header"><div id="header_inner" class="fixed"><div id="logo"><span><img src="themes/'.$ThemeSel.'/images/logo.gif" alt="" border="0" /></span></div></div><div style="width:730px; margin: 0 auto;">'.$nukeNAV.'</div><br style="clear: left" /></div><div id="main"><div id="main_inner" class="fixed"><div id="primaryContent_2columns">';
}
}else{
if (defined('INDEX_FILE')) {
echo '<div id="header"><div id="header_inner" class="fixed"><div id="logo"><span><img src="themes/'.$ThemeSel.'/images/logo.gif" alt="" border="0" /></span></div></div><div style="width:500px; margin: 0 auto;">'.$nukeNAV.'</div><br style="clear: left" /></div><div id="main"><div id="main_inner" class="fixed"><div id="primaryContent_3columns">';
}else{
echo '<div><div id="header"><div id="header_inner" class="fixed"><div id="logo"><span><img src="themes/'.$ThemeSel.'/images/logo.gif" alt="" border="0" /></span></div></div><div style="width:500px; margin: 0 auto;">'.$nukeNAV.'</div><br style="clear: left" /></div><div id="main"><div id="main_inner" class="fixed"><div id="primaryContent_2columns">';
}}
if (defined('INDEX_FILE')) {
echo '<div id="columnA_3columns">';
}else{
echo '<div id="columnA_2columns">';
}
}
|
You may need to adjust the width some, but this should give you a starting point. |
|
| Back to top |
|
 |
bestbuildpc I might as well work here


Joined: Nov 16, 2009 Posts: 61
  
|
|
| Back to top |
|
 |
kguske Blingaholic


Joined: May 19, 2009 Posts: 24
   votes: 1
|
|
| Back to top |
|
 |
|
|