2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
2001-02-27 16:23:34 +00:00
|
|
|
|
2001-01-15 11:20:58 +00:00
|
|
|
class Theme {
|
2001-01-26 13:38:46 +00:00
|
|
|
|
2001-02-28 18:02:06 +00:00
|
|
|
/*
|
|
|
|
I am going to use some colors throughout this theme:
|
|
|
|
#000000 : black used for all links and the table in every box you'll see, I use it to create the thin black border around each.
|
|
|
|
#E7E7E7 : light grey bgcolor for every box you'll see before the background gets drawn over it.
|
|
|
|
#6C6C6C : grey used as bgcolor before the articles' and abstacts' background is drawn.
|
|
|
|
#202020 : dark grey text used on the headers in abstract and article.
|
|
|
|
#FEFEFE : white text on the dark grey headers of all boxes with the drop.org background in it.
|
|
|
|
#E09226 : orange-brown rust color used to give some finishing touches around links, you'll see. :)
|
|
|
|
*/
|
2001-01-10 18:51:15 +00:00
|
|
|
|
2001-01-15 11:20:58 +00:00
|
|
|
function header() {
|
|
|
|
global $site_name;
|
2001-01-10 18:51:15 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|
2001-01-10 18:51:15 +00:00
|
|
|
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<HTML>
|
2001-03-08 08:16:23 +00:00
|
|
|
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
<HEAD>
|
2001-03-09 15:59:44 +00:00
|
|
|
<TITLE><?php echo $site_name; ?> - Tears of technology</TITLE>
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
<STYLE type="text/css">
|
|
|
|
<!--
|
|
|
|
BODY,P,DIV,LI,UL,TD,EM,FONT,BLOCKQUOTE,FORM{font-size: 10pt; font-family:Helvetica,Lucida,sans-serif;}
|
|
|
|
SMALL {font-size: 8pt;}
|
|
|
|
-->
|
|
|
|
</STYLE>
|
|
|
|
</HEAD>
|
2001-03-08 08:16:23 +00:00
|
|
|
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
<BODY TEXT="#202020" BGCOLOR="#FEFEFE" BACKGROUND="themes/jeroen/images/background.gif" ALINK="#000000" LINK="#000000" VLINK="#000000">
|
|
|
|
<TABLE WIDTH="100%" ALIGN="left" CELLPADDING="0" CELLSPACING="6" BORDER="0">
|
|
|
|
<TR>
|
|
|
|
<TD COLSPAN="2" WIDTH="80%">
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php $img = (rand(0,150) == 75) ? "logo2.gif" : "logo.gif"; ?>
|
|
|
|
<IMG SRC="themes/jeroen/images/<?php echo $img; ?>" ALT=""><BR><BR>
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
</TD>
|
|
|
|
<TD WIDTH="20%">
|
2001-03-08 08:16:23 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
$this->box("Drop where?", "<TR>
|
|
|
|
<TD ALIGN=\"left\" VALIGN=\"top\">
|
|
|
|
<A HREF=\"index.php\">home</A><BR>
|
|
|
|
<A HREF=\"module.php?mod=faq\">faq</A><BR>
|
|
|
|
<A HREF=\"search.php\">search</A>
|
|
|
|
</TD>
|
|
|
|
<TD ALIGN=\"right\" VALIGN=\"top\">
|
|
|
|
<A HREF=\"module.php?mod=diary\">diary</A><BR>
|
|
|
|
<A HREF=\"submit.php\">submit news</A><BR>
|
|
|
|
<A HREF=\"account.php\">account</A>
|
|
|
|
</TD>
|
|
|
|
</TR>");
|
|
|
|
|
|
|
|
?>
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
<TR>
|
|
|
|
<TD VALIGN="top" ALIGN="right">
|
2001-02-27 16:23:34 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
2001-02-27 16:55:37 +00:00
|
|
|
theme_blocks("left", $this);
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
</TD>
|
|
|
|
<TD WIDTH="80%" VALIGN="top" ALIGN="left">
|
2001-01-10 18:51:15 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
2001-02-27 16:23:34 +00:00
|
|
|
|
|
|
|
} // close header function
|
2001-01-10 18:51:15 +00:00
|
|
|
|
2001-03-08 08:16:23 +00:00
|
|
|
function story($story, $reply = 0) {
|
2001-03-09 15:59:44 +00:00
|
|
|
$timestamp = format_date($story->timestamp);
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|
2001-01-10 18:51:15 +00:00
|
|
|
|
2001-01-15 11:20:58 +00:00
|
|
|
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
|
|
|
|
<TR>
|
2001-03-09 15:59:44 +00:00
|
|
|
<TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/<?php echo (rand(0, 1) ? "news1.gif" : "news3.gif"); ?>" NOWRAP> </TD>
|
2001-02-27 16:23:34 +00:00
|
|
|
<TD ALIGN="center" VALIGN="top" WIDTH="100%" BACKGROUND="themes/jeroen/images/newsmiddle.gif" NOWRAP>
|
2001-03-09 15:59:44 +00:00
|
|
|
<B><?php echo "". check_output($story->subject) .""; ?></B>
|
2001-01-15 11:20:58 +00:00
|
|
|
</TD>
|
2001-03-09 15:59:44 +00:00
|
|
|
<TD ALIGN="right" VALIGN="bottom" WIDTH="20" BACKGROUND="themes/jeroen/images/<?php echo (rand(0, 1) == 0) ? "news2.gif" : "news4.gif"; if (rand(0,100) == 50) "news5.gif"; ?>" NOWRAP> </TD>
|
2001-01-15 11:20:58 +00:00
|
|
|
</TR>
|
|
|
|
<TR>
|
Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
|
|
|
<TD></TD>
|
|
|
|
<TD>
|
2001-02-27 16:23:34 +00:00
|
|
|
<TABLE BORDER="0" CELLPADDING="1" CELLSPACING="0" BGCOLOR="#000000" WIDTH="100%">
|
2001-01-15 11:20:58 +00:00
|
|
|
<TR>
|
|
|
|
<TD>
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0" WIDTH="100%" BGCOLOR="#E7E7E7" BACKGROUND="themes/jeroen/images/sketch.gif">
|
2001-02-27 16:23:34 +00:00
|
|
|
<TR>
|
|
|
|
<TD ALIGN="left" BACKGROUND="themes/jeroen/images/menutitle.gif" NOWRAP>
|
2001-02-28 18:02:06 +00:00
|
|
|
<FONT COLOR="#FEFEFE">
|
2001-02-27 16:23:34 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
2001-02-27 16:23:34 +00:00
|
|
|
|
|
|
|
switch (rand(0,13)) {
|
2001-03-05 22:05:22 +00:00
|
|
|
case 0: $how = "Yelled"; break; case 1: $how = "Whispered"; break;
|
2001-02-27 16:23:34 +00:00
|
|
|
case 2: $how = "Reported"; break; case 3: $how = "Posted"; break;
|
|
|
|
case 4: $how = "Beamed through"; break; case 5: $how = "Faxed"; break;
|
2001-03-05 22:05:22 +00:00
|
|
|
case 6: $how = "Tossed"; break; case 7: $how = "Morsed"; break;
|
|
|
|
case 8: $how = "Flagged"; break; case 9: $how = "Written"; break;
|
2001-02-27 16:23:34 +00:00
|
|
|
case 10: $how = "Made up"; break; case 11: $how = "Uploaded"; break;
|
|
|
|
case 12: $how = "Forged"; break;
|
|
|
|
default: $how = "Sneaked through";
|
|
|
|
}
|
2001-02-28 09:16:47 +00:00
|
|
|
echo "<FONT SIZE=\"-1\">". strtr(t("$how by %a on %b"), array("%a" => format_username($story->userid), "%b" => $timestamp, "large")) ."
|
2001-02-27 16:23:34 +00:00
|
|
|
</FONT>
|
|
|
|
</TD>
|
2001-02-27 18:02:36 +00:00
|
|
|
<TD ALIGN=\"right\" BACKGROUND=\"themes/jeroen/images/menutitle.gif\" NOWRAP>
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
<B><A HREF=\"search.php?category=". urlencode($story->section) ."\"><FONT COLOR=\"#000000\">$story->section</FONT></A></B>";
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|
2001-02-27 16:23:34 +00:00
|
|
|
|
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
<TR>
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
<TD COLSPAN="2" VALIGN="top" WIDTH="100%">
|
2001-02-27 16:23:34 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
2001-03-08 08:16:23 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
echo "<P>". check_output($story->abstract, 1) ."</P>";
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
if ($story->updates)
|
2001-03-09 15:59:44 +00:00
|
|
|
echo "<P><FONT COLOR=\"#E09226\">". t("Editor's note by <A HREF=\"account.php?op=userinfo&uname=$story->editor\">$story->editor</A>") .":</FONT>". check_output($story->updates, 1) ."</P>";
|
|
|
|
if ($reply)
|
|
|
|
echo "<P>". check_output($story->article, 1) ."</P>";
|
2001-02-05 13:21:11 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
<TR>
|
2001-03-09 15:59:44 +00:00
|
|
|
<TD COLSPAN="2" ALIGN="right">
|
2001-02-27 16:23:34 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
2001-02-27 16:23:34 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
if (!$reply)
|
|
|
|
echo "<FONT COLOR=\"#E09226\">". theme_morelink($this, $story) ."</FONT>";
|
2001-03-08 08:16:23 +00:00
|
|
|
else
|
2001-03-09 15:59:44 +00:00
|
|
|
echo "<FONT COLOR=\"#E09226\">". $reply ."</FONT>";
|
2001-02-05 13:21:11 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
|
|
|
</TABLE>
|
2001-01-15 11:20:58 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
</TABLE>
|
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
</TABLE>
|
Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
|
|
|
<BR>
|
2001-01-15 11:20:58 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
|
|
|
|
2001-03-08 08:16:23 +00:00
|
|
|
} // close story function
|
2001-01-26 13:38:46 +00:00
|
|
|
|
2001-02-05 13:21:11 +00:00
|
|
|
function controls() {
|
2001-02-28 00:29:57 +00:00
|
|
|
echo comment_controls();
|
2001-01-15 11:20:58 +00:00
|
|
|
}
|
|
|
|
|
2001-03-03 12:17:12 +00:00
|
|
|
function comment($comment, $link = "") {
|
2001-02-27 16:23:34 +00:00
|
|
|
echo "<A NAME=\"$comment->cid\"></A>\n";
|
|
|
|
|
|
|
|
// Create comment header:
|
|
|
|
echo " <TABLE BORDER=\"0\" CELLPADDING=\"4\" CELLSPACING=\"0\" WIDTH=\"100%\">";
|
|
|
|
echo " <TR>";
|
|
|
|
echo " <TD>";
|
|
|
|
echo " <TABLE BORDER=\"0\" CELLPADDING=\"1\" CELLSPACING=\"0\" BGCOLOR=\"#000000\" WIDTH=\"100%\">";
|
|
|
|
echo " <TR>";
|
|
|
|
echo " <TD>";
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
echo " <TABLE BACKGROUND=\"themes/jeroen/images/menutitle.gif\" BORDER=\"0\" CELLPADDING=\"2\" CELLSPACING=\"0\" WIDTH=\"100%\">";
|
2001-02-27 16:23:34 +00:00
|
|
|
echo " <TR>";
|
|
|
|
echo " <TD>";
|
Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.
Jeroen.
2001-03-05 13:56:41 +00:00
|
|
|
echo " <TABLE BORDER=\"0\" CELLPADDING=\"2\" CELLSPACING=\"0\" WIDTH=\"100%\">";
|
2001-03-08 08:16:23 +00:00
|
|
|
|
2001-02-27 16:23:34 +00:00
|
|
|
// Subject:
|
|
|
|
echo " <TR>";
|
|
|
|
echo " <TD ALIGN=\"right\" WIDTH=\"5%\">";
|
2001-02-28 18:02:06 +00:00
|
|
|
echo " <FONT COLOR=\"#FEFEFE\"><B>". t("Subject") .":</B>";
|
|
|
|
echo " </TD>";
|
|
|
|
echo " <TD WIDTH=\"80%\">";
|
|
|
|
echo " <B>". check_output($comment->subject) ."</B>";
|
2001-02-27 16:23:34 +00:00
|
|
|
echo " </FONT>";
|
|
|
|
echo " </TD>";
|
2001-03-01 21:34:09 +00:00
|
|
|
|
2001-02-27 16:23:34 +00:00
|
|
|
// Moderation:
|
2001-02-28 00:29:57 +00:00
|
|
|
echo " <TD BGCOLOR=\"#6C6C6C\" BACKGROUND=\"themes/jeroen/images/menutitle.gif\" ALIGN=\"right\" ROWSPAN=\"2\" VALIGN=\"middle\" WIDTH=\"15%\">";
|
|
|
|
echo " <FONT COLOR=\"#000000\">";
|
|
|
|
echo comment_moderation($comment);
|
|
|
|
echo " </FONT>";
|
2001-02-27 16:23:34 +00:00
|
|
|
echo " </TD>";
|
|
|
|
echo " </TR>";
|
2001-03-01 21:34:09 +00:00
|
|
|
|
2001-02-27 16:23:34 +00:00
|
|
|
// Author:
|
|
|
|
echo " <TR>";
|
2001-02-28 00:29:57 +00:00
|
|
|
echo " <TD ALIGN=\"right\"><FONT COLOR=\"#FEFEFE\">". t("Author") .":</FONT></TD><TD><B>" .format_username($comment->userid) . "</B> ";
|
2001-02-27 16:23:34 +00:00
|
|
|
if ($comment->userid != $anonymous) {
|
|
|
|
// Display extra information line:
|
|
|
|
if ($comment->fake_email) $info .= format_email($comment->fake_email);
|
|
|
|
if (eregi("http://",$comment->url)) $info .= " | " . format_url($comment->url);
|
|
|
|
}
|
|
|
|
// Date:
|
|
|
|
echo " <FONT COLOR=\"#FEFEFE\">on ". format_date($comment->timestamp) ."</FONT>";
|
|
|
|
echo " </TD>";
|
|
|
|
echo " </TR>";
|
2001-03-01 21:34:09 +00:00
|
|
|
|
2001-02-27 16:23:34 +00:00
|
|
|
echo " </TABLE>";
|
|
|
|
echo " </TD>";
|
|
|
|
echo " </TR>";
|
2001-03-01 21:34:09 +00:00
|
|
|
|
2001-02-27 16:23:34 +00:00
|
|
|
// Print body of comment:
|
2001-01-15 11:20:58 +00:00
|
|
|
if ($comment) echo " <TR><TD BGCOLOR=\"#E7E7E7\" BACKGROUND=\"themes/jeroen/images/sketch.gif\">" . check_output($comment->comment, 1) ."</TD></TR>";
|
2001-03-01 21:34:09 +00:00
|
|
|
|
2001-02-27 16:23:34 +00:00
|
|
|
// Print bottom link(s):
|
|
|
|
echo " <TR><TD ALIGN=\"right\" BGCOLOR=\"#E7E7E7\" BACKGROUND=\"themes/jeroen/images/sketch.gif\"><FONT COLOR=\"#E09226\">[</FONT> $link <FONT COLOR=\"#E09226\">]</FONT></TD></TR>";
|
|
|
|
echo " </TABLE>";
|
|
|
|
echo " </TD>";
|
|
|
|
echo " </TR>";
|
|
|
|
echo " </TABLE>";
|
|
|
|
echo " </TD>";
|
|
|
|
echo " </TR>";
|
|
|
|
echo " </TABLE>";
|
|
|
|
echo " <BR>";
|
2001-03-01 21:34:09 +00:00
|
|
|
|
2001-02-27 16:23:34 +00:00
|
|
|
} // close comment function
|
2001-01-10 18:51:15 +00:00
|
|
|
|
2001-01-26 13:38:46 +00:00
|
|
|
function box($subject, $content, $options = "") {
|
2001-02-28 18:07:29 +00:00
|
|
|
$img = (rand(0, 50) == 25) ? "boxbottomright2.gif" : "boxbottomright1.gif";
|
2001-02-27 16:23:34 +00:00
|
|
|
$width = rand(10, 200);
|
|
|
|
$img2 = (rand(0, 100) == 50) ? "boxtopleftside2.gif" : "boxtopleftside1.gif";
|
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|
Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
|
|
|
|
Small bug fixes, added some NOWRAPs and other stuff. This is also an attempt to fix the widths of the boxes on the sides... I don't know if it'll work, and frankly I doubt if it would... Let me elaborate... You know that I have three colums, one for the left boxes, the middle for the stories and one for the right boxes... I didn't provide a width for any of these <TD>s. That's why it chose it's width randomly. Then I set them to these values, respectively 20 60 and 20%. That went OK, but another problem occurred. We only have boxes on the main page. And on the other pages. e.g. faq, submit news, search... we only have the <user>'s account box on the right. This results in a large white border on the left (lost space). That's why I did the following... but I am afraid it won't work... I set the widths to: <no width> 100% 20% So, now, when we have boxes on the left it'll display them, when there aren't any, the middle <TD> will take up the rest op the space, being 100%, it worked fine on my computer with my browsers... But since I use the kind of browser no-one else uses (linux mozilla 0.8 which sucks and linux NS6.01) it is no reference. I would want to stress again that my theme isn't mozilla compatible or how do you say that, in fact it'd better be mozilla isn't jeroen.theme compatible, it's buggy as hell with the backrounds. OK enough for now, let's see if anything good happens to my theme.
Dries, be so kind to get my jeroen.theme working at http://jeroen.drop.org.
Jeroen.
2001-02-26 15:43:42 +00:00
|
|
|
<TABLE WIDTH="100%" ALIGN="center" CELLPADDING="0" CELLSPACING="0" BORDER="0">
|
2001-01-15 11:20:58 +00:00
|
|
|
<TR>
|
Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
|
|
|
<TD WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/boxtopleft.gif" NOWRAP> </TD>
|
2001-03-09 15:59:44 +00:00
|
|
|
<TD WIDTH="<?php echo $width; ?>" BACKGROUND="themes/jeroen/images/boxtop.gif"> </TD>
|
2001-02-05 13:21:11 +00:00
|
|
|
<TD BACKGROUND="themes/jeroen/images/boxtopmiddle.gif"> </TD>
|
|
|
|
<TD BACKGROUND="themes/jeroen/images/boxtop.gif"> </TD>
|
2001-02-27 16:23:34 +00:00
|
|
|
<TD WIDTH="20" BACKGROUND="themes/jeroen/images/boxtopright.gif" NOWRAP> </TD>
|
2001-01-15 11:20:58 +00:00
|
|
|
</TR>
|
|
|
|
<TR>
|
2001-03-09 15:59:44 +00:00
|
|
|
<TD BACKGROUND="themes/jeroen/images/<?php echo $img2; ?>" HEIGHT="20"> </TD>
|
2001-02-27 16:23:34 +00:00
|
|
|
<TD ALIGN="center" WIDTH="100%" COLSPAN="3" BACKGROUND="themes/jeroen/images/menutitle.gif" NOWRAP>
|
2001-03-09 15:59:44 +00:00
|
|
|
<FONT COLOR="#FEFEFE"><?php echo $subject; ?></FONT>
|
2001-01-15 11:20:58 +00:00
|
|
|
</TD>
|
2001-02-05 13:21:11 +00:00
|
|
|
<TD BACKGROUND="themes/jeroen/images/boxtoprightside.gif"> </TD>
|
2001-01-15 11:20:58 +00:00
|
|
|
</TR>
|
|
|
|
<TR>
|
Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
|
|
|
<TD BACKGROUND="themes/jeroen/images/boxleft.gif" NOWRAP> </TD>
|
2001-02-28 18:02:06 +00:00
|
|
|
<TD COLSPAN="3" ALIGN="center" BGCOLOR="#E7E7E7" BACKGROUND="themes/jeroen/images/sketch.gif">
|
2001-02-27 16:23:34 +00:00
|
|
|
<TABLE>
|
2001-02-05 13:21:11 +00:00
|
|
|
<TR>
|
|
|
|
<TD>
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php echo $content; ?>
|
2001-02-05 13:21:11 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
</TABLE>
|
|
|
|
</TD>
|
Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
|
|
|
<TD BACKGROUND="themes/jeroen/images/boxright.gif" NOWRAP> </TD>
|
2001-02-05 13:21:11 +00:00
|
|
|
</TR>
|
|
|
|
<TR>
|
Made some "major" changes in how I display comments, articles, abstracts. It won't show much different but the ones that know my theme a bit will se a small change. I don't use .gifs anymore to display the borders of the articles e.g. but a table in a table, so you get a small black border. It looks nicer, and you need less .gifs, which is, in my theme an improvement :) I also themed the comments, they weren't yet, and I didn't know it was my thing to do. I still ain't happy with the comment's headers, but it's a start. Just check it out at http://jeroen.drop.org . Things to do, get the footer's navigation bar display nicely and find a better way to display the comment's header. Nevertheless I think it's doable. It's 01.40 now I think I'm going to sleep. But first commit and delete some .gifs from zind.net.
Jeroen.
2001-02-26 00:39:47 +00:00
|
|
|
<TD BACKGROUND="themes/jeroen/images/boxbottomleft.gif" HEIGHT="20" NOWRAP> </TD>
|
2001-02-05 13:21:11 +00:00
|
|
|
<TD COLSPAN="3" BACKGROUND="themes/jeroen/images/boxbottom.gif"> </TD>
|
2001-03-09 15:59:44 +00:00
|
|
|
<TD BACKGROUND="themes/jeroen/images/<?php echo $img; ?>" NOWRAP> </TD>
|
2001-02-05 13:21:11 +00:00
|
|
|
</TR>
|
2001-01-15 11:20:58 +00:00
|
|
|
</TABLE>
|
|
|
|
<BR>
|
2001-01-10 18:51:15 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
2001-02-27 16:23:34 +00:00
|
|
|
|
|
|
|
} // close box function
|
2001-01-10 18:51:15 +00:00
|
|
|
|
2001-01-15 11:20:58 +00:00
|
|
|
function footer() {
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|
2001-01-10 18:51:15 +00:00
|
|
|
|
2001-01-15 11:20:58 +00:00
|
|
|
</TD>
|
2001-02-27 16:23:34 +00:00
|
|
|
<TD WIDTH="20%" VALIGN="top" ALIGN="right">
|
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
2001-02-27 16:23:34 +00:00
|
|
|
|
2001-02-07 22:01:57 +00:00
|
|
|
global $PHP_SELF;
|
|
|
|
|
2001-01-22 20:56:51 +00:00
|
|
|
theme_account($this);
|
2001-02-27 16:55:37 +00:00
|
|
|
theme_blocks("right", $this);
|
2001-02-27 16:23:34 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|
2001-02-27 16:23:34 +00:00
|
|
|
|
2001-01-15 11:20:58 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
<TR>
|
2001-02-05 13:21:11 +00:00
|
|
|
<TD></TD>
|
|
|
|
<TD>
|
2001-02-27 16:23:34 +00:00
|
|
|
<TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0" BORDER="0">
|
2001-02-05 13:21:11 +00:00
|
|
|
<TR>
|
2001-02-27 16:23:34 +00:00
|
|
|
<TD ALIGN="left" WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/footerleft.gif" NOWRAP> </TD>
|
2001-02-05 13:21:11 +00:00
|
|
|
<TD WIDTH="100%" BACKGROUND="themes/jeroen/images/footer.gif" ALIGN="center" VALIGN="middle">
|
2001-02-28 18:02:06 +00:00
|
|
|
<FONT COLOR="#E09226" SIZE="2">[ <A HREF="">Home</A> | <A HREF="module.php?mod=faq">Faq</A> | <A HREF="search.php">Search</A> | <A HREF="module.php?mod=diary">Diary</A>| <A HREF="submit.php">Submit news</A> | <A HREF="account.php">Account</A> ] </FONT>
|
2001-02-05 13:21:11 +00:00
|
|
|
</TD>
|
2001-02-27 16:23:34 +00:00
|
|
|
<TD ALIGN="right" WIDTH="20" BACKGROUND="themes/jeroen/images/footerright.gif" NOWRAP> </TD>
|
2001-02-05 13:21:11 +00:00
|
|
|
</TR>
|
|
|
|
</TABLE>
|
2001-01-15 11:20:58 +00:00
|
|
|
</TD>
|
2001-02-05 13:21:11 +00:00
|
|
|
<TD></TD>
|
2001-01-15 11:20:58 +00:00
|
|
|
</TR>
|
|
|
|
</TABLE>
|
2001-01-26 13:38:46 +00:00
|
|
|
</BODY>
|
2001-01-15 11:20:58 +00:00
|
|
|
</HTML>
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
|
2001-03-09 15:59:44 +00:00
|
|
|
<?php
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
|
2001-01-15 11:20:58 +00:00
|
|
|
}
|
|
|
|
}
|
2001-01-10 18:51:15 +00:00
|
|
|
|
Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.
Jeroen.
2001-03-05 20:46:29 +00:00
|
|
|
?>
|