+++ /dev/null
-diff -Naur PHP-Nuke-6.0/html/includes/counter.php PHP-Nuke-6.0.oden/html/includes/counter.php
---- PHP-Nuke-6.0/html/includes/counter.php 2002-09-16 01:40:28.000000000 -0400
-+++ PHP-Nuke-6.0.oden/html/includes/counter.php 2002-09-24 00:04:44.000000000 -0400
-@@ -70,18 +70,11 @@
- sql_query("insert into ".$prefix."_stats_month values('$nowYear','$i','0')",$dbi);
- if ($i == 1) $TotalDay = 31;
- if ($i == 2) {
-- /*
- if (date("L") == true) {
- $TotalDay = 29;
- } else {
- $TotalDay = 28;
- }
-- */
-- if (($nowYear % 4) == 0) {
-- $TotalDay = 28;
-- } else {
-- $TotalDay = 29;
-- }
- }
- if ($i == 3) $TotalDay = 31;
- if ($i == 4) $TotalDay = 30;
-diff -Naur PHP-Nuke-6.0/html/includes/install.php PHP-Nuke-6.0.oden/html/includes/install.php
---- PHP-Nuke-6.0/html/includes/install.php 2002-09-16 01:46:47.000000000 -0400
-+++ PHP-Nuke-6.0.oden/html/includes/install.php 2002-09-23 23:50:00.000000000 -0400
-@@ -274,7 +274,7 @@
- Version_Num varchar(10) NOT NULL default ''
- )", $dbi);
- // DO NOT REMOVE NOR CHANGE/EDIT THE FOLLOWING LINE BECAUSE IT CONTAINS COPYRIGHT INFORMATION. TO EDIT THESE VALUES GO TO THE ADMINISTRATION SYSTEM.
--mysql_query("INSERT INTO ".$prefix."_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','<a href=\'http://phpnuke.org\' target=\'blank\'><img src=\'images/powered/nuke.gif\' border=\'0\' Alt=\'Web site powered by PHP-Nuke\' hspace=\'10\'></a><br>','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file <a href=\'backend.php\'><font class=\'footmsg_l\'>backend.php</font></a> or <a href=\'ultramode.txt\'><font class=\'footmsg_l\'>ultramode.txt</font></a>',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright © 2002 by <a href=\"http://phpnuke.org\"><font class=\'footmsg_l\'>PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\'footmsg_l\'>GNU/GPL license</font></a>.','6.0')", $dbi);
-+mysql_query("INSERT INTO ".$prefix."_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','<a href=\"http://phpnuke.org\" target=\"blank\"><img src=\"images/powered/nuke.gif\" border=\"0\" Alt=\"Web site powered by PHP-Nuke\" hspace=\"10\"></a><br>','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file <a href=\"backend.php\"><font class=\"footmsg_l\">backend.php</font></a> or <a href=\"ultramode.txt\"><font class=\"footmsg_l\">ultramode.txt</font></a>',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright © 2002 by <a href=\"http://phpnuke.org\"><font class=\"footmsg_l\">PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\"footmsg_l\">GNU/GPL license</font></a>.','6.0')", $dbi);
-
- /////////////////////////////////////////////
-
-@@ -926,8 +926,8 @@
-
- sql_query("CREATE TABLE ".$prefix."_pollcomments (
- tid int(11) NOT NULL auto_increment,
-- pid int(11) default '0',
-- pollID int(11) default '0',
-+ pid int(11) NOT NULL default '0',
-+ pollID int(11) NOT NULL default '0',
- date datetime default NULL,
- name varchar(60) NOT NULL default '',
- email varchar(60) default NULL,
-diff -Naur PHP-Nuke-6.0/sql/nuke.sql PHP-Nuke-6.0.oden/sql/nuke.sql
---- PHP-Nuke-6.0/sql/nuke.sql 2002-09-16 01:46:03.000000000 -0400
-+++ PHP-Nuke-6.0.oden/sql/nuke.sql 2002-09-23 23:48:38.000000000 -0400
-@@ -334,7 +334,7 @@
- # Dumping data for table 'nuke_config'
- #
-
--INSERT INTO nuke_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','<a href=\'http://phpnuke.org\' target=\'blank\'><img src=\'images/powered/nuke.gif\' border=\'0\' Alt=\'Web site powered by PHP-Nuke\' hspace=\'10\'></a><br>','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file <a href=\'backend.php\'><font class=\'footmsg_l\'>backend.php</font></a> or <a href=\'ultramode.txt\'><font class=\'footmsg_l\'>ultramode.txt</font></a>',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright © 2002 by <a href=\"http://phpnuke.org\"><font class=\'footmsg_l\'>PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\'footmsg_l\'>GNU/GPL license</font></a>.','6.0');
-+INSERT INTO nuke_config VALUES ('PHP-Nuke Powered Site','http://yoursite.com','logo.gif','Your slogan here','September 2002','webmaster@yoursite.com',0,'DeepBlue','<a href=\"http://phpnuke.org\" target=\"blank\"><img src=\"images/powered/nuke.gif\" border=\"0\" Alt=\"Web site powered by PHP-Nuke\" hspace=\"10\"></a><br>','All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me','You can syndicate our news using the file <a href=\"backend.php\"><font class=\"footmsg_l\">backend.php</font></a> or <a href=\"ultramode.txt\"><font class=\"footmsg_l\">ultramode.txt</font></a>',4096,'Anonymous',5,1,1,1,1,10,10,1,30,0,1,'PHP-Nuke Powered Site','en-us','english','en_US',0,0,0,'me@yoursite.com','NEWS for my site','Hey! You got a new submission for your site.','webmaster','Mail sent from WebMail service at PHP-Nuke Powered Site\r\n- http://yoursite.com',1,'/var/www/html/modules/WebMail/tmp/',0,0,'modules/WebMail/attachments/','','0','Your account',-1,'modules/WebMail/images',1,0,1,1,1000,3,'*****','Web site engine\'s code is Copyright © 2002 by <a href=\"http://phpnuke.org\"><font class=\"footmsg_l\">PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\"footmsg_l\">GNU/GPL license</font></a>.','6.0');
-
-
- #
-@@ -1240,8 +1240,8 @@
-
- CREATE TABLE nuke_pollcomments (
- tid int(11) NOT NULL auto_increment,
-- pid int(11) default '0',
-- pollID int(11) default '0',
-+ pid int(11) NOT NULL default '0',
-+ pollID int(11) NOT NULL default '0',
- date datetime default NULL,
- name varchar(60) NOT NULL default '',
- email varchar(60) default NULL,
-diff -Naur PHP-Nuke-6.0/upgrades/upgrade56-60.php PHP-Nuke-6.0.oden/upgrades/upgrade56-60.php
---- PHP-Nuke-6.0/upgrades/upgrade56-60.php 2002-09-16 01:44:53.000000000 -0400
-+++ PHP-Nuke-6.0.oden/upgrades/upgrade56-60.php 2002-09-23 23:53:27.000000000 -0400
-@@ -63,9 +63,9 @@
- if ($adminmail == "") { $adminmail = "webmaster@yoursite.com"; }
- if ($anonpost == "") { $anonpost = 0; }
- if ($Default_Theme == "") { $Default_Theme = "NukeNews"; }
--if ($foot1 == "") { $foot1 = "<a href='http://phpnuke.org' target='blank'><img src='images/powered/nuke.gif' border='0' Alt='Web site powered by PHP-Nuke' hspace='10'></a>"; }
-+if ($foot1 == "") { $foot1 = "<a href=\"http://phpnuke.org\" target=\"blank\"><img src=\"images/powered/nuke.gif\" border=\"0\" Alt=\"Web site powered by PHP-Nuke\" hspace=\"10\"></a>"; }
- if ($foot2 == "") { $foot2 = "All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by $sitename"; }
--if ($foot3 == "") { $foot3 = "You can syndicate our news using the file <a href='backend.php'>backend.php</a> or <a href='ultramode.txt'>ultramode.txt</a>"; }
-+if ($foot3 == "") { $foot3 = "You can syndicate our news using the file <a href=\"backend.php\">backend.php</a> or <a href=\"ultramode.txt\">ultramode.txt</a>"; }
- if ($commentlimit == "") { $commentlimit = 4096; }
- if ($anonymous == "") { $anonymous = "Anonymous"; }
- if ($minpass == "") { $minpass = 5; }
-@@ -93,7 +93,7 @@
- if ($httprefmax == "") { $httprefmax = 1000; }
- if ($CensorMode == "") { $CensorMode = 0; }
- if ($CensorReplace == "") { $CensorReplace = "*****"; }
--$copyright = "Web site engine's code is Copyright © 2002 by <a href=\"http://phpnuke.org\"><font class='footmsg_l'>PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class='footmsg_l'>GNU/GPL license</font></a>.";
-+$copyright = "Web site engine\'s code is Copyright © 2002 by <a href=\"http://phpnuke.org\"><font class=\"footmsg_l\">PHP-Nuke</font></a>. All Rights Reserved. PHP-Nuke is Free Software released under the <a href=\"http://www.gnu.org\"><font class=\"footmsg_l\">GNU/GPL license</font></a>.";
- $broadcast_msg = 1;
- $my_headlines = 1;
- $user_news = 1;