Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 50
4 members and 46 guests
bea9qgchcomberc, peardir46, ral6qkeighqenpa, whyjjinternetvi
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
theme.php problem??
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 80
Join Date: Dec 2002
Location: iphoenixweb
theme.php problem?? - 12-27-2002, 11:28 PM

hi i just made myself a theme but it there is one problem in the theme, the left middle and right columns are all on top of each other... i dont know what wrong?? check it out here http://iphoenixweb.com/html/

some1 told me it had to do with my theme.php but i dont know what wrong...

can anyone help me?
  Send a message via Yahoo to iphoenix Send a message via AIM to iphoenix Send a message via MSN to iphoenix  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
12-28-2002, 08:45 AM

If you are using a theme that uses html fiels as well as the theme.php file, then check your html files against a working theme. More than likely you are missing an html tag somewhere.
IF that is not it, then yes, the theme.php is causing the breakup. Finding it will be like trying to "find a needle in a haystack."

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
i dunt like needles
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 80
Join Date: Dec 2002
Location: iphoenixweb
i dunt like needles - 12-28-2002, 02:01 PM

i dunt like needles, so im gunna ask for some help her lol.... in tha next 2 posts are my theme.php file and header.html file c if u can find tha problem.... thx iPhoenix
  Send a message via Yahoo to iphoenix Send a message via AIM to iphoenix Send a message via MSN to iphoenix  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 80
Join Date: Dec 2002
Location: iphoenixweb
12-28-2002, 02:02 PM

just tha header portion:
Code:
/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#FFFFFF\" text=\"#333333\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
    if ($banners == 1) {
	include("banners.php");}
	
    $topics_list = "<select name=\"new_topic\" onChange='submit()'>\n";
    $topics_list .= "<option value=\"\">All Topics</option>\n";
    $toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi);
    while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) {
    if ($topicid==$topic) { $sel = "selected "; }
	$topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
	$sel = "";
    }
    if ($username == "Anonymous") {
	$theuser = "<a href=\"modules.php?name=Your_Account&op=new_user\">Create an account";
    } else {
	$theuser = "Welcome $username!";
    }
            	$public_msg = public_message();
    $tmpl_file = "themes/iPhoenix/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
    blocks(left);
    $tmpl_file = "themes/iPhoenix/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}
  Send a message via Yahoo to iphoenix Send a message via AIM to iphoenix Send a message via MSN to iphoenix  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 80
Join Date: Dec 2002
Location: iphoenixweb
12-28-2002, 02:03 PM

header.html:
Code:
 
<table border="0" cellspacing="0" id="AutoNumber1" bgcolor="#FFFFFF" height="111" cellpadding="0" width="100%">
  <tr>
    <td width="800" height="170" valign="top" colspan="3" background="themes/iPhoenix/images/top_bg.gif">
    <p align="center">
    [img]themes/iPhoenix/images/complogo_ip4.bmp[/img]
</td>
  </tr>
  <tr>
    <td width="25%" height="19" background="themes/iPhoenix/images/bg1.gif">
    <p align="left"><font class="content" face="Times New Roman">$theuser</font></td>
    <td width="50%" height="19" background="themes/iPhoenix/images/bg1.gif">
    <p align="center"><font color="#333333" face="Times New Roman">Home | 
    Products | Services | About | Contact | Support | Affiliates</font></td>
    <td width="25%" height="19" background="themes/iPhoenix/images/bg1.gif">
    <p align="right"> <font class="smalltext" color="#0000000" size="1"> 
        <SCRIPT language="javascript"> todaysDate = new Date(); dayarray = new
	  Array("Sunday", "Monday", "Tuesday", "Wedsnesday", "Thursday", "Friday",
	  "Sat"); montharray = new Array("January", "February", "March", "April",
	  "May", "June", "July", "August", "September", "October", "November", "December");
	  document.write(dayarray[todaysDate.getDay()] + ", " +
	  montharray[todaysDate.getMonth()] + " " + todaysDate.getDate() + ", "); if
	  (todaysDate.getYear()
	  <1000){ document.write(todaysDate.getYear() + 1900); } else { document.write(todaysDate.getYear());
	  } </script>
        </font></td>
  </tr>
  <tr>
    <td width="800" height="13" valign="top" colspan="3" background="themes/iPhoenix/images/bg-horiz-gradient.gif">
    <p style="margin-top: 0; margin-bottom: 0">
    [img]themes/iPhoenix/images/bg-horiz-gradient.gif[/img]</p>
    </td>
  </tr>
</table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td bgcolor="#FFFFFF">[img]themes/fisubsilver/images/7px.gif[/img]</td>
      </tr>
    </table>
        <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
      <tr valign="top">
        <td>$public_msg[img]themes/NukeNews/images/pixel.gif[/img]</td>
</tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
  <td valign="top" width="1" background="themes/iPhoenix/images/7px.gif">
</table>
Edited by coldblooded (please use the code tag).
  Send a message via Yahoo to iphoenix Send a message via AIM to iphoenix Send a message via MSN to iphoenix  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Super Moderator
 
coldblooded's Avatar
 
Status: Offline
Posts: 624
Join Date: Jan 2002
Location: USA
12-28-2002, 03:11 PM

remove:

Code:
</table>
from the bottom of your header.html
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 80
Join Date: Dec 2002
Location: iphoenixweb
12-28-2002, 04:55 PM

thank you u are my new best friend lol
  Send a message via Yahoo to iphoenix Send a message via AIM to iphoenix Send a message via MSN to iphoenix  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pt5 Theme BIG problem indianadj Theme packs 4 06-23-2006 07:32 AM
ICG theme problem unno Theme packs 2 04-20-2006 06:16 PM
theme problem sskgrevi Theme packs 1 02-12-2006 02:49 PM
theme problem arkguy420 Theme packs 1 05-14-2005 11:21 PM
Problem with theme...... techsla Theme packs 3 11-25-2002 09:37 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31