/*
We request you retain the $PoweredBy variable including the links.
This not only gives respect to the large amount of time given freely
by the developers but also helps build interest, traffic and use of
PHPlist, which is beneficial to it's future development.
You can configure your PoweredBy options in your config file
Michiel Dethmers, Tincan Ltd 2001,2004
*/
if (ereg("dev", VERSION))
$v = "dev";
else
$v = VERSION;
if (REGISTER) {
$PoweredByImage = '<p align=left><a href="http://www.phplist.com"><img src="http://phplist.tincan.co.uk/images/' . $v . '/power-phplist.png" width=70 height=30 title="Powered by PHPlist version ' . $v . ', © tincan ltd" alt="Powered by PHPlist' . $v . ', © tincan ltd" border="0"></a></p>';
} else {
$PoweredByImage = '<p align=left><a href="http://www.phplist.com"><img src="images/power-phplist.png" width=70 height=30 title="Powered by PHPlist version ' . $v . ', © tincan ltd" alt="Powered by PHPlist' . $v . ', © tincan ltd" border="0"></a></p>';
}
$PoweredByText = '
<style type="text/css"><!--
.poweredphplist {font-family: arial, verdana, sans-serif;font-size : 10px; font-variant: small-caps; font-weight : normal; padding: 2px; padding-left:20px;}
a:link.poweredphplist,
a:active.poweredphplist,
a:visited.poweredphplist {font-family: Arial, verdana, sans-serif; font-size : 10px; font-variant: small-caps; font-weight : normal; color : #666666; text-align : center; text-decoration : none; padding: 2px;}
a:hover.poweredphplist {color : #7D7B7B;}
//--></style>
<span class="poweredphplist">powered by <a href="http://www.phplist.com" class="poweredphplist" target="_blank">phplist</a> v ' . $v . ', © <a href="http://tincan.co.uk/powered" target="_blank" class="poweredphplist">tincan ltd</a></span>';
if (!TEST && REGISTER) {
if (!PAGETEXTCREDITS) {
;
$PoweredBy = $PoweredByImage;
} else {
$PoweredBy = $PoweredByText;
}
} else {
if (!PAGETEXTCREDITS) {
;
$PoweredBy = $PoweredByImage;
} else {
$PoweredBy = $PoweredByText;
}
}
# some other configuration variables, which need less tweaking
# number of users to show per page if there are more
define("MAX_USER_PP", 50);
define("MAX_MSG_PP", 5);