/[nuke]/html/themes/KDE/theme.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /html/themes/KDE/theme.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Thu Sep 21 00:02:29 2000 UTC (23 years, 8 months ago) by dpavlin
Branch: dbp, MAIN
CVS Tags: r3_6, HEAD
Changes since 1.1: +0 -0 lines
import of version 3.6

1 <?php
2
3 $thename = "KDE";
4 $bgcolor1 = "#CCCCCC";
5 $bgcolor2 = "#666666";
6 $bgcolor3 = "#CCCCCC";
7 $textcolor1 = "#FFFFFF";
8 $textcolor2 = "#000000";
9 $hr = 1; # 1 to have horizonal rule in comments instead of table bgcolor
10
11 function themepreview($title, $hometext, $bodytext="", $notes="") {
12 echo "<p><b>$title</b><br>$hometext<br><br>$bodytext $notes";
13 }
14
15 function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
16 include("config.php");
17 if ("$aid" == "$informant") { ?>
18
19
20 <TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=0>
21 <TR>
22 <TD ALIGN=right VALIGN=BOTTOM WIDTH="11" HEIGHT="11"><IMG SRC="themes/KDE/menutopleft.gif" width="11" height="11"></TD>
23 <TD ALIGN=MIDDLE HEIGHT="11" VALIGN=BOTTOM><IMG SRC="themes/KDE/menutop.gif" width=100% height=1></TD>
24 <TD ALIGN=left VALIGN=BOTTOM WIDTH="11" HEIGHT="11"><IMG SRC="themes/KDE/menutopright.gif" width="11" height="11"></TD></TR>
25 <TR>
26 <TD ALIGN=right VALIGN=BOTTOM WIDTH="11" HEIGHT="11" BACKGROUND="themes/KDE/menuleft.gif"><IMG SRC="themes/KDE/menutopleft.gif" width="11" height="11"></TD>
27 <TD ALIGN=CENTER bgcolor="#6C6C6C" BACKGROUND="themes/KDE/menutitle.gif">
28 <FONT FACE=Lucida,Verdana,Arial,Helvetica size=3 color=white></center><?php echo"$title"; ?><BR><FONT SIZE=2><?php echo translate("Posted by "); ?><b><?php formatAidHeader($aid) ?></b> <?php echo translate("on"); ?> <?php echo"$time $timezone"; ?><br>(<?php echo translate("readed:"); ?> <?php echo $counter; ?> <?php echo translate("times"); ?>)<br></FONT></TD>
29 <TD ALIGN=left VALIGN=BOTTOM WIDTH="11" HEIGHT="11" BACKGROUND="themes/KDE/menuright.gif"><IMG SRC="themes/KDE/menutopright.gif" width="11" height="11"></TD></TR>
30 <TR>
31 <TD ALIGN=RIGHT BACKGROUND="themes/KDE/menuleft.gif" WIDTH="11">&nbsp;</TD>
32 <TD ALIGN=left VALIGN=TOP BGCOLOR="#CFCFCF" BACKGROUND="themes/KDE/sketch.gif">
33 <FONT FACE=Lucida,Verdana,Arial,Helvetica size=2>
34 <a href="search.php?query=&topic=<?php echo"$topic"; ?>&author="><img src=<?php echo"$tipath$topicimage"; ?> border=1 Alt=<?php echo"\"$topictext\""; ?> align=left hspace=10 vspace=10></a>
35 <?php echo"<font face=Arial,Helvetica>$thetext<br><br>$morelink"; ?></TD>
36 <TD ALIGN=LEFT BACKGROUND="themes/KDE/menuright.gif" WIDTH="11">&nbsp;</TD></TR>
37 <TR>
38 <TD ALIGN=right VALIGN=TOP WIDTH="11" HEIGHT="11"><IMG SRC="themes/KDE/menubottomleft.gif" width="11" height="11"></TD>
39 <TD ALIGN=MIDDLE HEIGHT="11" VALIGN=TOP><IMG SRC="themes/KDE/menubottom.gif" width="100%" height=1></TD>
40 <TD ALIGN=left VALIGN=TOP WIDTH="11" HEIGHT="11"><IMG SRC="themes/KDE/menubottomright.gif" width="11" height="11">
41 </TD></TR></TABLE>
42
43 <?php } else {
44 if($informant != "") $boxstuff = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> ";
45 else $boxstuff = "$anonymous ";
46 $boxstuff .= "".translate("writes")." <i>\"$thetext\"</i> $notes";
47 ?>
48 <TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=0>
49 <TR>
50 <TD ALIGN=right VALIGN=BOTTOM WIDTH="11" HEIGHT="11"><IMG SRC="themes/KDE/menutopleft.gif" width="11" height="11"></TD>
51 <TD ALIGN=MIDDLE HEIGHT="11" VALIGN=BOTTOM><IMG SRC="themes/KDE/menutop.gif" width=100% height=1></TD>
52 <TD ALIGN=left VALIGN=BOTTOM WIDTH="11" HEIGHT="11"><IMG SRC="themes/KDE/menutopright.gif" width="11" height="11"></TD></TR>
53 <TR>
54 <TD ALIGN=right VALIGN=BOTTOM WIDTH="11" HEIGHT="11" BACKGROUND="themes/KDE/menuleft.gif"><IMG SRC="themes/KDE/menutopleft.gif" width="11" height="11"></TD>
55 <TD ALIGN=CENTER bgcolor="#6C6C6C" BACKGROUND="themes/KDE/menutitle.gif">
56 <FONT FACE=Lucida,Verdana,Arial,Helvetica size=3 color=white></center>
57 <?php echo"$title"; ?><BR><FONT SIZE=2>
58 <?php echo translate("Posted by "); ?><?php formatAidHeader($aid); ?> <?php echo translate("on"); ?> <?php echo"$time $timezone"; ?><br>(<?php echo translate("readed:"); ?> <?php echo $counter; ?> <?php echo translate("times"); ?>)<br></FONT></TD>
59 <TD ALIGN=left VALIGN=BOTTOM WIDTH="11" HEIGHT="11" BACKGROUND="themes/KDE/menuright.gif"><IMG SRC="themes/KDE/menutopright.gif" width="11" height="11"></TD></TR>
60 <TR>
61 <TD ALIGN=RIGHT BACKGROUND="themes/KDE/menuleft.gif" WIDTH="11">&nbsp;</TD>
62 <TD ALIGN=left VALIGN=TOP BGCOLOR="#CFCFCF" BACKGROUND="themes/KDE/sketch.gif">
63 <FONT FACE=Lucida,Verdana,Arial,Helvetica size=2>
64 <a href="search.php?query=&topic=<?php echo"$topic"; ?>&author="><img src=<?php echo"$tipath$topicimage"; ?> border=1 Alt=<?php echo"\"$topictext\""; ?> align=left hspace=10 vspace=10></a>
65 <?php echo"<font face=Arial,Helvetica>$boxstuff<br><br>$morelink"; ?></TD>
66 <TD ALIGN=LEFT BACKGROUND="themes/KDE/menuright.gif" WIDTH="11">&nbsp;</TD></TR>
67 <TR>
68 <TD ALIGN=right VALIGN=TOP WIDTH="11" HEIGHT="11"><IMG SRC="themes/KDE/menubottomleft.gif" width="11" height="11"></TD>
69 <TD ALIGN=MIDDLE HEIGHT="11" VALIGN=TOP><IMG SRC="themes/KDE/menubottom.gif" width="100%" height=1></TD>
70 <TD ALIGN=left VALIGN=TOP WIDTH="11" HEIGHT="11"><IMG SRC="themes/KDE/menubottomright.gif" width="11" height="11">
71 </TD></TR></TABLE>
72
73 <?php }
74 }
75
76 function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
77 include("config.php");
78 if ("$aid" == "$informant") {
79 echo "
80 <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
81 <TR>
82 <TD ALIGN=right VALIGN=BOTTOM WIDTH=11 HEIGHT=11><IMG SRC=themes/KDE/menutopleft.gif width=11 height=11></TD>
83 <TD ALIGN=MIDDLE HEIGHT=11 VALIGN=BOTTOM><IMG SRC=themes/KDE/menutop.gif width=100% height=1></TD>
84 <TD ALIGN=left VALIGN=BOTTOM WIDTH=11 HEIGHT=11><IMG SRC=themes/KDE/menutopright.gif width=11 height=11></TD></TR>
85 <TR>
86 <TD ALIGN=right VALIGN=BOTTOM WIDTH=11 HEIGHT=11 BACKGROUND=themes/KDE/menuleft.gif><IMG SRC=themes/KDE/menutopleft.gif width=11 height=11></TD>
87 <TD ALIGN=CENTER bgcolor=#6C6C6C BACKGROUND=themes/KDE/menutitle.gif>
88 <FONT FACE=Lucida,Verdana,Arial,Helvetica size=3 color=white></center>
89 <b>$title</b><br><font face=Arial,Helvetica size=1>".translate("Posted on ")." $datetime
90 ";
91 global $admin, $sid;
92 if ($admin) {
93 echo "&nbsp;&nbsp; $font2 [ <a href=admin.php?op=EditStory&sid=$sid>".translate("Edit")."</a> | <a href=admin.php?op=RemoveStory&sid=$sid>".translate("Delete")."</a> ]";
94 }
95 echo "
96 </FONT></TD>
97 <TD ALIGN=left VALIGN=BOTTOM WIDTH=11 HEIGHT=11 BACKGROUND=themes/KDE/menuright.gif><IMG SRC=themes/KDE/menutopright.gif width=11 height=11></TD></TR>
98 <TR>
99 <TD ALIGN=RIGHT BACKGROUND=themes/KDE/menuleft.gif WIDTH=11>&nbsp;</TD>
100 <TD ALIGN=left VALIGN=TOP BGCOLOR=#CFCFCF BACKGROUND=themes/KDE/sketch.gif>
101 <FONT FACE=Lucida,Verdana,Arial,Helvetica size=2>
102 <a href=search.php?query=&topic=$topic&author=><img src=$tipath$topicimage border=1 Alt=\"$topictext\" align=left hspace=10 vspace=10></a>
103 $thetext</TD>
104 <TD ALIGN=LEFT BACKGROUND=themes/KDE/menuright.gif WIDTH=11>&nbsp;</TD></TR>
105 <TR>
106 <TD ALIGN=right VALIGN=TOP WIDTH=11 HEIGHT=11><IMG SRC=themes/KDE/menubottomleft.gif width=11 height=11></TD>
107 <TD ALIGN=MIDDLE HEIGHT=11 VALIGN=TOP><IMG SRC=themes/KDE/menubottom.gif width=100% height=1></TD>
108 <TD ALIGN=left VALIGN=TOP WIDTH=11 HEIGHT=11><IMG SRC=themes/KDE/menubottomright.gif width=11 height=11>
109 </TD></TR></TABLE>
110 ";
111
112 } else {
113 if($informant != "") $informant = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> ";
114 else $boxstuff = "$anonymous ";
115 $boxstuff .= "".translate("writes")." <i>\"$thetext\"</i> $notes";
116 echo "
117 <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
118 <TR>
119 <TD ALIGN=right VALIGN=BOTTOM WIDTH=11 HEIGHT=11><IMG SRC=themes/KDE/menutopleft.gif width=11 height=11></TD>
120 <TD ALIGN=MIDDLE HEIGHT=11 VALIGN=BOTTOM><IMG SRC=themes/KDE/menutop.gif width=100% height=1></TD>
121 <TD ALIGN=left VALIGN=BOTTOM WIDTH=11 HEIGHT=11><IMG SRC=themes/KDE/menutopright.gif width=11 height=11></TD></TR>
122 <TR>
123 <TD ALIGN=right VALIGN=BOTTOM WIDTH=11 HEIGHT=11 BACKGROUND=themes/KDE/menuleft.gif><IMG SRC=themes/KDE/menutopleft.gif width=11 height=11></TD>
124 <TD ALIGN=CENTER bgcolor=#6C6C6C BACKGROUND=themes/KDE/menutitle.gif>
125 <FONT FACE=Lucida,Verdana,Arial,Helvetica size=3 color=white></center>
126 <b>$title</b><br><font face=Arial,Helvetica size=2>".translate("Contributed by ")." $informant ".translate("on")." $datetime</font>
127 ";
128 global $admin, $sid;
129 if ($admin) {
130 echo "&nbsp;&nbsp; $font2 [ <a href=admin.php?op=EditStory&sid=$sid>".translate("Edit")."</a> | <a href=admin.php?op=RemoveStory&sid=$sid>".translate("Delete")."</a> ]";
131 }
132 echo "
133 </FONT></TD>
134 <TD ALIGN=left VALIGN=BOTTOM WIDTH=11 HEIGHT=11 BACKGROUND=themes/KDE/menuright.gif><IMG SRC=themes/KDE/menutopright.gif width=11 height=11></TD></TR>
135 <TR>
136 <TD ALIGN=RIGHT BACKGROUND=themes/KDE/menuleft.gif WIDTH=11>&nbsp;</TD>
137 <TD ALIGN=left VALIGN=TOP BGCOLOR=#CFCFCF BACKGROUND=themes/KDE/sketch.gif>
138 <FONT FACE=Lucida,Verdana,Arial,Helvetica size=2>
139 <a href=search.php?query=&topic=$topic&author=><img src=$tipath$topicimage border=1 Alt=\"$topictext\" align=left hspace=10 vspace=10></a>
140 $thetext</TD>
141 <TD ALIGN=LEFT BACKGROUND=themes/KDE/menuright.gif WIDTH=11>&nbsp;</TD></TR>
142 <TR>
143 <TD ALIGN=right VALIGN=TOP WIDTH=11 HEIGHT=11><IMG SRC=themes/KDE/menubottomleft.gif width=11 height=11></TD>
144 <TD ALIGN=MIDDLE HEIGHT=11 VALIGN=TOP><IMG SRC=themes/KDE/menubottom.gif width=100% height=1></TD>
145 <TD ALIGN=left VALIGN=TOP WIDTH=11 HEIGHT=11><IMG SRC=themes/KDE/menubottomright.gif width=11 height=11>
146 </TD></TR></TABLE>
147 ";
148
149 }
150 }
151 ?>

  ViewVC Help
Powered by ViewVC 1.1.26