<?php
/************************************************************/
/* THEME NAME : Pixame_v1 */
/* copyright 2003, 2004 Carl-Emmanuel Favre */
/* http://www.pixame.com */
/* CREATED: 20/12/2002 */
/* [email][email protected][/email] */
/************************************************************/
/************************************************************/
/* Theme Colors */
/************************************************************/
$bgcolor1 = "#E4EAFC";
$bgcolor2 = "#F2F5FE";
$bgcolor3 = "#E4EAFC";
$bgcolor4 = "#F2F5FE";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
/************************************************************/
/* Tables */
/************************************************************/
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\" bgcolor=\"$bgcolor1\" align=\"center\"><tr><td >\n";
}
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" bgcolor=\"$bgcolor1\" align=\"center\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\">$thetext<br>$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i> $notes\n";
echo "<font class=\"content\">$boxstuff</font>\n";
}
}
/*****************************************************************************************/
/* Theme Header Start */
/*****************************************************************************************/
function themeheader() {
include("header.htm");
echo"<table width=\"98%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"D2DBF5\" dir=\"rtl\">\n"
."<tr>\n"
."<td width=\"10\" background=\"themes/Pixame_v1/images/block_space_left.gif\"><img src=\"themes/Pixame_v1/images/Pixel.gif\" width=\"10\" height=\"1\"></td>\n"
."<td width=\"150\" valign=\"top\">\n";
blocks(left);
echo"</td>\n"
."<td width=\"10\"><img src=\"themes/Pixame_v1/images/Pixel.gif\" width=\"10\" height=\"1\"></td>\n"
."<td width=\"100%\" valign=\"top\">\n";
}
/*****************************************************************************************/
/* Theme Header End */
/*****************************************************************************************/
/*****************************************************************************************/
/* Theme Footer Start */
/*****************************************************************************************/
function themefooter() {
global $index;
if ($index == 1) {
echo "</td>\n"
."<td width=\"10\"><img src=\"themes/Pixame_v1/images/Pixel.gif\" width=\"10\" height=\"1\"></td>\n"
."<td width=\"150\" valign=\"top\">\n";
blocks(right);
}
echo "</td>\n"
."<td width=\"10\" background=\"themes/Pixame_v1/images/block_space_right.gif\"><img src=\"themes/Pixame_v1/images/Pixel.gif\" width=\"10\" height=\"1\"></td>\n"
."</tr>\n"
."</table>\n";
include("footer.htm");
echo"<br>\n"
."</div>\n"
."</body>\n";
}
/*****************************************************************************************/
/* Theme Footer End */
/*****************************************************************************************/
/*****************************************************************************************/
/* Article Block Start */
/*****************************************************************************************/
/************************************************************/
/* Story Block Start */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous;
include("story.htm");
}
/************************************************************/
/* Story Block End */
/************************************************************/
/************************************************************/
/* Article Block (Read More - Comments) Start */
/************************************************************/
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid;
include("article.htm");
}
/************************************************************/
/* Article Block (Read More - Comments) End */
/************************************************************/
/*****************************************************************************************/
/* Article Block End */
/*****************************************************************************************/
/*****************************************************************************************/
/* Blocks Start */
/*****************************************************************************************/
function themesidebox($title, $content) {
include("blocks.htm");
}
/*****************************************************************************************/
/* Blocks End */
/*****************************************************************************************/
?>