Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Sub-header adjustments

I'm using PHP-Fusion for my next project, but the theme I'm interested in is giving me a little issue.

Of course, the support site for it is long gone. I haven't even logged in to the forums here as I haven't needed any support -- but I'm confused on this one as I've never had to do this in PHP Fusion before.

Take a look at the sub-header, and the footer below on my site.
http://www.overclockedlan.com
I made adjustments to the theme that applies a 75% width instead of the 100% (I can't stand that zoomed-in large gigantic look, it's ugly), however when I change these two lines, it never works out. I'm thinking it is image related; maybe.

Theme: http://www.kaj-max.dk/infusions/pro_download_panel/download.php?did=715

These are the two lines I'm having issues with to adjust it:

Sub Header
CodeDownload  
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='center'><img src='".THEME."/images/sideb-left.png'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png'></td>
   </tr></table>\n";



Footer
CodeDownload  
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png'></td>
   <td align='center' class='sideb' align='center' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png'></td>
   </tr></table>\n";



I'm out of ideas -- I've tried changing all values, including the alignment, the width, and the table itself, but I'm not getting the corresponding result. It's always off.

Help is appreciated. Thank you.

theme.php
CodeDownload  
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "<span class='bullet'>&middot;</span>");

require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {
   
   global $settings, $main_style, $locale;

   //Header
   echo "<table cellpadding='0' cellspacing='0' align='center' width='75%'>\n<tr>\n";
   echo "<td class='sub-header-left'></td>\n";
   echo "<td class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
   echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
   echo "<td class='sub-header-right'></td>\n";
   echo "</tr>\n</table>\n";
   
   echo "<table cellpadding='0' cellspacing='0' align='center' width='75%'>\n<tr>\n";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "<td align='left' class='full-header'>\n".showbanners()."</td>\n";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "</tr>\n</table>\n";

   echo "<table cellspacing='0' cellpadding='0'><tr><td align='center'><img src='".THEME."/images/sideb-left.png'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png'></td>
   </tr></table>\n";
   

   //Content
   echo "<table cellpadding='0' cellspacing='0' align='center' width='75%' class='$main_style'>\n<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
   echo "</tr>\n</table>\n";
   
   //Footer
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' align='center' width='75%'>\n<tr>\n";
   echo "<td class='sub-header-left'></td>\n";
   echo "<td align='left' class='sub-header'>Onixet by <a href='http://fusion-style.ro'>Fusion-Style.Ro";
   echo "<td align='right' class='sub-header'>".showcounter()."</td>\n";
   echo "<td class='sub-header-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' align='center' width='75%'>\n<tr>\n";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "<td align='center' class='main-footer'>".stripslashes($settings['footer']);
   if (!$license) { echo "\n".showcopyright(); }
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png'></td>
   <td align='center' class='sideb' align='center' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png'></td>
   </tr></table>\n";
 

}

function render_news($subject, $news, $info) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body middle-border'>".$news."</td>\n";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "</tr>\n<tr>\n";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "<td align='center' class='news-footer middle-border'>\n";
   echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</td>\n";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "</tr><tr>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
   </tr></table>\n";

}

function render_article($subject, $article, $info) {
   
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>".$title."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'>\n";

}

function closetable() {

   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "</td>\n";
   echo "</tr><tr>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
   </tr></table>\n";

}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='scapmain-left'></td>\n";
   echo "<td align='center' class='scapmain'>$title</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
   }
   echo "<td class='scapmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";
   echo "<td class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='15' height='1' alt='' style='display:block'></td>";   
   echo "</td>\n</tr>\n</table>\n";
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
   </tr></table>\n";


}
?>



Merged on Oct 25 2015 at 02:49:10:
Issue has been resolved.
I like traditional sites , good theme choice !
Hey Whitey. Sure would be nice if you could post the styles.css file in this thread, I kinda like the theme. Tried to d/l the rar from the link but it comes through corrupted. I can capture the images from your website. :D
it is very old for some time themes portal old style :x now we have moved to more modern themes mobile themes and this is the future , but wants hard work for new moderne themes and there are not Developers like old times .

I do not know the 9 version maybe reborn new Developers :D

Quote

I do not know the 9 version maybe reborn new Developers


I am sure it will ;)
Well if anyone is interested I managed to piece this old theme together fine. If you would like to see it in all it's glory just look at my site.
http://fusion.whisperwillow.com/
Thread Information
Author
Posted In
Replies
6 posts
Views
1,821 times
Last Post
Last updated on 5 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, Grimloch, Whitey, dimki