|
» 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
|
|
|
|
|
|
|
|
|
Poker Chips - Clay and composite poker chips for home games.
|
|
|
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 ... |
|
 |
 |
|
 |

12-27-2002, 11:28 PM
|
|
Junior Member
|
|
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
|
|
|
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?
|

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
|

12-28-2002, 02:01 PM
|
|
Junior Member
|
|
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
|
|
|
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
|

12-28-2002, 02:02 PM
|
|
Junior Member
|
|
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
|
|
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;
} |
|

12-28-2002, 02:03 PM
|
|
Junior Member
|
|
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
|
|
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).
|

12-28-2002, 03:11 PM
|
 |
Super Moderator
|
|
Join Date: Jan 2002
Location: USA
Posts: 618
|
|
remove:
from the bottom of your header.html
|

12-28-2002, 04:55 PM
|
|
Junior Member
|
|
Join Date: Dec 2002
Location: iphoenixweb
Posts: 80
|
|
|
thank you u are my new best friend lol
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|