Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski committed Sep 12, 2018
1 parent f3f5fe3 commit f61d2d4
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 45 deletions.
25 changes: 12 additions & 13 deletions inc/admin/main.php
Expand Up @@ -11,7 +11,7 @@
Copyright 2004-2017 iDB Support - http://idb.berlios.de/
Copyright 2004-2017 Game Maker 2k - http://gamemaker2k.org/
$FileInfo: main.php - Last Update: 09/10/2018 SVN 867 - Author: cooldude2k $
$FileInfo: main.php - Last Update: 09/12/2018 SVN 869 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="main.php"||$File3Name=="/main.php") {
Expand Down Expand Up @@ -503,7 +503,6 @@ function add_prefix($tarray) {
$zonelist['indian'] = array();
$zonelist['pacific'] = array();
$zonelist['etcetera'] = array();
$zonelist['others'] = array();
for ($i=0; $i < count($timezone_identifiers); $i++) {
$zonelookup = explode("/", $timezone_identifiers[$i]);
if(count($zonelookup)==1) { array_push($zonelist['etcetera'], array($timezone_identifiers[$i], $timezone_identifiers[$i])); }
Expand Down Expand Up @@ -835,7 +834,7 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['africa']); $i++) {
if($User1TimeZone==$zonelist['africa'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['africa'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['africa'][$i][1]."\">".str_replace("_", " ", $zonelist['africa'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -844,7 +843,7 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['america']); $i++) {
if($User1TimeZone==$zonelist['america'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['america'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['america'][$i][1]."\">".str_replace("_", " ", $zonelist['america'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -853,7 +852,7 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['antarctica']); $i++) {
if($User1TimeZone==$zonelist['antarctica'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['antarctica'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['antarctica'][$i][1]."\">".str_replace("_", " ", $zonelist['antarctica'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -862,15 +861,15 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['arctic']); $i++) {
if($User1TimeZone==$zonelist['arctic'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['arctic'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['arctic'][$i][1]."\">".str_replace("_", " ", $zonelist['arctic'][$i][0])."</option>\n";
$optsel=""; }
?>
</optgroup>
<optgroup label="Asia">
<?php
for ($i=0; $i < count($zonelist['asia']); $i++) {
if($User1TimeZone==$zonelist['asia'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['asia'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['asia'][$i][1]."\">".str_replace("_", " ", $zonelist['asia'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -879,7 +878,7 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['atlantic']); $i++) {
if($User1TimeZone==$zonelist['atlantic'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['atlantic'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['atlantic'][$i][1]."\">".str_replace("_", " ", $zonelist['atlantic'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -888,7 +887,7 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['australia']); $i++) {
if($User1TimeZone==$zonelist['australia'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['australia'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['australia'][$i][1]."\">".str_replace("_", " ", $zonelist['australia'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -897,7 +896,7 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['europe']); $i++) {
if($User1TimeZone==$zonelist['europe'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['europe'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['europe'][$i][1]."\">".str_replace("_", " ", $zonelist['europe'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -906,7 +905,7 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['indian']); $i++) {
if($User1TimeZone==$zonelist['indian'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['indian'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['indian'][$i][1]."\">".str_replace("_", " ", $zonelist['indian'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -915,7 +914,7 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['pacific']); $i++) {
if($User1TimeZone==$zonelist['pacific'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['pacific'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['pacific'][$i][1]."\">".str_replace("_", " ", $zonelist['pacific'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -924,7 +923,7 @@ function add_prefix($tarray) {
<?php
$optsel="";
for ($i=0; $i < count($zonelist['etcetera']); $i++) {
if($User1TimeZone==$zonelist['etcetera'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['etcetera'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['etcetera'][$i][1]."\">".str_replace("_", " ", $zonelist['etcetera'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand Down
25 changes: 12 additions & 13 deletions inc/members.php
Expand Up @@ -11,7 +11,7 @@
Copyright 2004-2017 iDB Support - http://idb.berlios.de/
Copyright 2004-2017 Game Maker 2k - http://gamemaker2k.org/
$FileInfo: members.php - Last Update: 09/10/2018 SVN 867 - Author: cooldude2k $
$FileInfo: members.php - Last Update: 09/12/2018 SVN 869 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="members.php"||$File3Name=="/members.php") {
Expand Down Expand Up @@ -1324,7 +1324,6 @@
$zonelist['indian'] = array();
$zonelist['pacific'] = array();
$zonelist['etcetera'] = array();
$zonelist['others'] = array();
for ($i=0; $i < count($timezone_identifiers); $i++) {
$zonelookup = explode("/", $timezone_identifiers[$i]);
if(count($zonelookup)==1) { array_push($zonelist['etcetera'], array($timezone_identifiers[$i], $timezone_identifiers[$i])); }
Expand Down Expand Up @@ -1428,7 +1427,7 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['africa']); $i++) {
if($User1TimeZone==$zonelist['africa'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['africa'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['africa'][$i][1]."\">".str_replace("_", " ", $zonelist['africa'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -1437,7 +1436,7 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['america']); $i++) {
if($User1TimeZone==$zonelist['america'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['america'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['america'][$i][1]."\">".str_replace("_", " ", $zonelist['america'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -1446,7 +1445,7 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['antarctica']); $i++) {
if($User1TimeZone==$zonelist['antarctica'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['antarctica'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['antarctica'][$i][1]."\">".str_replace("_", " ", $zonelist['antarctica'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -1455,15 +1454,15 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['arctic']); $i++) {
if($User1TimeZone==$zonelist['arctic'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['arctic'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['arctic'][$i][1]."\">".str_replace("_", " ", $zonelist['arctic'][$i][0])."</option>\n";
$optsel=""; }
?>
</optgroup>
<optgroup label="Asia">
<?php
for ($i=0; $i < count($zonelist['asia']); $i++) {
if($User1TimeZone==$zonelist['asia'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['asia'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['asia'][$i][1]."\">".str_replace("_", " ", $zonelist['asia'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -1472,7 +1471,7 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['atlantic']); $i++) {
if($User1TimeZone==$zonelist['atlantic'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['atlantic'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['atlantic'][$i][1]."\">".str_replace("_", " ", $zonelist['atlantic'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -1481,7 +1480,7 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['australia']); $i++) {
if($User1TimeZone==$zonelist['australia'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['australia'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['australia'][$i][1]."\">".str_replace("_", " ", $zonelist['australia'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -1490,7 +1489,7 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['europe']); $i++) {
if($User1TimeZone==$zonelist['europe'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['europe'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['europe'][$i][1]."\">".str_replace("_", " ", $zonelist['europe'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -1499,7 +1498,7 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['indian']); $i++) {
if($User1TimeZone==$zonelist['indian'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['indian'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['indian'][$i][1]."\">".str_replace("_", " ", $zonelist['indian'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -1508,7 +1507,7 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['pacific']); $i++) {
if($User1TimeZone==$zonelist['pacific'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['pacific'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['pacific'][$i][1]."\">".str_replace("_", " ", $zonelist['pacific'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand All @@ -1517,7 +1516,7 @@
<?php
$optsel="";
for ($i=0; $i < count($zonelist['etcetera']); $i++) {
if($User1TimeZone==$zonelist['etcetera'][$i][1]) { $optsel = " selected=\"selected\""; }
if($Settings['DefaultTimeZone']==$zonelist['etcetera'][$i][1]) { $optsel = " selected=\"selected\""; }
echo "<option".$optsel." value=\"".$zonelist['etcetera'][$i][1]."\">".str_replace("_", " ", $zonelist['etcetera'][$i][0])."</option>\n";
$optsel=""; }
?>
Expand Down
4 changes: 1 addition & 3 deletions inc/profilemain.php
Expand Up @@ -11,7 +11,7 @@
Copyright 2004-2017 iDB Support - http://idb.berlios.de/
Copyright 2004-2017 Game Maker 2k - http://gamemaker2k.org/
$FileInfo: profilemain.php - Last Update: 09/10/2018 SVN 867 - Author: cooldude2k $
$FileInfo: profilemain.php - Last Update: 09/12/2018 SVN 869 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="profilemain.php"||$File3Name=="/profilemain.php") {
Expand Down Expand Up @@ -420,7 +420,6 @@
$zonelist['indian'] = array();
$zonelist['pacific'] = array();
$zonelist['etcetera'] = array();
$zonelist['others'] = array();
for ($i=0; $i < count($timezone_identifiers); $i++) {
$zonelookup = explode("/", $timezone_identifiers[$i]);
if(count($zonelookup)==1) { array_push($zonelist['etcetera'], array($timezone_identifiers[$i], $timezone_identifiers[$i])); }
Expand Down Expand Up @@ -755,7 +754,6 @@
$zonelist['indian'] = array();
$zonelist['pacific'] = array();
$zonelist['etcetera'] = array();
$zonelist['others'] = array();
for ($i=0; $i < count($timezone_identifiers); $i++) {
$zonelookup = explode("/", $timezone_identifiers[$i]);
if(count($zonelookup)==1) { array_push($zonelist['etcetera'], array($timezone_identifiers[$i], $timezone_identifiers[$i])); }
Expand Down
6 changes: 3 additions & 3 deletions inc/versioninfo.php
Expand Up @@ -11,7 +11,7 @@
Copyright 2004-2017 iDB Support - http://idb.berlios.de/
Copyright 2004-2017 Game Maker 2k - http://gamemaker2k.org/
$FileInfo: versioninfo.php - Last Update: 09/10/2018 SVN 868 - Author: cooldude2k $
$FileInfo: versioninfo.php - Last Update: 09/12/2018 SVN 869 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
Expand All @@ -27,8 +27,8 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
return $return_var; }
// Version number and date stuff. :P
$VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 9; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 868;
$SVNDay[0] = 9; $SVNDay[1] = 10; $SVNDay[2] = 2018; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 869;
$SVNDay[0] = 9; $SVNDay[1] = 12; $SVNDay[2] = 2018; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
$AltName = "DF2k"; $AltName2 = "DF2k"; $RName = "iDB"; $SFName = "IntDB";
$RFullName = "Internet Discussion Boards"; $AltFullName = "Discussion Forums 2k"; $AltGM2k = "Game Maker 2k";
$VerCheckName = "iDB"; $AltVerCheckName = "DF2k"; $AltiDBHome = "http://df2k.gamemaker2k.org/";
Expand Down

0 comments on commit f61d2d4

Please sign in to comment.