<?
###############################################################################
# Copyright (C) 2000 Derek Leung
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# You may modify your copy or copies of this Program or any portion of it,
# but you must cause the modified files to carry prominent notices stating
# that you changed the files and the date of any change. And you are required
# to keep a copy of this License along with this Program.
#
# You are not required to accept this License, since you have not signed it.
# However, nothing else grants you permission to modify or distribute this
# Program or its derivative works. These actions are prohibited by law if
# you do not accept this License. Therefore, by modifying or distributing
# this Program (or any work based on this Program), you indicate your
# acceptance of this License to do so, and all its terms and conditions
# for copying, distributing or modifying this Program or works based on it.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# See the GNU General Public License for more details.
# http://www.opensource.org/licenses/gpl-license.html
###############################################################################
function ps_footer($arg) {
global $myTopic,$config;
?>
<!-- main stuff end here -->
<p><p>
</TD>
<?
if ($arg[sidebox] == 1) {
?><TD valign="top" class=leftmenu width=170><?
} else {
}
?>
<?
if ($arg[sidebox] == 1) {
pollNewest($myTopic);
$footer_settingArray = getCookie($config[setting_cookie_name]);
$footer_userArray = getCookie($config[user_cookie_name]);
if($footer_settingArray[ublockon] != 0) {
$footer_getblock = mysql_query("select ublock from users_home where uid='$footer_userArray[userid]'");
$footer_title = "$footer_userArray[username]'s box";
list($footer_ublock) = mysql_fetch_row($footer_getblock);
if ($footer_getblock) {
mysql_free_result($footer_getblock);
}
themesidebox($footer_title, $footer_ublock);
}
top10();
oldNews();
getblocks($myTopic);
}
$footer_settingArray = getCookie($config[setting_cookie_name]);
list($footer_resol) = split("x",$footer_settingArray[resolution]);
if ($footer_resol == "") {
$footer_resol = 800;
}
?>
<? if ($arg[sidebox] == 1) { echo"</TD>";}?>
</TR>
</table>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="<?=$footer_resol-40?>" align=center border=0>
<TBODY>
<TR>
<TD class=footer><!-- Footer Padding -->
<TABLE cellSpacing=0 cellPadding=3 width="<?=$footer_resol-40?>" border=0>
<TBODY>
<TR>
<TD class=footertext align=center>
© 2000-2001 <?=$config[sitename]?> - All Rights Reserved. <a href="mailto:<?=$config[notifyEmail]?>">Contact us</a> for more
information.
</TD>
</TR>
</TBODY>
</TABLE><!-- /Footer Padding -->
</TD>
</TR>
</TBODY>
</TABLE>
</BODY>
</html>
<? unset($config);
}
?>