Commit 6590fec2 authored by Jeroen's avatar Jeroen
Browse files

Removed old .php files and added some gifs

parent 80399f63
</TD>
<TD VALIGN="top" WIDTH="150">
<?
global $PHP_SELF;
if (strstr($PHP_SELF, "index.php")) {
global $user;
### Display login box:
displayAccount();
### Display voting poll:
displayPoll();
### Display old headlines:
displayOldHeadlines();
}
elseif (strstr($PHP_SELF, "account.php")) {
### Display account settings:
displayAccountSettings();
}
elseif (strstr($PHP_SELF, "article.php")) {
global $sid;
### Display related links:
displayRelatedLinks($sid);
### Display new headlines:
displayNewHeadlines();
}
else {
### Display new headlines:
displayNewHeadlines();
}
?>
</TD>
</TR>
<TR>
<TD ALIGN="center" COLSPAN="3">
<FONT SIZE="2">[ <A HREF="">home</A> | <A HREF="/faq.php"><IMG BORDER="0" SRC="themes/Jeroen/images/dropfaq.gif" ALT="Frequently Asked Questions"></A> | <A HREF="/search.php">search</A> | <A HREF="/submit.php">submit news</A> | <A HREF="/account.php">user account</A> | <A HREF="/webboard.php">webboard</A> ] </FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE><? include "config.inc"; echo $sitename; ?></TITLE>
<META NAME="description" CONTENT="geek-village: release your inner geek">
<META NAME="keywords" CONTENT="geek, nerd, weblog, portal, computer, sience, news, announcements, hype, cult, irc, foo, bar">
</HEAD>
<STYLE type="text/css">
<!--
BODY,TD,P,UL,LI,DIV,FORM,EM,BLOCKQUOTE { font-size: 8pt; font-family: verdana,helvetica,arial; }
-->
</STYLE>
<BODY TEXT="#000000" BGCOLOR="#FEFEFE" ALINK="#D5AE83" LINK="#CECECE" VLINK="#FEFEFE">
<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="2">
<TR>
<TD COLSPAN="3"><IMG SRC="images/logo.gif" ALT="drop.org logo"></TD>
</TR>
<TR><TD ALIGN="right" COLSPAN="3"><FONT SIZE="2"><A HREF="">home</A> | <A HREF="/faq.php"><IMG BORDER="0" SRC="themes/Jeroen/images/dropfaq.gif" ALT="Frequently Asked Questions"></A> | <A HREF="/search.php">search</A> | <A HREF="/submit.php">submit news</A> | <A HREF="/account.php">user account</A> | <A HREF="/webboard.php">webboard</A></FONT><HR></TD></TR>
<TR>
<TD VALIGN="top" WIDTH="120">
<?
dbconnect();
### Display admin blocks:
displayAdminblock();
### Display referring sites:
displayReferrals();
?>
<TD VALIGN="top" WIDTH="440">
<?php
$bgcolor1 = "#CECECE";
$bgcolor2 = "#486591";
$bgcolor3 = "#CECECE";
function themeindex($editor, $informant, $datetime, $subject, $abstract, $comments, $category, $department, $link) {
global $bgcolor1, $bgcolor2, $bgcolor3;
$datetime = date("l, F d, Y - h:i:s A", $datetime);
include "config.inc";
?>
<TABLE BORDER="0" CELLPADDING="4" WIDTH="100%">
<TR BGCOLOR="<? echo $bgcolor1; ?>"><TD COLSPAN="2"><FONT COLOR="<? echo $bgcolor2; ?>"><B><? echo $subject; ?></B></FONT></TD></TR>
<TR BGCOLOR="<? echo $bgcolor2; ?>">
<TD>
<?
if ($informant) {
print "<FONT SIZE=\"-1\">Posted by <A HREF=\"account.php?op=userinfo&uname=$informant\">$informant</A> on $datetime"; ?><? if ($department) echo "<BR>from the $department dept."; ?><? print "</FONT></TD><TD ALIGN=\"center\" WIDTH=\"80\"><A HREF=\"search.php?category=$category\">$category</A>";
}
else {
print "<FONT SIZE=\"-1\">Posted by $anonymous on $datetime"; ?><? if ($department) echo "<BR>from the $department dept."; ?><? print "</FONT></TD><TD ALIGN=\"center\" WIDTH=\"80\"><A HREF=\"search.php?category=$category\">$category</A>";
}
?>
</TD>
</TR>
<TR BGCOLOR="<? echo $bgcolor3; ?>">
<TD COLSPAN="2">
<?
if ($comments) {
echo "<P>$abstract</P><P><FONT COLOR=\"$bgcolor1\">Editor's note by <A HREF=\"account.php?op=userinfo&uname=$editor\">$editor</A>:</FONT> $comments</P>";
}
else {
echo $abstract;
}
?>
</TD>
</TR>
<TR BGCOLOR="<? echo $bgcolor2; ?>"><TD ALIGN="right" COLSPAN="2"><? echo $link ?></TD></TR>
</TABLE><BR>
<?
}
function themearticle($editor, $informant, $datetime, $subject, $department, $abstract, $comments, $article, $reply) {
global $bgcolor1, $bgcolor2, $bgcolor3;
$datetime = date("l, F d, Y - h:i:s A", $datetime);
include "config.inc";
?>
<TABLE BORDER="0" CELLPADDING="4" WIDTH="100%">
<TR BGCOLOR="<? echo $bgcolor1; ?>"><TD><FONT COLOR="<? echo $bgcolor2; ?>"><B><? echo $subject; ?></B></FONT></TD></TR>
<TR BGCOLOR="<? echo $bgcolor2; ?>">
<TD>
<?
if ($informant) {
print "<FONT SIZE=\"-1\">Posted by <A HREF=\"account.php?op=userinfo&uname=$informant\">$informant</A> on $datetime"; ?><? if ($department) echo "<BR>from the $department dept."; ?><? print "</FONT>";
}
else {
print "<FONT SIZE=\"-1\">Posted by $anonymous on $datetime"; ?><? if ($department) echo "<BR>from the $department dept."; ?><? print "</FONT>";
}
?>
</TD>
</TR>
<TR BGCOLOR="<? echo $bgcolor3; ?>">
<TD>
<?
if ($abstract) echo "<P>$abstract<P>";
if ($comments) echo "<P><FONT COLOR=\"$bgcolor1\">Editor's note by <A HREF=\"account.php?op=userinfo&uname=$editor\">$editor</A>:</FONT> $comments</P>";
if ($article) echo "<P>$article</P>";
?>
</TD>
</TR>
<TR BGCOLOR="<? echo $bgcolor2; ?>"><TD ALIGN="right"><? echo "$reply"; ?></TD></TR>
</TABLE><BR>
<?
}
function themepreview($editor, $informant, $datetime, $subject, $department, $abstract, $comments, $article) {
global $bgcolor1, $bgcolor2, $bgcolor3;
include "config.inc";
?>
<TABLE BORDER="0" CELLPADDING="4" WIDTH="100%">
<TR BGCOLOR="<? echo $bgcolor1; ?>"><TD><FONT COLOR="<? echo $bgcolor2; ?>"><B><? echo $subject; ?></B></FONT></TD></TR>
<TR BGCOLOR="<? echo $bgcolor2; ?>">
<TD>
<?
if ($informant) {
print "<FONT SIZE=\"-1\">Posted by <A HREF=\"account.php?op=userinfo&uname=$informant\">$informant</A> on $datetime"; ?><? if ($department) echo "<BR>from the $department dept."; ?><? print "</FONT>";
}
else {
print "<FONT SIZE=\"-1\">Posted by $anonymous on $datetime"; ?><? if ($department) echo "<BR>from the $department dept."; ?><? print "</FONT>";
}
?>
</TD>
</TR>
<TR BGCOLOR="<? echo $bgcolor3; ?>">
<TD>
<?
if ($abstract) echo "<P>$abstract<P>";
if ($comments) echo "<P><FONT COLOR=\"$bgcolor1\">Editor's note by <A HREF=\"account.php?op=userinfo&uname=$editor\">$editor</A>:</FONT> $comments</P>";
if ($article) echo "<P>$article</P>";
?>
</TD>
</TR>
<TR BGCOLOR="<? echo $bgcolor2; ?>"><TD ALIGN="right">&nbsp;</TD></TR>
</TABLE><BR>
<?
}
function themebox($subject, $content) {
global $bgcolor1, $bgcolor2, $bgcolor3;
include "config.inc";
print "<TABLE BORDER=\"0\" CELLPADDING=\"3\" CELLSPACING=\"3\" WIDTH=\"100%\">";
print " <TR><TD ALIGN=\"center\" BGCOLOR=\"$bgcolor1\"><FONT COLOR=\"$bgcolor2\"><B>$subject</B></FONT></TD></TR>";
print " <TR><TD BGCOLOR=\"$bgcolor2\">$content</TD></TR>";
print "</TABLE><BR>";
}
?>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment