» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 80
0 members and 80 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Rimonabant
www.rimonabant-weight-loss.com
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on theme.php problem?? within the Purged Topics forums, part of the NM Staff category; hi i just made myself a theme but it there is one problem in the theme, the left middle and ...



Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-27-2002, 11:28 PM
Junior Member
 
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
Send a message via AIM to iphoenix Send a message via MSN to iphoenix Send a message via Yahoo to iphoenix
theme.php problem??
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-28-2002, 08:45 AM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
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
  #3 (permalink)  
Old 12-28-2002, 02:01 PM
Junior Member
 
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
Send a message via AIM to iphoenix Send a message via MSN to iphoenix Send a message via Yahoo to iphoenix
i dunt like needles
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-28-2002, 02:02 PM
Junior Member
 
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
Send a message via AIM to iphoenix Send a message via MSN to iphoenix Send a message via Yahoo to iphoenix
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;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-28-2002, 02:03 PM
Junior Member
 
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
Send a message via AIM to iphoenix Send a message via MSN to iphoenix Send a message via Yahoo to iphoenix
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).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-28-2002, 03:11 PM
coldblooded's Avatar
Super Moderator
 
Join Date: Jan 2002
Location: USA
Posts: 618
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
  #7 (permalink)  
Old 12-28-2002, 04:55 PM
Junior Member
 
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
Send a message via AIM to iphoenix Send a message via MSN to iphoenix Send a message via Yahoo to iphoenix
thank you u are my new best friend lol
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


All times are GMT -5. The time now is 06:45 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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