diff options
38 files changed, 0 insertions, 593 deletions
diff --git a/themes/jeroen/images/background.gif b/themes/jeroen/images/background.gif Binary files differdeleted file mode 100644 index 7728f41cf..000000000 --- a/themes/jeroen/images/background.gif +++ /dev/null diff --git a/themes/jeroen/images/boxbottom.gif b/themes/jeroen/images/boxbottom.gif Binary files differdeleted file mode 100644 index 6bda0e4d4..000000000 --- a/themes/jeroen/images/boxbottom.gif +++ /dev/null diff --git a/themes/jeroen/images/boxbottomleft.gif b/themes/jeroen/images/boxbottomleft.gif Binary files differdeleted file mode 100644 index 5ac57e752..000000000 --- a/themes/jeroen/images/boxbottomleft.gif +++ /dev/null diff --git a/themes/jeroen/images/boxbottomright1.gif b/themes/jeroen/images/boxbottomright1.gif Binary files differdeleted file mode 100644 index d87b1e0b9..000000000 --- a/themes/jeroen/images/boxbottomright1.gif +++ /dev/null diff --git a/themes/jeroen/images/boxbottomright2.gif b/themes/jeroen/images/boxbottomright2.gif Binary files differdeleted file mode 100644 index 7a3a3dbad..000000000 --- a/themes/jeroen/images/boxbottomright2.gif +++ /dev/null diff --git a/themes/jeroen/images/boxleft.gif b/themes/jeroen/images/boxleft.gif Binary files differdeleted file mode 100644 index 1730d91de..000000000 --- a/themes/jeroen/images/boxleft.gif +++ /dev/null diff --git a/themes/jeroen/images/boxright.gif b/themes/jeroen/images/boxright.gif Binary files differdeleted file mode 100644 index 510aae157..000000000 --- a/themes/jeroen/images/boxright.gif +++ /dev/null diff --git a/themes/jeroen/images/boxtop.gif b/themes/jeroen/images/boxtop.gif Binary files differdeleted file mode 100644 index 1e2ba9754..000000000 --- a/themes/jeroen/images/boxtop.gif +++ /dev/null diff --git a/themes/jeroen/images/boxtopleft.gif b/themes/jeroen/images/boxtopleft.gif Binary files differdeleted file mode 100644 index 7a98ff4be..000000000 --- a/themes/jeroen/images/boxtopleft.gif +++ /dev/null diff --git a/themes/jeroen/images/boxtopleftside1.gif b/themes/jeroen/images/boxtopleftside1.gif Binary files differdeleted file mode 100644 index 7eb0335e8..000000000 --- a/themes/jeroen/images/boxtopleftside1.gif +++ /dev/null diff --git a/themes/jeroen/images/boxtopleftside2.gif b/themes/jeroen/images/boxtopleftside2.gif Binary files differdeleted file mode 100644 index 25fc0bb51..000000000 --- a/themes/jeroen/images/boxtopleftside2.gif +++ /dev/null diff --git a/themes/jeroen/images/boxtopmiddle.gif b/themes/jeroen/images/boxtopmiddle.gif Binary files differdeleted file mode 100644 index f274116ed..000000000 --- a/themes/jeroen/images/boxtopmiddle.gif +++ /dev/null diff --git a/themes/jeroen/images/boxtopright.gif b/themes/jeroen/images/boxtopright.gif Binary files differdeleted file mode 100644 index 958f203ae..000000000 --- a/themes/jeroen/images/boxtopright.gif +++ /dev/null diff --git a/themes/jeroen/images/boxtoprightside.gif b/themes/jeroen/images/boxtoprightside.gif Binary files differdeleted file mode 100644 index 19e75ad4b..000000000 --- a/themes/jeroen/images/boxtoprightside.gif +++ /dev/null diff --git a/themes/jeroen/images/footer.gif b/themes/jeroen/images/footer.gif Binary files differdeleted file mode 100644 index 9587bf8ca..000000000 --- a/themes/jeroen/images/footer.gif +++ /dev/null diff --git a/themes/jeroen/images/footerleft.gif b/themes/jeroen/images/footerleft.gif Binary files differdeleted file mode 100644 index b450f09fb..000000000 --- a/themes/jeroen/images/footerleft.gif +++ /dev/null diff --git a/themes/jeroen/images/footerright.gif b/themes/jeroen/images/footerright.gif Binary files differdeleted file mode 100644 index 68c53b33a..000000000 --- a/themes/jeroen/images/footerright.gif +++ /dev/null diff --git a/themes/jeroen/images/logo.gif b/themes/jeroen/images/logo.gif Binary files differdeleted file mode 100644 index 28cda900e..000000000 --- a/themes/jeroen/images/logo.gif +++ /dev/null diff --git a/themes/jeroen/images/logo2.gif b/themes/jeroen/images/logo2.gif Binary files differdeleted file mode 100644 index 4b24b4b70..000000000 --- a/themes/jeroen/images/logo2.gif +++ /dev/null diff --git a/themes/jeroen/images/menutitle.gif b/themes/jeroen/images/menutitle.gif Binary files differdeleted file mode 100644 index 81d910f4a..000000000 --- a/themes/jeroen/images/menutitle.gif +++ /dev/null diff --git a/themes/jeroen/images/news1.gif b/themes/jeroen/images/news1.gif Binary files differdeleted file mode 100644 index 2f6d3b9f3..000000000 --- a/themes/jeroen/images/news1.gif +++ /dev/null diff --git a/themes/jeroen/images/news2.gif b/themes/jeroen/images/news2.gif Binary files differdeleted file mode 100644 index 671fd4ec0..000000000 --- a/themes/jeroen/images/news2.gif +++ /dev/null diff --git a/themes/jeroen/images/news3.gif b/themes/jeroen/images/news3.gif Binary files differdeleted file mode 100644 index c4e199878..000000000 --- a/themes/jeroen/images/news3.gif +++ /dev/null diff --git a/themes/jeroen/images/news4.gif b/themes/jeroen/images/news4.gif Binary files differdeleted file mode 100644 index 68551f60f..000000000 --- a/themes/jeroen/images/news4.gif +++ /dev/null diff --git a/themes/jeroen/images/news5.gif b/themes/jeroen/images/news5.gif Binary files differdeleted file mode 100644 index d7d7ff9b8..000000000 --- a/themes/jeroen/images/news5.gif +++ /dev/null diff --git a/themes/jeroen/images/newsmiddle.gif b/themes/jeroen/images/newsmiddle.gif Binary files differdeleted file mode 100644 index 428742f26..000000000 --- a/themes/jeroen/images/newsmiddle.gif +++ /dev/null diff --git a/themes/jeroen/images/sketch.gif b/themes/jeroen/images/sketch.gif Binary files differdeleted file mode 100644 index 361dbad05..000000000 --- a/themes/jeroen/images/sketch.gif +++ /dev/null diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme deleted file mode 100644 index 61aa3ac45..000000000 --- a/themes/jeroen/jeroen.theme +++ /dev/null @@ -1,330 +0,0 @@ -<?php - - /********************************************************************* - - Theme: Jeroen - Author: Jeroen Bensch (Jeroen) - Email: jeroen@drop.org - Description: Very graphical theme using a cool pipe-design. - - *********************************************************************/ - - class Theme extends BaseTheme { - // General colorset that can be used for this theme - var $foreground = "#000000"; - var $background = "#E7E7E7"; - - /* - 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. :) - */ - - function header() { - -?> - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> - <html> - - <head> - <title><?php echo variable_get(site_name, "drupal"); ?> - Tears of technology</title> - <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: 10pt; } - --> - </style> - </head> - - <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%"> - <?php $img = (rand(0,150) == 75) ? "logo2.gif" : "logo.gif"; ?> - <img src="themes/jeroen/images/<?php echo $img; ?>" alt=""><br /><br /> - </td> - <td width="20%"> - -<?php - - $mybox = 1; - $this->box("Drop where?", "<td align=\"left\" valign=\"top\"> - <a href=\"index.php\">home</a><br /> - <a href=\"module.php?mod=book\">handbook</a><br /> - <a href=\"module.php?mod=search\">search</a> - </td> - <td align=\"right\" valign=\"top\"> - <a href=\"module.php?mod=diary\">diary</a><br /> - <a href=\"submit.php\">submit</a><br /> - <a href=\"account.php\">account</a> - </td>"); - -?> - - </td> - </tr> - <tr> - <td valign="top" align="right"> - -<?php - - theme_blocks("left", $this); - -?> - - </td> - <td width="80%" valign="top" align="left"> - -<?php - - } // close header function - - function node($node, $main = 0) { - -?> - - <table width="100%" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td align="left" valign="bottom" width="20" height="20" background="themes/jeroen/images/<?php echo (rand(0, 1) ? "news1.gif" : "news3.gif"); ?>" nowrap> </td> - <td align="center" valign="top" width="100%" background="themes/jeroen/images/newsmiddle.gif" nowrap> - <B><?php echo "". check_output($node->title) .""; ?></B> - </td> - <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> - </tr> - <tr> - <td></td> - <td> - <table border="0" cellpadding="1" cellspacing="0" BGCOLOR="#000000" width="100%"> - <tr> - <td> - <table border="0" cellpadding="2" cellspacing="0" width="100%" BGCOLOR="#E7E7E7" background="themes/jeroen/images/sketch.gif"> - <tr> - <td align="left" background="themes/jeroen/images/menutitle.gif" nowrap> - <FONT COLOR="#FEFEFE"> -<?php - switch (rand(0,13)) { - case 0: $how = "Yelled"; break; case 1: $how = "Whispered"; break; - case 2: $how = "Reported"; break; case 3: $how = "Posted"; break; - case 4: $how = "Beamed through"; break; case 5: $how = "Faxed"; break; - case 6: $how = "Tossed"; break; case 7: $how = "Morsed"; break; - case 8: $how = "Flagged"; break; case 9: $how = "Written"; break; - case 10: $how = "Made up"; break; case 11: $how = "Uploaded"; break; - case 12: $how = "Forged"; break; - default: $how = "Sneaked through"; - } - echo "<FONT SIZE=\"-1\">". strtr(t("$how by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp), "large")) ."</FONT>"; -?> - </FONT> - </td> -<?php - echo "<td align=\"right\" background=\"themes/jeroen/images/menutitle.gif\" nowrap><b>". node_index($node) ."</b>"; -?> - </td> - </tr> - <tr> - <td colspan="2" valign="top" width="100%"> - -<?php - echo "<br />". check_output($node->body, 1) ."<br />"; -?> - - </td> - </tr> - <tr> - <td colspan="2" align="right"> -<?php - if ($main) - echo $this->links(node_link($node)); -?> - - </td> - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> - </table> - <br /> - -<?php - - } // close node function - - function comment($comment, $link = "") { - 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>"; - echo " <table background=\"themes/jeroen/images/menutitle.gif\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">"; - echo " <tr>"; - echo " <td>"; - echo " <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">"; - - // Subject: - echo " <tr>"; - echo " <td align=\"right\" width=\"5%\">"; - echo " <FONT COLOR=\"#FEFEFE\"><B>". t("Subject") .":</B>"; - echo " </td>"; - echo " <td width=\"80%\">"; - echo " <B>". check_output($comment->subject) ."</B>"; - echo " </FONT>"; - echo " </td>"; - - // Moderation: - 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>"; - echo " </td>"; - echo " </tr>"; - - // Author: - echo " <tr>"; - echo " <td align=\"right\"><FONT COLOR=\"#FEFEFE\">". t("Author") .":</FONT></td><td><B>". format_name($comment) ."</B> "; - if ($comment->name) { - // 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>"; - - echo " </table>"; - echo " </td>"; - echo " </tr>"; - - // Print body of comment: - if ($comment) echo " - <tr> - <td BGCOLOR=\"#E7E7E7\" background=\"themes/jeroen/images/sketch.gif\">". check_output($comment->comment, 1) ."</td> - </tr>"; - - // 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 />"; - - } // close comment function - - function box($subject, $content, $region = "main") { - $img = (rand(0, 50) == 25) ? "boxbottomright2.gif" : "boxbottomright1.gif"; - $width = rand(10, 200); - $img2 = (rand(0, 100) == 50) ? "boxtopleftside2.gif" : "boxtopleftside1.gif"; - -?> - - <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td background="themes/jeroen/images/boxtopleft.gif" width="20" height="20" border="0" nowrap> </td> - <td width="<?php echo $width; ?>" background="themes/jeroen/images/boxtop.gif"> </td> - <td background="themes/jeroen/images/boxtopmiddle.gif" nowrap> </td> - <td background="themes/jeroen/images/boxtop.gif"nowrap> </td> - <td width="20" background="themes/jeroen/images/boxtopright.gif" nowrap> </td> - </tr> - <tr> - <td background="themes/jeroen/images/<?php echo $img2; ?>" height="20"> </td> - <td align="center" width="100%" colspan="3" background="themes/jeroen/images/menutitle.gif" nowrap> - <FONT COLOR="#FEFEFE"><?php echo $subject; ?></FONT> - </td> - <td background="themes/jeroen/images/boxtoprightside.gif"> </td> - </tr> - <tr> - <td background="themes/jeroen/images/boxleft.gif" nowrap> </td> - <td colspan="3" align="center" BGCOLOR="#E7E7E7" background="themes/jeroen/images/sketch.gif"> - <table width="100%" border="0"> - <tr> - -<?php - - if ($mybox == 1) { - echo $content; - $mybox = 0; - } - else { - echo "<td>"; - echo $content; - echo "</td>"; - } - -?> - - </tr> - </table> - </td> - <td background="themes/jeroen/images/boxright.gif" nowrap> </td> - </tr> - <tr> - <td background="themes/jeroen/images/boxbottomleft.gif" height="20" nowrap> </td> - <td colspan="3" background="themes/jeroen/images/boxbottom.gif"> </td> - <td background="themes/jeroen/images/<?php echo $img; ?>" nowrap> </td> - </tr> - </table> - <br /> - -<?php - - } // close box function - - function footer() { - -?> - - </td> - <td width="20%" valign="top" align="right"> - -<?php - - global $PHP_SELF; - - theme_account("right", $this); - theme_blocks("right", $this); - -?> - - </td> - </tr> - <tr> - <td></td> - <td> - <table width="100%" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td align="left" width="20" height="20" background="themes/jeroen/images/footerleft.gif" nowrap> </td> - <td width="100%" background="themes/jeroen/images/footer.gif" align="center" valign="middle"> - <FONT COLOR="#E09226" SIZE="2">[ <?php print $this->links(link_page()); ?> ] </FONT> - </td> - <td align="right" width="20" background="themes/jeroen/images/footerright.gif" nowrap> </td> - </tr> - </table> - </td> - <td></td> - </tr> - </table> - </body> - </html> - -<?php - - } - } - -?> diff --git a/themes/yaroon/images/pixel.gif b/themes/yaroon/images/pixel.gif Binary files differdeleted file mode 100644 index 3a4696955..000000000 --- a/themes/yaroon/images/pixel.gif +++ /dev/null diff --git a/themes/yaroon/images/square.gif b/themes/yaroon/images/square.gif Binary files differdeleted file mode 100644 index 218e3d99c..000000000 --- a/themes/yaroon/images/square.gif +++ /dev/null diff --git a/themes/yaroon/images/square2.gif b/themes/yaroon/images/square2.gif Binary files differdeleted file mode 100644 index 10d140c8a..000000000 --- a/themes/yaroon/images/square2.gif +++ /dev/null diff --git a/themes/yaroon/images/square3.gif b/themes/yaroon/images/square3.gif Binary files differdeleted file mode 100644 index 27d28e290..000000000 --- a/themes/yaroon/images/square3.gif +++ /dev/null diff --git a/themes/yaroon/images/square4.gif b/themes/yaroon/images/square4.gif Binary files differdeleted file mode 100644 index 952fa54f1..000000000 --- a/themes/yaroon/images/square4.gif +++ /dev/null diff --git a/themes/yaroon/images/square5.gif b/themes/yaroon/images/square5.gif Binary files differdeleted file mode 100644 index 1d75586e7..000000000 --- a/themes/yaroon/images/square5.gif +++ /dev/null diff --git a/themes/yaroon/images/square6.gif b/themes/yaroon/images/square6.gif Binary files differdeleted file mode 100644 index f68d4d32a..000000000 --- a/themes/yaroon/images/square6.gif +++ /dev/null diff --git a/themes/yaroon/images/square7.gif b/themes/yaroon/images/square7.gif Binary files differdeleted file mode 100644 index 3dbbd4df7..000000000 --- a/themes/yaroon/images/square7.gif +++ /dev/null diff --git a/themes/yaroon/images/square8.gif b/themes/yaroon/images/square8.gif Binary files differdeleted file mode 100644 index 90480a695..000000000 --- a/themes/yaroon/images/square8.gif +++ /dev/null diff --git a/themes/yaroon/yaroon.theme b/themes/yaroon/yaroon.theme deleted file mode 100644 index 7ef49edbc..000000000 --- a/themes/yaroon/yaroon.theme +++ /dev/null @@ -1,263 +0,0 @@ -<?php - - /********************************************************************* - - Theme: Yaroon - Author: Jeroen Bensch (Jeroen) - E-mail: jeroen@drop.org - Description: Grey theme with some colors, slight problem with NS 4.76 - - *********************************************************************/ - - class Theme extends BaseTheme { - var $foreground = "#000000"; - var $background = "#F0F0F0"; - - function header() { - - global $PHP_SELF, $REQUEST_URI, $cid, $id; - - $true = 0; - - switch (rand(0,8)) { - case 0: $color = "#c4a2a2"; break; - case 1: $color = "#a2c4a7"; break; - case 2: $color = "#c2c4a2"; break; - case 3: $color = "#ad4322"; break; - case 4: $color = "#6c6c23"; break; - case 6: $color = "#d31717"; break; - case 7: $color = "#383838"; break; - default: $color = "#a3b1c7"; - } -?> - - <!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> --> - <html> - - <head> - <title><?php echo variable_get(site_name, "drupal"); ?></title> - <style type="text/css"> - a { text-decoration: none; color: #24677f; } - a:active { color: #24677f; } - a:visited { color: #24677f; } - a:hover { color: <?php echo $color; ?>; } - td { font-family: Arial,Helvetica; font-size: 10pt; } - .spacer1 { background-color: #000000; } - .small { font-family: Arial,Helvetica; font-size: 10pt; } - .box { font-size: 12pt; } - </style> - <script language="JavaScript"> - <!-- - function do_nav() { - navdrop = document.navform.navdrop; - if (navdrop.options[navdrop.selectedIndex].value != "none") { - location = navdrop.options[navdrop.selectedIndex].value; - } - } - //--> - </script> - </head> - - <body bgcolor="#878787" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" link="#24677f" alink="#24677f" vlink="#24677f"> - <table border="0" cellpadding="0" cellspacing="0" width="100%"> - <tr> - <td align="left" valign="middle" width="20%"> - <font size="+1"> - <b><a href="<?php echo path_uri(); ?>"><?php echo path_uri(); ?></a></b> - </font> - </td> - <td class="spacer1" width="1" height="1"><img src="themes/yaroon/images/pixel.gif" width="1" height="1" alt="" border="0" /></td> - <form name="navform" action="" method="get"> - <td align="right" valign="top" width="80%"> - <select name="navdrop" onChange="do_nav()" class="small"> - <option value="index.php" <?php if (strstr($PHP_SELF, "index.php")) { echo "selected"; $true = 1; } ?>>Main</option> - <option value="account.php" <?php if (strstr($PHP_SELF, "account.php")) { echo "selected"; $true = 1; } ?>>Account</option> - <option value="module.php?mod=blog" <?php if (strstr($REQUEST_URI, "mod=diary")) { echo "selected"; $true = 1; } ?>>User blogs</option> - <option value="module.php?mod=forum" <?php if (strstr($REQUEST_URI, "mod=forum")) { echo "selected"; $true = 1; } ?>>Forum</option> - <option value="module.php?mod=headline" <?php if (strstr($REQUEST_URI, "mod=import")) { echo "selected"; $true = 1; } ?>>News feeds</option> - <option value="module.php?mod=cloud" <?php if (strstr($REQUEST_URI, "mod=cloud")) { echo "selected"; $true = 1; } ?>>Site cloud</option> - <option value="module.php?mod=book" <?php if (strstr($REQUEST_URI, "mod=book")) { echo "selected"; $true = 1; } ?>>Collaborative book</option> - <option value="module.php?mod=cvs" <?php if (strstr($REQUEST_URI, "mod=cvs")) { echo "selected"; $true = 1; } ?>>CVS messages</option> - <option value="submit.php" <?php if (strstr($PHP_SELF, "submit.php")) { echo "selected"; $true = 1; } ?>>Submit</option> - <option value="module.php?mod=search" <?php if (strstr($REQUEST_URI, "mod=search")) { echo "selected"; $true = 1; } ?>>Search</option> - <option value="module.php?mod=rating" <?php if (strstr($REQUEST_URI, "mod=rating")) { echo "selected"; $true = 1; } ?>>User rating</option> - <?php if ($REQUEST_URI == "/module.php?mod=queue") { $true = 1; echo "<option selected>Submission queue</option>"; } - if (!$true) { echo "<option selected>"; if($cid) echo "Node $cid"; else if($id) echo "Node $id"; else echo "Other"; echo"</option>"; } ?> - </select> - <noscript><input type="submit" value="Go"></noscript> - </td> - </form> - </tr> - <tr><td colspan="3" class="spacer1"><img src="themes/yaroon/images/pixel.gif" width="1" height="1" alt="" border="0" /></td></tr> - <tr> - <td align="center" valign="top" width="20%"> - <br /> - -<?php - - theme_account("all", $this); - theme_blocks("all", $this); - -?> - - </td> - <td class="spacer1"><img src="themes/yaroon/images/pixel.gif" width="1" height="1" alt="" border="0" /></td> - <td align="center" valign="top" bgcolor="#f4f4f4" width="80%" height="100%"> - <br /> - <table border="0" cellpadding="0" cellspacing="0" width="95%"> - <tr> - <td> - -<?php - - } // close header function - - - function node($node, $main = 0) { - - switch (rand(0,8)) { - case 0: $color = "#c4a2a2"; $img = "square2.gif"; break; - case 1: $color = "#a2c4a7"; $img = "square3.gif"; break; - case 2: $color = "#c2c4a2"; $img = "square4.gif"; break; - case 3: $color = "#ad4322"; $img = "square5.gif"; break; - case 4: $color = "#6c6c23"; $img = "square6.gif"; break; - case 5: $color = "#d31717"; $img = "square7.gif"; break; - case 6: $color = "#383838"; $img = "square8.gif"; break; - default: $color = "#a3b1c7"; $img = "square.gif"; - } - - - -?> - - <table border="0" cellpadding="0" cellspacing="1" width="100%"> - <tr> - <td> - <img src="themes/yaroon/images/<?php echo $img; ?>" border="0" /> <b style="font-size: 12pt"><?php echo check_output($node->title); ?></b> - <?php echo strtr(t("by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp), "small")); ?> - </td> - </tr> - <tr><td bgcolor="<?php echo $color; ?>"><img src="themes/yaroon/images/pixel.gif" width="1" height="1" alt="" border="0" /></td></tr> - <tr> - <td> - -<?php - echo "<br />". check_output($node->body, 1) ."<br />"; - echo" </td> - </tr> - <tr> - <td align=\"right\"> - <font color=\"". $color ."\">"; - if ($main) - echo "[ ". $this->links(link_node($node)) ." ]"; - echo"</font>"; - -?> - - <br> - </td> - </tr> - </table> - -<?php - - } // close node function - - function comment($comment, $link = "") { - echo "<a name=\"$comment->cid\"></a>\n"; - -?> - - <table width="90%" border="0" cellpadding="0" cellspacing="1" heigth="100%"> - <tr> - <td valign="bottom" class="box"> - <img src="themes/yaroon/images/square.gif" /> <b><?php echo check_output($comment->subject); ?></b> - <font size="-1"><?php echo strtr(t(" by %a on %b"), array("%a" => format_name($comment), "%b" => format_date($comment->timestamp), "small")); ?></font> - </td> - <td align="right"><?php echo comment_moderation($comment); ?></td> - </tr> - <tr><td colspan="2" class="spacer1"><img src="themes/yaroon/images/pixel.gif" width="1" height="1" alt="" border="0" /><br></td></tr> - <tr> - <td colspan="2"> - <br /> - <?php echo check_output($comment->comment, 1); ?> - </td> - </tr> - <tr> - <td align="right" colspan="2"> - <br /> - [ <?php echo $link; ?> ]<br /> - - </td> - </tr> - </table> - -<?php - - } // close comment function - - function box($subject, $content, $region = "main") { - - switch (rand(0,7)) { - case 0: $img = "square.gif"; break; - case 1: $img = "square2.gif"; break; - case 2: $img = "square3.gif"; break; - case 3: $img = "square4.gif"; break; - case 4: $img = "square5.gif"; break; - case 6: $img = "square6.gif"; break; - case 7: $img = "square7.gif"; break; - default: $img = "square.gif"; - } - -?> - <table width="90%" border="0" cellpadding="0" cellspacing="1"> - <tr> - <td class="box"><img src="themes/yaroon/images/square.gif" /> <b><?php echo $subject; ?></b></td> - </tr> - <tr><td class="spacer1"><img src="themes/yaroon/images/pixel.gif" width="1" height="1" alt="" border="0" /><br></td></tr> - <tr> - <td> - <br /> - <?php echo $content; ?> - </td> - </tr> - <tr><td align="right" class="box"><img src="themes/yaroon/images/<?php echo $img; ?>" /><br /> </td></tr> - </table> - -<?php - - } // close box function - - function footer() { - -?> - - </td> - </tr> - </table> - <!-- I call this the super-space, withouth it, the comment section looks crappy at the bottom :) --> - </td> - </tr> - <tr><td colspan="3" class="spacer1"><img src="themes/yaroon/images/pixel.gif" width="1" height="1" alt="" border="0" /></td></tr> - <tr> - <td align="left"> - <a href="mailto:<?php echo variable_get(site_mail,"root@localhost"); ?>"><?php echo variable_get(site_mail,"root@localhost"); ?></a> - </font> - </td> - - <td class="spacer1"><img src="themes/yaroon/images/pixel.gif" width="1" height="1" alt="" border="0" /></td> - <td align="right"> - <?php echo variable_get(site_footer, ""); ?> - </td> - </tr> - </table> - </body> - - </html> - -<?php - - } // close footer function - } - -?> |