diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9563e0d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text eol=lf diff --git a/Admin/CSS.php b/Admin/CSS.php index af105a0..1e25474 100644 --- a/Admin/CSS.php +++ b/Admin/CSS.php @@ -1,139 +1,139 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['css tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Admin to use this. ^_^
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-
- -
-
-
 
-
- - - - - - -
-"; } -?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['css tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Admin to use this. ^_^
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+
+ +
+
+
 
+
+ + + + + + +
+"; } +?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/Categorys.php b/Admin/Categorys.php index 8963a2b..cdf5cdd 100644 --- a/Admin/Categorys.php +++ b/Admin/Categorys.php @@ -1,306 +1,306 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['category tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Admin to use this. ^_^
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
- -   -
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
- -
- - - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -'; } -if ($_POST['act']=="Delete") { - $sqlrowdelete = "DELETE FROM ".$TablePreFix."Categorys WHERE id=".$_POST['IDN'].""; - $resultdelete = mysql_query($sqlrowdelete); - echo ''; } -if ($_POST['act']=="New") { -$OldShowCategory = "Yes"; -$NewInSubForum = "0"; -?> -   -
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
- -
- - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -\n".$adminlang2['you need id number']."
"; } -if ($_POST['NewCategoryName']==null) { -$Error="Yes"; -echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need category name']."
"; } -if ($_POST['NewInSubForum']==null) { -$_POST['NewInSubForum']=0; } -if ($_POST['NewCategoryDescription']==null) { -$Error="Yes"; -echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need description about category']."
"; } -?> 0) { -echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need new id number']."
"; } -if ($Error=="Yes") { -mysql_close(); -exit(); } -$NewCategoryName = stripcslashes(htmlentities($_POST['NewCategoryName'], ENT_QUOTES)); -$NewCategoryName = preg_replace("/\&#(.*?);/is", "&#$1;", $NewCategoryName); -$NewCategoryDescription = stripcslashes(htmlentities($_POST['NewCategoryDescription'], ENT_QUOTES)); -$YourPost = $NewCategoryDescription; -require( '../misc/HTMLTags.php'); -$NewCategoryDescription = $YourPost; -$NewCategoryDescription = preg_replace("/\&#(.*?);/is", "&#$1;", $NewCategoryDescription); -$query = "INSERT INTO ".$TablePreFix."Categorys VALUES (".$_POST['NewCategoryid'].",'".$NewCategoryName."','".$_POST['NewShowCategory']."',".$_POST['NewInSubForum'].",'".$NewCategoryDescription."')"; -mysql_query($query); - echo ''; } - $status = explode(' ', mysql_stat($Stat3SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['category tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Admin to use this. ^_^
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+ +   +
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+ +
+ + + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +'; } +if ($_POST['act']=="Delete") { + $sqlrowdelete = "DELETE FROM ".$TablePreFix."Categorys WHERE id=".$_POST['IDN'].""; + $resultdelete = mysql_query($sqlrowdelete); + echo ''; } +if ($_POST['act']=="New") { +$OldShowCategory = "Yes"; +$NewInSubForum = "0"; +?> +   +
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+ +
+ + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +\n".$adminlang2['you need id number']."
"; } +if ($_POST['NewCategoryName']==null) { +$Error="Yes"; +echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need category name']."
"; } +if ($_POST['NewInSubForum']==null) { +$_POST['NewInSubForum']=0; } +if ($_POST['NewCategoryDescription']==null) { +$Error="Yes"; +echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need description about category']."
"; } +?> 0) { +echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need new id number']."
"; } +if ($Error=="Yes") { +mysql_close(); +exit(); } +$NewCategoryName = stripcslashes(htmlentities($_POST['NewCategoryName'], ENT_QUOTES)); +$NewCategoryName = preg_replace("/\&#(.*?);/is", "&#$1;", $NewCategoryName); +$NewCategoryDescription = stripcslashes(htmlentities($_POST['NewCategoryDescription'], ENT_QUOTES)); +$YourPost = $NewCategoryDescription; +require( '../misc/HTMLTags.php'); +$NewCategoryDescription = $YourPost; +$NewCategoryDescription = preg_replace("/\&#(.*?);/is", "&#$1;", $NewCategoryDescription); +$query = "INSERT INTO ".$TablePreFix."Categorys VALUES (".$_POST['NewCategoryid'].",'".$NewCategoryName."','".$_POST['NewShowCategory']."',".$_POST['NewInSubForum'].",'".$NewCategoryDescription."')"; +mysql_query($query); + echo ''; } + $status = explode(' ', mysql_stat($Stat3SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/Forums.php b/Admin/Forums.php index 1e2e441..7ff8bdf 100644 --- a/Admin/Forums.php +++ b/Admin/Forums.php @@ -1,317 +1,317 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['forum tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\n".$adminlang2['you need to be admin']."
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
- -   -
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
- - - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -'; } -if ($_POST['act']=="Delete") { - $sqlrowdelete = "DELETE FROM ".$TablePreFix."Forums WHERE id=".$_POST['IDN'].""; - $resultdelete = mysql_query($sqlrowdelete); - echo ''; } -if ($_POST['act']=="New") { -$OldShowForum = "Yes"; -$OldForumType = "Forum"; -$NewInSubForum = "0"; -?> -   -
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
- - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -\n".$adminlang2['you need to put id']."
"; } -if ($_POST['NewForumName']==null) { -$Error="Yes"; -echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need to put forum name']."
"; } -if ($_POST['NewInSubForum']==null) { -$NewInSubForum=0; } -if ($_POST['NewForumDescription']==null) { -$Error="Yes"; -echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need to put description for forum']."
"; } -$sql_id_check = mysql_query("SELECT Email FROM ".$TablePreFix."Members WHERE Email=".$_POST['NewForumid'].""); -$id_check = mysql_num_rows($sql_id_check); -if($id_check > 0) { -echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need to pick new id']."
"; } -if ($Error=="Yes") { -mysql_close(); -exit(); } -$NewForumName = stripcslashes(htmlentities($_POST['NewForumName'], ENT_QUOTES)); -$NewForumName = preg_replace("/\&#(.*?);/is", "&#$1;", $NewForumName); -$NewForumDescription = stripcslashes(htmlentities($_POST['NewForumDescription'], ENT_QUOTES)); -$YourPost = $NewForumDescription; -require( '../misc/HTMLTags.php'); -$NewForumDescription = $YourPost; -$NewForumDescription = preg_replace("/\&#(.*?);/is", "&#$1;", $NewForumDescription); -$query = "INSERT INTO ".$TablePreFix."Forums VALUES (".$_POST['NewForumid'].",".$_POST['NewCategoryid'].",'".$NewForumName."','".$_POST['NewShowForum']."','".$_POST['NewForumType']."',".$_POST['NewInSubForum'].",'".$NewForumDescription."')"; -mysql_query($query); - echo ''; } - $status = explode(' ', mysql_stat($Stat3SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['forum tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\n".$adminlang2['you need to be admin']."
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+ +   +
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +'; } +if ($_POST['act']=="Delete") { + $sqlrowdelete = "DELETE FROM ".$TablePreFix."Forums WHERE id=".$_POST['IDN'].""; + $resultdelete = mysql_query($sqlrowdelete); + echo ''; } +if ($_POST['act']=="New") { +$OldShowForum = "Yes"; +$OldForumType = "Forum"; +$NewInSubForum = "0"; +?> +   +
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +\n".$adminlang2['you need to put id']."
"; } +if ($_POST['NewForumName']==null) { +$Error="Yes"; +echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need to put forum name']."
"; } +if ($_POST['NewInSubForum']==null) { +$NewInSubForum=0; } +if ($_POST['NewForumDescription']==null) { +$Error="Yes"; +echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need to put description for forum']."
"; } +$sql_id_check = mysql_query("SELECT Email FROM ".$TablePreFix."Members WHERE Email=".$_POST['NewForumid'].""); +$id_check = mysql_num_rows($sql_id_check); +if($id_check > 0) { +echo "".$adminlang2['please the errors']."
\n".$adminlang2['you need to pick new id']."
"; } +if ($Error=="Yes") { +mysql_close(); +exit(); } +$NewForumName = stripcslashes(htmlentities($_POST['NewForumName'], ENT_QUOTES)); +$NewForumName = preg_replace("/\&#(.*?);/is", "&#$1;", $NewForumName); +$NewForumDescription = stripcslashes(htmlentities($_POST['NewForumDescription'], ENT_QUOTES)); +$YourPost = $NewForumDescription; +require( '../misc/HTMLTags.php'); +$NewForumDescription = $YourPost; +$NewForumDescription = preg_replace("/\&#(.*?);/is", "&#$1;", $NewForumDescription); +$query = "INSERT INTO ".$TablePreFix."Forums VALUES (".$_POST['NewForumid'].",".$_POST['NewCategoryid'].",'".$NewForumName."','".$_POST['NewShowForum']."','".$_POST['NewForumType']."',".$_POST['NewInSubForum'].",'".$NewForumDescription."')"; +mysql_query($query); + echo ''; } + $status = explode(' ', mysql_stat($Stat3SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/Groups.php b/Admin/Groups.php index e473898..c8717d1 100644 --- a/Admin/Groups.php +++ b/Admin/Groups.php @@ -1,382 +1,382 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo "Group Tools"; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Admin to use this. ^_^
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
- -   -
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -'; } -if ($_POST['act']=="Delete") { - $sqlrowdelete = "DELETE FROM ".$TablePreFix."Groups WHERE id=".$_POST['IDN'].""; - $resultdelete = mysql_query($sqlrowdelete); - echo ''; } -if ($_POST['act']=="New") { -$OldViewBoard1="yes"; -$OldEditProfile1="yes"; -$OldMakeTopics1="yes"; -$OldMakeReplys1="yes"; -$OldEditReplys1="yes"; -$OldDeleteReplys1="yes"; -$OldAddEvents1="yes"; -$OldCanPm1="yes"; -$OldCanDohtml1="yes"; -$OldModCp1="no"; -$OldAdminCp1="no"; -?> -   -
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -\n".$adminlang2['you need id']."
"; } -if ($_POST['NewGroupName']==null) { -$Error="Yes"; -echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need name']."
"; } -$sql_id_check = mysql_query("SELECT ID FROM ".$TablePreFix."Groups WHERE ID='".$_POST['NewGroupID']."'"); -$id_check = mysql_num_rows($sql_id_check); -if($id_check > 0) { -echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need new id']."
"; } -if ($Error=="Yes") { -mysql_close(); -exit(); } -$NewGroupName = stripcslashes(htmlentities($_POST['NewGroupName'], ENT_QUOTES)); -$NewGroupName = preg_replace("/\&#(.*?);/is", "&#$1;", $NewGroupName); -$query = "INSERT INTO ".$TablePreFix."Groups VALUES (".$_POST['NewGroupID'].",'".$NewGroupName."','','','".$_POST['View_board']."','".$_POST['Edit_profile']."','".$_POST['Make_topics']."','".$_POST['Make_replys']."','".$_POST['Edit_replys']."','".$_POST['Delete_replys']."','".$_POST['Add_events']."','".$_POST['Can_pm']."','".$_POST['Can_dohtml']."','',0,'".$_POST['Has_mod_cp']."','".$_POST['Has_admin_cp']."')"; -mysql_query($query); - echo ''; } - $status = explode(' ', mysql_stat($Stat3SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo "Group Tools"; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Admin to use this. ^_^
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+ +   +
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +'; } +if ($_POST['act']=="Delete") { + $sqlrowdelete = "DELETE FROM ".$TablePreFix."Groups WHERE id=".$_POST['IDN'].""; + $resultdelete = mysql_query($sqlrowdelete); + echo ''; } +if ($_POST['act']=="New") { +$OldViewBoard1="yes"; +$OldEditProfile1="yes"; +$OldMakeTopics1="yes"; +$OldMakeReplys1="yes"; +$OldEditReplys1="yes"; +$OldDeleteReplys1="yes"; +$OldAddEvents1="yes"; +$OldCanPm1="yes"; +$OldCanDohtml1="yes"; +$OldModCp1="no"; +$OldAdminCp1="no"; +?> +   +
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +\n".$adminlang2['you need id']."
"; } +if ($_POST['NewGroupName']==null) { +$Error="Yes"; +echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need name']."
"; } +$sql_id_check = mysql_query("SELECT ID FROM ".$TablePreFix."Groups WHERE ID='".$_POST['NewGroupID']."'"); +$id_check = mysql_num_rows($sql_id_check); +if($id_check > 0) { +echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need new id']."
"; } +if ($Error=="Yes") { +mysql_close(); +exit(); } +$NewGroupName = stripcslashes(htmlentities($_POST['NewGroupName'], ENT_QUOTES)); +$NewGroupName = preg_replace("/\&#(.*?);/is", "&#$1;", $NewGroupName); +$query = "INSERT INTO ".$TablePreFix."Groups VALUES (".$_POST['NewGroupID'].",'".$NewGroupName."','','','".$_POST['View_board']."','".$_POST['Edit_profile']."','".$_POST['Make_topics']."','".$_POST['Make_replys']."','".$_POST['Edit_replys']."','".$_POST['Delete_replys']."','".$_POST['Add_events']."','".$_POST['Can_pm']."','".$_POST['Can_dohtml']."','',0,'".$_POST['Has_mod_cp']."','".$_POST['Has_admin_cp']."')"; +mysql_query($query); + echo ''; } + $status = explode(' ', mysql_stat($Stat3SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/HelpFiles.php b/Admin/HelpFiles.php index d367953..1316102 100644 --- a/Admin/HelpFiles.php +++ b/Admin/HelpFiles.php @@ -1,290 +1,290 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['help file tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Admin to use this. ^_^
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
- -   -
-
-
- - - - -
-
-
-
-
-
-
- - - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -'; } -if ($_POST['act']=="Delete") { - $sqlrowdelete = "DELETE FROM ".$TablePreFix."Forums WHERE id=".$_POST['IDN'].""; - $resultdelete = mysql_query($sqlrowdelete); - echo ''; } -if ($_POST['act']=="New") { -$OldShowForum = "Yes"; -$OldForumType = "Forum"; -$NewInSubForum = "0"; -?> -   -
-
-
- - - - -
-
-
-
-
-
-
- -
- - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -\n".$adminlang2['you need id']."
"; } -if ($_POST['NewHelpFileName']==null) { -$Error="Yes"; -echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need name']."
"; } -if ($_POST['NewHelpFileDescription']==null) { -$Error="Yes"; -echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need description']."
"; } -$sql_id_check = mysql_query("SELECT ID FROM ".$TablePreFix."Help WHERE ID='".$_POST['NewHelpFileid']."'"); -$id_check = mysql_num_rows($sql_id_check); -if($id_check > 0) { -echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need new id']."
"; } -if ($Error=="Yes") { -mysql_close(); -exit(); } -$NewHelpFileName = stripcslashes(htmlentities($_POST['NewHelpFileName'], ENT_QUOTES)); -$NewHelpFileName = preg_replace("/\&#(.*?);/is", "&#$1;", $NewHelpFileName); -$NewHelpFileDescription = stripcslashes(htmlentities($_POST['NewHelpFileDescription'], ENT_QUOTES)); -$YourPost = $NewHelpFileDescription; -require( '../misc/HTMLTags.php'); -$NewHelpFileDescription = $YourPost; -$NewHelpFileDescription = preg_replace("/\&#(.*?);/is", "&#$1;", $NewHelpFileDescription); -$query = "INSERT INTO ".$TablePreFix."Help VALUES (".$_POST['NewHelpFileid'].",'".$NewHelpFileName."','".$NewHelpFileDescription."')"; -mysql_query($query); - echo ''; } - $status = explode(' ', mysql_stat($Stat3SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['help file tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Admin to use this. ^_^
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+ +   +
+
+
+ + + + +
+
+
+
+
+
+
+ + + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +'; } +if ($_POST['act']=="Delete") { + $sqlrowdelete = "DELETE FROM ".$TablePreFix."Forums WHERE id=".$_POST['IDN'].""; + $resultdelete = mysql_query($sqlrowdelete); + echo ''; } +if ($_POST['act']=="New") { +$OldShowForum = "Yes"; +$OldForumType = "Forum"; +$NewInSubForum = "0"; +?> +   +
+
+
+ + + + +
+
+
+
+
+
+
+ +
+ + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +\n".$adminlang2['you need id']."
"; } +if ($_POST['NewHelpFileName']==null) { +$Error="Yes"; +echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need name']."
"; } +if ($_POST['NewHelpFileDescription']==null) { +$Error="Yes"; +echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need description']."
"; } +$sql_id_check = mysql_query("SELECT ID FROM ".$TablePreFix."Help WHERE ID='".$_POST['NewHelpFileid']."'"); +$id_check = mysql_num_rows($sql_id_check); +if($id_check > 0) { +echo "".$adminlang2['please fix the errors']."
\n".$adminlang2['you need new id']."
"; } +if ($Error=="Yes") { +mysql_close(); +exit(); } +$NewHelpFileName = stripcslashes(htmlentities($_POST['NewHelpFileName'], ENT_QUOTES)); +$NewHelpFileName = preg_replace("/\&#(.*?);/is", "&#$1;", $NewHelpFileName); +$NewHelpFileDescription = stripcslashes(htmlentities($_POST['NewHelpFileDescription'], ENT_QUOTES)); +$YourPost = $NewHelpFileDescription; +require( '../misc/HTMLTags.php'); +$NewHelpFileDescription = $YourPost; +$NewHelpFileDescription = preg_replace("/\&#(.*?);/is", "&#$1;", $NewHelpFileDescription); +$query = "INSERT INTO ".$TablePreFix."Help VALUES (".$_POST['NewHelpFileid'].",'".$NewHelpFileName."','".$NewHelpFileDescription."')"; +mysql_query($query); + echo ''; } + $status = explode(' ', mysql_stat($Stat3SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/Login.php b/Admin/Login.php index 2827a29..cb2cd75 100644 --- a/Admin/Login.php +++ b/Admin/Login.php @@ -1,233 +1,233 @@ - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['logging into admin cp']; ?> -".$BoardName." - Member Stats"; - if ($id==null) { - $id=1; } - if ($id=="ShowMe") { - $id=$_SESSION['UserID']; } } -if ($_GET['act']=="Login") { ?> -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['loging in']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['loging in']; ?> - -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
-
- - - - -
-
-
-
- - - - -
-
-
-
 
-
- - - - - - -
- - -   -
-
-
- - - -   -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - - -
Valid HTML 4.01! -Valid CSS!
-'; } -if ($YourPassword!=$UserPassword) { -echo ''.$adminlang2['password is not right'].''; } } } -if ($_GET['act']=="Logout") { -session_unregister(UserName); -session_unregister(UserID); -session_unregister(UserGroup); -$_SESSION['MemberName']=null; -$_SESSION['UserID']=0; -$_SESSION['UserGroup']="Guest"; -echo ''; } -$status = explode(' ', mysql_stat($Stat3SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['logging into admin cp']; ?> +".$BoardName." - Member Stats"; + if ($id==null) { + $id=1; } + if ($id=="ShowMe") { + $id=$_SESSION['UserID']; } } +if ($_GET['act']=="Login") { ?> +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['loging in']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['loging in']; ?> + +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+
+ + + + +
+
+
+
+ + + + +
+
+
+
 
+
+ + + + + + +
+ + +   +
+
+
+ + + +   +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + + +
Valid HTML 4.01! +Valid CSS!
+'; } +if ($YourPassword!=$UserPassword) { +echo ''.$adminlang2['password is not right'].''; } } } +if ($_GET['act']=="Logout") { +session_unregister(UserName); +session_unregister(UserID); +session_unregister(UserGroup); +$_SESSION['MemberName']=null; +$_SESSION['UserID']=0; +$_SESSION['UserGroup']="Guest"; +echo ''; } +$status = explode(' ', mysql_stat($Stat3SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/Members.php b/Admin/Members.php index 081d781..9ab5477 100644 --- a/Admin/Members.php +++ b/Admin/Members.php @@ -1,271 +1,271 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['member tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Admin to use this. ^_^
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
- -   -
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Change Board Skin to:
-
-->*/ ?> -
-
- -
- - - - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -'; } -if ($_POST['act']=="Delete") { - if ($_POST['IDN']==1) { echo "".$adminlang2['cant delete root admin'].""; exit(); } - if ($_POST['IDN']==2) { echo "".$adminlang2['cant delete root guest'].""; exit(); } - $sqlrowdelete = "DELETE FROM ".$TablePreFix."Members WHERE id=".$_POST['IDN'].""; - $resultdelete = mysql_query($sqlrowdelete); - echo ''; } -?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['member tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Admin to use this. ^_^
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+ +   +
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Change Board Skin to:
+
-->*/ ?> +
+
+ +
+ + + + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +'; } +if ($_POST['act']=="Delete") { + if ($_POST['IDN']==1) { echo "".$adminlang2['cant delete root admin'].""; exit(); } + if ($_POST['IDN']==2) { echo "".$adminlang2['cant delete root guest'].""; exit(); } + $sqlrowdelete = "DELETE FROM ".$TablePreFix."Members WHERE id=".$_POST['IDN'].""; + $resultdelete = mysql_query($sqlrowdelete); + echo ''; } +?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/MySQL.php b/Admin/MySQL.php index 1d314a6..7515af5 100644 --- a/Admin/MySQL.php +++ b/Admin/MySQL.php @@ -1,245 +1,245 @@ - Beta 4"; -//Skining Stuff -if ($HTTP_COOKIE_VARS[UseSkin]==null) { -setcookie("UseSkin", 1, time() + (7 * 86400) ); } -if ($_SESSION['Browser']==null) { -$_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } -if ($_SESSION['Browser']!=null) { - if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { - session_regenerate_id(); - session_unregister(UserName); - session_unregister(UserID); - session_unregister(UserGroup); - session_unregister(UserTimeZone); - session_unregister(UserTimeZone); - $_SESSION['MemberName']=null; - $_SESSION['UserID']=0; - $_SESSION['UserGroup']="Guest"; - $_SESSION['UserTimeZone']=SeverOffSet(null); - $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } -if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { - $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; -} } -if ($_SESSION['Skin']==null) { -$_SESSION['Skin'] = $HTTP_COOKIE_VARS[UseSkin]; } -if ($_GET['SetSkin']!=null) { -setcookie("UseSkin", $_GET['SetSkin'], time() + (7 * 86400) ); -$_SESSION['Skin'] = $_GET['SetSkin']; } -if ($_SESSION['Skin']>=3) { -setcookie("UseSkin", 2, time() + (7 * 86400) ); -$_SESSION['Skin'] = 2; } -if ($_SESSION['Skin']<=1) { -setcookie("UseSkin", 1, time() + (7 * 86400) ); -$_SESSION['Skin'] = 1; } -if ($_SESSION['UserTimeZone']==null) { -$_SESSION['UserTimeZone']=0; -if ($_SESSION['UserGroup']=="Guest") { -$_SESSION['UserTimeZone']=-6; } } -$YourOffSet = $_SESSION['UserTimeZone']; -if ($_SESSION['YourID']==null) { -$_SESSION['YourID1'] = uniqid(rand(), true); -$_SESSION['YourID2'] = md5($_SESSION['YourID1']); -$_SESSION['YourID3'] = sha1($_SESSION['YourID2']); } -if ($_SESSION['YourID']!=null) { /* Do Somthing Cool Here! */ } -//Set to text/html or application/xhtml+xml -header('Content-type: text/html'); -//$DTDURL = " \"http://www.w3.org/TR/html4/loose.dtd\""; -//$DTDURL = " \"http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/html4.dtd\""; -$DTDURL = null; -?> -> - - - - - - - -"> - - - - -/CSS.php" media="all"> - - - -\r\n"; -echo "@import url(../Skin/Skin1/CSS.php);\r\n"; -//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; -echo ""; } -$Logo=$Settings['board_logo']; -$OffLine=$Settings['board_offline']; -if ($_SESSION['UserGroup']=="Banned") { - echo " You are Banned From Here.
Your banned From Here!
The IP of: " . $_SERVER['REMOTE_ADDR']; - echo " is Banned From Here"; - exit(); } + Beta 4"; +//Skining Stuff +if ($HTTP_COOKIE_VARS[UseSkin]==null) { +setcookie("UseSkin", 1, time() + (7 * 86400) ); } +if ($_SESSION['Browser']==null) { +$_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } +if ($_SESSION['Browser']!=null) { + if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { + session_regenerate_id(); + session_unregister(UserName); + session_unregister(UserID); + session_unregister(UserGroup); + session_unregister(UserTimeZone); + session_unregister(UserTimeZone); + $_SESSION['MemberName']=null; + $_SESSION['UserID']=0; + $_SESSION['UserGroup']="Guest"; + $_SESSION['UserTimeZone']=SeverOffSet(null); + $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } +if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { + $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; +} } +if ($_SESSION['Skin']==null) { +$_SESSION['Skin'] = $HTTP_COOKIE_VARS[UseSkin]; } +if ($_GET['SetSkin']!=null) { +setcookie("UseSkin", $_GET['SetSkin'], time() + (7 * 86400) ); +$_SESSION['Skin'] = $_GET['SetSkin']; } +if ($_SESSION['Skin']>=3) { +setcookie("UseSkin", 2, time() + (7 * 86400) ); +$_SESSION['Skin'] = 2; } +if ($_SESSION['Skin']<=1) { +setcookie("UseSkin", 1, time() + (7 * 86400) ); +$_SESSION['Skin'] = 1; } +if ($_SESSION['UserTimeZone']==null) { +$_SESSION['UserTimeZone']=0; +if ($_SESSION['UserGroup']=="Guest") { +$_SESSION['UserTimeZone']=-6; } } +$YourOffSet = $_SESSION['UserTimeZone']; +if ($_SESSION['YourID']==null) { +$_SESSION['YourID1'] = uniqid(rand(), true); +$_SESSION['YourID2'] = md5($_SESSION['YourID1']); +$_SESSION['YourID3'] = sha1($_SESSION['YourID2']); } +if ($_SESSION['YourID']!=null) { /* Do Somthing Cool Here! */ } +//Set to text/html or application/xhtml+xml +header('Content-type: text/html'); +//$DTDURL = " \"http://www.w3.org/TR/html4/loose.dtd\""; +//$DTDURL = " \"http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/html4.dtd\""; +$DTDURL = null; +?> +> + + + + + + + +"> + + + + +/CSS.php" media="all"> + + + +\r\n"; +echo "@import url(../Skin/Skin1/CSS.php);\r\n"; +//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; +echo ""; } +$Logo=$Settings['board_logo']; +$OffLine=$Settings['board_offline']; +if ($_SESSION['UserGroup']=="Banned") { + echo " You are Banned From Here.
Your banned From Here!
The IP of: " . $_SERVER['REMOTE_ADDR']; + echo " is Banned From Here"; + exit(); } ?> \ No newline at end of file diff --git a/Admin/Replys.php b/Admin/Replys.php index a840f0d..0b97ca7 100644 --- a/Admin/Replys.php +++ b/Admin/Replys.php @@ -1,152 +1,152 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['reply tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Admin to use this. ^_^
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
-'; } - $status = explode(' ', mysql_stat($Stat3SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['reply tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Admin to use this. ^_^
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+'; } + $status = explode(' ', mysql_stat($Stat3SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/SQL.php b/Admin/SQL.php index 89a7801..a5b2b11 100644 --- a/Admin/SQL.php +++ b/Admin/SQL.php @@ -1,153 +1,153 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> Admin CP -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- / / / -
-
 
-\nYou need to be a Admin to use this. ^_^
"; - ?>
 
-
- - - - - - -
-Here you can Backup a MySQL DataBase or Restore one. ^_^
-
- -
- -
- -   - - - - - - - - - - - - - - - - - - - - - - -
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> Admin CP +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+\nYou need to be a Admin to use this. ^_^
"; + ?>
 
+
+ + + + + + +
+Here you can Backup a MySQL DataBase or Restore one. ^_^
+
+ +
+ +
+ +   + + + + + + + + + + + + + + + + + + + + + + +
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/Settings.php b/Admin/Settings.php index 9797eae..6f6d131 100644 --- a/Admin/Settings.php +++ b/Admin/Settings.php @@ -1,250 +1,250 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang3['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang3['board setting tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Admin to use this. ^_^
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
- -
-
-
 
-
- - - - - - -
-"; -//unlink("../BK_Settings.php"); -//copy("../Settings.php", "BK_Settings.php"); -$fp = fopen("../Settings.php","w+"); -fwrite($fp, $BoardSettings); -fclose($fp); -echo ""; } -?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang3['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang3['board setting tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Admin to use this. ^_^
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
 
+
+ + + + + + +
+"; +//unlink("../BK_Settings.php"); +//copy("../Settings.php", "BK_Settings.php"); +$fp = fopen("../Settings.php","w+"); +fwrite($fp, $BoardSettings); +fclose($fp); +echo ""; } +?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/Tags.php b/Admin/Tags.php index 5336965..68e3281 100644 --- a/Admin/Tags.php +++ b/Admin/Tags.php @@ -1,152 +1,152 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['tag tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Admin to use this. ^_^
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- - -
-
-
 
-
- - - - - - -
-'; } - $status = explode(' ', mysql_stat($Stat3SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['tag tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Admin to use this. ^_^
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ + +
+
+
 
+
+ + + + + + +
+'; } + $status = explode(' ', mysql_stat($Stat3SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/Topics.php b/Admin/Topics.php index f8b6ecd..d7da530 100644 --- a/Admin/Topics.php +++ b/Admin/Topics.php @@ -1,156 +1,156 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['topic tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Admin to use this. ^_^
"; - $act="NotAdmin"; } -if ($_GET['act']=="View") { -if ($Groups['Has_admin_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
-'; } - $status = explode(' ', mysql_stat($Stat3SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['admin cp']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['topic tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Admin to use this. ^_^
"; + $act="NotAdmin"; } +if ($_GET['act']=="View") { +if ($Groups['Has_admin_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+'; } + $status = explode(' ', mysql_stat($Stat3SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Admin/index.php b/Admin/index.php index b02fb35..15deeac 100644 --- a/Admin/index.php +++ b/Admin/index.php @@ -1,193 +1,193 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> Admin CP -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- / / / -
-
 
\nYou need to be a Admin to use this. ^_^
"; - ?>
 
-
- - - - - - -
- -   -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Admin ToolTool Description
Board SettingsChange the board settings and board name.
Member ToolEdit Members, and Delete Members with this.
Group ToolEdit Groups, and Delete Groups and Make Groups with this.
Category ToolEdit Categorys, add Categorys, and Delete Categorys with this.
Forum ToolEdit Forums, add Forums, and Delete Forums with this.
Topic ToolDelete Topics with this.
Reply ToolDelete Replys with this.
Tag ToolDelete Tags with this.
Help File ToolEdit Help Files, add Help Files, and Delete Help Files with this.
Event ToolEdit Events and Delete Events with this.
CSS File ToolEdit the Board's CSS File.
-
- -   - - - - - - - - - - - - - - - - - - - - - - - -
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> Admin CP +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ / / / +
+
 
\nYou need to be a Admin to use this. ^_^
"; + ?>
 
+
+ + + + + + +
+ +   +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Admin ToolTool Description
Board SettingsChange the board settings and board name.
Member ToolEdit Members, and Delete Members with this.
Group ToolEdit Groups, and Delete Groups and Make Groups with this.
Category ToolEdit Categorys, add Categorys, and Delete Categorys with this.
Forum ToolEdit Forums, add Forums, and Delete Forums with this.
Topic ToolDelete Topics with this.
Reply ToolDelete Replys with this.
Tag ToolDelete Tags with this.
Help File ToolEdit Help Files, add Help Files, and Delete Help Files with this.
Event ToolEdit Events and Delete Events with this.
CSS File ToolEdit the Board's CSS File.
+
+ +   + + + + + + + + + + + + + + + + + + + + + + + +
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Calendar.php b/Calendar.php index 37541a9..d5ab047 100644 --- a/Calendar.php +++ b/Calendar.php @@ -1,200 +1,200 @@ - - - - - - - -'.$BoardName.' '.$TitleLine.' '.$lang2['viewing calendar'].' '.$TitleLine.' '.GMTimeGet('F dS, Y',$YourOffSet).''; } -//date('F j, Y') -?>"; } -if ($_GET['Backwards']=="yes") { - echo "\r\n"; } -if ($_GET['Backwards']=="on") { - echo "\r\n"; } -if ($_GET['Backwards']!="on") { - echo "\r\n"; } -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - - - - - - - - - - -=".$MyMonth." and EventYear<=".$MyYear." and EventYearEnd>=".$MyYear.") ORDER BY ID"; -$result=mysql_query($query); -$num=mysql_num_rows($result); -$is=0; -while ($is < $num) { -$EventID=mysql_result($result,$is,"ID"); -$EventUser=mysql_result($result,$is,"UserID"); -$EventName=mysql_result($result,$is,"EventName"); -$EventText=mysql_result($result,$is,"EventText"); -$EventMouth=mysql_result($result,$is,"EventMouth"); -$EventMouthEnd=mysql_result($result,$is,"EventMouthEnd"); -$EventDay=mysql_result($result,$is,"EventDay"); -$EventDayEnd=mysql_result($result,$is,"EventDayEnd"); -$EventYear=mysql_result($result,$is,"EventYear"); -$EventYearEnd=mysql_result($result,$is,"EventYearEnd"); -if ($EventsName[$EventDay] != null) { - $EventsName[$EventDay] .= ",\n\r".$EventName.""; } -if ($EventsName[$EventDay] == null) { - $EventsName[$EventDay] = "".$EventName.""; } -if ($EventDay<$EventDayEnd) { -$NextDay = $EventDay+1; -$EventDayEnd = $EventDayEnd+1; -while ($NextDay < $EventDayEnd) { -if ($EventsName[$NextDay] != null) { - $EventsName[$NextDay] .= ",\n\r".$EventName.""; } -if ($EventsName[$NextDay] == null) { - $EventsName[$NextDay] = "".$EventName.""; } -$NextDay++; } } -$EventsID[$EventDay] = $EventID; -$is++; -} -$MyDays = array(); -$MyDays[] = $lang2['sunday']; -$MyDays[] = $lang2['monday']; -$MyDays[] = $lang2['tuesday']; -$MyDays[] = $lang2['wednesday']; -$MyDays[] = $lang2['thursday']; -$MyDays[] = $lang2['friday']; -$MyDays[] = $lang2['saturday']; -$DayNames = ""; -foreach ($MyDays as $x => $y) { - $DayNames .= ''."\r\n"; -} -$WeekDays = ""; -$i = $FirstDayThisMouth + 1; -if ($FirstDayThisMouth != "0") { - $WeekDays .= ''."\r\n"; -} -$Day_i = "1"; -$ii = $i; -for ($i; $i <= ($CountDays + $FirstDayThisMouth) ;$i++) { -if ($ii == 8) { -$WeekDays .= ""."\r\n"; -$ii = 1; } - if ($MyDay == $Day_i) { -$Extra = 'class="MenuTable3"'; } -else { -$Extra = 'class="MenuTable2"'; } -if ($Day_i != $_GET['HighligtDay']) { -if ($Day_i != $MyDay) { -$WeekDays .= ''."\r\n"; } } -if ($Day_i == $MyDay) { - if ($Day_i != $_GET['HighligtDay']) { -$WeekDays .= ''."\r\n"; } } -if ($Day_i == $_GET['HighligtDay']) { -$WeekDays .= ''."\r\n"; } -$Day_i++; -$ii++; -} -if ((8 - $ii) >= "1") { -$WeekDays .= ''."\r\n"; } ?> - - - - -
+ + + + + + + +'.$BoardName.' '.$TitleLine.' '.$lang2['viewing calendar'].' '.$TitleLine.' '.GMTimeGet('F dS, Y',$YourOffSet).''; } +//date('F j, Y') +?>"; } +if ($_GET['Backwards']=="yes") { + echo "\r\n"; } +if ($_GET['Backwards']=="on") { + echo "\r\n"; } +if ($_GET['Backwards']!="on") { + echo "\r\n"; } +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + +
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
' . $y . ' 
' . $Day_i . '
' . $EventsName[$Day_i] . '
' . $Day_i . '
' . $EventsName[$Day_i] . '
' . $Day_i . '
' . $EventsName[$Day_i] . '
 
/index_08.png);">  - -
- -
- - - - -
" colspan="7">" colspan="7">
- - - - -
- -
-
-
- -
+ + + + + + + + +=".$MyMonth." and EventYear<=".$MyYear." and EventYearEnd>=".$MyYear.") ORDER BY ID"; +$result=mysql_query($query); +$num=mysql_num_rows($result); +$is=0; +while ($is < $num) { +$EventID=mysql_result($result,$is,"ID"); +$EventUser=mysql_result($result,$is,"UserID"); +$EventName=mysql_result($result,$is,"EventName"); +$EventText=mysql_result($result,$is,"EventText"); +$EventMouth=mysql_result($result,$is,"EventMouth"); +$EventMouthEnd=mysql_result($result,$is,"EventMouthEnd"); +$EventDay=mysql_result($result,$is,"EventDay"); +$EventDayEnd=mysql_result($result,$is,"EventDayEnd"); +$EventYear=mysql_result($result,$is,"EventYear"); +$EventYearEnd=mysql_result($result,$is,"EventYearEnd"); +if ($EventsName[$EventDay] != null) { + $EventsName[$EventDay] .= ",\n\r".$EventName.""; } +if ($EventsName[$EventDay] == null) { + $EventsName[$EventDay] = "".$EventName.""; } +if ($EventDay<$EventDayEnd) { +$NextDay = $EventDay+1; +$EventDayEnd = $EventDayEnd+1; +while ($NextDay < $EventDayEnd) { +if ($EventsName[$NextDay] != null) { + $EventsName[$NextDay] .= ",\n\r".$EventName.""; } +if ($EventsName[$NextDay] == null) { + $EventsName[$NextDay] = "".$EventName.""; } +$NextDay++; } } +$EventsID[$EventDay] = $EventID; +$is++; +} +$MyDays = array(); +$MyDays[] = $lang2['sunday']; +$MyDays[] = $lang2['monday']; +$MyDays[] = $lang2['tuesday']; +$MyDays[] = $lang2['wednesday']; +$MyDays[] = $lang2['thursday']; +$MyDays[] = $lang2['friday']; +$MyDays[] = $lang2['saturday']; +$DayNames = ""; +foreach ($MyDays as $x => $y) { + $DayNames .= ''."\r\n"; +} +$WeekDays = ""; +$i = $FirstDayThisMouth + 1; +if ($FirstDayThisMouth != "0") { + $WeekDays .= ''."\r\n"; +} +$Day_i = "1"; +$ii = $i; +for ($i; $i <= ($CountDays + $FirstDayThisMouth) ;$i++) { +if ($ii == 8) { +$WeekDays .= ""."\r\n"; +$ii = 1; } + if ($MyDay == $Day_i) { +$Extra = 'class="MenuTable3"'; } +else { +$Extra = 'class="MenuTable2"'; } +if ($Day_i != $_GET['HighligtDay']) { +if ($Day_i != $MyDay) { +$WeekDays .= ''."\r\n"; } } +if ($Day_i == $MyDay) { + if ($Day_i != $_GET['HighligtDay']) { +$WeekDays .= ''."\r\n"; } } +if ($Day_i == $_GET['HighligtDay']) { +$WeekDays .= ''."\r\n"; } +$Day_i++; +$ii++; +} +if ((8 - $ii) >= "1") { +$WeekDays .= ''."\r\n"; } ?> + + + + +
\ No newline at end of file diff --git a/Category.php b/Category.php index 03224f0..80afddb 100644 --- a/Category.php +++ b/Category.php @@ -1,217 +1,217 @@ - - - - - - - -'.$BoardName.' '.$TitleLine.' '.$lang2['viewing forums'].' '.$Categorys['Name'].' '.$lang2['categorys'].''; } -if ($_GET['act']=="Create") { -echo ''.$BoardName.' '.$TitleLine.' '.$lang2['making topic'].' '.$Categorys['Name'].' '.$lang2['categorys'].''; } -?>"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -$Type="Topic"; -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - -
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
' . $y . ' 
' . $Day_i . '
' . $EventsName[$Day_i] . '
' . $Day_i . '
' . $EventsName[$Day_i] . '
' . $Day_i . '
' . $EventsName[$Day_i] . '
 
/index_08.png);">  + +
+ +
+ + + + +
" colspan="7">" colspan="7">
+ + + + +
+ +
+
+
+ +
- - - - - - - - -'; } -if ($_GET['act']=="Stats") { - $_GET['act']="BoardStats"; } -if ($_GET['act']=="BoardStats") { - echo"".$BoardName." - Board Stats"; } -if ($_GET['act']=="View") { - ?> - - - - - -
-
-
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> 
- -
- -
- - - - - - - - - - - - - - - - - - =$num) { - $Next=$Show; } -$Back=$Show-5; -if ($Back<=0) { - $Back=0; } -if ($_GET['act']=="View") { -?> -
  
- -
-
-
- -
-
- - - - - - - -
-
+ + + + + + + +'.$BoardName.' '.$TitleLine.' '.$lang2['viewing forums'].' '.$Categorys['Name'].' '.$lang2['categorys'].''; } +if ($_GET['act']=="Create") { +echo ''.$BoardName.' '.$TitleLine.' '.$lang2['making topic'].' '.$Categorys['Name'].' '.$lang2['categorys'].''; } +?>"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +$Type="Topic"; +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + + + + + + + + + + +'; } +if ($_GET['act']=="Stats") { + $_GET['act']="BoardStats"; } +if ($_GET['act']=="BoardStats") { + echo"".$BoardName." - Board Stats"; } +if ($_GET['act']=="View") { + ?> + + + + + +
+
+
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> 
+ +
+ +
+ + + + + + + + + + + + + + + + + + =$num) { + $Next=$Show; } +$Back=$Show-5; +if ($Back<=0) { + $Back=0; } +if ($_GET['act']=="View") { +?> +
  
+ +
+
+
+ +
+
+ + + + + + + +
+
\ No newline at end of file diff --git a/Event.php b/Event.php index 6f27078..49ada7c 100644 --- a/Event.php +++ b/Event.php @@ -1,329 +1,329 @@ - - - - - - -'.$BoardName.' '.$TitleLine.' '.$lang2['viewing all events'].''; } -if ($_GET['act']=="Create") { -echo ''.$BoardName.' '.$TitleLine.' '.$lang2['creating new event'].''; } -if ($_GET['act']=="Send") { -echo ''.$BoardName.' '.$TitleLine.' '.$lang2['sending new event'].''; } -if ($_GET['act']=="Event") { -$post_query = mysql_query("SELECT * FROM ".$TablePreFix."Events WHERE (ID=".$_GET['id'].")"); -$Event = mysql_fetch_array($post_query); -$post_querys = mysql_query("SELECT * FROM ".$TablePreFix."Members WHERE (ID=".$Event['UserID'].")"); -$Users = mysql_fetch_array($post_querys); -echo ''.$BoardName.' '.$TitleLine.' '.$lang2['viewing event'].' '.$Event['EventName'].''; } ?> - -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - -*/?> - - - - - - -*/?> - - - - - - - - - -
+ + + + + + +'.$BoardName.' '.$TitleLine.' '.$lang2['viewing all events'].''; } +if ($_GET['act']=="Create") { +echo ''.$BoardName.' '.$TitleLine.' '.$lang2['creating new event'].''; } +if ($_GET['act']=="Send") { +echo ''.$BoardName.' '.$TitleLine.' '.$lang2['sending new event'].''; } +if ($_GET['act']=="Event") { +$post_query = mysql_query("SELECT * FROM ".$TablePreFix."Events WHERE (ID=".$_GET['id'].")"); +$Event = mysql_fetch_array($post_query); +$post_querys = mysql_query("SELECT * FROM ".$TablePreFix."Members WHERE (ID=".$Event['UserID'].")"); +$Users = mysql_fetch_array($post_querys); +echo ''.$BoardName.' '.$TitleLine.' '.$lang2['viewing event'].' '.$Event['EventName'].''; } ?> + +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + +*/?> +
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> */?> - -
- -
- - -
/index_08.png);"> 
-
- - - - - - - - - - - - -
-

">
-
- - - - -
-
- - - - -
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - -
-
-
-\n".$lang2['you need a name']."
"; } -if ($_POST['EventMouth']==null) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a mouth']."
"; } -if (strlen($_POST['EventMouth'])!=2) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['mouth is too big/small']."
"; } -if ($_POST['EventMouthEnd']==null) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a end mouth']."
"; } -if (strlen($_POST['EventMouthEnd'])!=2) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end mouth is too big/small']."
"; } -if ($_POST['EventMouthEnd']<$_POST['EventMouth']) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end mouth is too small']."
"; } -if ($_POST['EventDay']==null) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a day']."
"; } -if (strlen($_POST['EventDay'])!=2) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['day is too big/small']."
"; } -if ($_POST['EventDayEnd']==null) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a end day']."
"; } -if (strlen($_POST['EventDayEnd'])!=2) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end day is too big/small']."
"; } -if ($_POST['EventDayEnd']<$_POST['EventDay']) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end day is too small']."
"; } -if ($_POST['EventYear']==null) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a year']."
"; } -if (strlen($_POST['EventYear'])!=4) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['year is too big/small']."
"; } -if ($_POST['EventYearEnd']==null) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a end year']."
"; } -if (strlen($_POST['EventYearEnd'])!=4) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end year is too big/small']."
"; } -if ($_POST['EventYearEnd']<$_POST['EventYear']) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end year is too small']."
"; } -if ($_POST['EventDescription']==null) { -$Error="Yes"; -echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need a description']."
"; } -if ($Error!="Yes") { -$TopicName = $_POST['EventName']; -$YourPost = $_POST['EventDescription']; -require( './misc/HTMLTags.php'); -$_POST['EventName'] = $TopicName; -$_POST['EventDescription'] = $YourPost; -$query = "INSERT INTO ".$TablePreFix."Events VALUES (null,".$_SESSION['UserID'].",'".$_POST['EventName']."','".$_POST['EventDescription']."',".$_POST['EventMouth'].",".$_POST['EventMouthEnd'].",".$_POST['EventDay'].",".$_POST['EventDayEnd'].",".$_POST['EventYear'].",".$_POST['EventYearEnd'].")"; -mysql_query($query); -echo ""; } } -if ($_GET['act']=="Event") { - ?> -
- - - - - - - - - - -
<?php echo $UsersName ?>'s Avatar




- ".$User1IP.""; }?>
- -
-
-
- -
- -
+ + + + + +*/?> + + + + + + + + + +
\ No newline at end of file diff --git a/Forum.php b/Forum.php index a1e7bf1..f56d315 100644 --- a/Forum.php +++ b/Forum.php @@ -1,427 +1,427 @@ - - - - - - - -'.$BoardName.' '.$TitleLine.' '.$lang2['viewing'].' '.$Forum['Name'].' Forum'; } -if ($_GET['act']=="Lo-Fi") { -echo ''.$BoardName.' '.$TitleLine.' '.$lang2['lo-fi version'].' '.$TitleLine.' '.$lang2['viewing'].' '.$Forum['Name'].' '.$lang2['forum'].''; } -if ($_GET['act']=="Create") { -echo ''.$BoardName.' '.$TitleLine.' '.$lang2['making topic in'].' '.$Forum['Name'].' '.$lang2['forum'].''; } -?>"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -?>\n\n"; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - -
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> */?> + +
+ +
+ + +
/index_08.png);"> 
+
+ + + + + + + + + + + + +
+

">
+
+ + + + +
+
+ + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+\n".$lang2['you need a name']."
"; } +if ($_POST['EventMouth']==null) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a mouth']."
"; } +if (strlen($_POST['EventMouth'])!=2) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['mouth is too big/small']."
"; } +if ($_POST['EventMouthEnd']==null) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a end mouth']."
"; } +if (strlen($_POST['EventMouthEnd'])!=2) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end mouth is too big/small']."
"; } +if ($_POST['EventMouthEnd']<$_POST['EventMouth']) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end mouth is too small']."
"; } +if ($_POST['EventDay']==null) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a day']."
"; } +if (strlen($_POST['EventDay'])!=2) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['day is too big/small']."
"; } +if ($_POST['EventDayEnd']==null) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a end day']."
"; } +if (strlen($_POST['EventDayEnd'])!=2) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end day is too big/small']."
"; } +if ($_POST['EventDayEnd']<$_POST['EventDay']) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end day is too small']."
"; } +if ($_POST['EventYear']==null) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a year']."
"; } +if (strlen($_POST['EventYear'])!=4) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['year is too big/small']."
"; } +if ($_POST['EventYearEnd']==null) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need to put a end year']."
"; } +if (strlen($_POST['EventYearEnd'])!=4) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end year is too big/small']."
"; } +if ($_POST['EventYearEnd']<$_POST['EventYear']) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['end year is too small']."
"; } +if ($_POST['EventDescription']==null) { +$Error="Yes"; +echo "".$lang2['Please fix the following errors: ']."
\n".$lang2['you need a description']."
"; } +if ($Error!="Yes") { +$TopicName = $_POST['EventName']; +$YourPost = $_POST['EventDescription']; +require( './misc/HTMLTags.php'); +$_POST['EventName'] = $TopicName; +$_POST['EventDescription'] = $YourPost; +$query = "INSERT INTO ".$TablePreFix."Events VALUES (null,".$_SESSION['UserID'].",'".$_POST['EventName']."','".$_POST['EventDescription']."',".$_POST['EventMouth'].",".$_POST['EventMouthEnd'].",".$_POST['EventDay'].",".$_POST['EventDayEnd'].",".$_POST['EventYear'].",".$_POST['EventYearEnd'].")"; +mysql_query($query); +echo ""; } } +if ($_GET['act']=="Event") { + ?> +
+ + + + + + + + + + +
<?php echo $UsersName ?>'s Avatar




+ ".$User1IP.""; }?>
+ +
+
+
+ +
+ +
- - - - - - - - -'; } -if ($_GET['act']=="Stats") { - $_GET['act']="ForumStats"; } -if ($_GET['act']=="ForumStats") { - $topic_query = mysql_query("SELECT Name FROM ".$TablePreFix."Forums WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); - $Forum = mysql_fetch_array($topic_query); - echo"".$BoardName." - ".$Forum['Name']." Forum Stats"; } -if ($_GET['act']=="View") { - ?> - - - -*/?> - -=$num) { - $Next=$Show; } -$Back=$Show-5; -if ($Back<=0) { - $Back=0; } -if ($_GET['act']=="Create") { -if ($Groups['Can_make_topics']=="yes") { - $query="SELECT * FROM ".$TablePreFix."Topics"; - $result=mysql_query($query); - $num=mysql_num_rows($result); - $nums=$num-1; - $TopicsID=mysql_result($result,$nums,"id"); - $TopicID=$TopicsID+1; - $query="SELECT * FROM ".$TablePreFix."Posts"; - $result=mysql_query($query); - $num=mysql_num_rows($result); - $nums=$num-1; - $ReplyID=mysql_result($result,$nums,"id"); - $PostID=$ReplyID+1; - $ForumID=$_GET['id']+0; - ?> - - - - - \nYou cant make topics. <_<
"; } } - if ($Groups['Can_make_topics']=="no") { - if ($_GET['act']=="Send") { - $_GET['act'] = "View"; - echo "".$lang2['please the errors']."
\nYou cant make topics. <_<
"; } } - if ($_POST['YourPost']==null) { - if ($_GET['act']=="Send") { - $_GET['act'] = "View"; - echo "".$lang2['please the errors']."
\n".$lang2['you need a post']."
"; - exit(); } } - if ($_GET['act']=="Send") { - //echo ''.$BoardName.' - '.$lang2['making new topic'].''; - echo""; - //setcookie("LastReply"); - $SetYourPost = $_POST['YourPost']; - //setcookie("LastReply", $SetYourPost, time() + (7 * 86400) ); - require( './misc/HTMLTags.php'); - if($Groups['Can_dohtml']=="no") { - $_POST['YourPost'] = preg_replace("/\[DoHTML\]/isxS", "[dohtml]", $_POST['YourPost']); - $_POST['YourPost'] = preg_replace("/\[\/DoHTML\]/isxS", "[/dohtml]", $_POST['YourPost']); } - $YourIDNew = $_SESSION['UserID']; - if($YourIDNew==0) { $YourOldID=$YourIDNew; $YourIDNew=2; $IDChange="Yes"; } - $query = "INSERT INTO ".$TablePreFix."Topics VALUES (null,".$_POST['ForumID'].",".$_GET['CatID'].",".$YourIDNew.",'".$_POST['YourName']."','".$_POST['YourDate']."',".$_POST['YourDate'].",'".$_POST['TopicName']."',".$_POST['PinTopic'].",".$_POST['CloseTopic'].")"; - mysql_query($query); - $query = "INSERT INTO ".$TablePreFix."Posts VALUES (null,".$_POST['TopicID'].",".$_POST['ForumID'].",".$_GET['CatID'].",".$YourIDNew.",'".$_POST['YourName']."',".$_POST['YourDate'].",'".$_POST['YourPost']."','".$_SERVER['REMOTE_ADDR']."')"; - mysql_query($query); - if($IDChange=="Yes") { $YourIDNew=$YourOldID; } - $result = mysql_query("SELECT * FROM ".$TablePreFix."Members"); - while ($row = mysql_fetch_array($result, MYSQL_NUM)) { - if ($row[0]==$_SESSION['UserID']) { - $OldUserid=$row[0]; - $NewPostCount=$row[14]+1; } } - $NewUserIP = $_SERVER['REMOTE_ADDR']; - $NewLastActive = GMTimeSend(null); - $query="UPDATE ".$TablePreFix."Members SET LastActive=".$NewLastActive.",PostCount=".$NewPostCount.",IP='".$NewUserIP."' WHERE id=".$OldUserid.""; - mysql_query($query); - echo ""; } - ?> - -
-
-
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  - -
- -
- -*/?> -*/?> -
- - - - - - - - -"; } -if ($TopicStat==1) { - $PreTopic="\"Closed!\""; } -if ($PinnedTopic==0) { - if ($TopicStat==0) { - $Style=" style=\"font-weight: none; font-style: none;\" "; } } -if ($PinnedTopic==1) { - if ($TopicStat==0) { - $Style=" style=\"font-weight: bold; font-style: none;\" "; } } -if ($PinnedTopic==0) { - if ($TopicStat==1) { - $Style=" style=\"font-weight: none; font-style: italic;\" "; } } -if ($PinnedTopic==1) { - if ($TopicStat==1) { - $Style=" style=\"font-weight: bold; font-style: italic;\" "; } } -?> - - - - - - - - - - - - - - - - =$num) { - $Next=$Show; } -$Back=$Show-5; -if ($Back<=0) { - $Back=0; } -if ($_GET['act']=="View") { -if ($num!="0") { -$result3 = mysql_query("SELECT * FROM ".$TablePreFix."Members"); -while ($row = mysql_fetch_array($result3, MYSQL_NUM)) { - if ($row[0]==1) { - $User1Name = $row[1]; - $User1Email = $row[3]; - $User1Signature = $row[9]; - $User1Avatar = $row[10]; - $User1Website = $row[11]; } } -?> - - - - - - - - - --> -
 
title=" ">
 0
 0
- -
-
-
- -
-
/index_08.png);"> */?> -
-
- -
- -
- - - - - - -
- -
- -
- ">
-
-
-
-
- -
- - -
- -
- - - - - - - - -
-
- -
-
- -
-
-
- -
-
- - - - - - - - - - - - -
-
+ + + + + + + +'.$BoardName.' '.$TitleLine.' '.$lang2['viewing'].' '.$Forum['Name'].' Forum'; } +if ($_GET['act']=="Lo-Fi") { +echo ''.$BoardName.' '.$TitleLine.' '.$lang2['lo-fi version'].' '.$TitleLine.' '.$lang2['viewing'].' '.$Forum['Name'].' '.$lang2['forum'].''; } +if ($_GET['act']=="Create") { +echo ''.$BoardName.' '.$TitleLine.' '.$lang2['making topic in'].' '.$Forum['Name'].' '.$lang2['forum'].''; } +?>"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +?>\n\n"; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + + + + + + + + + + +'; } +if ($_GET['act']=="Stats") { + $_GET['act']="ForumStats"; } +if ($_GET['act']=="ForumStats") { + $topic_query = mysql_query("SELECT Name FROM ".$TablePreFix."Forums WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); + $Forum = mysql_fetch_array($topic_query); + echo"".$BoardName." - ".$Forum['Name']." Forum Stats"; } +if ($_GET['act']=="View") { + ?> + + + +*/?> + +=$num) { + $Next=$Show; } +$Back=$Show-5; +if ($Back<=0) { + $Back=0; } +if ($_GET['act']=="Create") { +if ($Groups['Can_make_topics']=="yes") { + $query="SELECT * FROM ".$TablePreFix."Topics"; + $result=mysql_query($query); + $num=mysql_num_rows($result); + $nums=$num-1; + $TopicsID=mysql_result($result,$nums,"id"); + $TopicID=$TopicsID+1; + $query="SELECT * FROM ".$TablePreFix."Posts"; + $result=mysql_query($query); + $num=mysql_num_rows($result); + $nums=$num-1; + $ReplyID=mysql_result($result,$nums,"id"); + $PostID=$ReplyID+1; + $ForumID=$_GET['id']+0; + ?> + + + + + \nYou cant make topics. <_<
"; } } + if ($Groups['Can_make_topics']=="no") { + if ($_GET['act']=="Send") { + $_GET['act'] = "View"; + echo "".$lang2['please the errors']."
\nYou cant make topics. <_<
"; } } + if ($_POST['YourPost']==null) { + if ($_GET['act']=="Send") { + $_GET['act'] = "View"; + echo "".$lang2['please the errors']."
\n".$lang2['you need a post']."
"; + exit(); } } + if ($_GET['act']=="Send") { + //echo ''.$BoardName.' - '.$lang2['making new topic'].''; + echo""; + //setcookie("LastReply"); + $SetYourPost = $_POST['YourPost']; + //setcookie("LastReply", $SetYourPost, time() + (7 * 86400) ); + require( './misc/HTMLTags.php'); + if($Groups['Can_dohtml']=="no") { + $_POST['YourPost'] = preg_replace("/\[DoHTML\]/isxS", "[dohtml]", $_POST['YourPost']); + $_POST['YourPost'] = preg_replace("/\[\/DoHTML\]/isxS", "[/dohtml]", $_POST['YourPost']); } + $YourIDNew = $_SESSION['UserID']; + if($YourIDNew==0) { $YourOldID=$YourIDNew; $YourIDNew=2; $IDChange="Yes"; } + $query = "INSERT INTO ".$TablePreFix."Topics VALUES (null,".$_POST['ForumID'].",".$_GET['CatID'].",".$YourIDNew.",'".$_POST['YourName']."','".$_POST['YourDate']."',".$_POST['YourDate'].",'".$_POST['TopicName']."',".$_POST['PinTopic'].",".$_POST['CloseTopic'].")"; + mysql_query($query); + $query = "INSERT INTO ".$TablePreFix."Posts VALUES (null,".$_POST['TopicID'].",".$_POST['ForumID'].",".$_GET['CatID'].",".$YourIDNew.",'".$_POST['YourName']."',".$_POST['YourDate'].",'".$_POST['YourPost']."','".$_SERVER['REMOTE_ADDR']."')"; + mysql_query($query); + if($IDChange=="Yes") { $YourIDNew=$YourOldID; } + $result = mysql_query("SELECT * FROM ".$TablePreFix."Members"); + while ($row = mysql_fetch_array($result, MYSQL_NUM)) { + if ($row[0]==$_SESSION['UserID']) { + $OldUserid=$row[0]; + $NewPostCount=$row[14]+1; } } + $NewUserIP = $_SERVER['REMOTE_ADDR']; + $NewLastActive = GMTimeSend(null); + $query="UPDATE ".$TablePreFix."Members SET LastActive=".$NewLastActive.",PostCount=".$NewPostCount.",IP='".$NewUserIP."' WHERE id=".$OldUserid.""; + mysql_query($query); + echo ""; } + ?> + +
+
+
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  + +
+ +
+ +*/?> +*/?> +
+ + + + + + + + +"; } +if ($TopicStat==1) { + $PreTopic="\"Closed!\""; } +if ($PinnedTopic==0) { + if ($TopicStat==0) { + $Style=" style=\"font-weight: none; font-style: none;\" "; } } +if ($PinnedTopic==1) { + if ($TopicStat==0) { + $Style=" style=\"font-weight: bold; font-style: none;\" "; } } +if ($PinnedTopic==0) { + if ($TopicStat==1) { + $Style=" style=\"font-weight: none; font-style: italic;\" "; } } +if ($PinnedTopic==1) { + if ($TopicStat==1) { + $Style=" style=\"font-weight: bold; font-style: italic;\" "; } } +?> + + + + + + + + + + + + + + + + =$num) { + $Next=$Show; } +$Back=$Show-5; +if ($Back<=0) { + $Back=0; } +if ($_GET['act']=="View") { +if ($num!="0") { +$result3 = mysql_query("SELECT * FROM ".$TablePreFix."Members"); +while ($row = mysql_fetch_array($result3, MYSQL_NUM)) { + if ($row[0]==1) { + $User1Name = $row[1]; + $User1Email = $row[3]; + $User1Signature = $row[9]; + $User1Avatar = $row[10]; + $User1Website = $row[11]; } } +?> + + + + + + + + + --> +
 
title=" ">
 0
 0
+ +
+
+
+ +
+
/index_08.png);"> */?> +
+
+ +
+ +
+ + + + + + +
+ +
+ +
+ ">
+
+
+
+
+ +
+ + +
+ +
+ + + + + + + + +
+
+ +
+
+ +
+
+
+ +
+
+ + + + + + + + + + + + +
+
\ No newline at end of file diff --git a/Help.php b/Help.php index 3c56003..de9a646 100644 --- a/Help.php +++ b/Help.php @@ -1,213 +1,213 @@ - - - - - - - -'.$BoardName.' '.$TitleLine.' '.$lang2['help file'].''; } -if ($_GET['act']=="Help") { -$post_query = mysql_query("SELECT * FROM ".$TablePreFix."Help WHERE (ID=".$_GET['id'].")"); -$Help = mysql_fetch_array($post_query); -echo ''.$BoardName.' '.$TitleLine.' '.$lang2['help file'].' '.$TitleLine.' '.$Help['HelpName'].''; } -?>"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=".$YourUserID.")"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - -*/?> - - - - - - - - - - - - - - - - - - - - - -
-
+ + + + + + + +'.$BoardName.' '.$TitleLine.' '.$lang2['help file'].''; } +if ($_GET['act']=="Help") { +$post_query = mysql_query("SELECT * FROM ".$TablePreFix."Help WHERE (ID=".$_GET['id'].")"); +$Help = mysql_fetch_array($post_query); +echo ''.$BoardName.' '.$TitleLine.' '.$lang2['help file'].' '.$TitleLine.' '.$Help['HelpName'].''; } +?>"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=".$YourUserID.")"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + +*/?> +
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  - -
- -
- - */?> -
- - - - - - - - - - - - - - - - - - - - - -
-

- -
-
-
- -
-
/index_08.png);"> */?> -
- -
- -
- - - - - - - - - -
-

- -

-
-

- -

-
- -
-
-
- -
-
+ + + + + + + + + + + + + + + + + + + + +
+
\ No newline at end of file diff --git a/Members.php b/Members.php index c079bb7..68da2c0 100644 --- a/Members.php +++ b/Members.php @@ -1,1079 +1,1079 @@ - - - - - - -".$BoardName." - Member Stats"; - if ($_GET['id']==null) { - $_GET['id']=1; } - if ($_GET['id']=="ShowMe") { - $_GET['id']=$_SESSION['UserID']; } } -if ($_GET['act']=="Signup") { ?> -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['signing up for account']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing mod team']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['signing up for account']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['loging in']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['loging in']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['editing']; ?> <?php echo $_SESSION['MemberName']; ?>'s Profile - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['editing']; ?> <?php echo $_SESSION['MemberName']; ?>'s Profile - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing user list']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing']; ?> <?php echo $_GET['Name'];?>'s Profile - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing']; ?> <?php echo $Member['Name'];?>'s Profile -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=".$YourUserID.")"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - -*/?> -
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  + +
+ +
+ + */?> +
+ + + + + + + + + + + + + + + + + + + + + +
+

+ +
+
+
+ +
+
/index_08.png);"> */?> +
+ +
+ +
+ + + + + + + + + +
+

+ +

+
+

+ +

+
+ +
+
+
+ +
+
- - - - - - - - - - - - - - -\n".$lang2['you need to agree with tos']."
"; } -if ($_POST['Name']==null) { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['you need a username']."
"; } -if ($_POST['Name']=="ShowMe") { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['you cant have username']."
"; } -if ($_POST['Password']==null) { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['you need a password']."
"; } -if ($_POST['Email']==null) { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['you need a email']."
"; } -/*if(!ereg("$expression",$address)) { //if $address is not matching to $expression -$Error="Yes"; -echo "Please fix the following errors:
\nThats not a valid email. ^_^
"; }*/ -if (strlen($_POST['Signature'])>=501) { - echo "".$lang2['please fix the errors']."
\n".$lang2['your signature is too big']."
"; - $Error="Yes"; } -if ($UseGD=="Yes") { - if ($_POST['GDCheck']!=$_SESSION['GDCode']) { - echo "".$lang2['please fix the errors']."
\n".$lang2['numbers are not same']."
"; - $Error="Yes"; } } -if ($Error=="Yes") { -mysql_close(); -?>
- 0) || ($username_check > 0)) { -echo "".$lang2['please fix the errors']."
"; -if($email_check > 0) { -echo "".$lang2['email address already used']."
"; -require( './misc/Footer.php'); -mysql_close(); -?>
- 0) { -echo "".$lang2['username already used']."
"; -require( './misc/Footer.php'); -mysql_close(); -?>
-"; } } } } } -if ($_GET['act']=="Login") { ?> - - - - -\n".$lang2['you need a username']."
"; } -if ($_POST['Password']==null) { -$Error="Yes"; -echo "".$adminlang2['please fix the errors']."
\n".$lang2['you need a password']."
"; } -if ($Error=="Yes") { -mysql_close(); -?>
-'; } -if ($YourPassword!=$UserPassword) { -echo ''.$lang2['password is not right'].' '; } } } -if ($_GET['act']=="Logout") { -session_unregister(UserName); -session_unregister(UserID); -session_unregister(UserGroup); -session_unregister(UserTimeZone); -session_unregister(BotName); -session_destroy(); -session_unset(); -$_SESSION['BotName']=null; -$_SESSION['MemberName']=null; -$_SESSION['UserID']=0; -$_SESSION['UserGroup']="Guest"; -$_SESSION['UserTimeZone']=0; -echo ""; } -if ($_GET['act']=="EditProfile") { -$result = mysql_query("SELECT * FROM ".$TablePreFix."Members"); -while ($row = mysql_fetch_array($result, MYSQL_NUM)) { -if ($row[0]==$_SESSION['UserID']) { -$OldUserid=$row[0]; -$OldUserName =$row[1]; -$OldUserPassword=$row[2]; -$OldUserEmail=$row[3]; -$OldInterests=$row[6]; -$OldUserTitle=$row[7]; -$OldLastActive=$row[9]; -$OldUserSignature=$row[10]; -$OldUserAvatar=$row[11]; -$OldAvatarSize=$row[12]; -$OldUserWebsite=$row[13]; -$OldUserTimeZone=$row[15]; -$OldUserIP=$row[16]; } } -$OldUserid=$_SESSION['UserID']; -if ($OldUserid==0) { -echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member profile']." Signup. ^_^
"; -$_GET['act']="CanNotMakeProfile"; -exit(); } -if ($OldUserid==null) { -echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member profile']." Signup. ^_^
"; -$_GET['act']="CanNotMakeProfile"; -exit(); } -$Avatars = explode("x", $OldAvatarSize); -$AvatarSizeW = $Avatars[0]; $AvatarSizeH = $Avatars[1]; -?> - - - \n".$lang2['you need to be member profile']." ".$lang2['signup'].". ^_^
"; -$_GET['act']="CanNotMakeProfile"; -exit(); } -if ($_POST['NewUserPassword']==null) { -$UsePasswoed="UseOldPassword"; -/*$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['you need a password']."
";*/ } -if ($_POST['NewUserPassword']!=null) { -$UsePasswoed="UseNewPassword"; } -if ($_POST['NewUserEmail']==null) { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['you need a email']."
"; } -if (strlen($_POST['NewUserSignature'])>=$MaxSig) { - echo "".$lang2['please fix the errors']."
\n".$lang2['your signature too big it']." ".$MaxSig." Char. ^_^
"; - $Error="Yes"; } -/*if (strlen($_POST['NewUserSignature'])>=$MaxSig['Member']) { - if ($_SESSION['MemberName']=="Member") { - echo "".$lang2['please fix the errors']."
\n".$lang2['your signature too big it']." ".$MaxSig['Member']." Char. ^_^
"; - $Error="Yes"; } } -if (strlen($_POST['NewUserSignature'])>=$MaxSig['Moderator']) { - if ($_SESSION['MemberName']=="Moderator") { - echo "".$lang2['please fix the errors']."
\n".$lang2['your signature too big it']." ".$MaxSig['Moderator']." Char. ^_^
"; - $Error="Yes"; } } -if (strlen($_POST['NewUserSignature'])>=$MaxSig['Admin']) { - if ($_SESSION['MemberName']=="Admin") { - echo "".$lang2['please fix the errors']."
\n".$lang2['your signature too big it']." ".$MaxSig['Admin']." Char. ^_^
"; - $Error="Yes"; } }*/ -if ($UsePasswoed=="UseNewPassword") { -$NewUserPassword = stripcslashes(htmlentities($_POST['NewUserPassword'], ENT_QUOTES)); -$NewUserPassword = preg_replace("/\&#(.*?);/is", "&#$1;", $NewUserPassword); } -$NewInterests = stripcslashes(htmlentities($_POST['NewInterests'], ENT_QUOTES)); -$NewInterests = preg_replace("/\&#(.*?);/is", "&#$1;", $NewInterests); -$NewUserTitle = stripcslashes(htmlentities($_POST['NewUserTitle'], ENT_QUOTES)); -$NewUserTitle = preg_replace("/\&#(.*?);/is", "&#$1;", $NewUserTitle); -$NewUserSignature = stripcslashes(htmlentities($_POST['NewUserSignature'], ENT_QUOTES)); -$_POST['YourPost'] = $NewUserSignature; -require( './misc/HTMLTags.php'); -$NewUserSignature = $_POST['YourPost']; -$NewUserSignature = preg_replace("/\&#(.*?);/is", "&#$1;", $NewUserSignature); -if ($UsePasswoed=="UseNewPassword") { -$NewUserPasswordMD5 = md5($NewUserPassword); -$NewUserPassword = sha1($NewUserPasswordMD5); } -if ($UsePasswoed=="UseOldPassword") { $NewUserPassword=$_POST['OldPassword']; } -if ($Error=="Yes") { -mysql_close(); -?>
-"; } -if ($_GET['act']=="Profile") { -if ($_GET['id']!="Name") { -$query="SELECT * FROM ".$TablePreFix."Members WHERE (ID=".$_GET['id'].")"; -} if ($_GET['id']=="Name") { -if ($_GET['Name']==null) { -$_GET['Name']="Cool Dude 2k"; } -$query="SELECT * FROM ".$TablePreFix."Members WHERE (Name='".$_GET['Name']."')"; } -$result=mysql_query($query); -$num=mysql_num_rows($result); -$i=0; -while ($i < $num) { -$UsersID=mysql_result($result,$i,"id"); -$UsersName=mysql_result($result,$i,"Name"); -$UserPassword=mysql_result($result,$i,"Password"); -$UserEmail=mysql_result($result,$i,"Email"); -$UsersGroup=mysql_result($result,$i,"Group"); -$UserInterests=mysql_result($result,$i,"Interests"); -$UserTitle=mysql_result($result,$i,"Title"); -$UserJoined=mysql_result($result,$i,"Joined"); -$UserLastActive=mysql_result($result,$i,"LastActive"); -$UserSignature=mysql_result($result,$i,"Signature"); -$UserAvatar=mysql_result($result,$i,"Avatar"); -$UserAvatarSize=mysql_result($result,$i,"AvatarSize"); -$UserWebsite=mysql_result($result,$i,"Website"); -$UserPostCount=mysql_result($result,$i,"PostCount"); -$UserTimeZone=mysql_result($result,$i,"TimeZone"); -$UserIP=mysql_result($result,$i,"IP"); -$UserJoined=GMTimeChange("F j, Y, g:i a",$UserJoined,$YourOffSet); -$UserLastActive=GMTimeChange("F j, Y, g:i a",$UserLastActive,$YourOffSet); -$post['Post'] = $UserSignature; -require( './misc/BBTags.php'); -$UserSignature = $_GET['YourPost']; -$AvatarSize=explode("x", $UserAvatarSize); -$AvatarSizeW=$AvatarSize[0]; -$AvatarSizeH=$AvatarSize[1]; -if ($UserAvatar=="http://") { -$UserAvatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } -if ($UserAvatar==null) { -$UserAvatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } -if ($UserWebsite=="http://") { -$UserWebsite="Members.php?act=Profile&id=".$UsersID; } -if ($UserWebsite==null) { -$UserWebsite="Members.php?act=Profile&id=".$UsersID; } -$UsersNameURL = urlencode($UsersName); -$Next = $_GET['id'] + 1; $Back = $_GET['id'] - 1; $NextTwo = $_GET['id'] + 2; $BackTwo = $_GET['id'] - 2; -?> - - - - - - - - - -=$MaxPMs) { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['you sent too many pms']."
"; } -$YourMessage = $_POST['YourPost']; -/*if ($_GET['act']==$_SESSION['UserID']) {*/ -if ($Groups['Can_pm']=="no") { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['You need to be member to send pm']." ".$lang2['signup']."'. ^_^
"; } -if ($_POST['SendPMto']==null) { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['need a username to send to']."
"; } -if ($_POST['PMTitle']==null) { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['need a pm title']."
"; } -if ($YourMessage==null) { -$Error="Yes"; -echo "".$lang2['please fix the errors']."
\n".$lang2['you need a message']."
"; } -if ($Error=="Yes") { -mysql_close(); -?>
"; } } } -$status = explode(' ', mysql_stat($StatSQL)); -require( './misc/Footer.php'); -?>
+ + + + + + +\n\n"; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +if ($_GET['act']=="Stats") { + $_GET['act']="BoardStats"; } +if ($_GET['act']=="BoardStats") { + echo"".$BoardName." - Board Stats"; } +if ($_GET['act']==null) { +$_GET['act']="View"; } +if ($_GET['act']=="Reply") { ?> +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['replying to pm']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing your pms']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing pms you sent']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['reading']; ?> <?php echo $PrePM['MessageTitle']?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['creating a pm']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['sending pm to']; ?> <?php echo $SendPMto; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +?> + +*/?> +
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  - -
- -
- - */?> -
-
- - - - -
-
- -
-
-
- - - - - -
-
- -
-
-
- - - -
-
- -
- - - 
- -
-
-
- - -
-
- -
-
-
- -
-
/index_08.png);"> */?> -
-
- -
- -
- - - - - -
-
-
-
- - - - -
-Cant Login
-
- -
-
-
- -
-
/index_08.png);"> */?> -
-
- -
- -
- - - - - -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
- -
-
-
- -
-
/index_08.png);"> */?> -
- -
- -
- - - - - - - - - - -
| |
- - - - - - - - - - - - - - - - - - - - - -$num) { -$RandID = rand(1,$num); -$queryS="SELECT * FROM ".$TablePreFix."Members WHERE (ID=2)"; -$resultS=mysql_query($queryS); -$numS=mysql_num_rows($resultS); -$iS=0; -while ($iS < $numS) { -$UsersID=mysql_result($resultS,$iS,"id"); -$UsersName=mysql_result($resultS,$iS,"Name"); -$UserPassword=mysql_result($resultS,$iS,"Password"); -$UserEmail=mysql_result($resultS,$iS,"Email"); -$UsersGroup=mysql_result($resultS,$iS,"Group"); -$UserInterests=mysql_result($resultS,$iS,"Interests"); -$UserTitle=mysql_result($resultS,$iS,"Title"); -$UserJoined=mysql_result($resultS,$iS,"Joined"); -$UserLastActive=mysql_result($resultS,$iS,"LastActive"); -$UserSignature=mysql_result($resultS,$iS,"Signature"); -$UserAvatar=mysql_result($resultS,$iS,"Avatar"); -$UserAvatarSize=mysql_result($resultS,$iS,"AvatarSize"); -$UserWebsite=mysql_result($resultS,$iS,"Website"); -$UserPostCount=mysql_result($resultS,$iS,"PostCount"); -$UserTimeZone=mysql_result($resultS,$iS,"TimeZone"); -$UserIP=mysql_result($resultS,$iS,"IP"); -$UserJoined=GMTimeChange("F j, Y, g:i a",$UserJoined,$YourOffSet); -$UserLastActive=GMTimeChange("F j, Y, g:i a",$UserLastActive,$YourOffSet); -$post['Post'] = $UserSignature; -require( './misc/BBTags.php'); -$UserSignature = $_GET['YourPost']; -$AvatarSize=explode("x", $UserAvatarSize); -$AvatarSizeW=$AvatarSize[0]; -$AvatarSizeH=$AvatarSize[1]; -if ($UserAvatar=="http://") { -$UserAvatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } -if ($UserAvatar==null) { -$UserAvatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } -if ($UserWebsite=="http://") { -$UserWebsite="Members.php?act=Profile&id=".$UsersID; } -if ($UserWebsite==null) { -$UserWebsite="Members.php?act=Profile&id=".$UsersID; } -$UsersNameURL = urlencode($UsersName); -$Next = $_GET['id'] + 1; $Back = $_GET['id'] - 1; $NextTwo = $_GET['id'] + 2; $BackTwo = $_GET['id'] - 2;?> - - - - - - - - - - - - - - -
-
-

- ".$lang2['ip']." ".$UserIP.""; }?>

<?php echo $UsersName ?>'s <?php echo $lang2['avatar']; ?>



        
//
        
/index_08.png);"> */?> -
- - - - - - - - - -
| |
- - - - - - - - - - - - - - - - - - - - - -
:
- ".$lang2['ip']." ".$UserIP.""; }?>

<?php echo $UsersName ?>'s Avatar



        ← Back
//
        
- -
-
-
- -
-
/index_08.png);"> */?> -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - -
/ /
/ /
- - - - -
- -
-
-
- -
-
-
/index_08.png);"> */?> -
- -
- -
- - - - - -
- - - - - - - - - - - - - - - - - - - - -
/ /
   
- - - - -
- - - - - - - - - - - - - - - - - - - - -
/ /
   
- -
-
-
- -
-
- - - - - - - -
Forum NameForum Description
- -
-
+ + + + + + +".$BoardName." - Member Stats"; + if ($_GET['id']==null) { + $_GET['id']=1; } + if ($_GET['id']=="ShowMe") { + $_GET['id']=$_SESSION['UserID']; } } +if ($_GET['act']=="Signup") { ?> +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['signing up for account']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing mod team']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['signing up for account']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['loging in']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['loging in']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['editing']; ?> <?php echo $_SESSION['MemberName']; ?>'s Profile + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['editing']; ?> <?php echo $_SESSION['MemberName']; ?>'s Profile + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing user list']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing']; ?> <?php echo $_GET['Name'];?>'s Profile + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing']; ?> <?php echo $Member['Name'];?>'s Profile +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=".$YourUserID.")"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + +*/?> + + + + + + + + + + + + + + + +\n".$lang2['you need to agree with tos']."
"; } +if ($_POST['Name']==null) { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['you need a username']."
"; } +if ($_POST['Name']=="ShowMe") { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['you cant have username']."
"; } +if ($_POST['Password']==null) { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['you need a password']."
"; } +if ($_POST['Email']==null) { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['you need a email']."
"; } +/*if(!ereg("$expression",$address)) { //if $address is not matching to $expression +$Error="Yes"; +echo "Please fix the following errors:
\nThats not a valid email. ^_^
"; }*/ +if (strlen($_POST['Signature'])>=501) { + echo "".$lang2['please fix the errors']."
\n".$lang2['your signature is too big']."
"; + $Error="Yes"; } +if ($UseGD=="Yes") { + if ($_POST['GDCheck']!=$_SESSION['GDCode']) { + echo "".$lang2['please fix the errors']."
\n".$lang2['numbers are not same']."
"; + $Error="Yes"; } } +if ($Error=="Yes") { +mysql_close(); +?>
+ 0) || ($username_check > 0)) { +echo "".$lang2['please fix the errors']."
"; +if($email_check > 0) { +echo "".$lang2['email address already used']."
"; +require( './misc/Footer.php'); +mysql_close(); +?>
+ 0) { +echo "".$lang2['username already used']."
"; +require( './misc/Footer.php'); +mysql_close(); +?>
+"; } } } } } +if ($_GET['act']=="Login") { ?> + + + + +\n".$lang2['you need a username']."
"; } +if ($_POST['Password']==null) { +$Error="Yes"; +echo "".$adminlang2['please fix the errors']."
\n".$lang2['you need a password']."
"; } +if ($Error=="Yes") { +mysql_close(); +?>
+'; } +if ($YourPassword!=$UserPassword) { +echo ''.$lang2['password is not right'].' '; } } } +if ($_GET['act']=="Logout") { +session_unregister(UserName); +session_unregister(UserID); +session_unregister(UserGroup); +session_unregister(UserTimeZone); +session_unregister(BotName); +session_destroy(); +session_unset(); +$_SESSION['BotName']=null; +$_SESSION['MemberName']=null; +$_SESSION['UserID']=0; +$_SESSION['UserGroup']="Guest"; +$_SESSION['UserTimeZone']=0; +echo ""; } +if ($_GET['act']=="EditProfile") { +$result = mysql_query("SELECT * FROM ".$TablePreFix."Members"); +while ($row = mysql_fetch_array($result, MYSQL_NUM)) { +if ($row[0]==$_SESSION['UserID']) { +$OldUserid=$row[0]; +$OldUserName =$row[1]; +$OldUserPassword=$row[2]; +$OldUserEmail=$row[3]; +$OldInterests=$row[6]; +$OldUserTitle=$row[7]; +$OldLastActive=$row[9]; +$OldUserSignature=$row[10]; +$OldUserAvatar=$row[11]; +$OldAvatarSize=$row[12]; +$OldUserWebsite=$row[13]; +$OldUserTimeZone=$row[15]; +$OldUserIP=$row[16]; } } +$OldUserid=$_SESSION['UserID']; +if ($OldUserid==0) { +echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member profile']." Signup. ^_^
"; +$_GET['act']="CanNotMakeProfile"; +exit(); } +if ($OldUserid==null) { +echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member profile']." Signup. ^_^
"; +$_GET['act']="CanNotMakeProfile"; +exit(); } +$Avatars = explode("x", $OldAvatarSize); +$AvatarSizeW = $Avatars[0]; $AvatarSizeH = $Avatars[1]; +?> + + + \n".$lang2['you need to be member profile']." ".$lang2['signup'].". ^_^
"; +$_GET['act']="CanNotMakeProfile"; +exit(); } +if ($_POST['NewUserPassword']==null) { +$UsePasswoed="UseOldPassword"; +/*$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['you need a password']."
";*/ } +if ($_POST['NewUserPassword']!=null) { +$UsePasswoed="UseNewPassword"; } +if ($_POST['NewUserEmail']==null) { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['you need a email']."
"; } +if (strlen($_POST['NewUserSignature'])>=$MaxSig) { + echo "".$lang2['please fix the errors']."
\n".$lang2['your signature too big it']." ".$MaxSig." Char. ^_^
"; + $Error="Yes"; } +/*if (strlen($_POST['NewUserSignature'])>=$MaxSig['Member']) { + if ($_SESSION['MemberName']=="Member") { + echo "".$lang2['please fix the errors']."
\n".$lang2['your signature too big it']." ".$MaxSig['Member']." Char. ^_^
"; + $Error="Yes"; } } +if (strlen($_POST['NewUserSignature'])>=$MaxSig['Moderator']) { + if ($_SESSION['MemberName']=="Moderator") { + echo "".$lang2['please fix the errors']."
\n".$lang2['your signature too big it']." ".$MaxSig['Moderator']." Char. ^_^
"; + $Error="Yes"; } } +if (strlen($_POST['NewUserSignature'])>=$MaxSig['Admin']) { + if ($_SESSION['MemberName']=="Admin") { + echo "".$lang2['please fix the errors']."
\n".$lang2['your signature too big it']." ".$MaxSig['Admin']." Char. ^_^
"; + $Error="Yes"; } }*/ +if ($UsePasswoed=="UseNewPassword") { +$NewUserPassword = stripcslashes(htmlentities($_POST['NewUserPassword'], ENT_QUOTES)); +$NewUserPassword = preg_replace("/\&#(.*?);/is", "&#$1;", $NewUserPassword); } +$NewInterests = stripcslashes(htmlentities($_POST['NewInterests'], ENT_QUOTES)); +$NewInterests = preg_replace("/\&#(.*?);/is", "&#$1;", $NewInterests); +$NewUserTitle = stripcslashes(htmlentities($_POST['NewUserTitle'], ENT_QUOTES)); +$NewUserTitle = preg_replace("/\&#(.*?);/is", "&#$1;", $NewUserTitle); +$NewUserSignature = stripcslashes(htmlentities($_POST['NewUserSignature'], ENT_QUOTES)); +$_POST['YourPost'] = $NewUserSignature; +require( './misc/HTMLTags.php'); +$NewUserSignature = $_POST['YourPost']; +$NewUserSignature = preg_replace("/\&#(.*?);/is", "&#$1;", $NewUserSignature); +if ($UsePasswoed=="UseNewPassword") { +$NewUserPasswordMD5 = md5($NewUserPassword); +$NewUserPassword = sha1($NewUserPasswordMD5); } +if ($UsePasswoed=="UseOldPassword") { $NewUserPassword=$_POST['OldPassword']; } +if ($Error=="Yes") { +mysql_close(); +?>
+"; } +if ($_GET['act']=="Profile") { +if ($_GET['id']!="Name") { +$query="SELECT * FROM ".$TablePreFix."Members WHERE (ID=".$_GET['id'].")"; +} if ($_GET['id']=="Name") { +if ($_GET['Name']==null) { +$_GET['Name']="Cool Dude 2k"; } +$query="SELECT * FROM ".$TablePreFix."Members WHERE (Name='".$_GET['Name']."')"; } +$result=mysql_query($query); +$num=mysql_num_rows($result); +$i=0; +while ($i < $num) { +$UsersID=mysql_result($result,$i,"id"); +$UsersName=mysql_result($result,$i,"Name"); +$UserPassword=mysql_result($result,$i,"Password"); +$UserEmail=mysql_result($result,$i,"Email"); +$UsersGroup=mysql_result($result,$i,"Group"); +$UserInterests=mysql_result($result,$i,"Interests"); +$UserTitle=mysql_result($result,$i,"Title"); +$UserJoined=mysql_result($result,$i,"Joined"); +$UserLastActive=mysql_result($result,$i,"LastActive"); +$UserSignature=mysql_result($result,$i,"Signature"); +$UserAvatar=mysql_result($result,$i,"Avatar"); +$UserAvatarSize=mysql_result($result,$i,"AvatarSize"); +$UserWebsite=mysql_result($result,$i,"Website"); +$UserPostCount=mysql_result($result,$i,"PostCount"); +$UserTimeZone=mysql_result($result,$i,"TimeZone"); +$UserIP=mysql_result($result,$i,"IP"); +$UserJoined=GMTimeChange("F j, Y, g:i a",$UserJoined,$YourOffSet); +$UserLastActive=GMTimeChange("F j, Y, g:i a",$UserLastActive,$YourOffSet); +$post['Post'] = $UserSignature; +require( './misc/BBTags.php'); +$UserSignature = $_GET['YourPost']; +$AvatarSize=explode("x", $UserAvatarSize); +$AvatarSizeW=$AvatarSize[0]; +$AvatarSizeH=$AvatarSize[1]; +if ($UserAvatar=="http://") { +$UserAvatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } +if ($UserAvatar==null) { +$UserAvatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } +if ($UserWebsite=="http://") { +$UserWebsite="Members.php?act=Profile&id=".$UsersID; } +if ($UserWebsite==null) { +$UserWebsite="Members.php?act=Profile&id=".$UsersID; } +$UsersNameURL = urlencode($UsersName); +$Next = $_GET['id'] + 1; $Back = $_GET['id'] - 1; $NextTwo = $_GET['id'] + 2; $BackTwo = $_GET['id'] - 2; +?> + + + - - - - - - - - \n
[B]--------------------[/B]\n
".$User1Signature; -require( './misc/BBTags.php'); -$Message['MessageText'] = $post['Post']; -$AvatarSize=explode("x", $User1AvatarSize); -$AvatarSizeW=$AvatarSize[0]; -$AvatarSizeH=$AvatarSize[1]; -if ($User1Avatar=="http://") { -$User1Avatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } -if ($User1Avatar==null) { -$User1Avatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } -if ($User1Website=="http://") { -$User1Website="Members.php?act=Profile&id=".$User1ID; } -if ($User1Website==null) { -$User1Website="Members.php?act=Profile&id=".$User1ID; } -$URLUser1Name = urlencode($User1Name); -$DateSend = GMTimeChange("F j, Y, g:i a",$Message['DateSend'],$YourOffSet); -if ($User2GotPM==$_SESSION['UserID']) { -$query="UPDATE ".$TablePreFix."Messenger SET `Read`=1 WHERE `id`=".$Message['id'].""; -mysql_query($query); } -?> - - - - - - -
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  + +
+ +
+ + */?> +
+
+ + + + +
+
+ +
+
+
+ + + + + +
+
+ +
+
+
+ + + +
+
+ +
+ + + 
+ +
+
+
+ + +
+
+ +
+
+
+ +
+
/index_08.png);"> */?> +
+
+ +
+ +
+ + + + + +
+
+
+
+ + + + +
+Cant Login
+
+ +
+
+
+ +
+
/index_08.png);"> */?> +
+
+ +
+ +
+ + + + + +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+ +
+
/index_08.png);"> */?> +
+ +
+ +
+ + + + + + + + + + +
| |
+ + + + + + + + + + + + + + + + + + + + + +$num) { +$RandID = rand(1,$num); +$queryS="SELECT * FROM ".$TablePreFix."Members WHERE (ID=2)"; +$resultS=mysql_query($queryS); +$numS=mysql_num_rows($resultS); +$iS=0; +while ($iS < $numS) { +$UsersID=mysql_result($resultS,$iS,"id"); +$UsersName=mysql_result($resultS,$iS,"Name"); +$UserPassword=mysql_result($resultS,$iS,"Password"); +$UserEmail=mysql_result($resultS,$iS,"Email"); +$UsersGroup=mysql_result($resultS,$iS,"Group"); +$UserInterests=mysql_result($resultS,$iS,"Interests"); +$UserTitle=mysql_result($resultS,$iS,"Title"); +$UserJoined=mysql_result($resultS,$iS,"Joined"); +$UserLastActive=mysql_result($resultS,$iS,"LastActive"); +$UserSignature=mysql_result($resultS,$iS,"Signature"); +$UserAvatar=mysql_result($resultS,$iS,"Avatar"); +$UserAvatarSize=mysql_result($resultS,$iS,"AvatarSize"); +$UserWebsite=mysql_result($resultS,$iS,"Website"); +$UserPostCount=mysql_result($resultS,$iS,"PostCount"); +$UserTimeZone=mysql_result($resultS,$iS,"TimeZone"); +$UserIP=mysql_result($resultS,$iS,"IP"); +$UserJoined=GMTimeChange("F j, Y, g:i a",$UserJoined,$YourOffSet); +$UserLastActive=GMTimeChange("F j, Y, g:i a",$UserLastActive,$YourOffSet); +$post['Post'] = $UserSignature; +require( './misc/BBTags.php'); +$UserSignature = $_GET['YourPost']; +$AvatarSize=explode("x", $UserAvatarSize); +$AvatarSizeW=$AvatarSize[0]; +$AvatarSizeH=$AvatarSize[1]; +if ($UserAvatar=="http://") { +$UserAvatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } +if ($UserAvatar==null) { +$UserAvatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } +if ($UserWebsite=="http://") { +$UserWebsite="Members.php?act=Profile&id=".$UsersID; } +if ($UserWebsite==null) { +$UserWebsite="Members.php?act=Profile&id=".$UsersID; } +$UsersNameURL = urlencode($UsersName); +$Next = $_GET['id'] + 1; $Back = $_GET['id'] - 1; $NextTwo = $_GET['id'] + 2; $BackTwo = $_GET['id'] - 2;?> + + + + + + + + + + + + + + +
+
+

+ ".$lang2['ip']." ".$UserIP.""; }?>

<?php echo $UsersName ?>'s <?php echo $lang2['avatar']; ?>



        
//
        
/index_08.png);"> */?> +
+ + + + + + + + + +
| |
+ + + + + + + + + + + + + + + + + + + + + +
:
+ ".$lang2['ip']." ".$UserIP.""; }?>

<?php echo $UsersName ?>'s Avatar



        ← Back
//
        
+ +
+
+
+ +
+
/index_08.png);"> */?> +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + +
/ /
/ /
+ + + + +
+ +
+
+
+ +
+
+
/index_08.png);"> */?> +
+ +
+ +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + +
/ /
   
+ + + + +
+ + + + + + + + + + + + + + + + + + + + +
/ /
   
+ +
+
+
+ +
+
+ + + + + + + +
Forum NameForum Description
+ +
+
\ No newline at end of file diff --git a/Messenger.php b/Messenger.php index 250491e..7a7f453 100644 --- a/Messenger.php +++ b/Messenger.php @@ -1,515 +1,515 @@ - - - - - - -\n\n"; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -if ($_GET['act']=="Stats") { - $_GET['act']="BoardStats"; } -if ($_GET['act']=="BoardStats") { - echo"".$BoardName." - Board Stats"; } -if ($_GET['act']==null) { -$_GET['act']="View"; } -if ($_GET['act']=="Reply") { ?> -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['replying to pm']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing your pms']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['viewing pms you sent']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['reading']; ?> <?php echo $PrePM['MessageTitle']?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['creating a pm']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['sending pm to']; ?> <?php echo $SendPMto; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -?> - -*/?> - - - - - - - - - - - - - - - - - - - - -
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  - -
- -
- - */?> -
-
- - - - - - - - - - - - -
href="Messenger.php?act=Read&id="> | Send a | | Delete
- -
-
-
- -
-
-
/index_08.png);"> */?> -
- -
- -
- - - - - - - - - - -
PM Title: User Info
You Cant Delete This PM. :P???
- -
-
-
- -
-
You Deleted This PM. ^_^ ???
- -
/index_08.png);"> */?> -
-
- -
- -
- - - - - - - - - - - - - -
href="Messenger.php?act=Read&id="> | | | Delete
- -
-
-
- -
-
-
/index_08.png);"> */?> -
- -
- -
- - - - - - - - - - -
???
- -
-
-
- -
-
<?php echo $User1Name ?>'s <?php echo $lang2['avatar']; ?>






- ".$User1IP.""; }?>
- -
-
-
- - -
/index_08.png);"> */?> -
-
- -
- -
- - - - - - -
- -
-
-
-
-
-
-
- -
- - - - - -
- -
-
-
- -
-
-
+ + + + + + + + + + + + + + + + + + + +
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  + +
+ +
+ + */?> +
+
+ + + + + + + + + + + + +
href="Messenger.php?act=Read&id="> | Send a | | Delete
+ +
+
+
+ +
+
+
/index_08.png);"> */?> +
+ +
+ +
+ + + + + + + + + + +
PM Title: User Info
You Cant Delete This PM. :P???
+ +
+
+
+ +
+
You Deleted This PM. ^_^ ???
+
+ + + /index_08.png);">  + */?> +
+
+ +
+ +
+ + + + + + + + + + + + + +
href="Messenger.php?act=Read&id="> | | | Delete
+ +
+
+
+ +
+
+ + + + /index_08.png);">  + */?> +
+ +
+ +
+ + + + + + + + + + +
???
+ +
+
+
+ +
+ + \n
[B]--------------------[/B]\n
".$User1Signature; +require( './misc/BBTags.php'); +$Message['MessageText'] = $post['Post']; +$AvatarSize=explode("x", $User1AvatarSize); +$AvatarSizeW=$AvatarSize[0]; +$AvatarSizeH=$AvatarSize[1]; +if ($User1Avatar=="http://") { +$User1Avatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } +if ($User1Avatar==null) { +$User1Avatar="./Skin/Skin".$_SESSION["Skin"]."/Avatar.png"; } +if ($User1Website=="http://") { +$User1Website="Members.php?act=Profile&id=".$User1ID; } +if ($User1Website==null) { +$User1Website="Members.php?act=Profile&id=".$User1ID; } +$URLUser1Name = urlencode($User1Name); +$DateSend = GMTimeChange("F j, Y, g:i a",$Message['DateSend'],$YourOffSet); +if ($User2GotPM==$_SESSION['UserID']) { +$query="UPDATE ".$TablePreFix."Messenger SET `Read`=1 WHERE `id`=".$Message['id'].""; +mysql_query($query); } +?> + + +
<?php echo $User1Name ?>'s <?php echo $lang2['avatar']; ?>






+ ".$User1IP.""; }?>
+ + + + + +
+
+
+ +
+ + + + + /index_08.png);">  + */?> +
+
+ +
+ +
+ + + + + + +
+ +
+
+
+
+
+
+
+ +
+ + + + + +
+ +
+
+
+ +
+
+ + +=$MaxPMs) { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['you sent too many pms']."
"; } +$YourMessage = $_POST['YourPost']; +/*if ($_GET['act']==$_SESSION['UserID']) {*/ +if ($Groups['Can_pm']=="no") { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['You need to be member to send pm']." ".$lang2['signup']."'. ^_^
"; } +if ($_POST['SendPMto']==null) { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['need a username to send to']."
"; } +if ($_POST['PMTitle']==null) { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['need a pm title']."
"; } +if ($YourMessage==null) { +$Error="Yes"; +echo "".$lang2['please fix the errors']."
\n".$lang2['you need a message']."
"; } +if ($Error=="Yes") { +mysql_close(); +?>
"; } } } +$status = explode(' ', mysql_stat($StatSQL)); +require( './misc/Footer.php'); +?>
\ No newline at end of file diff --git a/Mod/Login.php b/Mod/Login.php index 3dcd1c8..5296bce 100644 --- a/Mod/Login.php +++ b/Mod/Login.php @@ -1,233 +1,233 @@ - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['logging into mod tools']; ?> -".$BoardName." - Member Stats"; - if ($id==null) { - $id=1; } - if ($id=="ShowMe") { - $id=$_SESSION['UserID']; } } -if ($_GET['act']=="Login") { ?> -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['loging in']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['loging in']; ?> - -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
-
- - - - -
-
-
-
- - - - -
-
-
-
 
-
- - - - - - -
- - -   -
-
-
- - - -   -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - - -
Valid HTML 4.01! -Valid CSS!
-'; } -if ($YourPassword!=$UserPassword) { -echo 'The Password is Not Right.'; } } } -if ($_GET['act']=="Logout") { -session_unregister(UserName); -session_unregister(UserID); -session_unregister(UserGroup); -$_SESSION['MemberName']=null; -$_SESSION['UserID']=0; -$_SESSION['UserGroup']="Guest"; -echo ''; } -$status = explode(' ', mysql_stat($Stat4SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['logging into mod tools']; ?> +".$BoardName." - Member Stats"; + if ($id==null) { + $id=1; } + if ($id=="ShowMe") { + $id=$_SESSION['UserID']; } } +if ($_GET['act']=="Login") { ?> +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['loging in']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['loging in']; ?> + +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+
+ + + + +
+
+
+
+ + + + +
+
+
+
 
+
+ + + + + + +
+ + +   +
+
+
+ + + +   +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + + +
Valid HTML 4.01! +Valid CSS!
+'; } +if ($YourPassword!=$UserPassword) { +echo 'The Password is Not Right.'; } } } +if ($_GET['act']=="Logout") { +session_unregister(UserName); +session_unregister(UserID); +session_unregister(UserGroup); +$_SESSION['MemberName']=null; +$_SESSION['UserID']=0; +$_SESSION['UserGroup']="Guest"; +echo ''; } +$status = explode(' ', mysql_stat($Stat4SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Mod/Members.php b/Mod/Members.php index 309eb88..0a82727 100644 --- a/Mod/Members.php +++ b/Mod/Members.php @@ -1,260 +1,260 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['mod tools']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['member tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Moderator to use this. ^_^
"; - $act="NotModerator"; } -if ($_GET['act']=="View") { -if ($Groups['Has_mod_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
- -   -
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
- -
- - - - -
-
-
- -   - - - - - - - - - - - - - - - - - - - - - -'; } -/*if ($_POST['act']=="Delete") { - if ($_POST['IDN']==1) { echo "You cant delete the Root Admin"; exit(); } - if ($_POST['IDN']==2) { echo "You cant delete the Root Guest"; exit(); } - $sqlrowdelete = "DELETE FROM ".$TablePreFix."Members WHERE id=$_POST['IDN']"; - $resultdelete = mysql_query($sqlrowdelete); - echo ''; }*/ -?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['mod tools']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['member tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Moderator to use this. ^_^
"; + $act="NotModerator"; } +if ($_GET['act']=="View") { +if ($Groups['Has_mod_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+ +   +
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+ +
+ + + + +
+
+
+ +   + + + + + + + + + + + + + + + + + + + + + +'; } +/*if ($_POST['act']=="Delete") { + if ($_POST['IDN']==1) { echo "You cant delete the Root Admin"; exit(); } + if ($_POST['IDN']==2) { echo "You cant delete the Root Guest"; exit(); } + $sqlrowdelete = "DELETE FROM ".$TablePreFix."Members WHERE id=$_POST['IDN']"; + $resultdelete = mysql_query($sqlrowdelete); + echo ''; }*/ +?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Mod/MySQL.php b/Mod/MySQL.php index e4856a7..8a14403 100644 --- a/Mod/MySQL.php +++ b/Mod/MySQL.php @@ -1,245 +1,245 @@ - Beta 4"; -//Skining Stuff -if ($HTTP_COOKIE_VARS[UseSkin]==null) { -setcookie("UseSkin", 1, time() + (7 * 86400) ); } -if ($_SESSION['Browser']==null) { -$_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } -if ($_SESSION['Browser']!=null) { - if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { - session_regenerate_id(); - session_unregister(UserName); - session_unregister(UserID); - session_unregister(UserGroup); - session_unregister(UserTimeZone); - session_unregister(UserTimeZone); - $_SESSION['MemberName']=null; - $_SESSION['UserID']=0; - $_SESSION['UserGroup']="Guest"; - $_SESSION['UserTimeZone']=SeverOffSet(null); - $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } -if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { - $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; -} } -if ($_SESSION['Skin']==null) { -$_SESSION['Skin'] = $HTTP_COOKIE_VARS[UseSkin]; } -if ($_GET['SetSkin']!=null) { -setcookie("UseSkin", $_GET['SetSkin'], time() + (7 * 86400) ); -$_SESSION['Skin'] = $_GET['SetSkin']; } -if ($_SESSION['Skin']>=3) { -setcookie("UseSkin", 2, time() + (7 * 86400) ); -$_SESSION['Skin'] = 2; } -if ($_SESSION['Skin']<=1) { -setcookie("UseSkin", 1, time() + (7 * 86400) ); -$_SESSION['Skin'] = 1; } -if ($_SESSION['UserTimeZone']==null) { -$_SESSION['UserTimeZone']=0; -if ($_SESSION['UserGroup']=="Guest") { -$_SESSION['UserTimeZone']=-6; } } -$YourOffSet = $_SESSION['UserTimeZone']; -if ($_SESSION['YourID']==null) { -$_SESSION['YourID1'] = uniqid(rand(), true); -$_SESSION['YourID2'] = md5($_SESSION['YourID1']); -$_SESSION['YourID3'] = sha1($_SESSION['YourID2']); } -if ($_SESSION['YourID']!=null) { /* Do Somthing Cool Here! */ } -//Set to text/html or application/xhtml+xml -header('Content-type: text/html'); -//$DTDURL = " \"http://www.w3.org/TR/html4/loose.dtd\""; -//$DTDURL = " \"http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/html4.dtd\""; -$DTDURL = null; -?> -> - - - - - - - -"> - - - - -/CSS.php" media="all"> - - - -\r\n"; -echo "@import url(../Skin/Skin1/CSS.php);\r\n"; -//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; -echo ""; } -$Logo=$Settings['board_logo']; -$OffLine=$Settings['board_offline']; -if ($_SESSION['UserGroup']=="Banned") { - echo " You are Banned From Here.
Your banned From Here!
The IP of: " . $_SERVER['REMOTE_ADDR']; - echo " is Banned From Here"; - exit(); } + Beta 4"; +//Skining Stuff +if ($HTTP_COOKIE_VARS[UseSkin]==null) { +setcookie("UseSkin", 1, time() + (7 * 86400) ); } +if ($_SESSION['Browser']==null) { +$_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } +if ($_SESSION['Browser']!=null) { + if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { + session_regenerate_id(); + session_unregister(UserName); + session_unregister(UserID); + session_unregister(UserGroup); + session_unregister(UserTimeZone); + session_unregister(UserTimeZone); + $_SESSION['MemberName']=null; + $_SESSION['UserID']=0; + $_SESSION['UserGroup']="Guest"; + $_SESSION['UserTimeZone']=SeverOffSet(null); + $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } +if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { + $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; +} } +if ($_SESSION['Skin']==null) { +$_SESSION['Skin'] = $HTTP_COOKIE_VARS[UseSkin]; } +if ($_GET['SetSkin']!=null) { +setcookie("UseSkin", $_GET['SetSkin'], time() + (7 * 86400) ); +$_SESSION['Skin'] = $_GET['SetSkin']; } +if ($_SESSION['Skin']>=3) { +setcookie("UseSkin", 2, time() + (7 * 86400) ); +$_SESSION['Skin'] = 2; } +if ($_SESSION['Skin']<=1) { +setcookie("UseSkin", 1, time() + (7 * 86400) ); +$_SESSION['Skin'] = 1; } +if ($_SESSION['UserTimeZone']==null) { +$_SESSION['UserTimeZone']=0; +if ($_SESSION['UserGroup']=="Guest") { +$_SESSION['UserTimeZone']=-6; } } +$YourOffSet = $_SESSION['UserTimeZone']; +if ($_SESSION['YourID']==null) { +$_SESSION['YourID1'] = uniqid(rand(), true); +$_SESSION['YourID2'] = md5($_SESSION['YourID1']); +$_SESSION['YourID3'] = sha1($_SESSION['YourID2']); } +if ($_SESSION['YourID']!=null) { /* Do Somthing Cool Here! */ } +//Set to text/html or application/xhtml+xml +header('Content-type: text/html'); +//$DTDURL = " \"http://www.w3.org/TR/html4/loose.dtd\""; +//$DTDURL = " \"http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/html4.dtd\""; +$DTDURL = null; +?> +> + + + + + + + +"> + + + + +/CSS.php" media="all"> + + + +\r\n"; +echo "@import url(../Skin/Skin1/CSS.php);\r\n"; +//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; +echo ""; } +$Logo=$Settings['board_logo']; +$OffLine=$Settings['board_offline']; +if ($_SESSION['UserGroup']=="Banned") { + echo " You are Banned From Here.
Your banned From Here!
The IP of: " . $_SERVER['REMOTE_ADDR']; + echo " is Banned From Here"; + exit(); } ?> \ No newline at end of file diff --git a/Mod/Replys.php b/Mod/Replys.php index e0965d5..9b76a14 100644 --- a/Mod/Replys.php +++ b/Mod/Replys.php @@ -1,152 +1,152 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['mod tools']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['reply tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Moderator to use this. ^_^
"; - $act="NotModerator"; } -if ($_GET['act']=="View") { -if ($Groups['Has_mod_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
-'; } - $status = explode(' ', mysql_stat($Stat4SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['mod tools']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['reply tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Moderator to use this. ^_^
"; + $act="NotModerator"; } +if ($_GET['act']=="View") { +if ($Groups['Has_mod_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+'; } + $status = explode(' ', mysql_stat($Stat4SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Mod/Tags.php b/Mod/Tags.php index 02c13a2..97a09bd 100644 --- a/Mod/Tags.php +++ b/Mod/Tags.php @@ -1,152 +1,152 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['mod tools']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['tag tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Moderator to use this. ^_^
"; - $act="NotModerator"; } -if ($_GET['act']=="View") { -if ($Groups['Has_mod_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- - -
-
-
 
-
- - - - - - -
-'; } - $status = explode(' ', mysql_stat($Stat4SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['mod tools']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['tag tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Moderator to use this. ^_^
"; + $act="NotModerator"; } +if ($_GET['act']=="View") { +if ($Groups['Has_mod_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ + +
+
+
 
+
+ + + + + + +
+'; } + $status = explode(' ', mysql_stat($Stat4SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Mod/Topics.php b/Mod/Topics.php index e5490c8..ec763d2 100644 --- a/Mod/Topics.php +++ b/Mod/Topics.php @@ -1,156 +1,156 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['mod tools']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['topic tools']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - -\nYou need to be a Moderator to use this. ^_^
"; - $act="NotModerator"; } -if ($_GET['act']=="View") { -if ($Groups['Has_mod_cp']=="yes") {?> - - - - - - - - - - - - - - - - -
- / / / -
-
 
-
- - - - - - - -

-
-
-\r\n"; ++$i; } ?> -
- -
-
-
 
-
- - - - - - -
-'; } - $status = explode(' ', mysql_stat($Stat4SQL)); -require( '../misc/Footer.php'); -mysql_close(); ?>
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $adminlang2['mod tools']; ?> <?php echo $TitleLine ?> <?php echo $adminlang2['topic tools']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + +\nYou need to be a Moderator to use this. ^_^
"; + $act="NotModerator"; } +if ($_GET['act']=="View") { +if ($Groups['Has_mod_cp']=="yes") {?> + + + + + + + + + + + + + + + + +
+ / / / +
+
 
+
+ + + + + + + +

+
+
+\r\n"; ++$i; } ?> +
+ +
+
+
 
+
+ + + + + + +
+'; } + $status = explode(' ', mysql_stat($Stat4SQL)); +require( '../misc/Footer.php'); +mysql_close(); ?>
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/Mod/index.php b/Mod/index.php index 487e4c0..1e9aba5 100644 --- a/Mod/index.php +++ b/Mod/index.php @@ -1,194 +1,194 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> Mod Tools -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> -
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- / / / -
-
 
\nYou need to be a Moderator to use this. ^_^
"; - ?>
 
-
- - - - - - -
- -   -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Moderator ToolTool Description
Member ToolEdit Members with this.
Topic ToolDelete Topics with this.
Reply ToolDelete Replys with this.
Tag ToolDelete Tags with this.
-
- -   - - - - - - - - - - - - - - - - - - - - - - - -
Valid HTML 4.01! -Valid CSS!
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> Mod Tools +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> +
<?php echo $BoardName; ?> <?php echo $lang['powered by df2k']; ?>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ / / / +
+
 
\nYou need to be a Moderator to use this. ^_^
"; + ?>
 
+
+ + + + + + +
+ +   +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Moderator ToolTool Description
Member ToolEdit Members with this.
Topic ToolDelete Topics with this.
Reply ToolDelete Replys with this.
Tag ToolDelete Tags with this.
+
+ +   + + + + + + + + + + + + + + + + + + + + + + + +
Valid HTML 4.01! +Valid CSS!
\ No newline at end of file diff --git a/MySQL.php b/MySQL.php index 8ca8bb7..a5029f0 100644 --- a/MySQL.php +++ b/MySQL.php @@ -1,298 +1,298 @@ -".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; - exit(); } -if ($Skip!="Yes") { -require( './Settings.php'); } -if ($Skip=="Yes") { -require( '../Settings.php'); } -if ($Settings['use_gzip']==true) { -if($Settings['preinset']=="on") { -ini_set("zlib.output_compression","On"); -ini_set("zlib.output_compression_level","2"); } -ob_start( 'ob_gzhandler' ); } -/*ini_set("session.save_path","http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/tmp"); -session_save_path("http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/tmp");*/ -if ($Skip!="Yes") { -require('./misc/SafeSQL.class.php'); -require( './misc/Act.php'); -require( './lang/en/Settings.php'); } -if ($Skip=="Yes") { -require('../misc/SafeSQL.class.php'); -require( '../misc/Act.php'); -require( '../lang/en/Settings.php'); } -$SessionPre = $Settings['sql_tableprefix']; -/*if ($SessionPre==null) { - $SessionPre = "DF2k_"; }*/ -if($Settings['preinset']=="on") { -ini_set("magic_quotes_gpc","On"); -ini_set("default_charset","iso-8859-15"); -ini_set("display_errors","On"); -ini_set("log_errors","On"); -ini_set("log_errors_max_len",1024); } -/*session.hash_function allows you to specify the -hash algorithm used to generate the session IDs -'0' means MD5 (128 bits) and '1' means SHA-1 (160 bits)*/ -if($Settings['preinset']=="on") { -ini_set("session.hash_function","1"); } -error_reporting(E_ERROR); -session_start(); -/* Change Some PHP Settings Fix the & to & */ -if($Settings['preinset']=="on") { -ini_set("arg_separator.output","&"); } -/*putenv("TZ=US/Central");*/ -$starttime = microtime(); -$startarray = explode(" ", $starttime); -$starttime = $startarray[1] + $startarray[0]; -/*Your DataBase info and Board Name Here*/ -$BoardName=$Settings['board_name']; -if($Settings['preinset']=="on") { -ini_set("user_agent",$BoardName); } -$AdminPassword=$Settings['admin_password'];//Password used to add new Forums -$username=$Settings['sql_username']; -$password=$Settings['sql_password']; -$database=$Settings['sql_database']; -$TablePreFix=$Settings['sql_tableprefix'];//Is the PreFix Name of the Table -$mysqlhost=$Settings['sql_host'];//Might be localhost -$FixMinute=-60; -/* Board info Here */ -$KeyWords=$Settings['board_keywords']; -$Description=$Settings['board_description']; -$TitleLine = "¥"; -$NewBoardURL['Change'] = $TablePreFix.$database; -if ($_SESSION['BoardURL']==null) { -$_SESSION['BoardURL'] = $TablePreFix.$database; } -if ($_SESSION['BoardURL']!=$NewBoardURL['Change']) { -session_unregister(UserName); -session_unregister(UserID); -session_unregister(UserGroup); -session_unregister(UserTimeZone); -session_unregister(BotName); -$_SESSION['BotName']=null; -$_SESSION['MemberName']=null; -$_SESSION['UserID']=0; -$_SESSION['UserGroup']="Guest"; -$_SESSION['UserTimeZone']=0; -$_SESSION['BoardURL'] = $TablePreFix.$database; } -if ($_SESSION['LastUpdate']==null) { -$_SESSION['LastUpdate'] = gmdate(mktime(date('H'),date('i'),date('s'),date('n'),date('j'),date('Y'))); } -$SETTINGS['ThisUpdate'] = gmdate(mktime(date('H')-1,date('i'),date('s'),date('n'),date('j'),date('Y'))); -if ($_SESSION['LastUpdate']<$SETTINGS['ThisUpdate']) { -session_unregister(UserName); -session_unregister(UserID); -session_unregister(UserGroup); -session_unregister(UserTimeZone); -session_unregister(BotName); -$_SESSION['BotName']=null; -$_SESSION['MemberName']=null; -$_SESSION['UserID']=0; -$_SESSION['UserGroup']="Guest"; -$_SESSION['UserTimeZone']=SeverOffSet(null); } -if ($_SESSION['LastUpdate']>=$SETTINGS['ThisUpdate']) { -$_SESSION['LastUpdate'] = gmdate(mktime(date('H'),date('i'),date('s'),date('n'),date('j'),date('Y'))); } -/* Turn HTML on or off */ -$DOHTML=$Settings['board_html']; -function SeverOffSet($Cool) -{ -$TestHour1 = date("H")+1; -$TestHour2 = gmdate("H")+1; -$TestHour3 = $TestHour1-$TestHour2; -$TestHour4 = $TestHour3-24; -return $TestHour4; -} -// IP Thing -if ($_SESSION['UserIP']!=$_SERVER['REMOTE_ADDR']) { -$_SESSION['UserIP'] = $_SERVER['REMOTE_ADDR']; } -if ($_SESSION['UserGroup']==null) { -session_unregister(UserName); -session_unregister(UserID); -session_unregister(UserGroup); -session_unregister(UserTimeZone); -session_unregister(BotName); -$_SESSION['BotName']=null; -$_SESSION['MemberName']=null; -$_SESSION['UserID']=0; -$_SESSION['UserGroup']="Guest"; -$_SESSION['UserTimeZone']=SeverOffSet(null); } -if ($_SESSION['UserGroup']=="Guest") { -session_unregister(UserName); -session_unregister(UserID); -session_unregister(UserGroup); -session_unregister(UserTimeZone); -session_unregister(BotName); -$_SESSION['BotName']=null; -$_SESSION['MemberName']=null; -$_SESSION['UserID']=0; -$_SESSION['UserGroup']="Guest"; -$_SESSION['UserTimeZone']=SeverOffSet(null); } -$MaxPMs=$Settings['max_pms'];//Sets the Max number of PMs a User can Send 0 means no limit. -$MaxSig['Member']=$Settings['max_sig_size_member']; -$MaxSig['Moderator']=$Settings['max_sig_size_moderator']; -$MaxSig['Admin']=$Settings['max_sig_size_admin']; -$MaxSig=$Settings['max_sig_size']; -if ($_SESSION['Browser']==null) { -$_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } -if ($_SESSION['Browser']!=null) { - if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { - session_regenerate_id(); - session_unregister(UserName); - session_unregister(UserID); - session_unregister(UserGroup); - session_unregister(UserTimeZone); - session_unregister(UserTimeZone); - session_unregister(BotName); - $_SESSION['BotName']=null; - $_SESSION['MemberName']=null; - $_SESSION['UserID']=0; - $_SESSION['UserGroup']="Guest"; - $_SESSION['UserTimeZone']=SeverOffSet(null); - $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } -if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { - $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; -} } -/* Bot Tracker */ -require('BotList.php'); -$num=count($BotList); -$iz=1; -while ($iz <= $num) { -if(eregi($BotList[$iz],$_SERVER['HTTP_USER_AGENT'])) { - $_SESSION['BotName']=$BotList[$iz]; - $_SESSION['UserID']=2; - $_SESSION['UserGroup']="Bot"; - $_SESSION['UserTimeZone']=SeverOffSet(null); - $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } -++$iz; } -//Skining Stuff -if ($HTTP_COOKIE_VARS[UseSkin]==null) { -setcookie("UseSkin", 1, time() + (7 * 86400) ); } -if ($_GET['SetSkin']==null) { - if ($_POST['SetSkin']!=null) { $_GET['SetSkin']=$_POST['SetSkin']; } } -$_GET['SetSkin'] = (int) $_GET['SetSkin']; -if ($_SESSION['Skin']==null) { -$_SESSION['Skin'] = $HTTP_COOKIE_VARS[UseSkin]; } -if ($_GET['SetSkin']!=null) { -setcookie("UseSkin", $_GET['SetSkin'], time() + (7 * 86400) ); -$_SESSION['Skin'] = $_GET['SetSkin']; } -if ($_SESSION['Skin']>=4) { -setcookie("UseSkin", 3, time() + (7 * 86400) ); -$_SESSION['Skin'] = 3; } -if ($_SESSION['Skin']<=1) { -setcookie("UseSkin", 1, time() + (7 * 86400) ); -$_SESSION['Skin'] = 1; } -if ($_SESSION['ShowBackwards']==null) { -$_SESSION['ShowBackwards']="No"; } -if ($_GET['Backwards']==null) { -$_GET['Backwards']=$_SESSION['ShowBackwards']; } -if ($_GET['Backwards']!=null) { -$_SESSION['ShowBackwards']=$_GET['Backwards']; } -$YourOffSet = $_SESSION['UserTimeZone']; -if ($_SESSION['YourID1']==null) { -$_SESSION['YourID1'] = uniqid(rand(), true); -$_SESSION['YourID2'] = md5($_SESSION['YourID1']); -$_SESSION['YourID3'] = sha1($_SESSION['YourID2']); } -if ($_SESSION['YourID1']!=null) { /* Do Somthing Cool Here! */ } -//Set to text/html or application/xhtml+xml -header("Cache-control: private"); -header('Content-type: text/html'); -/*if ($TimeAdd==null) { -$TimeAdd = 0; -}*/ -$TableEnd = " \n \n \n \n \"\"\n \n \n \n \"\"\n \n \"\"\n \n \"\"\n \n \"\"\n \n \"\"\n \n \"\"\n \n \"\"\n \n"; -function PassHash2x($Text) -{ -$Text = md5($Text); -$Text = sha1($Text); -return $Text; -} -function GMTimeChange($format,$timestamp,$offset) -{ -$Time[Hour] = date("G",$timestamp); -$Time[Minute] = date("i",$timestamp); -$Time[Second] = date("s",$timestamp); -$Time[Month] = date("n",$timestamp); -$Time[Day] = date("j",$timestamp); -$Time[Year] = date("Y",$timestamp); -return gmdate($format,mktime($Time[Hour]+$offset,$Time[Minute]-1,$Time[Second],$Time[Month],$Time[Day],$Time[Year])); -} -function GMTimeSend($none) -{ -return gmdate(mktime(date('H'),date('i'),date('s'),date('n'),date('j'),date('Y'))); -} -function GMTimeGet($format,$offset) -{ -$TimeFix = $FixMinute; -return gmdate($format,mktime(date('H')+$offset,date('i')-1,date('s'),date('n'),date('j'),date('Y'))); -} -$OldBoardQuery = preg_replace("/&/isxS", "&", $_SERVER['QUERY_STRING']); -$BoardQuery = "?".$OldBoardQuery; -if ($_SESSION['BoardMove']=="Yes") { -$FileName = preg_replace("/\/board/isxS", "", $_SERVER['REQUEST_URI']); -header('Location: '.$FileName.''); } -//$DTDURL = " \"http://www.w3.org/TR/html4/loose.dtd\""; -$DTDURL = " \"http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/html4.php\""; -//$DTDURL = null; -echo "\n"; -?> -> - - - - - - 23:59:59 GMT; path=/"> - - - - -"> - - - - -/CSS.php" media="all"> - - - - - - - -\r\n"; -echo "@import url(Skin/Skin".$_SESSION["Skin"]."/CSS.php);\r\n"; -//require( './CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; -echo "\r\n"; } -if ($Skip=="Yes") { -echo "\r\n"; } -$Logo=$Settings['board_logo']; -$OffLine=$Settings['board_offline']; -if ($Settings['use_gd_register']=="true") { -$UseGD = "Yes"; } -if ($OffLine=="Yes") { - $act="Off"; - $_POST['act']="Off"; - $_GET['act']="Off"; - echo "".$BoardName." ".$TitleLine." ".$lang3['Off Line'].""; } -if ($_SESSION['UserGroup']=="Banned") { - echo "".$BoardName." ".$TitleLine." ".$lang3['you are banned']."
".$lang3['you are banned']."!
The IP of: " . $_SERVER['REMOTE_ADDR']; - echo " is Banned From Here"; - exit(); } +".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; + exit(); } +if ($Skip!="Yes") { +require( './Settings.php'); } +if ($Skip=="Yes") { +require( '../Settings.php'); } +if ($Settings['use_gzip']==true) { +if($Settings['preinset']=="on") { +ini_set("zlib.output_compression","On"); +ini_set("zlib.output_compression_level","2"); } +ob_start( 'ob_gzhandler' ); } +/*ini_set("session.save_path","http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/tmp"); +session_save_path("http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/tmp");*/ +if ($Skip!="Yes") { +require('./misc/SafeSQL.class.php'); +require( './misc/Act.php'); +require( './lang/en/Settings.php'); } +if ($Skip=="Yes") { +require('../misc/SafeSQL.class.php'); +require( '../misc/Act.php'); +require( '../lang/en/Settings.php'); } +$SessionPre = $Settings['sql_tableprefix']; +/*if ($SessionPre==null) { + $SessionPre = "DF2k_"; }*/ +if($Settings['preinset']=="on") { +ini_set("magic_quotes_gpc","On"); +ini_set("default_charset","iso-8859-15"); +ini_set("display_errors","On"); +ini_set("log_errors","On"); +ini_set("log_errors_max_len",1024); } +/*session.hash_function allows you to specify the +hash algorithm used to generate the session IDs +'0' means MD5 (128 bits) and '1' means SHA-1 (160 bits)*/ +if($Settings['preinset']=="on") { +ini_set("session.hash_function","1"); } +error_reporting(E_ERROR); +session_start(); +/* Change Some PHP Settings Fix the & to & */ +if($Settings['preinset']=="on") { +ini_set("arg_separator.output","&"); } +/*putenv("TZ=US/Central");*/ +$starttime = microtime(); +$startarray = explode(" ", $starttime); +$starttime = $startarray[1] + $startarray[0]; +/*Your DataBase info and Board Name Here*/ +$BoardName=$Settings['board_name']; +if($Settings['preinset']=="on") { +ini_set("user_agent",$BoardName); } +$AdminPassword=$Settings['admin_password'];//Password used to add new Forums +$username=$Settings['sql_username']; +$password=$Settings['sql_password']; +$database=$Settings['sql_database']; +$TablePreFix=$Settings['sql_tableprefix'];//Is the PreFix Name of the Table +$mysqlhost=$Settings['sql_host'];//Might be localhost +$FixMinute=-60; +/* Board info Here */ +$KeyWords=$Settings['board_keywords']; +$Description=$Settings['board_description']; +$TitleLine = "¥"; +$NewBoardURL['Change'] = $TablePreFix.$database; +if ($_SESSION['BoardURL']==null) { +$_SESSION['BoardURL'] = $TablePreFix.$database; } +if ($_SESSION['BoardURL']!=$NewBoardURL['Change']) { +session_unregister(UserName); +session_unregister(UserID); +session_unregister(UserGroup); +session_unregister(UserTimeZone); +session_unregister(BotName); +$_SESSION['BotName']=null; +$_SESSION['MemberName']=null; +$_SESSION['UserID']=0; +$_SESSION['UserGroup']="Guest"; +$_SESSION['UserTimeZone']=0; +$_SESSION['BoardURL'] = $TablePreFix.$database; } +if ($_SESSION['LastUpdate']==null) { +$_SESSION['LastUpdate'] = gmdate(mktime(date('H'),date('i'),date('s'),date('n'),date('j'),date('Y'))); } +$SETTINGS['ThisUpdate'] = gmdate(mktime(date('H')-1,date('i'),date('s'),date('n'),date('j'),date('Y'))); +if ($_SESSION['LastUpdate']<$SETTINGS['ThisUpdate']) { +session_unregister(UserName); +session_unregister(UserID); +session_unregister(UserGroup); +session_unregister(UserTimeZone); +session_unregister(BotName); +$_SESSION['BotName']=null; +$_SESSION['MemberName']=null; +$_SESSION['UserID']=0; +$_SESSION['UserGroup']="Guest"; +$_SESSION['UserTimeZone']=SeverOffSet(null); } +if ($_SESSION['LastUpdate']>=$SETTINGS['ThisUpdate']) { +$_SESSION['LastUpdate'] = gmdate(mktime(date('H'),date('i'),date('s'),date('n'),date('j'),date('Y'))); } +/* Turn HTML on or off */ +$DOHTML=$Settings['board_html']; +function SeverOffSet($Cool) +{ +$TestHour1 = date("H")+1; +$TestHour2 = gmdate("H")+1; +$TestHour3 = $TestHour1-$TestHour2; +$TestHour4 = $TestHour3-24; +return $TestHour4; +} +// IP Thing +if ($_SESSION['UserIP']!=$_SERVER['REMOTE_ADDR']) { +$_SESSION['UserIP'] = $_SERVER['REMOTE_ADDR']; } +if ($_SESSION['UserGroup']==null) { +session_unregister(UserName); +session_unregister(UserID); +session_unregister(UserGroup); +session_unregister(UserTimeZone); +session_unregister(BotName); +$_SESSION['BotName']=null; +$_SESSION['MemberName']=null; +$_SESSION['UserID']=0; +$_SESSION['UserGroup']="Guest"; +$_SESSION['UserTimeZone']=SeverOffSet(null); } +if ($_SESSION['UserGroup']=="Guest") { +session_unregister(UserName); +session_unregister(UserID); +session_unregister(UserGroup); +session_unregister(UserTimeZone); +session_unregister(BotName); +$_SESSION['BotName']=null; +$_SESSION['MemberName']=null; +$_SESSION['UserID']=0; +$_SESSION['UserGroup']="Guest"; +$_SESSION['UserTimeZone']=SeverOffSet(null); } +$MaxPMs=$Settings['max_pms'];//Sets the Max number of PMs a User can Send 0 means no limit. +$MaxSig['Member']=$Settings['max_sig_size_member']; +$MaxSig['Moderator']=$Settings['max_sig_size_moderator']; +$MaxSig['Admin']=$Settings['max_sig_size_admin']; +$MaxSig=$Settings['max_sig_size']; +if ($_SESSION['Browser']==null) { +$_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } +if ($_SESSION['Browser']!=null) { + if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { + session_regenerate_id(); + session_unregister(UserName); + session_unregister(UserID); + session_unregister(UserGroup); + session_unregister(UserTimeZone); + session_unregister(UserTimeZone); + session_unregister(BotName); + $_SESSION['BotName']=null; + $_SESSION['MemberName']=null; + $_SESSION['UserID']=0; + $_SESSION['UserGroup']="Guest"; + $_SESSION['UserTimeZone']=SeverOffSet(null); + $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } +if ($_SESSION['Browser']!=$_SERVER['HTTP_USER_AGENT']) { + $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; +} } +/* Bot Tracker */ +require('BotList.php'); +$num=count($BotList); +$iz=1; +while ($iz <= $num) { +if(eregi($BotList[$iz],$_SERVER['HTTP_USER_AGENT'])) { + $_SESSION['BotName']=$BotList[$iz]; + $_SESSION['UserID']=2; + $_SESSION['UserGroup']="Bot"; + $_SESSION['UserTimeZone']=SeverOffSet(null); + $_SESSION['Browser']=$_SERVER['HTTP_USER_AGENT']; } +++$iz; } +//Skining Stuff +if ($HTTP_COOKIE_VARS[UseSkin]==null) { +setcookie("UseSkin", 1, time() + (7 * 86400) ); } +if ($_GET['SetSkin']==null) { + if ($_POST['SetSkin']!=null) { $_GET['SetSkin']=$_POST['SetSkin']; } } +$_GET['SetSkin'] = (int) $_GET['SetSkin']; +if ($_SESSION['Skin']==null) { +$_SESSION['Skin'] = $HTTP_COOKIE_VARS[UseSkin]; } +if ($_GET['SetSkin']!=null) { +setcookie("UseSkin", $_GET['SetSkin'], time() + (7 * 86400) ); +$_SESSION['Skin'] = $_GET['SetSkin']; } +if ($_SESSION['Skin']>=4) { +setcookie("UseSkin", 3, time() + (7 * 86400) ); +$_SESSION['Skin'] = 3; } +if ($_SESSION['Skin']<=1) { +setcookie("UseSkin", 1, time() + (7 * 86400) ); +$_SESSION['Skin'] = 1; } +if ($_SESSION['ShowBackwards']==null) { +$_SESSION['ShowBackwards']="No"; } +if ($_GET['Backwards']==null) { +$_GET['Backwards']=$_SESSION['ShowBackwards']; } +if ($_GET['Backwards']!=null) { +$_SESSION['ShowBackwards']=$_GET['Backwards']; } +$YourOffSet = $_SESSION['UserTimeZone']; +if ($_SESSION['YourID1']==null) { +$_SESSION['YourID1'] = uniqid(rand(), true); +$_SESSION['YourID2'] = md5($_SESSION['YourID1']); +$_SESSION['YourID3'] = sha1($_SESSION['YourID2']); } +if ($_SESSION['YourID1']!=null) { /* Do Somthing Cool Here! */ } +//Set to text/html or application/xhtml+xml +header("Cache-control: private"); +header('Content-type: text/html'); +/*if ($TimeAdd==null) { +$TimeAdd = 0; +}*/ +$TableEnd = " \n \n \n \n \"\"\n \n \n \n \"\"\n \n \"\"\n \n \"\"\n \n \"\"\n \n \"\"\n \n \"\"\n \n \"\"\n \n"; +function PassHash2x($Text) +{ +$Text = md5($Text); +$Text = sha1($Text); +return $Text; +} +function GMTimeChange($format,$timestamp,$offset) +{ +$Time[Hour] = date("G",$timestamp); +$Time[Minute] = date("i",$timestamp); +$Time[Second] = date("s",$timestamp); +$Time[Month] = date("n",$timestamp); +$Time[Day] = date("j",$timestamp); +$Time[Year] = date("Y",$timestamp); +return gmdate($format,mktime($Time[Hour]+$offset,$Time[Minute]-1,$Time[Second],$Time[Month],$Time[Day],$Time[Year])); +} +function GMTimeSend($none) +{ +return gmdate(mktime(date('H'),date('i'),date('s'),date('n'),date('j'),date('Y'))); +} +function GMTimeGet($format,$offset) +{ +$TimeFix = $FixMinute; +return gmdate($format,mktime(date('H')+$offset,date('i')-1,date('s'),date('n'),date('j'),date('Y'))); +} +$OldBoardQuery = preg_replace("/&/isxS", "&", $_SERVER['QUERY_STRING']); +$BoardQuery = "?".$OldBoardQuery; +if ($_SESSION['BoardMove']=="Yes") { +$FileName = preg_replace("/\/board/isxS", "", $_SERVER['REQUEST_URI']); +header('Location: '.$FileName.''); } +//$DTDURL = " \"http://www.w3.org/TR/html4/loose.dtd\""; +$DTDURL = " \"http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/misc/html4.php\""; +//$DTDURL = null; +echo "\n"; +?> +> + + + + + + 23:59:59 GMT; path=/"> + + + + +"> + + + + +/CSS.php" media="all"> + + + + + + + +\r\n"; +echo "@import url(Skin/Skin".$_SESSION["Skin"]."/CSS.php);\r\n"; +//require( './CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; +echo "\r\n"; } +if ($Skip=="Yes") { +echo "\r\n"; } +$Logo=$Settings['board_logo']; +$OffLine=$Settings['board_offline']; +if ($Settings['use_gd_register']=="true") { +$UseGD = "Yes"; } +if ($OffLine=="Yes") { + $act="Off"; + $_POST['act']="Off"; + $_GET['act']="Off"; + echo "".$BoardName." ".$TitleLine." ".$lang3['Off Line'].""; } +if ($_SESSION['UserGroup']=="Banned") { + echo "".$BoardName." ".$TitleLine." ".$lang3['you are banned']."
".$lang3['you are banned']."!
The IP of: " . $_SERVER['REMOTE_ADDR']; + echo " is Banned From Here"; + exit(); } ?> \ No newline at end of file diff --git a/New.php b/New.php index 5670465..f567819 100644 --- a/New.php +++ b/New.php @@ -1,126 +1,126 @@ - - - - - - - -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png"> 
- -
- -
- - - -
-
-
- -
/index_10.png"> 
- /index_11.png" WIDTH="720" HEIGHT="22" ALT="">
- /spacer.png" WIDTH="13" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="8" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="356" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="161" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="76" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="92" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="14" HEIGHT="1" ALT="">
-
+ + + + + + + +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png"> 
+ +
+ +
+ + + +
+
+
+ +
/index_10.png"> 
+ /index_11.png" WIDTH="720" HEIGHT="22" ALT="">
+ /spacer.png" WIDTH="13" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="8" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="356" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="161" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="76" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="92" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="14" HEIGHT="1" ALT="">
+
\ No newline at end of file diff --git a/Pics/GD.php b/Pics/GD.php index c6837a8..77ed880 100644 --- a/Pics/GD.php +++ b/Pics/GD.php @@ -1,59 +1,59 @@ - \ No newline at end of file diff --git a/Pics/Icons/index.php b/Pics/Icons/index.php index f211a05..f1a520e 100644 --- a/Pics/Icons/index.php +++ b/Pics/Icons/index.php @@ -1,17 +1,17 @@ -\n"; -require( '../CSS'.$_SESSION["Skin"].'.php'); -echo "\n"; } -mysql_connect($mysqlhost,$username,$password); -@mysql_select_db($database) or die( "Unable to select database"); -?> -<?php echo $BoardName ?> - 403: Forbidden -

403: Forbidden

-

You Have to Go Back.

-
+\n"; +require( '../CSS'.$_SESSION["Skin"].'.php'); +echo "\n"; } +mysql_connect($mysqlhost,$username,$password); +@mysql_select_db($database) or die( "Unable to select database"); +?> +<?php echo $BoardName ?> - 403: Forbidden +

403: Forbidden

+

You Have to Go Back.

+
\ No newline at end of file diff --git a/Pics/index.php b/Pics/index.php index 3fc51b6..814aedc 100644 --- a/Pics/index.php +++ b/Pics/index.php @@ -1,63 +1,63 @@ - -> - - -"> - - -"> - - - - - - -\r\n"; -echo "@import url(../Skin/Skin1/CSS.php);\r\n"; -//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; -echo "\n\r".$BoardName." ".$TitleLine." 403: Forbidden\n\r"; } -if ($_GET['Backwards']=="Yes") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']=="yes") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']=="on") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']!="on") { - echo "\n\r\n\r"; } -?> -

403: Forbidden

-

You Have to Go Back.

- + +> + + +"> + + +"> + + + + + + +\r\n"; +echo "@import url(../Skin/Skin1/CSS.php);\r\n"; +//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; +echo "\n\r".$BoardName." ".$TitleLine." 403: Forbidden\n\r"; } +if ($_GET['Backwards']=="Yes") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']=="yes") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']=="on") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']!="on") { + echo "\n\r\n\r"; } +?> +

403: Forbidden

+

You Have to Go Back.

+ \ No newline at end of file diff --git a/Search.php b/Search.php index 7a08114..5bbc611 100644 --- a/Search.php +++ b/Search.php @@ -1,351 +1,351 @@ - - - - - - - - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['searching for members']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['searching for members']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> Searching for Topics - -<?php echo $BoardName?> <?php echo $TitleLine ?> Searching for Topics -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png"> 
- -
- -
- - -
-
- - - - -
-
- - - -
- - -
-
-
- -
- - - - -
- - - - - - - - - - - - - - - - - - - -
/ /
 ???  ???  ??? 
- -
-
- - - - -
-
- - - -
- - -
-
-
- -
- - - - - - - - - "; } - if ($TopicStat==1) { - $PreTopic="\"Closed!\""; } - if ($PinnedTopic==0) { - if ($TopicStat==0) { - $Style=" style=\"font-weight: none; font-style: none;\" "; } } - if ($PinnedTopic==1) { - if ($TopicStat==0) { - $Style=" style=\"font-weight: bold; font-style: none;\" "; } } - if ($PinnedTopic==0) { - if ($TopicStat==1) { - $Style=" style=\"font-weight: none; font-style: italic;\" "; } } - if ($PinnedTopic==1) { - if ($TopicStat==1) { - $Style=" style=\"font-weight: bold; font-style: italic;\" "; } } - ?> - - - - - -
 
title=" ">
-
-
-
- -
/index_10.png"> 
- /index_11.png" WIDTH="720" HEIGHT="22" ALT="">
- /spacer.png" WIDTH="13" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="8" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="356" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="161" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="76" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="92" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="14" HEIGHT="1" ALT="">
-
+ + + + + + + + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['searching for members']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['searching for members']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> Searching for Topics + +<?php echo $BoardName?> <?php echo $TitleLine ?> Searching for Topics +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png"> 
+ +
+ +
+ + +
+
+ + + + +
+
+ + + +
+ + +
+
+
+ +
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
/ /
 ???  ???  ??? 
+ +
+
+ + + + +
+
+ + + +
+ + +
+
+
+ +
+ + + + + + + + + "; } + if ($TopicStat==1) { + $PreTopic="\"Closed!\""; } + if ($PinnedTopic==0) { + if ($TopicStat==0) { + $Style=" style=\"font-weight: none; font-style: none;\" "; } } + if ($PinnedTopic==1) { + if ($TopicStat==0) { + $Style=" style=\"font-weight: bold; font-style: none;\" "; } } + if ($PinnedTopic==0) { + if ($TopicStat==1) { + $Style=" style=\"font-weight: none; font-style: italic;\" "; } } + if ($PinnedTopic==1) { + if ($TopicStat==1) { + $Style=" style=\"font-weight: bold; font-style: italic;\" "; } } + ?> + + + + + +
 
title=" ">
+
+
+
+ +
/index_10.png"> 
+ /index_11.png" WIDTH="720" HEIGHT="22" ALT="">
+ /spacer.png" WIDTH="13" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="8" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="356" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="161" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="76" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="92" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="14" HEIGHT="1" ALT="">
+
\ No newline at end of file diff --git a/Skin/Skin1/CSS.php b/Skin/Skin1/CSS.php index b4f94d4..1726a96 100644 --- a/Skin/Skin1/CSS.php +++ b/Skin/Skin1/CSS.php @@ -1,239 +1,239 @@ - -a { - font-size: 10px; - color: #CC9900; -} -.copyright a:link, a:link { - text-decoration: none; - color: #3399FF; -} -.copyright a:visited, a:visited { - text-decoration: none; - color: #CC9900; -} -.copyright a:hover, a:hover { - text-decoration: none; - color: #FFCC66; -} -.copyright a:active, a:active { - text-decoration: none; - color: #CC9900; -} -.navbar a { - font-size: 9px; - color: #CC9900; -} -body,td,th { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -td,th,table { - border-color: #000000; -} -.ReplyText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.EditReply { - color: #A0A0A0; - font-family: Verdana, Tahoma, Arial, sans-serif; - font-size: 9px; -} -.TopicText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.AdminTableText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.ForumText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.TagBoardText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.metag { -font-weight: bold; -font-size: 15px; -color: green; -} -hr { -color: #0000FF; -} -.Menu { -background-color: black; -font-size: 15px; -color: #C0C0C0; -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -} -.TextBox { -background-color: black; -font-size: 15px; -font-family: Courier, Courier New, Verdana, Arial; -color: #C0C0C0; -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -} -.HiddenTextBox { -font-family: Courier, Courier New, Verdana, Arial, serif; -font-size: 10px; -color: #C0C0C0; -display: none; -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -} -.QuoteTop { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 10px; -color: #A0A0A0; -} -.QuoteBottom { -font-family: Courier, Courier New, Verdana, Arial, serif; -font-size: 12px; -color: #C0C0C0; -background-color: black; -border: 1px solid #000; -border-color: gray; -padding-top: 2px; -padding-right: 2px; -padding-bottom: 2px; -padding-left: 2px -} -.CodeTop { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 10px; -color: #A0A0A0; -} -.CodeBottom { -font-family: Courier, Courier New, Verdana, Arial; -font-size: 12px; -color: #C0C0C0; -background-color: Black; -border: 1px solid #000; -border-color: gray; -padding-top: 2px; -padding-right: 2px; -padding-bottom: 2px; -padding-left: 2px -} -.CodeBox { -width:500px; -height:100px; -white-space:pre; -overflow:auto; -border:3px outset black; -font-family: Courier, Courier New, Verdana, Arial, serif; -font-size: 15px; -} -.Button { -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -background-color: black; -font-size: 15px; -font-family: Courier, Courier New, Verdana, Arial; -color: #C0C0C0; -} -.MenuTable1 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #A0A0A0; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.MenuTable2 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #C0C0C0; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.MenuTable3 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #D7D7D7; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.MenuTable4 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #D8D7D8; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.TableNone { -display: none; -} -label { -color: #e1e1e1; -font-weight: bold; -cursor: pointer; -} -body { - background-color: #494848; -} -img { - border: 0px; - vertical-align: middle; -} -.style2 { -color: #333333 -} -.copyright a { - font-size: 12px; - line-height: 11px; - color: #CC9900; -} -.copyright { -text-align: center; -font-family: Sans-Serif; -font-size: 12px; -line-height: 11px; -color:#FFF; + +a { + font-size: 10px; + color: #CC9900; +} +.copyright a:link, a:link { + text-decoration: none; + color: #3399FF; +} +.copyright a:visited, a:visited { + text-decoration: none; + color: #CC9900; +} +.copyright a:hover, a:hover { + text-decoration: none; + color: #FFCC66; +} +.copyright a:active, a:active { + text-decoration: none; + color: #CC9900; +} +.navbar a { + font-size: 9px; + color: #CC9900; +} +body,td,th { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +td,th,table { + border-color: #000000; +} +.ReplyText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.EditReply { + color: #A0A0A0; + font-family: Verdana, Tahoma, Arial, sans-serif; + font-size: 9px; +} +.TopicText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.AdminTableText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.ForumText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.TagBoardText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.metag { +font-weight: bold; +font-size: 15px; +color: green; +} +hr { +color: #0000FF; +} +.Menu { +background-color: black; +font-size: 15px; +color: #C0C0C0; +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +} +.TextBox { +background-color: black; +font-size: 15px; +font-family: Courier, Courier New, Verdana, Arial; +color: #C0C0C0; +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +} +.HiddenTextBox { +font-family: Courier, Courier New, Verdana, Arial, serif; +font-size: 10px; +color: #C0C0C0; +display: none; +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +} +.QuoteTop { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 10px; +color: #A0A0A0; +} +.QuoteBottom { +font-family: Courier, Courier New, Verdana, Arial, serif; +font-size: 12px; +color: #C0C0C0; +background-color: black; +border: 1px solid #000; +border-color: gray; +padding-top: 2px; +padding-right: 2px; +padding-bottom: 2px; +padding-left: 2px +} +.CodeTop { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 10px; +color: #A0A0A0; +} +.CodeBottom { +font-family: Courier, Courier New, Verdana, Arial; +font-size: 12px; +color: #C0C0C0; +background-color: Black; +border: 1px solid #000; +border-color: gray; +padding-top: 2px; +padding-right: 2px; +padding-bottom: 2px; +padding-left: 2px +} +.CodeBox { +width:500px; +height:100px; +white-space:pre; +overflow:auto; +border:3px outset black; +font-family: Courier, Courier New, Verdana, Arial, serif; +font-size: 15px; +} +.Button { +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +background-color: black; +font-size: 15px; +font-family: Courier, Courier New, Verdana, Arial; +color: #C0C0C0; +} +.MenuTable1 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #A0A0A0; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.MenuTable2 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #C0C0C0; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.MenuTable3 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #D7D7D7; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.MenuTable4 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #D8D7D8; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.TableNone { +display: none; +} +label { +color: #e1e1e1; +font-weight: bold; +cursor: pointer; +} +body { + background-color: #494848; +} +img { + border: 0px; + vertical-align: middle; +} +.style2 { +color: #333333 +} +.copyright a { + font-size: 12px; + line-height: 11px; + color: #CC9900; +} +.copyright { +text-align: center; +font-family: Sans-Serif; +font-size: 12px; +line-height: 11px; +color:#FFF; } \ No newline at end of file diff --git a/Skin/Skin2/CSS.php b/Skin/Skin2/CSS.php index 98e7123..9159cbf 100644 --- a/Skin/Skin2/CSS.php +++ b/Skin/Skin2/CSS.php @@ -1,239 +1,239 @@ - -a { - font-size: 10px; - color: #CC9900; -} -.copyright a:link, a:link { - text-decoration: none; - color: #3399FF; -} -.copyright a:visited, a:visited { - text-decoration: none; - color: #CC9900; -} -.copyright a:hover, a:hover { - text-decoration: none; - color: #FFCC66; -} -.copyright a:active, a:active { - text-decoration: none; - color: #CC9900; -} -.navbar a { - font-size: 9px; - color: #CC9900; -} -body,td,th { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -td,th,table { - border-color: #000000; -} -.ReplyText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.EditReply { - color: #A0A0A0; - font-family: Verdana, Tahoma, Arial, sans-serif; - font-size: 9px; -} -.TopicText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.AdminTableText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.ForumText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.TagBoardText { - color: #e1e1e1; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 10px; -} -.metag { -font-weight: bold; -font-size: 15px; -color: green; -} -hr { -color: #0000FF; -} -.Menu { -background-color: black; -font-size: 15px; -color: #C0C0C0; -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -} -.TextBox { -background-color: black; -font-size: 15px; -font-family: Courier, Courier New, Verdana, Arial; -color: #C0C0C0; -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -} -.HiddenTextBox { -font-family: Courier, Courier New, Verdana, Arial, serif; -font-size: 10px; -color: #C0C0C0; -display: none; -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -} -.QuoteTop { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 10px; -color: #A0A0A0; -} -.QuoteBottom { -font-family: Courier, Courier New, Verdana, Arial, serif; -font-size: 12px; -color: #C0C0C0; -background-color: black; -border: 1px solid #000; -border-color: gray; -padding-top: 2px; -padding-right: 2px; -padding-bottom: 2px; -padding-left: 2px -} -.CodeTop { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 10px; -color: #A0A0A0; -} -.CodeBottom { -font-family: Courier, Courier New, Verdana, Arial; -font-size: 12px; -color: #C0C0C0; -background-color: Black; -border: 1px solid #000; -border-color: gray; -padding-top: 2px; -padding-right: 2px; -padding-bottom: 2px; -padding-left: 2px -} -.CodeBox { -width:500px; -height:100px; -white-space:pre; -overflow:auto; -border:3px outset black; -font-family: Courier, Courier New, Verdana, Arial, serif; -font-size: 15px; -} -.Button { -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -background-color: black; -font-size: 15px; -font-family: Courier, Courier New, Verdana, Arial; -color: #C0C0C0; -} -.MenuTable1 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #A0A0A0; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.MenuTable2 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #C0C0C0; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.MenuTable3 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #D7D7D7; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.MenuTable4 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #D8D7D8; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.TableNone { -display: none; -} -label { -color: #e1e1e1; -font-weight: bold; -cursor: pointer; -} -body { - background-color: #3D5348; -} -img { - border: 0px; - vertical-align: middle; -} -.style2 { -color: #333333 -} -.copyright a { - font-size: 12px; - line-height: 11px; - color: #CC9900; -} -.copyright { -text-align: center; -font-family: Sans-Serif; -font-size: 12px; -line-height: 11px; -color:#FFF; + +a { + font-size: 10px; + color: #CC9900; +} +.copyright a:link, a:link { + text-decoration: none; + color: #3399FF; +} +.copyright a:visited, a:visited { + text-decoration: none; + color: #CC9900; +} +.copyright a:hover, a:hover { + text-decoration: none; + color: #FFCC66; +} +.copyright a:active, a:active { + text-decoration: none; + color: #CC9900; +} +.navbar a { + font-size: 9px; + color: #CC9900; +} +body,td,th { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +td,th,table { + border-color: #000000; +} +.ReplyText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.EditReply { + color: #A0A0A0; + font-family: Verdana, Tahoma, Arial, sans-serif; + font-size: 9px; +} +.TopicText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.AdminTableText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.ForumText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.TagBoardText { + color: #e1e1e1; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 10px; +} +.metag { +font-weight: bold; +font-size: 15px; +color: green; +} +hr { +color: #0000FF; +} +.Menu { +background-color: black; +font-size: 15px; +color: #C0C0C0; +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +} +.TextBox { +background-color: black; +font-size: 15px; +font-family: Courier, Courier New, Verdana, Arial; +color: #C0C0C0; +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +} +.HiddenTextBox { +font-family: Courier, Courier New, Verdana, Arial, serif; +font-size: 10px; +color: #C0C0C0; +display: none; +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +} +.QuoteTop { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 10px; +color: #A0A0A0; +} +.QuoteBottom { +font-family: Courier, Courier New, Verdana, Arial, serif; +font-size: 12px; +color: #C0C0C0; +background-color: black; +border: 1px solid #000; +border-color: gray; +padding-top: 2px; +padding-right: 2px; +padding-bottom: 2px; +padding-left: 2px +} +.CodeTop { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 10px; +color: #A0A0A0; +} +.CodeBottom { +font-family: Courier, Courier New, Verdana, Arial; +font-size: 12px; +color: #C0C0C0; +background-color: Black; +border: 1px solid #000; +border-color: gray; +padding-top: 2px; +padding-right: 2px; +padding-bottom: 2px; +padding-left: 2px +} +.CodeBox { +width:500px; +height:100px; +white-space:pre; +overflow:auto; +border:3px outset black; +font-family: Courier, Courier New, Verdana, Arial, serif; +font-size: 15px; +} +.Button { +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +background-color: black; +font-size: 15px; +font-family: Courier, Courier New, Verdana, Arial; +color: #C0C0C0; +} +.MenuTable1 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #A0A0A0; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.MenuTable2 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #C0C0C0; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.MenuTable3 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #D7D7D7; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.MenuTable4 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #D8D7D8; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.TableNone { +display: none; +} +label { +color: #e1e1e1; +font-weight: bold; +cursor: pointer; +} +body { + background-color: #3D5348; +} +img { + border: 0px; + vertical-align: middle; +} +.style2 { +color: #333333 +} +.copyright a { + font-size: 12px; + line-height: 11px; + color: #CC9900; +} +.copyright { +text-align: center; +font-family: Sans-Serif; +font-size: 12px; +line-height: 11px; +color:#FFF; } \ No newline at end of file diff --git a/Skin/Skin3/CSS.php b/Skin/Skin3/CSS.php index 8892c94..cc68ce1 100644 --- a/Skin/Skin3/CSS.php +++ b/Skin/Skin3/CSS.php @@ -1,248 +1,248 @@ - -a { - font-size: 11px; - color: #CC9900; -} -.copyright a:link, a:link { - text-decoration: none; - color: #DD8800; -} -.copyright a:visited, a:visited { - text-decoration: none; - color: #CC9900; -} -.copyright a:hover, a:hover { - text-decoration: none; - color: #FFCC66; -} -.copyright a:active, a:active { - text-decoration: none; - color: #CC9900; -} -.navbar a { - font-size: 10px; - color: #CC9900; -} -body,td,th { - color: #FFFFFF; - font-style: italic; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 11px; -} -td,th,table { - font-style: italic; - border-color: #000000; -} -.ReplyText { - color: #FFFFFF; - font-style: italic; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 11px; -} -.EditReply { - color: #A0A0A0; - font-style: italic; - font-family: Verdana, Tahoma, Arial, sans-serif; - font-size: 9px; -} -.TopicText { - color: #FFFFFF; - font-style: italic; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 11px; -} -.AdminTableText { - color: #FFFFFF; - font-style: italic; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 11px; -} -.ForumText { - color: #FFFFFF; - font-style: italic; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 11px; -} -.TagBoardText { - color: #FFFFFF; - font-style: italic; - font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; - font-size: 11px; -} -.metag { -font-weight: bold; -font-size: 15px; -color: green; -} -hr { -color: #0000FF; -} -.Menu { -background-color: black; -font-size: 15px; -color: #C0C0C0; -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -} -.TextBox { -background-color: black; -font-size: 15px; -font-family: Courier, Courier New, Verdana, Arial; -color: #C0C0C0; -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -} -.HiddenTextBox { -font-family: Courier, Courier New, Verdana, Arial, serif; -font-size: 11px; -color: #C0C0C0; -display: none; -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -} -.QuoteTop { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 11px; -color: #A0A0A0; -} -.QuoteBottom { -font-family: Courier, Courier New, Verdana, Arial, serif; -font-size: 12px; -color: #C0C0C0; -background-color: black; -border: 1px solid #000; -border-color: gray; -padding-top: 2px; -padding-right: 2px; -padding-bottom: 2px; -padding-left: 2px -} -.CodeTop { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 11px; -color: #A0A0A0; -} -.CodeBottom { -font-family: Courier, Courier New, Verdana, Arial; -font-size: 12px; -color: #C0C0C0; -background-color: Black; -border: 1px solid #000; -border-color: gray; -padding-top: 2px; -padding-right: 2px; -padding-bottom: 2px; -padding-left: 2px -} -.CodeBox { -width:500px; -height:100px; -white-space:pre; -overflow:auto; -border:3px outset black; -font-family: Courier, Courier New, Verdana, Arial, serif; -font-size: 15px; -} -.Button { -border: 2px outset black; -border-width: 2px; -border-bottom-color: #C0C0C0; -border-left-color: #C0C0C0; -border-right-color: #C0C0C0; -border-top-color: #C0C0C0; -background-color: black; -font-size: 15px; -font-family: Courier, Courier New, Verdana, Arial; -color: #C0C0C0; -} -.MenuTable1 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #A0A0A0; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.MenuTable2 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #C0C0C0; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.MenuTable3 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #D7D7D7; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.MenuTable4 { -font-family: Verdana, Tahoma, Arial, sans-serif; -font-size: 15px; -color: #000; -background-color: #D8D7D8; -border-left-color: #989898; -border-top-color: #989898; -border-right-color: #959595; -border-bottom-color: #959595; -} -.TableNone { -display: none; -} -label { -color: #FFFFFF; -font-weight: bold; -cursor: pointer; -} -body { - background-color: #800000; -} -img { - border: 0px; - vertical-align: middle; -} -.style2 { -color: #333333 -} -.copyright a { - font-size: 12px; - line-height: 11px; - color: #CC9900; -} -.copyright { -text-align: center; -font-family: Sans-Serif; -font-size: 12px; -line-height: 11px; -font-style: italic; -color:#FFF; + +a { + font-size: 11px; + color: #CC9900; +} +.copyright a:link, a:link { + text-decoration: none; + color: #DD8800; +} +.copyright a:visited, a:visited { + text-decoration: none; + color: #CC9900; +} +.copyright a:hover, a:hover { + text-decoration: none; + color: #FFCC66; +} +.copyright a:active, a:active { + text-decoration: none; + color: #CC9900; +} +.navbar a { + font-size: 10px; + color: #CC9900; +} +body,td,th { + color: #FFFFFF; + font-style: italic; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 11px; +} +td,th,table { + font-style: italic; + border-color: #000000; +} +.ReplyText { + color: #FFFFFF; + font-style: italic; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 11px; +} +.EditReply { + color: #A0A0A0; + font-style: italic; + font-family: Verdana, Tahoma, Arial, sans-serif; + font-size: 9px; +} +.TopicText { + color: #FFFFFF; + font-style: italic; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 11px; +} +.AdminTableText { + color: #FFFFFF; + font-style: italic; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 11px; +} +.ForumText { + color: #FFFFFF; + font-style: italic; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 11px; +} +.TagBoardText { + color: #FFFFFF; + font-style: italic; + font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; + font-size: 11px; +} +.metag { +font-weight: bold; +font-size: 15px; +color: green; +} +hr { +color: #0000FF; +} +.Menu { +background-color: black; +font-size: 15px; +color: #C0C0C0; +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +} +.TextBox { +background-color: black; +font-size: 15px; +font-family: Courier, Courier New, Verdana, Arial; +color: #C0C0C0; +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +} +.HiddenTextBox { +font-family: Courier, Courier New, Verdana, Arial, serif; +font-size: 11px; +color: #C0C0C0; +display: none; +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +} +.QuoteTop { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 11px; +color: #A0A0A0; +} +.QuoteBottom { +font-family: Courier, Courier New, Verdana, Arial, serif; +font-size: 12px; +color: #C0C0C0; +background-color: black; +border: 1px solid #000; +border-color: gray; +padding-top: 2px; +padding-right: 2px; +padding-bottom: 2px; +padding-left: 2px +} +.CodeTop { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 11px; +color: #A0A0A0; +} +.CodeBottom { +font-family: Courier, Courier New, Verdana, Arial; +font-size: 12px; +color: #C0C0C0; +background-color: Black; +border: 1px solid #000; +border-color: gray; +padding-top: 2px; +padding-right: 2px; +padding-bottom: 2px; +padding-left: 2px +} +.CodeBox { +width:500px; +height:100px; +white-space:pre; +overflow:auto; +border:3px outset black; +font-family: Courier, Courier New, Verdana, Arial, serif; +font-size: 15px; +} +.Button { +border: 2px outset black; +border-width: 2px; +border-bottom-color: #C0C0C0; +border-left-color: #C0C0C0; +border-right-color: #C0C0C0; +border-top-color: #C0C0C0; +background-color: black; +font-size: 15px; +font-family: Courier, Courier New, Verdana, Arial; +color: #C0C0C0; +} +.MenuTable1 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #A0A0A0; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.MenuTable2 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #C0C0C0; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.MenuTable3 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #D7D7D7; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.MenuTable4 { +font-family: Verdana, Tahoma, Arial, sans-serif; +font-size: 15px; +color: #000; +background-color: #D8D7D8; +border-left-color: #989898; +border-top-color: #989898; +border-right-color: #959595; +border-bottom-color: #959595; +} +.TableNone { +display: none; +} +label { +color: #FFFFFF; +font-weight: bold; +cursor: pointer; +} +body { + background-color: #800000; +} +img { + border: 0px; + vertical-align: middle; +} +.style2 { +color: #333333 +} +.copyright a { + font-size: 12px; + line-height: 11px; + color: #CC9900; +} +.copyright { +text-align: center; +font-family: Sans-Serif; +font-size: 12px; +line-height: 11px; +font-style: italic; +color:#FFF; } \ No newline at end of file diff --git a/Skin/index.php b/Skin/index.php index 3fc51b6..814aedc 100644 --- a/Skin/index.php +++ b/Skin/index.php @@ -1,63 +1,63 @@ - -> - - -"> - - -"> - - - - - - -\r\n"; -echo "@import url(../Skin/Skin1/CSS.php);\r\n"; -//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; -echo "\n\r".$BoardName." ".$TitleLine." 403: Forbidden\n\r"; } -if ($_GET['Backwards']=="Yes") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']=="yes") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']=="on") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']!="on") { - echo "\n\r\n\r"; } -?> -

403: Forbidden

-

You Have to Go Back.

- + +> + + +"> + + +"> + + + + + + +\r\n"; +echo "@import url(../Skin/Skin1/CSS.php);\r\n"; +//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; +echo "\n\r".$BoardName." ".$TitleLine." 403: Forbidden\n\r"; } +if ($_GET['Backwards']=="Yes") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']=="yes") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']=="on") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']!="on") { + echo "\n\r\n\r"; } +?> +

403: Forbidden

+

You Have to Go Back.

+ \ No newline at end of file diff --git a/Smiles.php b/Smiles.php index 30f95a8..23678ab 100644 --- a/Smiles.php +++ b/Smiles.php @@ -1,30 +1,30 @@ -".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; - exit(); } -mysql_connect($mysqlhost,$username,$password)or die(mysql_error()); -@mysql_select_db($database)or die(mysql_error()); -$queryTest="SELECT * FROM ".$TablePreFix."Smiles"; -$resultTest=mysql_query($queryTest); -$numTest=mysql_num_rows($resultTest); -$iTest=0; -while ($iTest < $numTest) { -$FileName=mysql_result($resultTest,$iTest,"FileName"); -$SmileName=mysql_result($resultTest,$iTest,"SmileName"); -$SmileText=mysql_result($resultTest,$iTest,"SmileText"); -$SmileDirectory=mysql_result($resultTest,$iTest,"Directory"); -$ShowSmile=mysql_result($resultTest,$iTest,"Show"); -$Smile1 = array($SmileText); -$Smile2 = array(''.$SmileName.''); -$_GET['YourPost']=str_replace($Smile1, $Smile2, $_GET['YourPost']); -++$iTest; } +".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; + exit(); } +mysql_connect($mysqlhost,$username,$password)or die(mysql_error()); +@mysql_select_db($database)or die(mysql_error()); +$queryTest="SELECT * FROM ".$TablePreFix."Smiles"; +$resultTest=mysql_query($queryTest); +$numTest=mysql_num_rows($resultTest); +$iTest=0; +while ($iTest < $numTest) { +$FileName=mysql_result($resultTest,$iTest,"FileName"); +$SmileName=mysql_result($resultTest,$iTest,"SmileName"); +$SmileText=mysql_result($resultTest,$iTest,"SmileText"); +$SmileDirectory=mysql_result($resultTest,$iTest,"Directory"); +$ShowSmile=mysql_result($resultTest,$iTest,"Show"); +$Smile1 = array($SmileText); +$Smile2 = array(''.$SmileName.''); +$_GET['YourPost']=str_replace($Smile1, $Smile2, $_GET['YourPost']); +++$iTest; } ?> \ No newline at end of file diff --git a/SubForum.php b/SubForum.php index c6506f3..e6c104d 100644 --- a/SubForum.php +++ b/SubForum.php @@ -1,368 +1,368 @@ - - - - - - - - -'.$BoardName.' '.$TitleLine.' '.$lang2['viewing'].' '.$SubForum['Name'].' '.$lang2['subforum'].''; } -if ($_GET['act']=="Create") { -echo ''.$BoardName.' '.$TitleLine.' '.$lang2['making topic in'].' '.$SubForum['Name'].' '.$lang2['subforum'].''; } -?>"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -$Type="Topic"; -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - - - - - - - - - - -'; } -if ($_GET['act']=="Stats") { - $_GET['act']="BoardStats"; } -if ($_GET['act']=="BoardStats") { - echo"".$BoardName." - Board Stats"; } -if ($_GET['act']=="View") { - ?> - - - - - - - - - - -
-
-
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> 
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - =$num) { - $Next=$Show; } -$Back=$Show-5; -if ($Back<=0) { - $Back=0; } -if ($_GET['act']=="View") { -?> -
  
  
-
-
/index_10.png);"> 
/index_08.png);">  -
-
- - - - - - - - -"; } -if ($TopicStat==1) { - $PreTopic="\"Closed!\""; } -if ($PinnedTopic==0) { - if ($TopicStat==0) { - $Style=" style=\"font-weight: none; font-style: none;\" "; } } -if ($PinnedTopic==1) { - if ($TopicStat==0) { - $Style=" style=\"font-weight: bold; font-style: none;\" "; } } -if ($PinnedTopic==0) { - if ($TopicStat==1) { - $Style=" style=\"font-weight: none; font-style: italic;\" "; } } -if ($PinnedTopic==1) { - if ($TopicStat==1) { - $Style=" style=\"font-weight: bold; font-style: italic;\" "; } } -?> - - - - - - - - - - - - - - - - =$num) { - $Next=$Show; } -$Back=$Show-5; -if ($Back<=0) { - $Back=0; } -if ($_GET['act']=="View") { -if ($num!="0") { -$result3 = mysql_query("SELECT * FROM ".$TablePreFix."Members"); -while ($row = mysql_fetch_array($result3, MYSQL_NUM)) { - if ($row[0]==1) { - $User1Name = $row[1]; - $User1Email = $row[3]; - $User1Signature = $row[9]; - $User1Avatar = $row[10]; - $User1Website = $row[11]; } } -?> - - - - - - - -
 
title="Topic Created By at ">
 0
 0
- -
-
-
- -
-
-
- - - - - - - -
-
+ + + + + + + + +'.$BoardName.' '.$TitleLine.' '.$lang2['viewing'].' '.$SubForum['Name'].' '.$lang2['subforum'].''; } +if ($_GET['act']=="Create") { +echo ''.$BoardName.' '.$TitleLine.' '.$lang2['making topic in'].' '.$SubForum['Name'].' '.$lang2['subforum'].''; } +?>"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +$Type="Topic"; +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + + + + + + + + + + +'; } +if ($_GET['act']=="Stats") { + $_GET['act']="BoardStats"; } +if ($_GET['act']=="BoardStats") { + echo"".$BoardName." - Board Stats"; } +if ($_GET['act']=="View") { + ?> + + + + + + + + + + +
+
+
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> 
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + =$num) { + $Next=$Show; } +$Back=$Show-5; +if ($Back<=0) { + $Back=0; } +if ($_GET['act']=="View") { +?> +
  
  
+
+
/index_10.png);"> 
/index_08.png);">  +
+
+ + + + + + + + +"; } +if ($TopicStat==1) { + $PreTopic="\"Closed!\""; } +if ($PinnedTopic==0) { + if ($TopicStat==0) { + $Style=" style=\"font-weight: none; font-style: none;\" "; } } +if ($PinnedTopic==1) { + if ($TopicStat==0) { + $Style=" style=\"font-weight: bold; font-style: none;\" "; } } +if ($PinnedTopic==0) { + if ($TopicStat==1) { + $Style=" style=\"font-weight: none; font-style: italic;\" "; } } +if ($PinnedTopic==1) { + if ($TopicStat==1) { + $Style=" style=\"font-weight: bold; font-style: italic;\" "; } } +?> + + + + + + + + + + + + + + + + =$num) { + $Next=$Show; } +$Back=$Show-5; +if ($Back<=0) { + $Back=0; } +if ($_GET['act']=="View") { +if ($num!="0") { +$result3 = mysql_query("SELECT * FROM ".$TablePreFix."Members"); +while ($row = mysql_fetch_array($result3, MYSQL_NUM)) { + if ($row[0]==1) { + $User1Name = $row[1]; + $User1Email = $row[3]; + $User1Signature = $row[9]; + $User1Avatar = $row[10]; + $User1Website = $row[11]; } } +?> + + + + + + + +
 
title="Topic Created By at ">
 0
 0
+ +
+
+
+ +
+
+
+ + + + + + + +
+
\ No newline at end of file diff --git a/TagBoard.php b/TagBoard.php index 0a8e865..b072041 100644 --- a/TagBoard.php +++ b/TagBoard.php @@ -1,245 +1,245 @@ -<?php echo $BoardName ?> <?php echo $lang['powered by tb2k']; ?><?php echo $_SESSION['DF2kPreVer']; ?> - - - - - - -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -if($Groups['View_board']=="no") { - echo""; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - - - - - - - - - - -'; } -if ($_GET['act']=="") { - $_GET['act']="View"; } - if ($Groups['Can_make_replys']=="yes") { - if ($_GET['act']=="Send") { - $_GET['act'] = "View"; - echo "".$lang2['please fix the errors']."
\n".$lang2['need to be a Member to post tag']." ".$lang2['signup']."'. ^_^
"; } } -?>"; - } } -?> - - -
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  -
-
- -
- -
- - - - - -
:
-
-
- -
-
- - - - -
-
-
- -
- " class="TextBox">
-
-
- -
-
- -
-
-
- -
-
- -
- +<?php echo $BoardName ?> <?php echo $lang['powered by tb2k']; ?><?php echo $_SESSION['DF2kPreVer']; ?> + + + + + + +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +if($Groups['View_board']=="no") { + echo""; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + + + + + + + + + + +'; } +if ($_GET['act']=="") { + $_GET['act']="View"; } + if ($Groups['Can_make_replys']=="yes") { + if ($_GET['act']=="Send") { + $_GET['act'] = "View"; + echo "".$lang2['please fix the errors']."
\n".$lang2['need to be a Member to post tag']." ".$lang2['signup']."'. ^_^
"; } } +?>"; + } } +?> + + +
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  +
+
+ +
+ +
+ + + + + +
:
+
+
+ +
+
+ + + + +
+
+
+ +
+ " class="TextBox">
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+ \ No newline at end of file diff --git a/Topic.php b/Topic.php index 15c5c52..23f0918 100644 --- a/Topic.php +++ b/Topic.php @@ -1,712 +1,712 @@ - - - - - - -'.$BoardName.' '.$TitleLine.' '.$lang2['viewing topic'].' '.$Topic['TopicName'].''; } -if ($_GET['act']=="Create") { -$topic_query = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); -$Topic = mysql_fetch_array($topic_query); -echo ''.$BoardName.' '.$TitleLine.' '.$lang2['replying to topic'].' '.$Topic['TopicName'].''; } -if ($_GET['act']=="Stats") { - $_GET['act']="TopicStats"; } -if ($_GET['act']=="TopicStats") { - $topic_query = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); - $Topic = mysql_fetch_array($topic_query); - echo"".$BoardName." '.$TitleLine.' ".$Topic['TopicName']." ".$lang2['topic stats'].""; } -if ($_GET['act']=="modtool") { - $_GET['act']="ModTool"; } -if ($_GET['act']=="tool") { - $_GET['act']="Tool"; } -if ($_GET['act']=="ModTool"||$_GET['act']=="Tool") { - $topic_query = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); - $Topic = mysql_fetch_array($topic_query); - echo"".$BoardName." ".$TitleLine." ".$adminlang['using mod tool']." on Topic ".$Topic['TopicName'].""; } -if ($_GET['act']=="Edit") { - $topic_query = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); - $Topic = mysql_fetch_array($topic_query); - echo"".$BoardName." ".$TitleLine." ".$lang2['editing reply in topic']." ".$Topic['TopicName'].""; } -$topic_query1 = mysql_query("SELECT Closed FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); -$Topic = mysql_fetch_array($topic_query1); -$TopicStat=$Topic['Closed']; -$topic_query2 = mysql_query("SELECT Pinned FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); -$Topics = mysql_fetch_array($topic_query2); -$TopicPin=$Topics['Pinned']; -?>"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -?> -\n\n"; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - -*/?> - - - - - - - - - -'; } -if ($_GET['act']=="View") { -?> - - - - -
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / / / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> */?> -
- -
- -
- - - - \n
[B]--------------------[/B]\n
".$User1Signature.""; - require( './misc/BBTags.php'); - ?> - - - - - -
 
<?php echo $User1Name ?>'s <?php echo $lang2['avatar']; ?>









- ".$User1IP.""; }?> -
-
-
- - - - - - - - - -"); - } -} -exit(""); -} -if ($_GET['act']=="Create") { - if ($TopicStat==0) { - $query="SELECT * FROM ".$TablePreFix."Posts"; - $result=mysql_query($query); - $num=mysql_num_rows($result); - $nums=$num-1; - $ReplyID=mysql_result($result,$nums,"id"); - $TopicID=$_GET['id']; - $PostID=$ReplyID+1; - $_GET['ForumID']=$_GET['ForumID']+0; - if ($_GET['QuoteID']!=null) { - $quote_query = mysql_query("SELECT * FROM ".$TablePreFix."Posts WHERE (ID=".$_GET['QuoteID'].")"); - $Quote = mysql_fetch_array($quote_query); - $result2 = mysql_query("SELECT * FROM ".$TablePreFix."Members"); - while ($row = mysql_fetch_array($result2, MYSQL_NUM)) { - $User1ID=$Quote['UserID']; - if ($row[0]==$User1ID) { - $User1Name = $row[1]; - $User1Email = $row[3]; - $User1Signature = $row[10]; - $User1Avatar = $row[11]; - $User1AvatarSize = $row[12]; - $User1Website = $row[13]; } } - $HTML1 = array("<(", ")>", '|"|', "
"); - $HTML2 = array("<", ">", '"', "[BR]"); - $AvatarSize=explode("x", $User1AvatarSize); - $AvatarSizeW=$AvatarSize[0]; - $AvatarSizeH=$AvatarSize[1]; - $Quote['Post'] = preg_replace("/\
\r\n\
\r\n\This post has been edited by \(.+?)\<\/b> on (.+?)\<\/span>/is", "", $Quote['Post']); - $Quote['Post'] = str_replace($HTML1, $HTML2, $Quote['Post']); - $Quote['Post'] = preg_replace("/\[QUOTE\=(.+?)\](.*?)\[\/QUOTE\]/is", "", $Quote['Post']); - $Quote['TimeStamp'] = GMTimeChange("F j, Y, g:i a",$Quote['TimeStamp'],$YourOffSet); - $QuoteReply = "[QUOTE=".$User1Name." @ ".$Quote['TimeStamp']."]".$Quote['Post']."[/QUOTE][BR]\r\n"; } - ?> - - - - \n".$lang2['the topic is closed']."
"; } } - if ($Groups['Can_make_replys']=="no") { - if ($_GET['act']=="Create") { - $_GET['act'] = "View"; - echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member to post']." ".$lang2['signup'].". ^_^
"; } } - if ($_GET['act']=="Send") { - if ($TopicStat==1) { - echo "".$lang2['please fix the errors']."
\n".$lang2['the topic is closed']."
"; } } - if ($Groups['Can_make_replys']=="no") { - if ($_GET['act']=="Send") { - $_GET['act'] = "View"; - echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member to post']." ".$lang2['signup'].". ^_^
"; } } - if ($_POST['YourPost']==null) { - if ($_GET['act']=="Send") { - $_GET['act'] = "View"; - echo "".$lang2['please fix the errors']."
\n".$lang2['you need to have a reply']."
"; - ?>"; } } - if ($_GET['act']=="Edit") { - if ($TopicStat==0) { - $topic_query2 = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); - $Topic = mysql_fetch_array($topic_query2); - $query="SELECT * FROM ".$TablePreFix."Posts"; - $result=mysql_query($query); - $num=mysql_num_rows($result); - $TopicID=$_GET['id']; - $PostID=$num+1; - $ForumID=$_GET['ForumID']+0; - if ($_GET['EditID']!=null) { - $edit_query = mysql_query("SELECT * FROM ".$TablePreFix."Posts WHERE (ID=".$_GET['EditID'].")"); - $Edit = mysql_fetch_array($edit_query); - $result2 = mysql_query("SELECT * FROM ".$TablePreFix."Members"); - while ($row = mysql_fetch_array($result2, MYSQL_NUM)) { - $User1ID=$Edit['UserID']; - $ThisUserID = $_SESSION['UserID']; - if ($row[0]==$User1ID) { - $User1Name = $row[1]; - $User1Email = $row[3]; - $User1Signature = $row[10]; - $User1Avatar = $row[11]; - $User1AvatarSize = $row[12]; - $User1Website = $row[13]; } } } - $HTML1 = array("<(", ")>", '|"|', "
"); - $HTML2 = array("<", ">", '"', ""); - $AvatarSize=explode("x", $User1AvatarSize); - $AvatarSizeW=$AvatarSize[0]; - $AvatarSizeH=$AvatarSize[1]; - $Edit['Post'] = preg_replace("/\
\r\n\
\r\n\This post has been edited by \(.+?)\<\/b> on (.+?)\<\/span>/is", "", $Edit['Post']); - $Edit['Post'] = str_replace($HTML1, $HTML2, $Edit['Post']); - if ($User1ID!=$ThisUserID||$Groups['Can_edit_replys']=="no") { - $_GET['act'] = "View"; - echo "Please fix the following errors:
\nYou can not Edit this Reply. ^_^
"; - ?>
- - - - - -
- + + + + + + +'.$BoardName.' '.$TitleLine.' '.$lang2['viewing topic'].' '.$Topic['TopicName'].''; } +if ($_GET['act']=="Create") { +$topic_query = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); +$Topic = mysql_fetch_array($topic_query); +echo ''.$BoardName.' '.$TitleLine.' '.$lang2['replying to topic'].' '.$Topic['TopicName'].''; } +if ($_GET['act']=="Stats") { + $_GET['act']="TopicStats"; } +if ($_GET['act']=="TopicStats") { + $topic_query = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); + $Topic = mysql_fetch_array($topic_query); + echo"".$BoardName." '.$TitleLine.' ".$Topic['TopicName']." ".$lang2['topic stats'].""; } +if ($_GET['act']=="modtool") { + $_GET['act']="ModTool"; } +if ($_GET['act']=="tool") { + $_GET['act']="Tool"; } +if ($_GET['act']=="ModTool"||$_GET['act']=="Tool") { + $topic_query = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); + $Topic = mysql_fetch_array($topic_query); + echo"".$BoardName." ".$TitleLine." ".$adminlang['using mod tool']." on Topic ".$Topic['TopicName'].""; } +if ($_GET['act']=="Edit") { + $topic_query = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); + $Topic = mysql_fetch_array($topic_query); + echo"".$BoardName." ".$TitleLine." ".$lang2['editing reply in topic']." ".$Topic['TopicName'].""; } +$topic_query1 = mysql_query("SELECT Closed FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); +$Topic = mysql_fetch_array($topic_query1); +$TopicStat=$Topic['Closed']; +$topic_query2 = mysql_query("SELECT Pinned FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); +$Topics = mysql_fetch_array($topic_query2); +$TopicPin=$Topics['Pinned']; +?>"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +?> +\n\n"; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + +*/?> +
- /index_12.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> */?> -*/?> - */?> - - - - - - - - -
| -
- -
- - - - - -
-
- -
- " />
- -
-
- -
- - - - - - - -
-


-
-
-
-
-
-
- -
- - -
-
-
- - -*/?> -
/index_08.png);"> */?> - -
*/?> - - - - - -
- - -
- -
- ">
- -
-
- - -
- -
- - - - - -
-
- -
- -
-
-
- - -*/?> -
/index_08.png);"> */?> - */?> - - - - - -
- - -
- -
-
- -
-
- -
- - - - -
-
- -
- -
-
-
- - -*/?> - \n".$lang2['the topic is closed']."
"; } } - if ($_GET['act']=="EditReply") { - if ($TopicStat==1) { - echo "".$lang2['please fix the errors']."
\n".$lang2['the topic is closed']."
"; } } - if ($Groups['Can_edit_replys']=="no"||$Groups['Can_make_replys']=="no") { - if ($_GET['act']=="EditReply") { - $_GET['act'] = "View"; - echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member to post']." ".$lang2['signup']."'. ^_^
"; } } - if ($Groups['Can_edit_replys']=="no"||$Groups['Can_make_replys']=="no") { - if ($_GET['act']=="EditReply") { - $_GET['act'] = "View"; - echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member to post']." ".$lang2['signup']."'. ^_^
"; } } - if ($_POST['YourPost']==null) { - if ($_GET['act']=="EditReply") { - $_GET['act'] = "View"; - echo "".$lang2['please fix the errors']."
\n".$lang2['you need a post']."
"; - ?>\n".$lang2['cant edit reply']."
"; - ?>\r\n
\r\nThis post has been edited by ".$_SESSION['MemberName']." on ".$PostEditTime.""; - $query="UPDATE ".$TablePreFix."Posts SET Post='".$YourPost."' WHERE ID=".$_POST['PostID'].""; - mysql_query($query); - $result = mysql_query("SELECT * FROM ".$TablePreFix."Members"); - while ($row = mysql_fetch_array($result, MYSQL_NUM)) { - if ($row[0]==$_SESSION['UserID']) { - $OldUserid=$row[0]; - $NewPostCount=$row[14]; } } - $NewUserIP = $_SERVER['REMOTE_ADDR']; - $NewLastActive = GMTimeSend(null); - $query="UPDATE ".$TablePreFix."Members SET LastActive='".$NewLastActive."',PostCount=".$NewPostCount.",IP='".$NewUserIP."' WHERE id=".$OldUserid.""; - mysql_query($query); - echo ""; } } -if ($_GET['act']=="View") { - if ($Number=="") { - echo ""; } } - ?>
/index_08.png);"> */?> -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Topic Stats - How Many -
Forum Number
Topic Number
Number of Posts in Topic
Number of Tags
Number of Members
Number of PMs Sent
-
-
+ + + + + + + + +'; } +if ($_GET['act']=="View") { +?> + + + + +
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / / / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> */?> +
+ +
+ +
+ + + + \n
[B]--------------------[/B]\n
".$User1Signature.""; + require( './misc/BBTags.php'); + ?> + + + + + +
 
<?php echo $User1Name ?>'s <?php echo $lang2['avatar']; ?>









+ ".$User1IP.""; }?> +
+
+
+ + + + + + + + + +"); + } +} +exit(""); +} +if ($_GET['act']=="Create") { + if ($TopicStat==0) { + $query="SELECT * FROM ".$TablePreFix."Posts"; + $result=mysql_query($query); + $num=mysql_num_rows($result); + $nums=$num-1; + $ReplyID=mysql_result($result,$nums,"id"); + $TopicID=$_GET['id']; + $PostID=$ReplyID+1; + $_GET['ForumID']=$_GET['ForumID']+0; + if ($_GET['QuoteID']!=null) { + $quote_query = mysql_query("SELECT * FROM ".$TablePreFix."Posts WHERE (ID=".$_GET['QuoteID'].")"); + $Quote = mysql_fetch_array($quote_query); + $result2 = mysql_query("SELECT * FROM ".$TablePreFix."Members"); + while ($row = mysql_fetch_array($result2, MYSQL_NUM)) { + $User1ID=$Quote['UserID']; + if ($row[0]==$User1ID) { + $User1Name = $row[1]; + $User1Email = $row[3]; + $User1Signature = $row[10]; + $User1Avatar = $row[11]; + $User1AvatarSize = $row[12]; + $User1Website = $row[13]; } } + $HTML1 = array("<(", ")>", '|"|', "
"); + $HTML2 = array("<", ">", '"', "[BR]"); + $AvatarSize=explode("x", $User1AvatarSize); + $AvatarSizeW=$AvatarSize[0]; + $AvatarSizeH=$AvatarSize[1]; + $Quote['Post'] = preg_replace("/\
\r\n\
\r\n\This post has been edited by \(.+?)\<\/b> on (.+?)\<\/span>/is", "", $Quote['Post']); + $Quote['Post'] = str_replace($HTML1, $HTML2, $Quote['Post']); + $Quote['Post'] = preg_replace("/\[QUOTE\=(.+?)\](.*?)\[\/QUOTE\]/is", "", $Quote['Post']); + $Quote['TimeStamp'] = GMTimeChange("F j, Y, g:i a",$Quote['TimeStamp'],$YourOffSet); + $QuoteReply = "[QUOTE=".$User1Name." @ ".$Quote['TimeStamp']."]".$Quote['Post']."[/QUOTE][BR]\r\n"; } + ?> + + + + \n".$lang2['the topic is closed']."
"; } } + if ($Groups['Can_make_replys']=="no") { + if ($_GET['act']=="Create") { + $_GET['act'] = "View"; + echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member to post']." ".$lang2['signup'].". ^_^
"; } } + if ($_GET['act']=="Send") { + if ($TopicStat==1) { + echo "".$lang2['please fix the errors']."
\n".$lang2['the topic is closed']."
"; } } + if ($Groups['Can_make_replys']=="no") { + if ($_GET['act']=="Send") { + $_GET['act'] = "View"; + echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member to post']." ".$lang2['signup'].". ^_^
"; } } + if ($_POST['YourPost']==null) { + if ($_GET['act']=="Send") { + $_GET['act'] = "View"; + echo "".$lang2['please fix the errors']."
\n".$lang2['you need to have a reply']."
"; + ?>"; } } + if ($_GET['act']=="Edit") { + if ($TopicStat==0) { + $topic_query2 = mysql_query("SELECT TopicName FROM ".$TablePreFix."Topics WHERE (ID=".$_GET['id'].") AND (CategoryID=".$_GET['CatID'].")"); + $Topic = mysql_fetch_array($topic_query2); + $query="SELECT * FROM ".$TablePreFix."Posts"; + $result=mysql_query($query); + $num=mysql_num_rows($result); + $TopicID=$_GET['id']; + $PostID=$num+1; + $ForumID=$_GET['ForumID']+0; + if ($_GET['EditID']!=null) { + $edit_query = mysql_query("SELECT * FROM ".$TablePreFix."Posts WHERE (ID=".$_GET['EditID'].")"); + $Edit = mysql_fetch_array($edit_query); + $result2 = mysql_query("SELECT * FROM ".$TablePreFix."Members"); + while ($row = mysql_fetch_array($result2, MYSQL_NUM)) { + $User1ID=$Edit['UserID']; + $ThisUserID = $_SESSION['UserID']; + if ($row[0]==$User1ID) { + $User1Name = $row[1]; + $User1Email = $row[3]; + $User1Signature = $row[10]; + $User1Avatar = $row[11]; + $User1AvatarSize = $row[12]; + $User1Website = $row[13]; } } } + $HTML1 = array("<(", ")>", '|"|', "
"); + $HTML2 = array("<", ">", '"', ""); + $AvatarSize=explode("x", $User1AvatarSize); + $AvatarSizeW=$AvatarSize[0]; + $AvatarSizeH=$AvatarSize[1]; + $Edit['Post'] = preg_replace("/\
\r\n\
\r\n\This post has been edited by \(.+?)\<\/b> on (.+?)\<\/span>/is", "", $Edit['Post']); + $Edit['Post'] = str_replace($HTML1, $HTML2, $Edit['Post']); + if ($User1ID!=$ThisUserID||$Groups['Can_edit_replys']=="no") { + $_GET['act'] = "View"; + echo "Please fix the following errors:
\nYou can not Edit this Reply. ^_^
"; + ?>
+ + + + + +
+ \ No newline at end of file diff --git a/Upgrade.php b/Upgrade.php index 7ee4d2e..9c117ef 100644 --- a/Upgrade.php +++ b/Upgrade.php @@ -1,34 +1,34 @@ -"; -$fp = fopen("Settings.php","w+"); -fwrite($fp, $BoardSettings); -fclose($fp); -echo ''; } +"; +$fp = fopen("Settings.php","w+"); +fwrite($fp, $BoardSettings); +fclose($fp); +echo ''; } ?> \ No newline at end of file diff --git a/UsersOnline.php b/UsersOnline.php index 17445c3..8d1138b 100644 --- a/UsersOnline.php +++ b/UsersOnline.php @@ -1,122 +1,122 @@ - - - - - - - -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -$YourUserID = $_SESSION['UserID']; -$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; -$result007=mysql_query($query007); -$PMNumber=mysql_num_rows($result007); -$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; -$results007=mysql_query($querys007); -$SentPMNumber=mysql_num_rows($results007); -/* Group Info Here */ -$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; -$results711=mysql_query($querys711); -$GroupNum1=mysql_num_rows($results711); -$GroupNum2=0; -while ($GroupNum2 < $GroupNum1) { -$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); -$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); -$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); -$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); -$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); -$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); -$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); -$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); -$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); -$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); -$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); -$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); -$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); -$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); -$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); -$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); -$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); -++$GroupNum2; } -?> - -
-
+ /index_12.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> */?> +*/?> + */?> + + + + + + + + +
| +
+ +
+ + + + + +
+
+ +
+ " />
+ +
+
+ +
+ + + + + + + +
+


+
+
+
+
+
+
+ +
+ + +
+
+
+ + +*/?> +
/index_08.png);"> */?> + +
*/?> + + + + + +
+ + +
+ +
+ ">
+ +
+
+ + +
+ +
+ + + + + +
+
+ +
+ +
+
+
+ + +*/?> +
/index_08.png);"> */?> + */?> + + + + + +
+ + +
+ +
+
+ +
+
+ +
+ + + + +
+
+ +
+ +
+
+
+ + +*/?> + \n".$lang2['the topic is closed']."
"; } } + if ($_GET['act']=="EditReply") { + if ($TopicStat==1) { + echo "".$lang2['please fix the errors']."
\n".$lang2['the topic is closed']."
"; } } + if ($Groups['Can_edit_replys']=="no"||$Groups['Can_make_replys']=="no") { + if ($_GET['act']=="EditReply") { + $_GET['act'] = "View"; + echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member to post']." ".$lang2['signup']."'. ^_^
"; } } + if ($Groups['Can_edit_replys']=="no"||$Groups['Can_make_replys']=="no") { + if ($_GET['act']=="EditReply") { + $_GET['act'] = "View"; + echo "".$lang2['please fix the errors']."
\n".$lang2['you need to be member to post']." ".$lang2['signup']."'. ^_^
"; } } + if ($_POST['YourPost']==null) { + if ($_GET['act']=="EditReply") { + $_GET['act'] = "View"; + echo "".$lang2['please fix the errors']."
\n".$lang2['you need a post']."
"; + ?>\n".$lang2['cant edit reply']."
"; + ?>\r\n
\r\nThis post has been edited by ".$_SESSION['MemberName']." on ".$PostEditTime.""; + $query="UPDATE ".$TablePreFix."Posts SET Post='".$YourPost."' WHERE ID=".$_POST['PostID'].""; + mysql_query($query); + $result = mysql_query("SELECT * FROM ".$TablePreFix."Members"); + while ($row = mysql_fetch_array($result, MYSQL_NUM)) { + if ($row[0]==$_SESSION['UserID']) { + $OldUserid=$row[0]; + $NewPostCount=$row[14]; } } + $NewUserIP = $_SERVER['REMOTE_ADDR']; + $NewLastActive = GMTimeSend(null); + $query="UPDATE ".$TablePreFix."Members SET LastActive='".$NewLastActive."',PostCount=".$NewPostCount.",IP='".$NewUserIP."' WHERE id=".$OldUserid.""; + mysql_query($query); + echo ""; } } +if ($_GET['act']=="View") { + if ($Number=="") { + echo ""; } } + ?>
/index_08.png);"> */?> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Topic Stats + How Many +
Forum Number
Topic Number
Number of Posts in Topic
Number of Tags
Number of Members
Number of PMs Sent
+
+
- - - - - - - - - - - - - - - - - - - - - - - - - -
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png"> 
- -
- -
- - - -
-
-
- -
/index_10.png"> 
- /index_11.png" WIDTH="720" HEIGHT="22" ALT="">
- /spacer.png" WIDTH="13" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="8" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="356" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="161" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="76" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="92" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="14" HEIGHT="1" ALT="">
-
+ + + + + + + +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +$YourUserID = $_SESSION['UserID']; +$query007="SELECT * FROM ".$TablePreFix."Messenger WHERE `PMSentID`=".$YourUserID." and `Read`=0"; +$result007=mysql_query($query007); +$PMNumber=mysql_num_rows($result007); +$querys007="SELECT * FROM ".$TablePreFix."Messenger WHERE (SenderID=$YourUserID)"; +$results007=mysql_query($querys007); +$SentPMNumber=mysql_num_rows($results007); +/* Group Info Here */ +$querys711="SELECT * FROM ".$TablePreFix."Groups WHERE Name='".$_SESSION['UserGroup']."'"; +$results711=mysql_query($querys711); +$GroupNum1=mysql_num_rows($results711); +$GroupNum2=0; +while ($GroupNum2 < $GroupNum1) { +$Groups['ID']=mysql_result($results711,$GroupNum2,"id"); +$Groups['Name']=mysql_result($results711,$GroupNum2,"Name"); +$Groups['Name_prefix']=mysql_result($results711,$GroupNum2,"Name_prefix"); +$Groups['Name_suffix']=mysql_result($results711,$GroupNum2,"Name_suffix"); +$Groups['View_board']=mysql_result($results711,$GroupNum2,"View_board"); +$Groups['Edit_profile']=mysql_result($results711,$GroupNum2,"Edit_profile"); +$Groups['Can_make_topics']=mysql_result($results711,$GroupNum2,"Can_make_topics"); +$Groups['Can_make_replys']=mysql_result($results711,$GroupNum2,"Can_make_replys"); +$Groups['Can_edit_replys']=mysql_result($results711,$GroupNum2,"Can_edit_replys"); +$Groups['Can_delete_replys']=mysql_result($results711,$GroupNum2,"Can_delete_replys"); +$Groups['Can_add_events']=mysql_result($results711,$GroupNum2,"Can_add_events"); +$Groups['Can_pm']=mysql_result($results711,$GroupNum2,"Can_pm"); +$Groups['Can_dohtml']=mysql_result($results711,$GroupNum2,"Can_dohtml"); +$Groups['Promote_to']=mysql_result($results711,$GroupNum2,"Promote_to"); +$Groups['Promote_posts']=mysql_result($results711,$GroupNum2,"Promote_posts"); +$Groups['Has_mod_cp']=mysql_result($results711,$GroupNum2,"Has_mod_cp"); +$Groups['Has_admin_cp']=mysql_result($results711,$GroupNum2,"Has_admin_cp"); +++$GroupNum2; } +?> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png"> 
+ +
+ +
+ + + +
+
+
+ +
/index_10.png"> 
+ /index_11.png" WIDTH="720" HEIGHT="22" ALT="">
+ /spacer.png" WIDTH="13" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="8" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="356" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="161" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="76" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="92" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="14" HEIGHT="1" ALT="">
+
\ No newline at end of file diff --git a/index.php b/index.php index c433f90..782b66f 100644 --- a/index.php +++ b/index.php @@ -1,343 +1,343 @@ - - - - - - - - - -<?php echo $BoardName?> <?php echo $lang['powered by df2k']; ?><?php echo $_SESSION['DF2kPreVer']; ?> - -<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['lo-fi version']; ?> <?php echo $lang['powered by df2k']; ?><?php echo $_SESSION['DF2kPreVer']; ?> -"; } -if ($_GET['Backwards']=="yes") { - echo "\n"; } -if ($_GET['Backwards']=="on") { - echo "\n"; } -if ($_GET['Backwards']!="on") { - echo "\n"; } -?> -\n\n"; - die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); -} -?> - - - - - - - - - - -'; } -if ($_GET['act']=="Stats") { - $_GET['act']="BoardStats"; } -if ($_GET['act']=="BoardStats") { - echo"".$BoardName." - Board Stats"; } -if ($_GET['act']=="View") { - ?> - - -
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> 
- - - -
\n".mysql_error(); -?>
- -
- -
- - -=1) { ?> -
- - - - - - - - -
- /index_12.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  - - - - - - - - - - - - - - - - - - - - - - - - =$num) { - $Next=$Show; } -$Back=$Show-5; -if ($Back<=0) { - $Back=0; } -if ($_GET['act']=="View") { -?> -
  
  
- -
-
-
- - -
- - - - - - - - -
-
-
- /index_12.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  - - - - - - -
Status
- - - - - -
- Board Status - - - - - - - - - - - -
Number of Topics:
Number of Replys:
Number of Members:
-
-
- - - - - - - -
-
+ + + + + + + + + +<?php echo $BoardName?> <?php echo $lang['powered by df2k']; ?><?php echo $_SESSION['DF2kPreVer']; ?> + +<?php echo $BoardName?> <?php echo $TitleLine ?> <?php echo $lang2['lo-fi version']; ?> <?php echo $lang['powered by df2k']; ?><?php echo $_SESSION['DF2kPreVer']; ?> +"; } +if ($_GET['Backwards']=="yes") { + echo "\n"; } +if ($_GET['Backwards']=="on") { + echo "\n"; } +if ($_GET['Backwards']!="on") { + echo "\n"; } +?> +\n\n"; + die("

403: Forbidden

\n

You cant view the board. <_<

\n\n"); +} +?> + + + + + + + + + + +'; } +if ($_GET['act']=="Stats") { + $_GET['act']="BoardStats"; } +if ($_GET['act']=="BoardStats") { + echo"".$BoardName." - Board Stats"; } +if ($_GET['act']=="View") { + ?> + + + \ No newline at end of file diff --git a/misc/Toggle.php b/misc/Toggle.php index c63907f..0443c75 100644 --- a/misc/Toggle.php +++ b/misc/Toggle.php @@ -1,75 +1,75 @@ - - \ No newline at end of file diff --git a/misc/banned.php b/misc/banned.php index b4f944b..8894aca 100644 --- a/misc/banned.php +++ b/misc/banned.php @@ -1,38 +1,38 @@ -".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; - exit(); } -$HTTP_USER_AGENT = preg_replace("/MSIE/isxS", "MSIE", $HTTP_USER_AGENT); -preg_match("/MSIE/isxS", $HTTP_USER_AGENT, $IE); -/*Ban IE Users -if($IE[0]=="MSIE"){ - $act="GetFireFox"; }*/ -//Ban Code Start -$banned_host = array(); -$banned_host[] = 'www.test.com'; -$banned_ip = array(); -$banned_ip[] = '66.99.246.226'; -$banned_ip[] = '24.11.131.86'; -foreach($banned_host as $bannedHost) { -$banned_ip[] = gethostbyname($bannedHost); } -$banned_id = array(); -$banned_id[] = ''; -$sid = session_id(); -foreach($banned_ip as $banned) { - if($_SERVER['HTTP_X_FORWARDED_FOR']) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } - else { $ip = $_SERVER['REMOTE_ADDR']; } - if($ip == $banned){ - echo " You are Banned From Here.




Your banned From Here!
The IP of: " . $_SERVER['REMOTE_ADDR']; - echo " is Banned From Here"; - exit(); - } } -foreach($banned_id as $banned) { - if($sid == $banned_id){ - echo " You are Banned From Here.




Your banned From Here!
The ID of: " . session_id(); - echo " is Banned From Here"; - exit(); - } } +".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; + exit(); } +$HTTP_USER_AGENT = preg_replace("/MSIE/isxS", "MSIE", $HTTP_USER_AGENT); +preg_match("/MSIE/isxS", $HTTP_USER_AGENT, $IE); +/*Ban IE Users +if($IE[0]=="MSIE"){ + $act="GetFireFox"; }*/ +//Ban Code Start +$banned_host = array(); +$banned_host[] = 'www.test.com'; +$banned_ip = array(); +$banned_ip[] = '66.99.246.226'; +$banned_ip[] = '24.11.131.86'; +foreach($banned_host as $bannedHost) { +$banned_ip[] = gethostbyname($bannedHost); } +$banned_id = array(); +$banned_id[] = ''; +$sid = session_id(); +foreach($banned_ip as $banned) { + if($_SERVER['HTTP_X_FORWARDED_FOR']) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } + else { $ip = $_SERVER['REMOTE_ADDR']; } + if($ip == $banned){ + echo " You are Banned From Here.




Your banned From Here!
The IP of: " . $_SERVER['REMOTE_ADDR']; + echo " is Banned From Here"; + exit(); + } } +foreach($banned_id as $banned) { + if($sid == $banned_id){ + echo " You are Banned From Here.




Your banned From Here!
The ID of: " . session_id(); + echo " is Banned From Here"; + exit(); + } } ?> \ No newline at end of file diff --git a/misc/index.php b/misc/index.php index 3fc51b6..814aedc 100644 --- a/misc/index.php +++ b/misc/index.php @@ -1,63 +1,63 @@ - -> - - -"> - - -"> - - - - - - -\r\n"; -echo "@import url(../Skin/Skin1/CSS.php);\r\n"; -//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; -echo "\n\r".$BoardName." ".$TitleLine." 403: Forbidden\n\r"; } -if ($_GET['Backwards']=="Yes") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']=="yes") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']=="on") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']!="on") { - echo "\n\r\n\r"; } -?> -

403: Forbidden

-

You Have to Go Back.

- + +> + + +"> + + +"> + + + + + + +\r\n"; +echo "@import url(../Skin/Skin1/CSS.php);\r\n"; +//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; +echo "\n\r".$BoardName." ".$TitleLine." 403: Forbidden\n\r"; } +if ($_GET['Backwards']=="Yes") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']=="yes") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']=="on") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']!="on") { + echo "\n\r\n\r"; } +?> +

403: Forbidden

+

You Have to Go Back.

+ \ No newline at end of file diff --git a/smiles/index.php b/smiles/index.php index 3fc51b6..814aedc 100644 --- a/smiles/index.php +++ b/smiles/index.php @@ -1,63 +1,63 @@ - -> - - -"> - - -"> - - - - - - -\r\n"; -echo "@import url(../Skin/Skin1/CSS.php);\r\n"; -//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; -echo "\n\r".$BoardName." ".$TitleLine." 403: Forbidden\n\r"; } -if ($_GET['Backwards']=="Yes") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']=="yes") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']=="on") { - echo "\n\r\n\r"; } -if ($_GET['Backwards']!="on") { - echo "\n\r\n\r"; } -?> -

403: Forbidden

-

You Have to Go Back.

- + +> + + +"> + + +"> + + + + + + +\r\n"; +echo "@import url(../Skin/Skin1/CSS.php);\r\n"; +//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; +echo "\n\r".$BoardName." ".$TitleLine." 403: Forbidden\n\r"; } +if ($_GET['Backwards']=="Yes") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']=="yes") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']=="on") { + echo "\n\r\n\r"; } +if ($_GET['Backwards']!="on") { + echo "\n\r\n\r"; } +?> +

403: Forbidden

+

You Have to Go Back.

+ \ No newline at end of file
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);" class="navbar"> / / / () / / / / / / "> / / / /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> 
+ + + +
\n".mysql_error(); +?>
+ +
+ +
+ + +=1) { ?> +
+ + + + + + + + +
+ /index_12.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  + + + + + + + + + + + + + + + + + + + + + + + + =$num) { + $Next=$Show; } +$Back=$Show-5; +if ($Back<=0) { + $Back=0; } +if ($_GET['act']=="View") { +?> +
  
  
+ +
+
+
+ + +
+ + + + + + + + +
+
+
+ /index_12.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);">  + + + + + + +
Status
+ + + + + +
+ Board Status + + + + + + + + + + + +
Number of Topics:
Number of Replys:
Number of Members:
+
+
+ + + + + + + +
+
\ No newline at end of file diff --git a/install.php b/install.php index 3ea82b2..b99e872 100644 --- a/install.php +++ b/install.php @@ -1,210 +1,210 @@ -<?php echo $lang2['instaling df2k']; ?> <?php echo $_SESSION['DF2kPreVer']; ?> -
<?php echo $lang2['instaling df2k']; ?> Alpha 1

- - - - - - - - - - - - - - - - - - - - - - - - - - -
- /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);"> /index_06.png);">
- /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> 
-
-
- - - - -

-
-


-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -

-
-
-
-
/index_10.png);"> 
- /index_11.png" WIDTH="720" HEIGHT="22" ALT="">
- /spacer.png" WIDTH="13" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="8" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="356" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="161" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="76" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="92" HEIGHT="1" ALT=""> - /spacer.png" WIDTH="14" HEIGHT="1" ALT="">
\r\nHere are other BBCodes You Can Use
\r\n[B]Text[/B]
\r\n[I]Text[/I]
\r\n[U]Text[/U]
\r\n[S]Text[/S]
\r\n[H1]Text[/H1]
\r\n[H6]Text[/H6]
\r\n[URL=URL Here]Website Name[/URL]
\r\n[EMAIL=Your Email]Yourr Email[/H6]
\r\n[CODE]Code Here[/CODE]
\r\n[PHP]PHP Code here[/PHP]
\r\n[HTML]HTML Code Here[/HTML]
\r\n[SQL]SQL Code here[/SQL]
\r\n[QUOTE]Your QUOTE here[/QUOTE]
\r\n[QUOTE=UserName to QUOTE]Your QUOTE here[/QUOTE]
')"; -$result = mysql_query($query); -$query = "INSERT INTO ".$_POST['tableprefix']."Help VALUES (4,'How to Use Smiles.', 'To Use Smiles Put in :) is \"Happy\" or :D is \"Biggrin\"
\r\n
Smile List
\r\n^_^ is \"Happy\"
\r\n;) is \"Wink\"
\r\n:P is \"Tongue\"
\r\n:D is \"Biggrin\"
\r\n:lol: is \"lol\"
\r\nB) is \"Cool\"
\r\n-_- is \"Sleep\"
\r\n:) is \"Happy\"
\r\n:( is \"Sad\"
\r\n:angry: is \"Angry\"
\r\n:huh: is \"huh\"
\r\n:o is \"ohmy\"
\r\n:rolleyes: is \"Rolleyes\"
\r\n:unsure: is \"Unsure\"
\r\n:blink: is \"Blink\"
\r\n:ph34r: is \"Ph34r\"
\r\n:blush: is \"Blush\"
\r\n:closedeyes: is \"Closedeyes\"
\r\n:excl: is \"Excl\"
\r\n:glare: is \"Glare\"
\r\n:mellow: is \"Mellow\"
\r\n:ninja: is \"Ninja\"
\r\n:wacko: is \"Wacko\"
\r\n:wub: is \"Love\"
\r\n:dry: is \"Mad\"
\r\n:mad: is \"Mad\"
\r\n')"; -$result = mysql_query($query); -//DROP TABLE `DF2k_Categorys`; DROP TABLE `DF2k_Events`; DROP TABLE `DF2k_Help`; DROP TABLE `DF2k_Forums`; DROP TABLE `DF2k_Members`; DROP TABLE `DF2k_Messenger`; DROP TABLE `DF2k_Posts`; DROP TABLE `DF2k_Sessions`; DROP TABLE `DF2k_Smiles`; DROP TABLE `DF2k_TagBoard`; DROP TABLE `DF2k_Topics`; DROP TABLE `DF2k_UserOnline`; -$query = "INSERT INTO ".$_POST['tableprefix']."Categorys VALUES (1,'Main','Yes',0,'The Main Category.')"; -$result = mysql_query($query); -$MyDay = GMTimeGet("d",$YourOffSet); -$MyMonth = GMTimeGet("m",$YourOffSet); -$MyYear = GMTimeGet("Y",$YourOffSet); -$MyYear10 = $MyYear+10; -$query = "INSERT INTO ".$_POST['tableprefix']."Events VALUES (1, 1, 'Opening', 'This is the day the Board was made. ^_^', $MyMonth, $MyMonth, $MyDay, $MyDay, $MyYear, $MyYear10)"; -$result = mysql_query($query); -$query = "INSERT INTO ".$_POST['tableprefix']."Forums VALUES (-1,1,'-1 Forum','No','Forum',0,'This is The Forum With a ID of -1.')"; -$result = mysql_query($query); -$query = "INSERT INTO ".$_POST['tableprefix']."Forums VALUES (1,1,'Test/Spam','Yes','Forum',0,'A Test Board.')"; -$result = mysql_query($query); -$query = "INSERT INTO ".$_POST['tableprefix']."Topics VALUES (1,1,1,2,'Cool Dude 2k',$YourDate,$YourDate,'Welcome',1,1)"; -$result = mysql_query($query); -$query = "INSERT INTO ".$_POST['tableprefix']."Posts VALUES (1,1,1,1,2,'Cool Dude 2k',$YourDate,'Welcome to Your Message Board. :) ','127.0.0.1')"; -$result = mysql_query($query); -$NewPassword = sha1(md5($_POST['AdminPasswords'])); -$Name = stripcslashes(htmlentities($AdminUser, ENT_QUOTES)); -$YourWebsite = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/index.php?act=View"; -$UserIP = $_SERVER['REMOTE_ADDR']; -$PostCount = 2; -$Email = "admin@".$_SERVER['HTTP_HOST']; -$AdminTime=SeverOffSet(null); -$query = "INSERT INTO ".$_POST['tableprefix']."Members VALUES (1,'".$_POST['AdminUser']."','".$NewPassword."','".$Email."','Admin',0,'".$Interests."','Admin',".$YourDate.",".$YourDate.",'".$NewSignature."','".$Avatar."','100x100','".$YourWebsite."',0,'".$AdminTime."','".$UserIP."')"; -$result = mysql_query($query); -$GEmail = "Guest@".$_SERVER['HTTP_HOST']; -$query = "INSERT INTO ".$_POST['tableprefix']."Members VALUES (2,'Guest','".sha1(md5('Guest'))."','".$GEmail."','Guest',0,'Guest Account','Guest',".$YourDate.",".$YourDate.",'[B]Test[/B]','http://','100x100','http://".$_SERVER['HTTP_HOST']."',".rand(-50,50).",'".$AdminTime."','127.0.0.1')"; -$result = mysql_query($query); -$MyInterests = "Playing Games, and Makeing Games, walching The Simpsons, Anime and Reading Anime and manga, php, html and Doing Other Cool Things, Making Discussion Forums 2k, and Tag Boards 2k, I love Renee Sabonis, and FireFox or Mozilla."; -$result = mysql_query($query); -$query = "INSERT INTO ".$_POST['tableprefix']."Messenger VALUES (1,2,1,'Test','Thuis is a Test PM. :P ',".$YourDate.",0)"; -$result = mysql_query($query); -$CHMOD = $_SERVER['PHP_SELF']; -$url_this_dir = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/index.php?act=View"; -$YourIP = $_SERVER['REMOTE_ADDR']; -//chmod($CHMOD, 0600); -//chmod("install.php",0600); -//echo ""; -$BoardSettings=""; -$fp = fopen("./Settings.php","w+"); -fwrite($fp, $BoardSettings); -fclose($fp); -$_SESSION['MemberName']=$_POST['AdminUser']; -$_SESSION['UserID']=1; -$_SESSION['UserGroup']=Admin; -$_SESSION['UserTimeZone']=$AdminTime; -echo ''; -$status = explode(' ', mysql_stat($StatSQL)); -mysql_close(); } -/*if ($_GET['act']!="Uninstall_Board") { - $StatSQL = mysql_connect($_POST['DatabaseHost'],$_POST['DatabaseUserName'],$_POST['DatabasePassword']); - @mysql_select_db($_POST['DatabaseName']) or die( "Unable to select database"); - if ($Settings['sql_tableprefix']==null) { - $Settings['sql_tableprefix']=$_POST['tableprefix']; } - $_POST['tableprefix']=$Settings['sql_tableprefix']; - $query="DROP TABLE `".$_POST['tableprefix']."Categorys` ,`".$_POST['tableprefix']."Forums` ,`".$_POST['tableprefix']."Help` ,`".$_POST['tableprefix']."Members` ,`".$_POST['tableprefix']."Messenger` ,`".$_POST['tableprefix']."Posts` ,`".$_POST['tableprefix']."Smiles` ,`".$_POST['tableprefix']."TagBoard` ,`".$_POST['tableprefix']."Topics` ,`".$_POST['tableprefix']."UserOnline`"; - $result=mysql_query($query); }*/ +<?php echo $lang2['instaling df2k']; ?> <?php echo $_SESSION['DF2kPreVer']; ?> +
<?php echo $lang2['instaling df2k']; ?> Alpha 1

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ /index_04.png" WIDTH="21" HEIGHT="21" ALT="">/index_05.png);"> /index_06.png);">
+ /index_07.png" WIDTH="720" HEIGHT="24" ALT="">
/index_08.png);"> 
+
+
+ + + + +

+
+


+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +

+
+
+
+
/index_10.png);"> 
+ /index_11.png" WIDTH="720" HEIGHT="22" ALT="">
+ /spacer.png" WIDTH="13" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="8" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="356" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="161" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="76" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="92" HEIGHT="1" ALT=""> + /spacer.png" WIDTH="14" HEIGHT="1" ALT="">
\r\nHere are other BBCodes You Can Use
\r\n[B]Text[/B]
\r\n[I]Text[/I]
\r\n[U]Text[/U]
\r\n[S]Text[/S]
\r\n[H1]Text[/H1]
\r\n[H6]Text[/H6]
\r\n[URL=URL Here]Website Name[/URL]
\r\n[EMAIL=Your Email]Yourr Email[/H6]
\r\n[CODE]Code Here[/CODE]
\r\n[PHP]PHP Code here[/PHP]
\r\n[HTML]HTML Code Here[/HTML]
\r\n[SQL]SQL Code here[/SQL]
\r\n[QUOTE]Your QUOTE here[/QUOTE]
\r\n[QUOTE=UserName to QUOTE]Your QUOTE here[/QUOTE]
')"; +$result = mysql_query($query); +$query = "INSERT INTO ".$_POST['tableprefix']."Help VALUES (4,'How to Use Smiles.', 'To Use Smiles Put in :) is \"Happy\" or :D is \"Biggrin\"
\r\n
Smile List
\r\n^_^ is \"Happy\"
\r\n;) is \"Wink\"
\r\n:P is \"Tongue\"
\r\n:D is \"Biggrin\"
\r\n:lol: is \"lol\"
\r\nB) is \"Cool\"
\r\n-_- is \"Sleep\"
\r\n:) is \"Happy\"
\r\n:( is \"Sad\"
\r\n:angry: is \"Angry\"
\r\n:huh: is \"huh\"
\r\n:o is \"ohmy\"
\r\n:rolleyes: is \"Rolleyes\"
\r\n:unsure: is \"Unsure\"
\r\n:blink: is \"Blink\"
\r\n:ph34r: is \"Ph34r\"
\r\n:blush: is \"Blush\"
\r\n:closedeyes: is \"Closedeyes\"
\r\n:excl: is \"Excl\"
\r\n:glare: is \"Glare\"
\r\n:mellow: is \"Mellow\"
\r\n:ninja: is \"Ninja\"
\r\n:wacko: is \"Wacko\"
\r\n:wub: is \"Love\"
\r\n:dry: is \"Mad\"
\r\n:mad: is \"Mad\"
\r\n')"; +$result = mysql_query($query); +//DROP TABLE `DF2k_Categorys`; DROP TABLE `DF2k_Events`; DROP TABLE `DF2k_Help`; DROP TABLE `DF2k_Forums`; DROP TABLE `DF2k_Members`; DROP TABLE `DF2k_Messenger`; DROP TABLE `DF2k_Posts`; DROP TABLE `DF2k_Sessions`; DROP TABLE `DF2k_Smiles`; DROP TABLE `DF2k_TagBoard`; DROP TABLE `DF2k_Topics`; DROP TABLE `DF2k_UserOnline`; +$query = "INSERT INTO ".$_POST['tableprefix']."Categorys VALUES (1,'Main','Yes',0,'The Main Category.')"; +$result = mysql_query($query); +$MyDay = GMTimeGet("d",$YourOffSet); +$MyMonth = GMTimeGet("m",$YourOffSet); +$MyYear = GMTimeGet("Y",$YourOffSet); +$MyYear10 = $MyYear+10; +$query = "INSERT INTO ".$_POST['tableprefix']."Events VALUES (1, 1, 'Opening', 'This is the day the Board was made. ^_^', $MyMonth, $MyMonth, $MyDay, $MyDay, $MyYear, $MyYear10)"; +$result = mysql_query($query); +$query = "INSERT INTO ".$_POST['tableprefix']."Forums VALUES (-1,1,'-1 Forum','No','Forum',0,'This is The Forum With a ID of -1.')"; +$result = mysql_query($query); +$query = "INSERT INTO ".$_POST['tableprefix']."Forums VALUES (1,1,'Test/Spam','Yes','Forum',0,'A Test Board.')"; +$result = mysql_query($query); +$query = "INSERT INTO ".$_POST['tableprefix']."Topics VALUES (1,1,1,2,'Cool Dude 2k',$YourDate,$YourDate,'Welcome',1,1)"; +$result = mysql_query($query); +$query = "INSERT INTO ".$_POST['tableprefix']."Posts VALUES (1,1,1,1,2,'Cool Dude 2k',$YourDate,'Welcome to Your Message Board. :) ','127.0.0.1')"; +$result = mysql_query($query); +$NewPassword = sha1(md5($_POST['AdminPasswords'])); +$Name = stripcslashes(htmlentities($AdminUser, ENT_QUOTES)); +$YourWebsite = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/index.php?act=View"; +$UserIP = $_SERVER['REMOTE_ADDR']; +$PostCount = 2; +$Email = "admin@".$_SERVER['HTTP_HOST']; +$AdminTime=SeverOffSet(null); +$query = "INSERT INTO ".$_POST['tableprefix']."Members VALUES (1,'".$_POST['AdminUser']."','".$NewPassword."','".$Email."','Admin',0,'".$Interests."','Admin',".$YourDate.",".$YourDate.",'".$NewSignature."','".$Avatar."','100x100','".$YourWebsite."',0,'".$AdminTime."','".$UserIP."')"; +$result = mysql_query($query); +$GEmail = "Guest@".$_SERVER['HTTP_HOST']; +$query = "INSERT INTO ".$_POST['tableprefix']."Members VALUES (2,'Guest','".sha1(md5('Guest'))."','".$GEmail."','Guest',0,'Guest Account','Guest',".$YourDate.",".$YourDate.",'[B]Test[/B]','http://','100x100','http://".$_SERVER['HTTP_HOST']."',".rand(-50,50).",'".$AdminTime."','127.0.0.1')"; +$result = mysql_query($query); +$MyInterests = "Playing Games, and Makeing Games, walching The Simpsons, Anime and Reading Anime and manga, php, html and Doing Other Cool Things, Making Discussion Forums 2k, and Tag Boards 2k, I love Renee Sabonis, and FireFox or Mozilla."; +$result = mysql_query($query); +$query = "INSERT INTO ".$_POST['tableprefix']."Messenger VALUES (1,2,1,'Test','Thuis is a Test PM. :P ',".$YourDate.",0)"; +$result = mysql_query($query); +$CHMOD = $_SERVER['PHP_SELF']; +$url_this_dir = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/index.php?act=View"; +$YourIP = $_SERVER['REMOTE_ADDR']; +//chmod($CHMOD, 0600); +//chmod("install.php",0600); +//echo ""; +$BoardSettings=""; +$fp = fopen("./Settings.php","w+"); +fwrite($fp, $BoardSettings); +fclose($fp); +$_SESSION['MemberName']=$_POST['AdminUser']; +$_SESSION['UserID']=1; +$_SESSION['UserGroup']=Admin; +$_SESSION['UserTimeZone']=$AdminTime; +echo ''; +$status = explode(' ', mysql_stat($StatSQL)); +mysql_close(); } +/*if ($_GET['act']!="Uninstall_Board") { + $StatSQL = mysql_connect($_POST['DatabaseHost'],$_POST['DatabaseUserName'],$_POST['DatabasePassword']); + @mysql_select_db($_POST['DatabaseName']) or die( "Unable to select database"); + if ($Settings['sql_tableprefix']==null) { + $Settings['sql_tableprefix']=$_POST['tableprefix']; } + $_POST['tableprefix']=$Settings['sql_tableprefix']; + $query="DROP TABLE `".$_POST['tableprefix']."Categorys` ,`".$_POST['tableprefix']."Forums` ,`".$_POST['tableprefix']."Help` ,`".$_POST['tableprefix']."Members` ,`".$_POST['tableprefix']."Messenger` ,`".$_POST['tableprefix']."Posts` ,`".$_POST['tableprefix']."Smiles` ,`".$_POST['tableprefix']."TagBoard` ,`".$_POST['tableprefix']."Topics` ,`".$_POST['tableprefix']."UserOnline`"; + $result=mysql_query($query); }*/ ?> \ No newline at end of file diff --git a/lang/en/Calendar.php b/lang/en/Calendar.php index 96903a8..27e8c82 100644 --- a/lang/en/Calendar.php +++ b/lang/en/Calendar.php @@ -1,40 +1,40 @@ - 'Viewing Calendar', -'sunday' => 'Sunday', -'monday' => 'Monday', -'tuesday' => 'Tuesday', -'wednesday' => 'Wednesday', -'thursday' => 'Thursday', -'friday' => 'Friday', -'saturday' => 'Saturday', -'mouse over day' => 'The Mouse is Over Day', -'highligt day' => 'Highligt Day', -'today is' => 'Today is the', -'day' => 'Day', -'is highligted' => 'is Highligted' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'tools' => 'Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); + 'Viewing Calendar', +'sunday' => 'Sunday', +'monday' => 'Monday', +'tuesday' => 'Tuesday', +'wednesday' => 'Wednesday', +'thursday' => 'Thursday', +'friday' => 'Friday', +'saturday' => 'Saturday', +'mouse over day' => 'The Mouse is Over Day', +'highligt day' => 'Highligt Day', +'today is' => 'Today is the', +'day' => 'Day', +'is highligted' => 'is Highligted' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'tools' => 'Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); ?> \ No newline at end of file diff --git a/lang/en/Category.php b/lang/en/Category.php index ce8098c..2bd3ac5 100644 --- a/lang/en/Category.php +++ b/lang/en/Category.php @@ -1,45 +1,45 @@ - 'Viewing Forums in', -'categorys' => 'Categorys', -'making topic' => 'Making a Topic in', -'forum name' => 'Forum Name', -'forum description' => 'Forum Description', -'no forum/subforums' => 'There Are No Forum/SubForums Here.', -'off line' => 'The Board is Off Line Right Now.', -'subforum name' => 'SubForum Name', -'subforum description' => 'SubForum Description' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'category tools' => 'Category Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new Category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'insert id number for category' => 'Insert a ID Number for Category:', -'insert name for category' => 'Insert a Name for Category:', -'should category be visible' => 'Should Category be visible:', -'keep old' => 'Keep Old', -'yes' => 'Yes', -'no' => 'No', -'category should be in' => 'Category Should be in', -'subforum number use' => 'SubForum Number(Use 0 to Put in Board index.):', -'insert description about category' => 'Insert a Description about this Category:', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'create category' => 'Create Category', -'please the errors' => 'Please fix the following errors:', -'you need id number' => 'You need to put in a ID Number. ^_^', -'you need category name' => 'You need to put in a Category Name. ^_^', -'you need description about category' => 'You need to put in a Description about the Category. ^_^', -'you need new id number' => 'You need to pick a new ID Number. ^_^' -); + 'Viewing Forums in', +'categorys' => 'Categorys', +'making topic' => 'Making a Topic in', +'forum name' => 'Forum Name', +'forum description' => 'Forum Description', +'no forum/subforums' => 'There Are No Forum/SubForums Here.', +'off line' => 'The Board is Off Line Right Now.', +'subforum name' => 'SubForum Name', +'subforum description' => 'SubForum Description' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'category tools' => 'Category Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new Category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'insert id number for category' => 'Insert a ID Number for Category:', +'insert name for category' => 'Insert a Name for Category:', +'should category be visible' => 'Should Category be visible:', +'keep old' => 'Keep Old', +'yes' => 'Yes', +'no' => 'No', +'category should be in' => 'Category Should be in', +'subforum number use' => 'SubForum Number(Use 0 to Put in Board index.):', +'insert description about category' => 'Insert a Description about this Category:', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'create category' => 'Create Category', +'please the errors' => 'Please fix the following errors:', +'you need id number' => 'You need to put in a ID Number. ^_^', +'you need category name' => 'You need to put in a Category Name. ^_^', +'you need description about category' => 'You need to put in a Description about the Category. ^_^', +'you need new id number' => 'You need to pick a new ID Number. ^_^' +); ?> \ No newline at end of file diff --git a/lang/en/Event.php b/lang/en/Event.php index c3ab583..96274d0 100644 --- a/lang/en/Event.php +++ b/lang/en/Event.php @@ -1,97 +1,97 @@ - 'Viewing All Events', -'creating new event' => 'Creating a New Event', -'sending new event' => 'Creating/Sending a New Event', -'viewing event' => 'Viewing Event', -'event names' => 'Event Names', -'cant make event' => 'You Cant make a Event.', -'insert name for event' => 'Insert a Name for Event:', -'insert start mouth for event' => 'Insert a Mouth for Event to Start:', -'insert end mouth for event' => 'Insert a Mouth for Event to End:', -'insert start day for event' => 'Insert a Day for Event to Start:', -'insert end day for event' => 'Insert a Day for Event to End:', -'insert start year for event' => 'Insert a Year for Event to Start:', -'insert end year for event' => 'Insert a Year for Event to End:', -'insert description for event' => 'Insert a Description about this Event:', -'add event' => 'Add Event', -'please fix the errors' => 'Please fix the following errors: ', -'you need a name' => 'You need to put in a Name. ^_^', -'you need to put a mouth' => 'You need to put in a Mouth. ^_^', -'mouth is too big/small' => 'The Mouth is too big/small. ^_^', -'you need to put a end mouth' => 'You need to put in a End Mouth. ^_^', -'end mouth is too big/small' => 'The End Mouth is too big/small. ^_^', -'end mouth is too small' => 'The End Mouth is too small. ^_^', -'you need to put a day' => 'You need to put in a Day. ^_^', -'day is too big/small' => 'The Day is too big/small. ^_^', -'you need to put a end day' => 'You need to put in a End Day. ^_^', -'end day is too big/small' => 'The End Day is too big/small. ^_^', -'end day is too small' => 'The End Day is too small. ^_^', -'you need to put a year' => 'You need to put in a Year. ^_^', -'year is too big/small' => 'The Year is too big/small. ^_^', -'you need to put a end year' => 'You need to put in a End Year. ^_^', -'end year is too big/small' => 'The End Year is too big/small. ^_^', -'end year is too small' => 'The End Year is too small. ^_^', -'you need a description' => 'You need to put in a Description. ^_^', -'event title' => 'Event Title:', -'user info' => 'User Info', -'users name' => 'Users Name:', -'WWW' => 'WWW', -'website' => 'Website', -'email' => 'Email', -'goto' => 'Goto', -'reset' => 'Reset', -'pm' => 'PM' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'event file tools' => 'Event File Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'edit event file' => 'Edit Event File', -'delete event file' => 'Delete Event File', -'new event file' => 'New Event File', -'insert id number for event' => 'Insert a ID Number for Event:', -'insert name for event' => 'Insert a Name for Event:', -'insert mouth for event start' => 'Insert a Mouth for Event to Start:', -'insert mouth for event end' => 'Insert a Mouth for Event to End:', -'insert day for event start' => 'Insert a Day for Event to Start:', -'insert day for event end' => 'Insert a Day for Event to End:', -'insert year for event start' => 'Insert a Year for Event to Start:', -'insert year for event end' => 'Insert a Year for Event to End:', -'insert description about event' => 'Insert a Description about this Event:', -'add event' => 'Add Event', -'please fix the errors' => 'Please fix the following errors:', -'you need to be admin' => 'You need to be a Admin to use this. ^_^', -'you need to put name' => 'You need to put in a Name. ^_^', -'contact' => 'Contact', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'you need to put a mouth' => 'You need to put in a Mouth. ^_^', -'mouth is too big/small' => 'The Mouth is too big/small. ^_^', -'you need to put a end mouth' => 'You need to put in a End Mouth. ^_^', -'end mouth is too big/small' => 'The End Mouth is too big/small. ^_^', -'end mouth is too small' => 'The End Mouth is too small. ^_^', -'you need to put a day' => 'You need to put in a Day. ^_^', -'day is too big/small' => 'The Day is too big/small. ^_^', -'you need to put a end day' => 'You need to put in a End Day. ^_^', -'end day is too big/small' => 'The End Day is too big/small. ^_^', -'end day is too small' => 'The End Day is too small. ^_^', -'you need to put a year' => 'You need to put in a Year. ^_^', -'year is too big/small' => 'The Year is too big/small. ^_^', -'you need to put a end year' => 'You need to put in a End Year. ^_^', -'end year is too big/small' => 'The End Year is too big/small. ^_^', -'end year is too small' => 'The End Year is too small. ^_^', -'you need a description' => 'You need to put in a Description. ^_^', -'create event' => 'Create Event' -); + 'Viewing All Events', +'creating new event' => 'Creating a New Event', +'sending new event' => 'Creating/Sending a New Event', +'viewing event' => 'Viewing Event', +'event names' => 'Event Names', +'cant make event' => 'You Cant make a Event.', +'insert name for event' => 'Insert a Name for Event:', +'insert start mouth for event' => 'Insert a Mouth for Event to Start:', +'insert end mouth for event' => 'Insert a Mouth for Event to End:', +'insert start day for event' => 'Insert a Day for Event to Start:', +'insert end day for event' => 'Insert a Day for Event to End:', +'insert start year for event' => 'Insert a Year for Event to Start:', +'insert end year for event' => 'Insert a Year for Event to End:', +'insert description for event' => 'Insert a Description about this Event:', +'add event' => 'Add Event', +'please fix the errors' => 'Please fix the following errors: ', +'you need a name' => 'You need to put in a Name. ^_^', +'you need to put a mouth' => 'You need to put in a Mouth. ^_^', +'mouth is too big/small' => 'The Mouth is too big/small. ^_^', +'you need to put a end mouth' => 'You need to put in a End Mouth. ^_^', +'end mouth is too big/small' => 'The End Mouth is too big/small. ^_^', +'end mouth is too small' => 'The End Mouth is too small. ^_^', +'you need to put a day' => 'You need to put in a Day. ^_^', +'day is too big/small' => 'The Day is too big/small. ^_^', +'you need to put a end day' => 'You need to put in a End Day. ^_^', +'end day is too big/small' => 'The End Day is too big/small. ^_^', +'end day is too small' => 'The End Day is too small. ^_^', +'you need to put a year' => 'You need to put in a Year. ^_^', +'year is too big/small' => 'The Year is too big/small. ^_^', +'you need to put a end year' => 'You need to put in a End Year. ^_^', +'end year is too big/small' => 'The End Year is too big/small. ^_^', +'end year is too small' => 'The End Year is too small. ^_^', +'you need a description' => 'You need to put in a Description. ^_^', +'event title' => 'Event Title:', +'user info' => 'User Info', +'users name' => 'Users Name:', +'WWW' => 'WWW', +'website' => 'Website', +'email' => 'Email', +'goto' => 'Goto', +'reset' => 'Reset', +'pm' => 'PM' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'event file tools' => 'Event File Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'edit event file' => 'Edit Event File', +'delete event file' => 'Delete Event File', +'new event file' => 'New Event File', +'insert id number for event' => 'Insert a ID Number for Event:', +'insert name for event' => 'Insert a Name for Event:', +'insert mouth for event start' => 'Insert a Mouth for Event to Start:', +'insert mouth for event end' => 'Insert a Mouth for Event to End:', +'insert day for event start' => 'Insert a Day for Event to Start:', +'insert day for event end' => 'Insert a Day for Event to End:', +'insert year for event start' => 'Insert a Year for Event to Start:', +'insert year for event end' => 'Insert a Year for Event to End:', +'insert description about event' => 'Insert a Description about this Event:', +'add event' => 'Add Event', +'please fix the errors' => 'Please fix the following errors:', +'you need to be admin' => 'You need to be a Admin to use this. ^_^', +'you need to put name' => 'You need to put in a Name. ^_^', +'contact' => 'Contact', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'you need to put a mouth' => 'You need to put in a Mouth. ^_^', +'mouth is too big/small' => 'The Mouth is too big/small. ^_^', +'you need to put a end mouth' => 'You need to put in a End Mouth. ^_^', +'end mouth is too big/small' => 'The End Mouth is too big/small. ^_^', +'end mouth is too small' => 'The End Mouth is too small. ^_^', +'you need to put a day' => 'You need to put in a Day. ^_^', +'day is too big/small' => 'The Day is too big/small. ^_^', +'you need to put a end day' => 'You need to put in a End Day. ^_^', +'end day is too big/small' => 'The End Day is too big/small. ^_^', +'end day is too small' => 'The End Day is too small. ^_^', +'you need to put a year' => 'You need to put in a Year. ^_^', +'year is too big/small' => 'The Year is too big/small. ^_^', +'you need to put a end year' => 'You need to put in a End Year. ^_^', +'end year is too big/small' => 'The End Year is too big/small. ^_^', +'end year is too small' => 'The End Year is too small. ^_^', +'you need a description' => 'You need to put in a Description. ^_^', +'create event' => 'Create Event' +); ?> \ No newline at end of file diff --git a/lang/en/Forum.php b/lang/en/Forum.php index 86b5c42..8b27793 100644 --- a/lang/en/Forum.php +++ b/lang/en/Forum.php @@ -1,80 +1,80 @@ - 'Viewing', -'lo-fi version' => 'Lo-Fi Version', -'forum' => 'Forum', -'making topic in' => 'Making a Topic in', -'topics' => 'Topics', -'time created' => 'Time Created', -'created by' => 'Created by', -'replys' => 'Replies', -'topic created by' => 'Topic Created By', -'at' => 'at', -'topic created on' => 'This Topic was Created on', -'view users profile' => 'View User\'s Profile', -'replys in' => 'Replies in', -'create new topic' => 'Create a New Topic', -'there are no replys' => 'There are 0 Replies in Create a New Topic', -'your name' => 'Your Name:', -'topic name' => 'Topic Name:', -'your post' => 'Your Post:', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'dont pin topic' => 'Don\'t Pin Topic', -'pin topic' => 'Pin Topic', -'dont close topic' => 'Don\'t Close Topic', -'close topic' => 'Close Topic', -'your last reply' => 'Your Last Reply Was:', -'post topic' => 'Post Topic', -'reset topic' => 'Reset Topic', -'please the errors' => 'Please fix the following errors:', -'you need to be member' => 'You need to be a Member to Post', -'smile' => '^_^', -'you need a post' => 'You need to put in a Post. ^_^', -'making new topic' => 'Making a New Topic', -'topics' => 'Topics', -'forum name' => 'Forum Name', -'forum description' => 'Forum Description', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'tools' => 'Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit forum' => 'Edit Forum', -'delete forum' => 'Delete Forum', -'new forum' => 'New Forum', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'forum tools' => 'Forum tools', -'please the errors' => 'Please fix the following errors:', -'you need to be admin' => 'You need to be a Admin to use this. ^_^', -'insert id number for forum' => 'Insert a id Number For Forum:', -'insert id number for category' => 'Insert a id Number For Category:', -'insert name for forum' => 'Insert a Name For Forum:', -'should forum be visible' => 'Should Forum Be Visible:', -'keep old' => 'Keep Old', -'no' => 'No', -'yes' => 'Yes', -'forum type' => 'Forum Type:', -'keep old' => 'Keep Old', -'forum' => 'Forum', -'subforum' => 'SubForum', -'forum/subforum should be in' => 'Forum/SubForum Should be in SubForum Number(Use 0 to Put in Board index.):', -'insert description about forum' => 'Insert a Description about this Forum:', -'edit forum' => 'Edit Forum', -'reset' => 'Reset', -'you need to put id' => 'You need to put in a ID Number. ^_^', -'you need to put forum name' => 'You need to put in a Forum Name. ^_^', -'you need to put description for forum' => 'You need to put in a Description about the Forum. ^_^', -'you need to pick new id' => 'You need to pick a new ID Number. ^_^' -); + 'Viewing', +'lo-fi version' => 'Lo-Fi Version', +'forum' => 'Forum', +'making topic in' => 'Making a Topic in', +'topics' => 'Topics', +'time created' => 'Time Created', +'created by' => 'Created by', +'replys' => 'Replies', +'topic created by' => 'Topic Created By', +'at' => 'at', +'topic created on' => 'This Topic was Created on', +'view users profile' => 'View User\'s Profile', +'replys in' => 'Replies in', +'create new topic' => 'Create a New Topic', +'there are no replys' => 'There are 0 Replies in Create a New Topic', +'your name' => 'Your Name:', +'topic name' => 'Topic Name:', +'your post' => 'Your Post:', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'dont pin topic' => 'Don\'t Pin Topic', +'pin topic' => 'Pin Topic', +'dont close topic' => 'Don\'t Close Topic', +'close topic' => 'Close Topic', +'your last reply' => 'Your Last Reply Was:', +'post topic' => 'Post Topic', +'reset topic' => 'Reset Topic', +'please the errors' => 'Please fix the following errors:', +'you need to be member' => 'You need to be a Member to Post', +'smile' => '^_^', +'you need a post' => 'You need to put in a Post. ^_^', +'making new topic' => 'Making a New Topic', +'topics' => 'Topics', +'forum name' => 'Forum Name', +'forum description' => 'Forum Description', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'tools' => 'Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit forum' => 'Edit Forum', +'delete forum' => 'Delete Forum', +'new forum' => 'New Forum', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'forum tools' => 'Forum tools', +'please the errors' => 'Please fix the following errors:', +'you need to be admin' => 'You need to be a Admin to use this. ^_^', +'insert id number for forum' => 'Insert a id Number For Forum:', +'insert id number for category' => 'Insert a id Number For Category:', +'insert name for forum' => 'Insert a Name For Forum:', +'should forum be visible' => 'Should Forum Be Visible:', +'keep old' => 'Keep Old', +'no' => 'No', +'yes' => 'Yes', +'forum type' => 'Forum Type:', +'keep old' => 'Keep Old', +'forum' => 'Forum', +'subforum' => 'SubForum', +'forum/subforum should be in' => 'Forum/SubForum Should be in SubForum Number(Use 0 to Put in Board index.):', +'insert description about forum' => 'Insert a Description about this Forum:', +'edit forum' => 'Edit Forum', +'reset' => 'Reset', +'you need to put id' => 'You need to put in a ID Number. ^_^', +'you need to put forum name' => 'You need to put in a Forum Name. ^_^', +'you need to put description for forum' => 'You need to put in a Description about the Forum. ^_^', +'you need to pick new id' => 'You need to pick a new ID Number. ^_^' +); ?> \ No newline at end of file diff --git a/lang/en/Help.php b/lang/en/Help.php index e0c662c..e6eed39 100644 --- a/lang/en/Help.php +++ b/lang/en/Help.php @@ -1,45 +1,45 @@ - 'Help File', -'help file name' => 'Help File Name', -'view board staff' => 'View Board Staff', -'view member list' => 'View Member List' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'help file tools' => 'Help File Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit helpfile' => 'Edit Help File', -'delete helpfile' => 'Delete Help Fil', -'new helpfile' => 'New Help File', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'insert id for help file' => 'Insert a ID Number for Help File:', -'insert name for help file' => 'Insert a Name for Help File:', -'insert description about help file' => 'Insert a Description about this Help File:', -'please fix the errors' => 'Please fix the following errors:', -'you need id' => 'You need to put in a ID Number. ^_^', -'you need name' => 'You need to put in a Help File Name. ^_^', -'you need description' => 'You need to put in a Description about the Help File. ^_^', -'you need new id' => 'You need to pick a new ID Number. ^_^', -'mail' => 'Hate mail', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); + 'Help File', +'help file name' => 'Help File Name', +'view board staff' => 'View Board Staff', +'view member list' => 'View Member List' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'help file tools' => 'Help File Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit helpfile' => 'Edit Help File', +'delete helpfile' => 'Delete Help Fil', +'new helpfile' => 'New Help File', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'insert id for help file' => 'Insert a ID Number for Help File:', +'insert name for help file' => 'Insert a Name for Help File:', +'insert description about help file' => 'Insert a Description about this Help File:', +'please fix the errors' => 'Please fix the following errors:', +'you need id' => 'You need to put in a ID Number. ^_^', +'you need name' => 'You need to put in a Help File Name. ^_^', +'you need description' => 'You need to put in a Description about the Help File. ^_^', +'you need new id' => 'You need to pick a new ID Number. ^_^', +'mail' => 'Hate mail', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); ?> \ No newline at end of file diff --git a/lang/en/IPB1.php b/lang/en/IPB1.php index 995edb7..42ad146 100644 --- a/lang/en/IPB1.php +++ b/lang/en/IPB1.php @@ -1,42 +1,42 @@ - 'Instaling Discussion Forums 2k', -'IPB to DF2k' => 'Invision Power Board to Discussion Forums 2k', -'convert IPB to DF2K on sever' => 'Welcome This will Convert Invision Power Board v1.3 Final to Discussion Forums 2k on This sever
Please insert the info below.', -'insert board name' => 'Insert Your Board Name:', -'insert database name' => 'Insert Your Database Name:', -'insert database user name' => 'Insert Your Database User Name:', -'insert database password' => 'Insert Your Database Password:', -'insert table prefix' => 'Insert a Table Prefix:', -'insert IPB prefix' => 'Insert The IPB Prefix:', -'insert database host' => 'Insert Your Database Host(Might be localhost):', -'insert admin user name' => 'Insert a Admin User Name:', -'insert admin password' => 'Insert a Admin Password:', -'insert logo file' => 'Insert a Where Logo File is:', -'install board' => 'Install Board', -'reset form' => 'Reset Form' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'tools' => 'Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); + 'Instaling Discussion Forums 2k', +'IPB to DF2k' => 'Invision Power Board to Discussion Forums 2k', +'convert IPB to DF2K on sever' => 'Welcome This will Convert Invision Power Board v1.3 Final to Discussion Forums 2k on This sever
Please insert the info below.', +'insert board name' => 'Insert Your Board Name:', +'insert database name' => 'Insert Your Database Name:', +'insert database user name' => 'Insert Your Database User Name:', +'insert database password' => 'Insert Your Database Password:', +'insert table prefix' => 'Insert a Table Prefix:', +'insert IPB prefix' => 'Insert The IPB Prefix:', +'insert database host' => 'Insert Your Database Host(Might be localhost):', +'insert admin user name' => 'Insert a Admin User Name:', +'insert admin password' => 'Insert a Admin Password:', +'insert logo file' => 'Insert a Where Logo File is:', +'install board' => 'Install Board', +'reset form' => 'Reset Form' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'tools' => 'Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); ?> \ No newline at end of file diff --git a/lang/en/Members.php b/lang/en/Members.php index 34d0509..59b89ab 100644 --- a/lang/en/Members.php +++ b/lang/en/Members.php @@ -1,180 +1,180 @@ - 'Signing up for a Account', -'viewing mod team' => 'Viewing The Moderating Team', -'signing up for account' => 'Signing up for a Account', -'loging in' => 'Loging in', -'login' => 'Login', -'register' => 'Register', -'edit' => 'Edit', -'editing' => 'Editing', -'viewing user list' => 'Viewing User List', -'view' => 'View', -'viewing' => 'Viewing', -'insert user name' => 'Insert a User Name:', -'insert password' => 'Insert a Password:', -'insert your email' => 'Insert Your Email:', -'your timezone' => 'Your TimeZone', -'keep old timezone' => 'Keep Old TimeZone', -'GMT minus 12 hours' => 'GMT - 12:00 hours', -'GMT minus 11 hours' => 'GMT - 11:00 hours', -'GMT minus 10 hours' => 'GMT - 10:00 hours', -'GMT minus 9 hours' => 'GMT - 9:00 hours', -'GMT minus 8 hours' => 'GMT - 8:00 hours', -'GMT minus 7 hours' => 'GMT - 7:00 hours', -'GMT minus 6 hours' => 'GMT - 6:00 hours', -'GMT minus 5 hours' => 'GMT - 5:00 hours', -'GMT minus 4 hours' => 'GMT - 4:00 hours', -'GMT minus 3 hours' => 'GMT - 3:00 hours', -'GMT minus 2 hours' => 'GMT - 2:00 hours', -'GMT minus 1 hour' => 'GMT - 1:00 hours', -'GMT' => 'GMT +/- 0:00 hours', -'GMT plus 1 hour' => 'GMT + 1:00 hours', -'GMT plus 2 hours' => 'GMT + 2:00 hours', -'GMT plus 3 hours' => 'GMT + 3:00 hours', -'GMT plus 4 hours' => 'GMT + 4:00 hours', -'GMT plus 5 hours' => 'GMT + 5:00 hours', -'GMT plus 6 hours' => 'GMT + 6:00 hours', -'GMT plus 7 hours' => 'GMT + 7:00 hours', -'GMT plus 8 hours' => 'GMT + 8:00 hours', -'GMT plus 9 hours' => 'GMT + 9:00 hours', -'GMT plus 10 hours' => 'GMT + 10:00 hours', -'GMT plus 11 hours' => 'GMT + 11:00 hours', -'GMT plus 12 hours' => 'GMT + 12:00 hours', -'insert url for avatar' => 'Insert a URL for Avatar:', -'insert a url' => 'Insert a URL for Website:', -'insert signature' => 'Insert Text for your Signature:', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'click to see numbers' => 'Click to See Numbers. ^_^ ', -'tos1' => 'Terms of Service - Please read fully and check the \'I agree\' box ONLY if you agree to the terms', -'tos2' => 'Please remember that we are not responsible for any messages posted. We do not vouch for or warrant the accuracy, completeness or usefulness of any message, and are not responsible for the contents of any message. The messages express the views of the author of the message, not necessarily the views of this BB. Any user who feels that a posted message is objectionable is encouraged to contact us immediately by email. We have the ability to remove objectionable messages and we will make every effort to do so, within a reasonable time frame, if we determine that removal is necessary. You agree, through your use of this service, that you will not use this BB to post any material which is knowingly false and/or defamatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually oriented, threatening, invasive of a person\'s privacy, or otherwise violative of any law. You agree not to post any copyrighted material unless the copyright is owned by you or by this BB.', -'i agree' => 'I Agree', -'sign up' => 'Sign UP', -'please fix the errors' => 'Please fix the following errors:', -'you need to agree with tos' => 'You need agree with the TOS(Terms of Service) befoure you can join. ^_^', -'you need a username' => 'You need to put in a UserName. ^_^', -'you cant have username' => 'You cant have that UserName. ^_^', -'you need a password' => 'You need to put in a Password. ^_^', -'you need a email' => 'You need to put in a Email. ^_^', -'your signature is too big' => 'Your Signature is too Big it must be Smaller than 500 Char. ^_^', -'numbers are not same' => 'The Numbers are not the same. ^_^', -'email address already used' => 'Your email address has already been used by another member in our database. Please submit a different Email address!', -'username already used' => 'The username you have selected has already been used by another member in our database. Please choose a different Username!', -'password is right welcome' => 'The Password is Right Welcome to the Board', -'password is not right' => 'The Password is Not Right.', -'mail' => 'Hate mail', -'you need to be member profile' => 'You need to be a Member to Make a Profile.', -'insert your interests' => 'Insert Your Interests:', -'insert member title' => 'Insert a Member Title:', -'change skin' => 'Change Board Skin to:', -'Keep old' => 'Keep Old', -'gray skin' => 'Gray Skin', -'green skin' => 'Green Skin', -'edit profile' => 'Edit Profile', -'your signature too big it' => 'Your Signature is too Big it must be Smaller than', -'viewing profile for' => 'Viewing Profile for', -'edit profile' => 'Edit Your Profile', -'logout' => 'Logout', -'profile' => 'Profile', -'user post count' => 'User Post Count:', -'has made' => 'has made', -'member title' => 'Member Title:', -'user in group' => 'User in Group:', -'is in the' => 'is in the', -'group' => 'Group', -'ip' => 'IP:', -'users signature' => 'Users Signature:', -'avatar' => 'Avatar', -'interests' => 'Interests:', -'users localtime' => 'User\'s Local Time:', -'user joined at' => 'Users Joined at:', -'users last active' => 'Users Last Active:', -'back 2' => '← Back 2', -'back' => '← Back', -'email/pm/webpage' => 'User Email/PM/WebSite:', -'email' => 'Email', -'pm' => 'PM', -'website' => 'Website', -'WWW' => 'WWW', -'www' => 'WWW', -'go back two users' => 'Goto Back Two Users.', -'go back one user' => 'Goto Back One User.', -'goto next user' => 'Goto Next User.', -'next' => 'Next →', -'next 2' => 'Next 2 →', -'goto next user' => 'Goto Next User', -'goto next two user' => 'Goto Next Two User', -'users name' => 'Users Name', -'administrators' => 'Administrators', -'no admins' => 'No Admins', -'moderators' => 'Moderators', -'no moderators' => 'No Moderators', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'keep old' => 'Keep Old', -'reset' => 'Reset', -'posts' => 'Posts', -'post count' => 'Post Count', -'search users' => 'Search Users', -'search for member' => 'Search for a Member', -'change warnlevel for member' => 'Change the Warn Level for this member:', -'keep level' => 'Keep Level', -'insert avatarsize' => 'Insert Avatar Size', -'width' => 'Width:', -'height' => 'Height:', -'keep old size' => 'Keep Old Size', -'use if you are making table/list' => 'Use this if you are making a table or list.' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'mod tools' => 'Mod Tools', -'member tools' => 'Member Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit members' => 'Here You can edit Members.', -'delete/edit member' => 'Delete or Edit Member:', -'edit member' => 'Edit Member', -'delete member' => 'Delete Member', -'new member' => 'New Member', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'logging into admin cp' => 'Logging into Admin CP', -'logging into mod tools' => 'Logging into Mod Tools', -'loging in' => 'Loging in', -'insert user name' => 'Insert a User Name:', -'insert password' => 'Insert a Password:', -'please fix the errors' => 'Please fix the following errors:', -'you need username' => 'You need to put in a UserName. ^_^', -'you need password' => 'You need to put in a Password. ^_^', -'password is right welcome' => 'The Password is Right Welcome to the Board', -'password is not right' => 'The Password is Not Right.', -'insert your email' => 'Insert Your Email:', -'insert url for avatar' => 'Insert a URL for Avatar:', -'insert a url' => 'Insert a URL for Website:', -'insert signature' => 'Insert Text for your Signature:', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'insert your interests' => 'Insert Your Interests:', -'insert member title' => 'Insert a Member Title:', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'pick user group for member' => 'Pick a User Group For Member:', -'keep group' => 'Keep Group', -'banned' => 'Banned', -'guest' => 'Guest', -'member' => 'Member', -'moderator' => 'Moderator', -'admin' => 'Admin', -'edit your profile' => 'Edit Your Profile', -'reset' => 'Reset', -'cant delete root admin' => 'You cant delete the Root Admin', -'change warnlevel for member' => 'Change the Warn Level for this member:', -'keep level' => 'Keep Level', -'insert avatarsize' => 'Insert Avatar Size', -'More Text' => 'Some More Text' -); + 'Signing up for a Account', +'viewing mod team' => 'Viewing The Moderating Team', +'signing up for account' => 'Signing up for a Account', +'loging in' => 'Loging in', +'login' => 'Login', +'register' => 'Register', +'edit' => 'Edit', +'editing' => 'Editing', +'viewing user list' => 'Viewing User List', +'view' => 'View', +'viewing' => 'Viewing', +'insert user name' => 'Insert a User Name:', +'insert password' => 'Insert a Password:', +'insert your email' => 'Insert Your Email:', +'your timezone' => 'Your TimeZone', +'keep old timezone' => 'Keep Old TimeZone', +'GMT minus 12 hours' => 'GMT - 12:00 hours', +'GMT minus 11 hours' => 'GMT - 11:00 hours', +'GMT minus 10 hours' => 'GMT - 10:00 hours', +'GMT minus 9 hours' => 'GMT - 9:00 hours', +'GMT minus 8 hours' => 'GMT - 8:00 hours', +'GMT minus 7 hours' => 'GMT - 7:00 hours', +'GMT minus 6 hours' => 'GMT - 6:00 hours', +'GMT minus 5 hours' => 'GMT - 5:00 hours', +'GMT minus 4 hours' => 'GMT - 4:00 hours', +'GMT minus 3 hours' => 'GMT - 3:00 hours', +'GMT minus 2 hours' => 'GMT - 2:00 hours', +'GMT minus 1 hour' => 'GMT - 1:00 hours', +'GMT' => 'GMT +/- 0:00 hours', +'GMT plus 1 hour' => 'GMT + 1:00 hours', +'GMT plus 2 hours' => 'GMT + 2:00 hours', +'GMT plus 3 hours' => 'GMT + 3:00 hours', +'GMT plus 4 hours' => 'GMT + 4:00 hours', +'GMT plus 5 hours' => 'GMT + 5:00 hours', +'GMT plus 6 hours' => 'GMT + 6:00 hours', +'GMT plus 7 hours' => 'GMT + 7:00 hours', +'GMT plus 8 hours' => 'GMT + 8:00 hours', +'GMT plus 9 hours' => 'GMT + 9:00 hours', +'GMT plus 10 hours' => 'GMT + 10:00 hours', +'GMT plus 11 hours' => 'GMT + 11:00 hours', +'GMT plus 12 hours' => 'GMT + 12:00 hours', +'insert url for avatar' => 'Insert a URL for Avatar:', +'insert a url' => 'Insert a URL for Website:', +'insert signature' => 'Insert Text for your Signature:', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'click to see numbers' => 'Click to See Numbers. ^_^ ', +'tos1' => 'Terms of Service - Please read fully and check the \'I agree\' box ONLY if you agree to the terms', +'tos2' => 'Please remember that we are not responsible for any messages posted. We do not vouch for or warrant the accuracy, completeness or usefulness of any message, and are not responsible for the contents of any message. The messages express the views of the author of the message, not necessarily the views of this BB. Any user who feels that a posted message is objectionable is encouraged to contact us immediately by email. We have the ability to remove objectionable messages and we will make every effort to do so, within a reasonable time frame, if we determine that removal is necessary. You agree, through your use of this service, that you will not use this BB to post any material which is knowingly false and/or defamatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually oriented, threatening, invasive of a person\'s privacy, or otherwise violative of any law. You agree not to post any copyrighted material unless the copyright is owned by you or by this BB.', +'i agree' => 'I Agree', +'sign up' => 'Sign UP', +'please fix the errors' => 'Please fix the following errors:', +'you need to agree with tos' => 'You need agree with the TOS(Terms of Service) befoure you can join. ^_^', +'you need a username' => 'You need to put in a UserName. ^_^', +'you cant have username' => 'You cant have that UserName. ^_^', +'you need a password' => 'You need to put in a Password. ^_^', +'you need a email' => 'You need to put in a Email. ^_^', +'your signature is too big' => 'Your Signature is too Big it must be Smaller than 500 Char. ^_^', +'numbers are not same' => 'The Numbers are not the same. ^_^', +'email address already used' => 'Your email address has already been used by another member in our database. Please submit a different Email address!', +'username already used' => 'The username you have selected has already been used by another member in our database. Please choose a different Username!', +'password is right welcome' => 'The Password is Right Welcome to the Board', +'password is not right' => 'The Password is Not Right.', +'mail' => 'Hate mail', +'you need to be member profile' => 'You need to be a Member to Make a Profile.', +'insert your interests' => 'Insert Your Interests:', +'insert member title' => 'Insert a Member Title:', +'change skin' => 'Change Board Skin to:', +'Keep old' => 'Keep Old', +'gray skin' => 'Gray Skin', +'green skin' => 'Green Skin', +'edit profile' => 'Edit Profile', +'your signature too big it' => 'Your Signature is too Big it must be Smaller than', +'viewing profile for' => 'Viewing Profile for', +'edit profile' => 'Edit Your Profile', +'logout' => 'Logout', +'profile' => 'Profile', +'user post count' => 'User Post Count:', +'has made' => 'has made', +'member title' => 'Member Title:', +'user in group' => 'User in Group:', +'is in the' => 'is in the', +'group' => 'Group', +'ip' => 'IP:', +'users signature' => 'Users Signature:', +'avatar' => 'Avatar', +'interests' => 'Interests:', +'users localtime' => 'User\'s Local Time:', +'user joined at' => 'Users Joined at:', +'users last active' => 'Users Last Active:', +'back 2' => '← Back 2', +'back' => '← Back', +'email/pm/webpage' => 'User Email/PM/WebSite:', +'email' => 'Email', +'pm' => 'PM', +'website' => 'Website', +'WWW' => 'WWW', +'www' => 'WWW', +'go back two users' => 'Goto Back Two Users.', +'go back one user' => 'Goto Back One User.', +'goto next user' => 'Goto Next User.', +'next' => 'Next →', +'next 2' => 'Next 2 →', +'goto next user' => 'Goto Next User', +'goto next two user' => 'Goto Next Two User', +'users name' => 'Users Name', +'administrators' => 'Administrators', +'no admins' => 'No Admins', +'moderators' => 'Moderators', +'no moderators' => 'No Moderators', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'keep old' => 'Keep Old', +'reset' => 'Reset', +'posts' => 'Posts', +'post count' => 'Post Count', +'search users' => 'Search Users', +'search for member' => 'Search for a Member', +'change warnlevel for member' => 'Change the Warn Level for this member:', +'keep level' => 'Keep Level', +'insert avatarsize' => 'Insert Avatar Size', +'width' => 'Width:', +'height' => 'Height:', +'keep old size' => 'Keep Old Size', +'use if you are making table/list' => 'Use this if you are making a table or list.' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'mod tools' => 'Mod Tools', +'member tools' => 'Member Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit members' => 'Here You can edit Members.', +'delete/edit member' => 'Delete or Edit Member:', +'edit member' => 'Edit Member', +'delete member' => 'Delete Member', +'new member' => 'New Member', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'logging into admin cp' => 'Logging into Admin CP', +'logging into mod tools' => 'Logging into Mod Tools', +'loging in' => 'Loging in', +'insert user name' => 'Insert a User Name:', +'insert password' => 'Insert a Password:', +'please fix the errors' => 'Please fix the following errors:', +'you need username' => 'You need to put in a UserName. ^_^', +'you need password' => 'You need to put in a Password. ^_^', +'password is right welcome' => 'The Password is Right Welcome to the Board', +'password is not right' => 'The Password is Not Right.', +'insert your email' => 'Insert Your Email:', +'insert url for avatar' => 'Insert a URL for Avatar:', +'insert a url' => 'Insert a URL for Website:', +'insert signature' => 'Insert Text for your Signature:', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'insert your interests' => 'Insert Your Interests:', +'insert member title' => 'Insert a Member Title:', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'pick user group for member' => 'Pick a User Group For Member:', +'keep group' => 'Keep Group', +'banned' => 'Banned', +'guest' => 'Guest', +'member' => 'Member', +'moderator' => 'Moderator', +'admin' => 'Admin', +'edit your profile' => 'Edit Your Profile', +'reset' => 'Reset', +'cant delete root admin' => 'You cant delete the Root Admin', +'change warnlevel for member' => 'Change the Warn Level for this member:', +'keep level' => 'Keep Level', +'insert avatarsize' => 'Insert Avatar Size', +'More Text' => 'Some More Text' +); ?> \ No newline at end of file diff --git a/lang/en/Messenger.php b/lang/en/Messenger.php index cb8149d..1601c7a 100644 --- a/lang/en/Messenger.php +++ b/lang/en/Messenger.php @@ -1,78 +1,78 @@ - 'Replying to PM', -'viewing your pms' => 'Viewing Your PMs', -'viewing pms you sent' => 'Viewing PMs You Sent', -'reading' => 'Reading', -'creating a pm' => 'Creating a PM', -'sending pm to' => 'Sending PM to', -'message title' => 'Message Title', -'sent to' => 'Sent to', -'date sent' => 'Date Sent', -'send a pm' => 'Send a PM', -'sender' => 'Sender', -'pm' => 'PM', -'reply' => 'Reply', -'pm title' => 'PM Title:', -'user info' => 'User Info', -'you cant read this pm' => 'You Can Not Read This PM. :P', -'users name' => 'Users Name:', -'avatar' => 'Avatar', -'pm sent on' => 'This PM was Sent on', -'time sent' => 'Time Sent:', -'goto' => 'Goto', -'website' => 'Website', -'www' => 'WWW', -'email' => 'Email', -'you need user name to send to' => 'You Need to Put in a User Name to Send to!', -'you need a title' => 'You Need to Put in a Title!', -'you need a message' => 'You Need to Put in a Message!', -'send pm to' => 'Send PM to:', -'your message' => 'Your Message:', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'please fix the errors' => 'Please fix the following errors:', -'you sent too many pms' => 'You sent too many PMs. ^_^', -'You need to be member to send pm' => 'You need to be a Member to Send a PM', -'Signup' => 'Signup', -'need a username to send to' => 'You need to put in a UserName to Send to. ^_^', -'need a pm title' => 'You need to put in a PM Title. ^_^', -'you need a message' => 'You need to put in a Message. ^_^', - -'Cant delete pm' => 'You Cant Delete This PM. :P', -'unknow' => '???', -'delete' => 'Delete', -'the message' => 'The Message', -'board stats' => 'Board Stats', -'You need to be member to send pm' => 'You need to be a Member to Send a PM', -'Signup' => 'Signup', -'need a username to send to' => 'You need to put in a UserName to Send to. ^_^', -'need a pm title' => 'You need to put in a PM Title. ^_^', -'you need a message' => 'You need to put in a Message. ^_^' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'tools' => 'Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); + 'Replying to PM', +'viewing your pms' => 'Viewing Your PMs', +'viewing pms you sent' => 'Viewing PMs You Sent', +'reading' => 'Reading', +'creating a pm' => 'Creating a PM', +'sending pm to' => 'Sending PM to', +'message title' => 'Message Title', +'sent to' => 'Sent to', +'date sent' => 'Date Sent', +'send a pm' => 'Send a PM', +'sender' => 'Sender', +'pm' => 'PM', +'reply' => 'Reply', +'pm title' => 'PM Title:', +'user info' => 'User Info', +'you cant read this pm' => 'You Can Not Read This PM. :P', +'users name' => 'Users Name:', +'avatar' => 'Avatar', +'pm sent on' => 'This PM was Sent on', +'time sent' => 'Time Sent:', +'goto' => 'Goto', +'website' => 'Website', +'www' => 'WWW', +'email' => 'Email', +'you need user name to send to' => 'You Need to Put in a User Name to Send to!', +'you need a title' => 'You Need to Put in a Title!', +'you need a message' => 'You Need to Put in a Message!', +'send pm to' => 'Send PM to:', +'your message' => 'Your Message:', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'please fix the errors' => 'Please fix the following errors:', +'you sent too many pms' => 'You sent too many PMs. ^_^', +'You need to be member to send pm' => 'You need to be a Member to Send a PM', +'Signup' => 'Signup', +'need a username to send to' => 'You need to put in a UserName to Send to. ^_^', +'need a pm title' => 'You need to put in a PM Title. ^_^', +'you need a message' => 'You need to put in a Message. ^_^', + +'Cant delete pm' => 'You Cant Delete This PM. :P', +'unknow' => '???', +'delete' => 'Delete', +'the message' => 'The Message', +'board stats' => 'Board Stats', +'You need to be member to send pm' => 'You need to be a Member to Send a PM', +'Signup' => 'Signup', +'need a username to send to' => 'You need to put in a UserName to Send to. ^_^', +'need a pm title' => 'You need to put in a PM Title. ^_^', +'you need a message' => 'You need to put in a Message. ^_^' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'tools' => 'Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); ?> \ No newline at end of file diff --git a/lang/en/NavBar.php b/lang/en/NavBar.php index 066e435..13c0fdc 100644 --- a/lang/en/NavBar.php +++ b/lang/en/NavBar.php @@ -1,70 +1,70 @@ - '(Powered by Discussion Forums 2k)', -'powered by tb2k' => '(Powered by Tag Boards 2k)', -'logged in' => 'Logged in as: ', -'logout' => 'Logout', -'login' => 'Login', -'register' => 'Register', -'mailbox' => 'MailBox', -'goto mailBox' => 'Goto MailBox', -'new pms 1' => 'You Have ', -'new pms 2' => ' New PMs', -'send pm' => 'Send PM', -'send a pm' => 'Send a PM to a Member.', -'not member pm error' => 'You Need to be a Member to Send a PM!', -'mod cp' => 'Mod CP', -'goto mod tools' => 'Goto Moderator Tools', -'admin cp' => 'Admin CP', -'goto admin cp' => 'Goto Admin CP', -'new topic' => 'New Topic', -'create new topic' => 'Create a New Topic', -'add reply' => 'Add Reply', -'reply to topic' => 'Reply to Topic', -'topic closed' => 'The Topic is Closed!', -'not member reply error' => 'You Need to be a Member to Post!', -'new event' => 'New Event', -'create new event' => 'Create a New Event', -'not member post error' => 'You Need to be a Member to Post!', -'not member event error' => 'You Need to be a Member to Post an Event!', -'help' => 'Help', -'help files' => 'Help Files', -'calendar' => 'Calendar', -'tag board' => 'Tag Board', -'goto tag boards' => 'Go To Tag Boards', -'view calendar' => 'View The Calendar', -'view your profile' => 'View Your Profile', -'install DF2k' => 'Install Discussion Forums 2k', -'number of forums' => 'Number of Forums', -'number of topics' => 'Number of Topics', -'number of posts' => 'Number of Posts', -'number of tags' => 'Number of Tags', -'number of members' => 'Number of Members', -'number of pms sent' => 'Number of Pms Sent', -'forum number' => 'Forum Number' -); -$adminlang = array( -'logged in' => 'Logged in as: ', -'logout' => 'Logout', -'login' => 'Login', -'login admin cp' => 'Login Admin CP', -'login mod tools' => 'Login Mod Tools', -'mail' => 'Hate mail', -'use mod tools' => 'Use Moderator Tools', -'use mod tool' => 'Use Tool', -'mod tools' => 'Mod Tools', -'do nothing' => 'Do Nothing', -'pin topic' => 'Pin Topic', -'unpin topic' => 'Unpin Topic', -'close topic' => 'Close Topic', -'open topic' => 'Open Topic', -'delete topic' => 'Delete Topic', -'move topic' => 'Move Topic', -'using mod tool' => 'Using Mod Tool', -'cant use tools' => 'You cant use Mod Tools!', -'doing nothing' => 'Doing Nothing. ^_^ ', -'delete reply' => 'Delete Reply', -'bump topic' => 'Bump Topic' -); + '(Powered by Discussion Forums 2k)', +'powered by tb2k' => '(Powered by Tag Boards 2k)', +'logged in' => 'Logged in as: ', +'logout' => 'Logout', +'login' => 'Login', +'register' => 'Register', +'mailbox' => 'MailBox', +'goto mailBox' => 'Goto MailBox', +'new pms 1' => 'You Have ', +'new pms 2' => ' New PMs', +'send pm' => 'Send PM', +'send a pm' => 'Send a PM to a Member.', +'not member pm error' => 'You Need to be a Member to Send a PM!', +'mod cp' => 'Mod CP', +'goto mod tools' => 'Goto Moderator Tools', +'admin cp' => 'Admin CP', +'goto admin cp' => 'Goto Admin CP', +'new topic' => 'New Topic', +'create new topic' => 'Create a New Topic', +'add reply' => 'Add Reply', +'reply to topic' => 'Reply to Topic', +'topic closed' => 'The Topic is Closed!', +'not member reply error' => 'You Need to be a Member to Post!', +'new event' => 'New Event', +'create new event' => 'Create a New Event', +'not member post error' => 'You Need to be a Member to Post!', +'not member event error' => 'You Need to be a Member to Post an Event!', +'help' => 'Help', +'help files' => 'Help Files', +'calendar' => 'Calendar', +'tag board' => 'Tag Board', +'goto tag boards' => 'Go To Tag Boards', +'view calendar' => 'View The Calendar', +'view your profile' => 'View Your Profile', +'install DF2k' => 'Install Discussion Forums 2k', +'number of forums' => 'Number of Forums', +'number of topics' => 'Number of Topics', +'number of posts' => 'Number of Posts', +'number of tags' => 'Number of Tags', +'number of members' => 'Number of Members', +'number of pms sent' => 'Number of Pms Sent', +'forum number' => 'Forum Number' +); +$adminlang = array( +'logged in' => 'Logged in as: ', +'logout' => 'Logout', +'login' => 'Login', +'login admin cp' => 'Login Admin CP', +'login mod tools' => 'Login Mod Tools', +'mail' => 'Hate mail', +'use mod tools' => 'Use Moderator Tools', +'use mod tool' => 'Use Tool', +'mod tools' => 'Mod Tools', +'do nothing' => 'Do Nothing', +'pin topic' => 'Pin Topic', +'unpin topic' => 'Unpin Topic', +'close topic' => 'Close Topic', +'open topic' => 'Open Topic', +'delete topic' => 'Delete Topic', +'move topic' => 'Move Topic', +'using mod tool' => 'Using Mod Tool', +'cant use tools' => 'You cant use Mod Tools!', +'doing nothing' => 'Doing Nothing. ^_^ ', +'delete reply' => 'Delete Reply', +'bump topic' => 'Bump Topic' +); ?> \ No newline at end of file diff --git a/lang/en/New.php b/lang/en/New.php index 6e34df6..e0893d4 100644 --- a/lang/en/New.php +++ b/lang/en/New.php @@ -1,32 +1,32 @@ - 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'tools' => 'Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); + 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'tools' => 'Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); ?> \ No newline at end of file diff --git a/lang/en/Search.php b/lang/en/Search.php index d1212ca..f639847 100644 --- a/lang/en/Search.php +++ b/lang/en/Search.php @@ -1,46 +1,46 @@ - 'Searching For Members', -'insert user name' => 'Insert a User Name:', -'wildcard type' => 'Wildcard Type:', -'username' => 'UserName', -'usernamewc1' => '%UserName', -'usernamewc2' => '%UserName%', -'usernamewc3' => 'UserName%', -'users name' => 'Users Name', -'email/pm/website' => 'Users Email/PM/Website', -'users localtime' => 'Users Local Time', -'post count' => 'Post Count', -'profile' => 'Profile', -'email' => 'Email', -'pm' => 'PM', -'website' => 'Website', -'www' => 'WWW', -'has made' => 'has made', -'posts' => 'Posts', -'no members with name' => 'No Members Fond With Name' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'tools' => 'Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); + 'Searching For Members', +'insert user name' => 'Insert a User Name:', +'wildcard type' => 'Wildcard Type:', +'username' => 'UserName', +'usernamewc1' => '%UserName', +'usernamewc2' => '%UserName%', +'usernamewc3' => 'UserName%', +'users name' => 'Users Name', +'email/pm/website' => 'Users Email/PM/Website', +'users localtime' => 'Users Local Time', +'post count' => 'Post Count', +'profile' => 'Profile', +'email' => 'Email', +'pm' => 'PM', +'website' => 'Website', +'www' => 'WWW', +'has made' => 'has made', +'posts' => 'Posts', +'no members with name' => 'No Members Fond With Name' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'tools' => 'Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); ?> \ No newline at end of file diff --git a/lang/en/Settings.php b/lang/en/Settings.php index 55739c9..d187b2c 100644 --- a/lang/en/Settings.php +++ b/lang/en/Settings.php @@ -1,49 +1,49 @@ - 'Off Line', -'you are banned' => 'You are Banned From Here.' -); -$adminlang3 = array( -'admin cp' => 'Admin CP', -'board setting tools' => 'Board Setting Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'home' => 'Home', -'edit your settings for your board' => 'Here You can edit you Settings For your Board.', -'insert board name' => 'Insert Your Board Name:', -'insert database name' => 'Insert Your Database Name:', -'insert database username' => 'Insert Your Database User Name:', -'insert database password' => 'Insert Your Database Password:', -'insert table prefix' => 'Insert a Table Prefix:', -'insert database host' => 'Insert Your Database Host(Might be localhost):', -'insert admin password' => 'Insert a Admin Password:', -'insert logo url' => 'Insert a Where Logo File is:', -'insert keywords' => 'Insert Some Keywords:', -'insert description about board' => 'Insert a description about this board:', -'insert max sig size' => 'Insert Max Sig Size:', -'insert max sig size admin' => 'Insert Max Sig Size For Admin(Not Workin Use Max Sig Size):', -'insert max sig size mod' => 'Insert Max Sig Size For Moderator(Not Workin Use Max Sig Size):', -'insert max sig size member' => 'Insert Max Sig Size For Members(Not Workin Use Max Sig Size):', -'insert max number pms send' => 'Insert Max Number of PMs you can send:', -'turn html in board' => 'Turn HTML in Board:', -'turn board offline' => 'Turn Board Offline:', -'turn google ads on' => 'Turn Google Ads on:', -'google ads on top' => 'Google Ads on top of board:', -'google ads on bottom' => 'Google Ads on bottom of board:', -'use gd image' => 'Use GD Image when Registering:', -'yes' => 'Yes', -'no' => 'No', -'yes' => 'Yes' -); + 'Off Line', +'you are banned' => 'You are Banned From Here.' +); +$adminlang3 = array( +'admin cp' => 'Admin CP', +'board setting tools' => 'Board Setting Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'home' => 'Home', +'edit your settings for your board' => 'Here You can edit you Settings For your Board.', +'insert board name' => 'Insert Your Board Name:', +'insert database name' => 'Insert Your Database Name:', +'insert database username' => 'Insert Your Database User Name:', +'insert database password' => 'Insert Your Database Password:', +'insert table prefix' => 'Insert a Table Prefix:', +'insert database host' => 'Insert Your Database Host(Might be localhost):', +'insert admin password' => 'Insert a Admin Password:', +'insert logo url' => 'Insert a Where Logo File is:', +'insert keywords' => 'Insert Some Keywords:', +'insert description about board' => 'Insert a description about this board:', +'insert max sig size' => 'Insert Max Sig Size:', +'insert max sig size admin' => 'Insert Max Sig Size For Admin(Not Workin Use Max Sig Size):', +'insert max sig size mod' => 'Insert Max Sig Size For Moderator(Not Workin Use Max Sig Size):', +'insert max sig size member' => 'Insert Max Sig Size For Members(Not Workin Use Max Sig Size):', +'insert max number pms send' => 'Insert Max Number of PMs you can send:', +'turn html in board' => 'Turn HTML in Board:', +'turn board offline' => 'Turn Board Offline:', +'turn google ads on' => 'Turn Google Ads on:', +'google ads on top' => 'Google Ads on top of board:', +'google ads on bottom' => 'Google Ads on bottom of board:', +'use gd image' => 'Use GD Image when Registering:', +'yes' => 'Yes', +'no' => 'No', +'yes' => 'Yes' +); ?> \ No newline at end of file diff --git a/lang/en/SubForum.php b/lang/en/SubForum.php index 95568e5..2c61422 100644 --- a/lang/en/SubForum.php +++ b/lang/en/SubForum.php @@ -1,45 +1,45 @@ - 'Viewing', -'subforum' => 'SubForum', -'making topic in' => 'Making a Topic in', -'forum name' => 'Forum Name', -'forum description' => 'Forum Description', -'no subforums' => 'There Are No SubForums Here.', -'topics' => 'Topics', -'time created' => 'Time Created', -'created by' => 'Created by', -'replys' => 'Replies', -'topic created on' => 'This Topic was Created on', -'view users profile' => 'View User\'s Profile', -'there are' => 'There are', -'replys in' => 'Replies in', -'create topic' => 'Create Topic', -'create new topic' => 'Create a New Topic', -'no replys in topic' => 'There are 0 Replies in Create a New Topic', -'off line' => 'The Board is Off Line Right Now.' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'tools' => 'Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); + 'Viewing', +'subforum' => 'SubForum', +'making topic in' => 'Making a Topic in', +'forum name' => 'Forum Name', +'forum description' => 'Forum Description', +'no subforums' => 'There Are No SubForums Here.', +'topics' => 'Topics', +'time created' => 'Time Created', +'created by' => 'Created by', +'replys' => 'Replies', +'topic created on' => 'This Topic was Created on', +'view users profile' => 'View User\'s Profile', +'there are' => 'There are', +'replys in' => 'Replies in', +'create topic' => 'Create Topic', +'create new topic' => 'Create a New Topic', +'no replys in topic' => 'There are 0 Replies in Create a New Topic', +'off line' => 'The Board is Off Line Right Now.' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'tools' => 'Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); ?> \ No newline at end of file diff --git a/lang/en/TagBoard.php b/lang/en/TagBoard.php index 159f54c..7386908 100644 --- a/lang/en/TagBoard.php +++ b/lang/en/TagBoard.php @@ -1,31 +1,31 @@ - 'Please fix the following errors:', -'need to be a Member to post tag' => 'You need to be a Member to post a tag', -'signup' => 'Signup', -'reply number' => 'Reply Number', -'view users profile' => 'View User\'s Profile', -'you need a user name' => 'You Need to Put in a User Name!', -'you need a post' => 'You Need to Put in a Post!', -'your post' => 'Your Post:', -'your name' => 'Your Name:' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'mod tools' => 'Mod Tools', -'tag tools' => 'Tag Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit topic' => 'Edit Topic', -'delete tag' => 'Delete Tag', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode' -); + 'Please fix the following errors:', +'need to be a Member to post tag' => 'You need to be a Member to post a tag', +'signup' => 'Signup', +'reply number' => 'Reply Number', +'view users profile' => 'View User\'s Profile', +'you need a user name' => 'You Need to Put in a User Name!', +'you need a post' => 'You Need to Put in a Post!', +'your post' => 'Your Post:', +'your name' => 'Your Name:' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'mod tools' => 'Mod Tools', +'tag tools' => 'Tag Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit topic' => 'Edit Topic', +'delete tag' => 'Delete Tag', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode' +); ?> \ No newline at end of file diff --git a/lang/en/Topic.php b/lang/en/Topic.php index 8ea1175..c0c4fc4 100644 --- a/lang/en/Topic.php +++ b/lang/en/Topic.php @@ -1,64 +1,64 @@ - 'The Post', -'viewing topic' => 'Viewing Topic', -'replying to topic' => 'Replying to Topic', -'topic stats' => 'Topic Stats', -'editing reply in topic' => 'Editing Reply in Topic', -'avatar' => 'Avatar', -'users name' => 'Users Name:', -'this reply was created on' => 'This Reply was Created on', -'time posted' => 'Time Posted:', -'goto' => 'Goto', -'website' => 'Website', -'www' => 'WWW', -'email' => 'Email', -'pm' => 'PM', -'edit reply' => 'Edit Reply', -'quote reply' => 'Quote Reply', -'fast reply' => 'Fast Reply', -'open/close fast reply' => 'Open/Close Fast Reply Box.', -'your name' => 'Your Name:', -'your post' => 'Your Post:', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'post reply' => 'Post Reply', -'reset reply' => 'Reset Reply', -'you need user name' => 'You Need to Put in a User Name!', -'you need a post' => 'You Need to Put in a Post! ^_^', -'your name' => 'Your Name:', -'your post' => 'Your Post:', -'your last reply was' => 'Your Last Reply Was:', -'please fix the errors' => 'Please fix the following errors:', -'the topic is closed' => 'The topic you are trying to reply in is closed. ^_^', -'you need to be member to post' => 'You need to be a Member to Post', -'signup' => 'Signup', -'you need to have a reply' => 'You need to put in a Reply. ^_^', -'your last reply' => 'Your Last Reply Was:', -'mod tools' => '~ Mod Tools ~', -'cant edit reply' => 'You can not Edit this Reply. ^_^' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'mod cp' => 'Mod CP', -'mod tools' => 'Mod Tools', -'reply tools' => 'Reply Tools', -'topic tools' => 'Topic Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit topic' => 'Edit Topic', -'delete topic' => 'Delete Topic', -'delete reply' => 'Delete Reply', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode' -); + 'The Post', +'viewing topic' => 'Viewing Topic', +'replying to topic' => 'Replying to Topic', +'topic stats' => 'Topic Stats', +'editing reply in topic' => 'Editing Reply in Topic', +'avatar' => 'Avatar', +'users name' => 'Users Name:', +'this reply was created on' => 'This Reply was Created on', +'time posted' => 'Time Posted:', +'goto' => 'Goto', +'website' => 'Website', +'www' => 'WWW', +'email' => 'Email', +'pm' => 'PM', +'edit reply' => 'Edit Reply', +'quote reply' => 'Quote Reply', +'fast reply' => 'Fast Reply', +'open/close fast reply' => 'Open/Close Fast Reply Box.', +'your name' => 'Your Name:', +'your post' => 'Your Post:', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'post reply' => 'Post Reply', +'reset reply' => 'Reset Reply', +'you need user name' => 'You Need to Put in a User Name!', +'you need a post' => 'You Need to Put in a Post! ^_^', +'your name' => 'Your Name:', +'your post' => 'Your Post:', +'your last reply was' => 'Your Last Reply Was:', +'please fix the errors' => 'Please fix the following errors:', +'the topic is closed' => 'The topic you are trying to reply in is closed. ^_^', +'you need to be member to post' => 'You need to be a Member to Post', +'signup' => 'Signup', +'you need to have a reply' => 'You need to put in a Reply. ^_^', +'your last reply' => 'Your Last Reply Was:', +'mod tools' => '~ Mod Tools ~', +'cant edit reply' => 'You can not Edit this Reply. ^_^' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'mod cp' => 'Mod CP', +'mod tools' => 'Mod Tools', +'reply tools' => 'Reply Tools', +'topic tools' => 'Topic Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit topic' => 'Edit Topic', +'delete topic' => 'Delete Topic', +'delete reply' => 'Delete Reply', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode' +); ?> \ No newline at end of file diff --git a/lang/en/index.php b/lang/en/index.php index 78f5ff0..c3d73be 100644 --- a/lang/en/index.php +++ b/lang/en/index.php @@ -1,33 +1,33 @@ - 'Lo-Fi Version', -'forum name' => 'Forum Name', -'forum description' => 'Forum Description', -'there are no forums' => 'There Are No Forums Here.', -'there are no topics' => 'There Are No Topics Here.', -'off line' => 'The Board is Off Line Right Now.' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'tools' => 'Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); + 'Lo-Fi Version', +'forum name' => 'Forum Name', +'forum description' => 'Forum Description', +'there are no forums' => 'There Are No Forums Here.', +'there are no topics' => 'There Are No Topics Here.', +'off line' => 'The Board is Off Line Right Now.' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'tools' => 'Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); ?> \ No newline at end of file diff --git a/lang/en/install.php b/lang/en/install.php index cc56a77..5843607 100644 --- a/lang/en/install.php +++ b/lang/en/install.php @@ -1,40 +1,40 @@ - 'Instaling Discussion Forums 2k', -'install df2k on sever' => 'Welcome This will install Discussion Forums 2k on This sever Please insert the info below.', -'insert board name' => 'Insert Your Board Name:', -'insert database name' => 'Insert Your Database Name:', -'insert database user name' => 'Insert Your Database User Name:', -'insert database password' => 'Insert Your Database Password:', -'insert table prefix' => 'Insert a Table Prefix:', -'insert database host' => 'Insert Your Database Host(Might be localhost):', -'insert admin user name' => 'Insert a Admin User Name:', -'insert admin password' => 'Insert a Admin Password:', -'insert logo file' => 'Insert a Where Logo File is:', -'install board' => 'Install Board', -'reset form' => 'Reset Form' -); -$adminlang2 = array( -'admin cp' => 'Admin CP', -'tools' => 'Tools', -'board settings tool' => 'Board Settings Tool', -'here you edit forums' => 'Here You can edit Forums.', -'delete/edit forum' => 'Delete or Edit Forum:', -'edit category' => 'Edit Category', -'delete category' => 'Delete Category', -'new category' => 'New Category', -'edit settings' => 'Edit Settings', -'reset form' => 'Reset Form', -'use to put linebreaks' => 'Use this to put LineBreaks For you.', -'use if you are making table/list' => 'Use this if you are making a table or list.', -'auto linebreaks mode' => 'Auto LineBreaks Mode', -'raw linebreaks mode' => 'Raw LineBreaks Mode', -'home' => 'Home', -'archive' => 'Archive', -'images' => 'Images', -'mail' => 'Hate mail', -'contact' => 'Contact', -'links' => 'Links' -); + 'Instaling Discussion Forums 2k', +'install df2k on sever' => 'Welcome This will install Discussion Forums 2k on This sever Please insert the info below.', +'insert board name' => 'Insert Your Board Name:', +'insert database name' => 'Insert Your Database Name:', +'insert database user name' => 'Insert Your Database User Name:', +'insert database password' => 'Insert Your Database Password:', +'insert table prefix' => 'Insert a Table Prefix:', +'insert database host' => 'Insert Your Database Host(Might be localhost):', +'insert admin user name' => 'Insert a Admin User Name:', +'insert admin password' => 'Insert a Admin Password:', +'insert logo file' => 'Insert a Where Logo File is:', +'install board' => 'Install Board', +'reset form' => 'Reset Form' +); +$adminlang2 = array( +'admin cp' => 'Admin CP', +'tools' => 'Tools', +'board settings tool' => 'Board Settings Tool', +'here you edit forums' => 'Here You can edit Forums.', +'delete/edit forum' => 'Delete or Edit Forum:', +'edit category' => 'Edit Category', +'delete category' => 'Delete Category', +'new category' => 'New Category', +'edit settings' => 'Edit Settings', +'reset form' => 'Reset Form', +'use to put linebreaks' => 'Use this to put LineBreaks For you.', +'use if you are making table/list' => 'Use this if you are making a table or list.', +'auto linebreaks mode' => 'Auto LineBreaks Mode', +'raw linebreaks mode' => 'Raw LineBreaks Mode', +'home' => 'Home', +'archive' => 'Archive', +'images' => 'Images', +'mail' => 'Hate mail', +'contact' => 'Contact', +'links' => 'Links' +); ?> \ No newline at end of file diff --git a/misc/Act.php b/misc/Act.php index 25dc906..cb3bc26 100644 --- a/misc/Act.php +++ b/misc/Act.php @@ -1,432 +1,432 @@ -".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; - exit(); } -require( './Settings.php'); -$BoardName=$Settings['board_name']; -/*How Many Times Someone Has Come to This Board*/ -if (!session_is_registered('count')) { - session_register('count'); - $_SESSION['count'] = 1; -} else { - $_SESSION['count']++; -} -/* -$_GET_Test is same as $_GET['Test']; -*/ -import_request_variables("g", "_GET_"); -/* -$_POST_Test is same as $_POST['Test']; -*/ -import_request_variables("p", "_POST_"); -/* -$_COOKIE_Test is same as $_COOKIE['Test']; -*/ -import_request_variables("c", "_COOKIE_"); -/* -$_GET2_Test will get both $_POST['Test'] and $_GET['Test'] but will use $_GET['Test'] If they both have a Value. -*/ -import_request_variables("pg", "_GET2_"); -/* -$_POST2_Test will get both $_POST['Test'] and $_GET['Test'] but will use $_POST['Test'] If they both have a Value. -*/ -import_request_variables("gp", "_POST2_"); -$Test1 = strpos(strtoupper($_GET['highlight']), "SYSTEM"); -if ($_GET['act']==null&&$_GET['action']!=null) { $_GET['act']=$_GET['action']; } -if ($_GET['act']==null&&$_GET['mode']!=null) { $_GET['act']=$_GET['mode']; } -if ($_GET['act']==null&&$_GET['show']!=null) { $_GET['act']=$_GET['show']; } -if ($_GET['act']==null&&$_GET['do']!=null) { $_GET['act']=$_GET['do']; } -if ( $Test1 !== false ) { die; } -//CD2k = Cool Dude 2k -$CD2k = "Cool Dude 2k"; $GM2k = "Game Maker 2k"; -$DF2k = "Discussion Forums 2k"; $TB2k = "Tag Boards 2k"; -$PHPQA = "PHP-Quick-Arcade"; $CD2k_Loves="Renee Sabonis"; -/*Set Cookies or Delete Them and Sessions*/ -if ($InstallCheck!="Stop") { -if ($Settings['sql_host']==null||$Settings['sql_database']==null) { - header("Location: install.php?act=View"); } } -if ($_GET['act']=="php"||$_GET['act']=="PHP") { - header('Location: http://php.net/'); } -if ($_GET['act']=="MySQL"||$_GET['act']=="mysql") { - header('Location: http://mysql.com/'); } -if ($_GET['act']=="Apache"||$_GET['act']=="apache") { - header('Location: http://apache.org/'); } -if ($_GET['act']=="PHPLogo"||$_GET['act']=="phplogo") { - header('Location: ./Pics/php.gif'); } -if ($_GET['act']=="MySQLLogo"||$_GET['act']=="mysqllogo") { - header('Location: ./Pics/MySQL.gif'); } -if ($_GET['act']=="XML"||$_GET['act']=="xml") { - header('Location: ./Pics/xml.gif'); } -if ($_GET['act']=="RSS"||$_GET['act']=="rss") { - header('Location: ./Pics/rss.gif'); } -if ($_GET['act']=="FavIcon"||$_GET['act']=="favicon") { - header('Location: ./misc/FavIcon.png'); } -if ($_GET['act']=="GM2kSite"||$_GET['act']=="gm2ksite") { - header('Location: http://developer.berlios.de/projects/df2k/'); } -if ($_GET['act']=="GM2kBoard"||$_GET['act']=="gm2kboard") { - header('Location: http://df2k.berlios.de/board/index.php?act=View'); } -if ($_GET['act']=="GM2kTagBoard"||$_GET['act']=="gm2ktagboard") { - header('Location: http://df2k.berlios.de/TagBoard.php?act=View'); } -if ($_GET['act']=="SQLServer"||$_GET['act']=="sqlserver"||$_SERVER["QUERY_STRING"]=="SQLServer"||$_SERVER["QUERY_STRING"]=="sqlserver") { - $Settings['sql_host']; - $SQLURL=$Settings['sql_host'][0].$Settings['sql_host'][1].$Settings['sql_host'][2].$Settings['sql_host'][3]; - $SQLURL = preg_replace("/http/isxS", "http", $SQLURL); - $SQLGoto = $Settings['sql_host']; - if ($SQLURL!="http") { $SQLGoto="http://".$Settings['sql_host']; } - header('Location: '.$SQLGoto); } -if ($_GET['act']=="Send") { - $YourNameisNow = $_SESSION['MemberName']; - setcookie("YourNameis", $YourNameisNow, time() + (7 * 86400) ); - setcookie("YourEmailis", $YourEmail, time() + (7 * 86400) ); } -if ($_GET['act']=="DeleteCookies") { - setcookie("YourNameis"); - setcookie("YourEmailis"); } -if ($_GET['act']=="DeleteSession") { - session_destroy(); } -if ($_GET['act']=="ResetSession") { - session_unset(); } -if ($_GET['act']=="NewSessionID") { - session_regenerate_id(); } -if ($_GET['act']=="ShowSessionID") { - echo "\r\nYour Session ID is ".session_id()."\r\n".$BoardName." - Your Session ID is ".session_id()."
\r\nReload Board"; - exit(); } -if ($_GET['act']=="ShowIPAddress") { - echo "\r\nYour IP Address is ".$_SERVER['REMOTE_ADDR']."\r\n".$BoardName." - Your IP Address is ".$_SERVER['REMOTE_ADDR']."
\r\nReload Board"; - exit(); } -if ($_GET['about']=="mozilla"||$_GET['about']=="Mozilla") { $_GET['act']="about:mozilla"; } -if ($_GET['act']=="about:mozilla") { - $_GET['act']="Mozilla"; - if ($_GET['Page']==null) { - $_GET['Page']="12:10"; } } -if ($_GET['act']=="Mozilla") { - if ($_GET['Page']==null) { - $_GET['Page']="12:10"; } - require( 'Mozilla.php'); - exit(); } -if ($_GET['about']=="cd2k"||$_GET['about']=="CD2k") { $_GET['act']="about:cooldude2k"; } -if ($_GET['act']=="about:cd2k") { $_GET['act']="about:cooldude2k"; } -if ($_GET['about']=="cooldude2k"||$_GET['about']=="CoolDude2k") { $_GET['act']="about:cooldude2k"; } -if ($_GET['act']=="about:cooldude2k") { - $_GET['act']="CD2k"; - $_GET['Page']="CD2k"; } -if ($_GET['act']=="CD2k") { - $_GET['Page']="CD2k"; - require( 'Mozilla.php'); - exit(); } -if ($_GET['about']=="gpl"||$_GET['about']=="GPL") { $_GET['act']="about:gpl"; } -if ($_GET['act']=="about:gpl") { - $_GET['act']="GPL"; - $_GET['Page']="GPL"; } -if ($_GET['act']=="GPL") { - $_GET['Page']="GPL"; - require( 'Mozilla.php'); - exit(); } -if ($_GET['about']=="df2k"||$_GET['about']=="DF2k") { $_GET['act']="about:discussionforums2k"; } -if ($_GET['act']=="about:df2k") { $_GET['act']="about:discussionforums2k"; } -if ($_GET['about']=="discussionforums2k"||$_GET['about']=="DiscussionForums2k") { $_GET['act']="about:discussionforums2k"; } -if ($_GET['act']=="about:discussionforums2k") { - $_GET['act']="DF2k"; - $_GET['Page']="DF2k"; } -if ($_GET['act']=="DF2k") { - $_GET['Page']="DF2k"; - require( 'Mozilla.php'); - exit(); } -if ($_GET['about']=="gm2k"||$_GET['about']=="GM2k") { $_GET['act']="about:gamemaker2k"; } -if ($_GET['act']=="about:gm2k") { $_GET['act']="about:gamemaker2k"; } -if ($_GET['about']=="gamemaker2k"||$_GET['about']=="GameMaker2k") { $_GET['act']="about:gamemaker2k"; } -if ($_GET['act']=="about:gamemaker2k") { - $_GET['act']="GM2k"; - $_GET['Page']="GM2k"; } -if ($_GET['act']=="GM2k") { - $_GET['Page']="GM2k"; - require( 'Mozilla.php'); - exit(); } -if ($_GET['about']=="renee"||$_GET['about']=="Renee") { $_GET['act']="about:renee"; } -if ($_GET['act']=="about:reneesabonis") { $_GET['act']="about:renee"; } -if ($_GET['act']=="about:renee") { $_GET['act']="about:renee"; } -if ($_GET['about']=="renee"||$_GET['about']=="Renee") { $_GET['act']="about:renee"; } -if ($_GET['act']=="about:renee") { - $_GET['act']="ReneeSabonis"; - $_GET['Page']="Renee"; } -if ($_GET['act']=="ReneeSabonis") { - $_GET['Page']="Renee"; - require( 'Mozilla.php'); - exit(); } -if ($_GET['act']=="phpinfo"||$_GET['act']=="PHPInfo") { - phpinfo(); - exit(); } -if ($_GET['act']=="Renee Sabonis"||$_GET['act']=="renee sabonis"||$_SERVER["QUERY_STRING"]=="Renee Sabonis"||$_SERVER["QUERY_STRING"]=="renee sabonis") { - ?> - - - -"> - - -\r\n"; -echo "@import url(./Skin/Skin1/CSS.php);\r\n"; -//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; -echo "\n\r".$BoardName." ".$TitleLine." Renee Sabonis\n\r\n\r"; - echo "
Renee Sabonis
"; - exit("\n\r"); } -if ($_GET['act']=="GDInfo"||$_GET['act']=="gdinfo") { - ?> - - - -"> - - -\r\n"; -echo "@import url(./Skin/Skin1/CSS.php);\r\n"; -//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; -echo "\n\r".$BoardName." ".$TitleLine." GDInfo\n\r\n\r"; - var_dump(gd_info()); - die("\n\r"); } -/* Check to see if the User is trying to Edit Session Vars. ^_^ */ -$_SESSION['DF2kVer']="v3.3.T"; -$_SESSION['DF2kPreVer']=" Beta 4"; -if (isset($_REQUEST['UserName'])) { - exit('An attempt to modify session data was made.'); } -if (isset($_REQUEST['UserID'])) { - exit('An attempt to modify session data was made.'); } -if (isset($_REQUEST['UserGroup'])) { - exit('An attempt to modify session data was made.'); } -if (isset($_REQUEST['UserTimeZone'])) { - exit('An attempt to modify session data was made.'); } -if (isset($_REQUEST['Skin'])) { - exit('An attempt to modify session data was made.'); } -if (isset($_REQUEST['ShowBackwards'])) { - exit('An attempt to modify session data was made.'); } -if (isset($_REQUEST['YourID1'])) { - exit('An attempt to modify session data was made.'); } -if (isset($_REQUEST['YourID2'])) { - exit('An attempt to modify session data was made.'); } -if (isset($_REQUEST['YourID3'])) { - exit('An attempt to modify session data was made.'); } -if (isset($_REQUEST['DF2kVer'])) { - exit('An attempt to modify session data was made.'); } -if ($_GET['Validate']=="HTML"||$_GET['validate']=="HTML") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=HTML/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=HTML/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://validator.w3.org/check?verbose=1&uri='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="HTML2"||$_GET['validate']=="HTML2") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=HTML2/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=HTML2/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://www.htmlhelp.com/cgi-bin/validate.cgi?warnings=yes&url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="Links"||$_GET['validate']=="Links") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=Links/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=Links/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://validator.w3.org/checklink?check=Check&hide_type=all&summary=on&uri='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="CSS"||$_GET['validate']=="CSS") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=CSS/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=CSS/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="WAI"||$_GET['validate']=="WAI") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=WAI/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=WAI/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=2&url1='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="Section508"||$_GET['validate']=="Section508") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=Section508/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=Section508/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&url1='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="SpeedReport"||$_GET['validate']=="SpeedReport") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=SpeedReport/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=SpeedReport/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://www.websiteoptimization.com/cgi-bin/wso/wso.pl?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="WebXACT"||$_GET['validate']=="WebXACT") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=WebXACT/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=WebXACT/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://webxact.watchfire.com/submit.aspx?SCANURL='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="META"||$_GET['validate']=="META") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=META/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=META/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://www.scrubtheweb.com/cgi-bin/webtools/meta-check.cgi?URL='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="LoadTime"||$_GET['validate']=="LoadTime") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=LoadTime/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=LoadTime/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://www.1-hit.com/all-in-one/php/tool.loading-time-checker.php?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="PageRank"||$_GET['validate']=="PageRank") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=PageRank/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=PageRank/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://www.1-hit.com/all-in-one/php/tool.ranking.php?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="Popularity"||$_GET['validate']=="Popularity") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=Popularity/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=Popularity/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://www.seochat.com/?go=1&option=com_seotools&tool=1&toolsubmit=Check+my+Popularity&url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="HTML2TEXT"||$_GET['validate']=="HTML2TEXT") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=HTML2TEXT/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=HTML2TEXT/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://cgi.w3.org/cgi-bin/html2txt?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['Validate']=="SilkTide"||$_GET['validate']=="SilkTide") { - $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=SilkTide/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=SilkTide/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://www.silktide.com/index.php?node=18444&form2=1&staticq=1&f2_url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['php']=="Search"||$_GET['PHP']=="Search") { - if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } - if ($_GET['search']==null) { $_GET['Search']="echo"; } } - header('Location: http://us3.php.net/manual-lookup.php?pattern='.$_GET['Search']); } -if ($_GET['Google']=="Search"||$_GET['google']=="Search") { - if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } - if ($_GET['search']==null) { $_GET['Search']="Renee"; } } - header('Location: http://google.com/search?btnG=Google+Search&q='.$_GET['Search']); } -if ($_GET['Google']=="Custom"||$_GET['google']=="Custom") { - if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } - if ($_GET['search']==null) { $_GET['Search']="Renee"; } } - header('Location: http://www.google.com/custom?q='.$_GET['Search']); } -if ($_GET['Google']=="ImLucky"||$_GET['google']=="LuckySearch") { - if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } - if ($_GET['search']==null) { $_GET['Search']="Renee"; } } - header('Location: http://google.com/search?btnI=I%27m+Feeling+Lucky&q='.$_GET['Search']); } -if ($_GET['Yahoo']=="Search"||$_GET['yahoo']=="Search") { - if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } - if ($_GET['search']==null) { $_GET['Search']="Renee"; } } - header('Location: http://search.yahoo.com/search?p='.$_GET['Search']); } -if ($_GET['act']=="BugMeNot"||$_GET['act']=="bugmenot") { - $NEW["REQUEST_URI"] = preg_replace("/\?act\=BugMeNot/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&act\=BugMeNot/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://bugmenot.com/view.php?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['act']=="Wikipedia"||$_GET['act']=="wikipedia") { - if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } - if ($_GET['search']==null) { $_GET['Search']="Renee"; } } - if ($_GET['Lang']==null) { if ($_GET['lang']!=null) { $_GET['lang']=$_GET['Lang']; } - if ($_GET['lang']==null) { $_GET['lang']="en"; } } - header('Location: http://'.$_GET['lang'].'.wikipedia.org/wiki/'.$_GET['search']); } -if ($_GET['Translate']=="AltaVista"||$_GET['Translate']=="altavista") { - if ($_GET['TranFrom']==null) { if ($_GET['TranFrom']!=null) { $_GET['TranFrom']=$_GET['TranFrom']; } - if ($_GET['TranFrom']==null) { $_GET['TranFrom']="en"; } } - if ($_GET['TranTo']==null) { if ($_GET['TranTo']!=null) { $_GET['TranTo']=$_GET['TranTo']; } - if ($_GET['TranTo']==null) { $_GET['TranTo']="es"; } } - $NEW["REQUEST_URI"] = preg_replace("/\?Translate\=AltaVista/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); - $NEW["REQUEST_URI"] = preg_replace("/\&Translate\=AltaVista/isxS", "", $NEW["REQUEST_URI"]); - header('Location: http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp='.$_GET['TranFrom'].'_'.$_GET['TranTo'].'&url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } -if ($_GET['act']=="Sleep") { - sleep(rand(1,25)); - $_GET['act']="View"; } -if ($_GET['act']=="Install") { - header('Location: install.php'); } -if ($_GET['act']=="Admin") { - header('Location: Admin/Login.php?act=Login'); } -if ($_GET['act']=="Administrator") { - header('Location: Admin/Login.php?act=Login'); } -if ($_GET['act']=="Mod") { - header('Location: Mod/Login.php?act=Login'); } -if ($_GET['act']=="Moderator") { - header('Location: Mod/Login.php?act=Login'); } -if ($_GET['act']=="Calendar") { - header('Location: Calendar.php?act=View'); } -if ($_GET['act']=="TagBoard") { - header('Location: TagBoard.php?act=View'); } -if ($_GET['act']=="ReadPM") { - header('Location: Messenger.php?act=View'); } -if ($_GET['act']=="ReadSentPM") { - header('Location: Messenger.php?act=View'); } -if ($_GET['act']=="ReadPMs") { - header('Location: Messenger.php?act=View'); } -if ($_GET['act']=="ReadSentPMs") { - header('Location: Messenger.php?act=View'); } -//if ($_GET['act']=="SendPM") { -// header('Location: Messenger.php?act=View'); } -if ($_GET['act']=="idx") { - $_GET['act']="View"; } -if ($_GET['act']=="view") { - $_GET['act']="View"; } -if ($_GET['act']=="create") { - $_GET['act']="Create"; } -if ($_GET['act']=="creat") { - $_GET['act']="Create"; } -if ($_GET['act']=="Creat") { - $_GET['act']="Create"; } -if ($_GET['act']=="profile") { - $_GET['act']="Profile"; } -if ($_GET['act']=="Info") { - $_GET['act']="Profile"; } -if ($_GET['act']=="info") { - $_GET['act']="Profile"; } -if ($_GET['act']=="help") { - $_GET['act']="Help"; } -if ($_GET['act']=="event") { - $_GET['act']="Event"; } -if ($_GET['act']=="newtopic") { - $_GET['act']="Create"; } -if ($_GET['act']=="Newtopic") { - $_GET['act']="Create"; } -if ($_GET['act']=="NewTopic") { - $_GET['act']="Create"; } -if ($_GET['act']=="Newreply") { - $_GET['act']="Create"; } -if ($_GET['act']=="NewReply") { - $_GET['act']="Create"; } -if ($_GET['act']=="SendPMs") { - header('Location: Messenger.php?act=View'); } -if ($_GET['act']=="Register") { - header('Location: Members.php?act=Signup'); } -if ($_GET['act']=="Signin") { - header('Location: Members.php?act=Login'); } -if ($_GET['act']=="signout") { - header('Location: Members.php?act=Logout'); } -if ($_GET['act']=="GetDF2k"||$_GET['act']=="getdf2k") { - header('Location: http://developer.berlios.de/projects/df2k/'); } -if ($_GET['act']=="Jcink"||$_GET['act']=="jcink") { - header('Location: http://jcink.com/'); } -if ($_GET['act']=="RPGNation"||$_GET['act']=="rpgnation") { - $_GET['act']="RPG-Nation"; } -if ($_GET['act']=="RPG-Nation"||$_GET['act']=="rpg-nation") { - header('Location: http://rpg-nation.net/'); } -if ($_GET['act']=="mvpzero") { - header('Location: http://mvpzero.net/'); } -if ($_GET['act']=="MvpZERO") { - header('Location: http://mvpzero.net/'); } -if ($_GET['act']=="GetFireFox") { - header('Location: http://GetFireFox.com/'); } -if ($_GET['act']=="getfirefox") { - header('Location: http://GetFireFox.com/'); } -if ($_GET['act']=="Renee"||$_SERVER["QUERY_STRING"]=="Renee") { - header('Location: ./Pics/Renee.jpg'); } -if ($_GET['act']=="renee"||$_SERVER["QUERY_STRING"]=="renee") { - header('Location: ./Pics/Renee2.jpg'); } -if ($_GET['act']=="Renée"||$_SERVER["QUERY_STRING"]=="Renée") { - header('Location: ./Pics/Renee.jpg'); } -if ($_GET['act']=="renée"||$_SERVER["QUERY_STRING"]=="renée") { - header('Location: ./Pics/Renee2.jpg'); } -if ($_GET['act']=="Encrypter"||$_GET['act']=="encrypter") { $_GET['act']="Encrypter2k"; } -if ($_GET['act']=="Encrypter2k"||$_GET['act']=="encrypter2k") { - header('Location: ./misc/Tools/Encrypter.php'); } -if ($_GET['act']=="Encrypter2"||$_GET['act']=="encrypter2") { $_GET['act']="Number"; } -if ($_GET['act']=="Number"||$_GET['act']=="number") { - header('Location: ./misc/Tools/Number.php'); } -if ($_GET['act']=="passwordTool"||$_GET['act']=="passwordtool") { $_GET['act']="PasswordTool"; } -if ($_GET['act']=="PasswordTool"||$_GET['act']=="Passwordtool") { - header('Location: ./misc/Tools/Password.php'); } -if ($_GET['url']!=null) { - header('Location: '.$_GET['url'].''); } -if ($_GET['act']=="BrowserINFO") { - echo "\r\n".$BoardName." - Browser Info\r\n"; - echo $_SERVER['HTTP_USER_AGENT'] . "\r\n
Reload Board"; - exit(); } -if ($_GET['act']=="ShowCount") { - echo "\r\n".$BoardName." - Count Number\r\n"; - echo $count; - exit(); } -if ($_GET['act']=="Download") { - $ThisFile1 = dirname($_SERVER['PHP_SELF'])."/"; - $ThisFile2 = $_SERVER['PHP_SELF']; - $ThisFile3=str_replace($ThisFile1, null, $ThisFile2); - $ThisFile3=preg_replace("/.php/isxS", "", $ThisFile3); - header('Content-Disposition: attachment; filename="'.$ThisFile3.'.html"'); - $_GET['act']="View"; } -if ($_GET['Download']!=null) { - $ThisFile1 = dirname($_SERVER['PHP_SELF'])."/"; - $ThisFile2 = $_SERVER['PHP_SELF']; - $ThisFile3=str_replace($ThisFile1, null, $ThisFile2); - $ThisFile3=preg_replace("/.php/isxS", "", $ThisFile3); - header('Content-Disposition: attachment; filename="'.$ThisFile3.'.html"'); } -if ($OffLine=="Yes") { - $_GET['act']="Off"; } +".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; + exit(); } +require( './Settings.php'); +$BoardName=$Settings['board_name']; +/*How Many Times Someone Has Come to This Board*/ +if (!session_is_registered('count')) { + session_register('count'); + $_SESSION['count'] = 1; +} else { + $_SESSION['count']++; +} +/* +$_GET_Test is same as $_GET['Test']; +*/ +import_request_variables("g", "_GET_"); +/* +$_POST_Test is same as $_POST['Test']; +*/ +import_request_variables("p", "_POST_"); +/* +$_COOKIE_Test is same as $_COOKIE['Test']; +*/ +import_request_variables("c", "_COOKIE_"); +/* +$_GET2_Test will get both $_POST['Test'] and $_GET['Test'] but will use $_GET['Test'] If they both have a Value. +*/ +import_request_variables("pg", "_GET2_"); +/* +$_POST2_Test will get both $_POST['Test'] and $_GET['Test'] but will use $_POST['Test'] If they both have a Value. +*/ +import_request_variables("gp", "_POST2_"); +$Test1 = strpos(strtoupper($_GET['highlight']), "SYSTEM"); +if ($_GET['act']==null&&$_GET['action']!=null) { $_GET['act']=$_GET['action']; } +if ($_GET['act']==null&&$_GET['mode']!=null) { $_GET['act']=$_GET['mode']; } +if ($_GET['act']==null&&$_GET['show']!=null) { $_GET['act']=$_GET['show']; } +if ($_GET['act']==null&&$_GET['do']!=null) { $_GET['act']=$_GET['do']; } +if ( $Test1 !== false ) { die; } +//CD2k = Cool Dude 2k +$CD2k = "Cool Dude 2k"; $GM2k = "Game Maker 2k"; +$DF2k = "Discussion Forums 2k"; $TB2k = "Tag Boards 2k"; +$PHPQA = "PHP-Quick-Arcade"; $CD2k_Loves="Renee Sabonis"; +/*Set Cookies or Delete Them and Sessions*/ +if ($InstallCheck!="Stop") { +if ($Settings['sql_host']==null||$Settings['sql_database']==null) { + header("Location: install.php?act=View"); } } +if ($_GET['act']=="php"||$_GET['act']=="PHP") { + header('Location: http://php.net/'); } +if ($_GET['act']=="MySQL"||$_GET['act']=="mysql") { + header('Location: http://mysql.com/'); } +if ($_GET['act']=="Apache"||$_GET['act']=="apache") { + header('Location: http://apache.org/'); } +if ($_GET['act']=="PHPLogo"||$_GET['act']=="phplogo") { + header('Location: ./Pics/php.gif'); } +if ($_GET['act']=="MySQLLogo"||$_GET['act']=="mysqllogo") { + header('Location: ./Pics/MySQL.gif'); } +if ($_GET['act']=="XML"||$_GET['act']=="xml") { + header('Location: ./Pics/xml.gif'); } +if ($_GET['act']=="RSS"||$_GET['act']=="rss") { + header('Location: ./Pics/rss.gif'); } +if ($_GET['act']=="FavIcon"||$_GET['act']=="favicon") { + header('Location: ./misc/FavIcon.png'); } +if ($_GET['act']=="GM2kSite"||$_GET['act']=="gm2ksite") { + header('Location: http://developer.berlios.de/projects/df2k/'); } +if ($_GET['act']=="GM2kBoard"||$_GET['act']=="gm2kboard") { + header('Location: http://df2k.berlios.de/board/index.php?act=View'); } +if ($_GET['act']=="GM2kTagBoard"||$_GET['act']=="gm2ktagboard") { + header('Location: http://df2k.berlios.de/TagBoard.php?act=View'); } +if ($_GET['act']=="SQLServer"||$_GET['act']=="sqlserver"||$_SERVER["QUERY_STRING"]=="SQLServer"||$_SERVER["QUERY_STRING"]=="sqlserver") { + $Settings['sql_host']; + $SQLURL=$Settings['sql_host'][0].$Settings['sql_host'][1].$Settings['sql_host'][2].$Settings['sql_host'][3]; + $SQLURL = preg_replace("/http/isxS", "http", $SQLURL); + $SQLGoto = $Settings['sql_host']; + if ($SQLURL!="http") { $SQLGoto="http://".$Settings['sql_host']; } + header('Location: '.$SQLGoto); } +if ($_GET['act']=="Send") { + $YourNameisNow = $_SESSION['MemberName']; + setcookie("YourNameis", $YourNameisNow, time() + (7 * 86400) ); + setcookie("YourEmailis", $YourEmail, time() + (7 * 86400) ); } +if ($_GET['act']=="DeleteCookies") { + setcookie("YourNameis"); + setcookie("YourEmailis"); } +if ($_GET['act']=="DeleteSession") { + session_destroy(); } +if ($_GET['act']=="ResetSession") { + session_unset(); } +if ($_GET['act']=="NewSessionID") { + session_regenerate_id(); } +if ($_GET['act']=="ShowSessionID") { + echo "\r\nYour Session ID is ".session_id()."\r\n".$BoardName." - Your Session ID is ".session_id()."
\r\nReload Board"; + exit(); } +if ($_GET['act']=="ShowIPAddress") { + echo "\r\nYour IP Address is ".$_SERVER['REMOTE_ADDR']."\r\n".$BoardName." - Your IP Address is ".$_SERVER['REMOTE_ADDR']."
\r\nReload Board"; + exit(); } +if ($_GET['about']=="mozilla"||$_GET['about']=="Mozilla") { $_GET['act']="about:mozilla"; } +if ($_GET['act']=="about:mozilla") { + $_GET['act']="Mozilla"; + if ($_GET['Page']==null) { + $_GET['Page']="12:10"; } } +if ($_GET['act']=="Mozilla") { + if ($_GET['Page']==null) { + $_GET['Page']="12:10"; } + require( 'Mozilla.php'); + exit(); } +if ($_GET['about']=="cd2k"||$_GET['about']=="CD2k") { $_GET['act']="about:cooldude2k"; } +if ($_GET['act']=="about:cd2k") { $_GET['act']="about:cooldude2k"; } +if ($_GET['about']=="cooldude2k"||$_GET['about']=="CoolDude2k") { $_GET['act']="about:cooldude2k"; } +if ($_GET['act']=="about:cooldude2k") { + $_GET['act']="CD2k"; + $_GET['Page']="CD2k"; } +if ($_GET['act']=="CD2k") { + $_GET['Page']="CD2k"; + require( 'Mozilla.php'); + exit(); } +if ($_GET['about']=="gpl"||$_GET['about']=="GPL") { $_GET['act']="about:gpl"; } +if ($_GET['act']=="about:gpl") { + $_GET['act']="GPL"; + $_GET['Page']="GPL"; } +if ($_GET['act']=="GPL") { + $_GET['Page']="GPL"; + require( 'Mozilla.php'); + exit(); } +if ($_GET['about']=="df2k"||$_GET['about']=="DF2k") { $_GET['act']="about:discussionforums2k"; } +if ($_GET['act']=="about:df2k") { $_GET['act']="about:discussionforums2k"; } +if ($_GET['about']=="discussionforums2k"||$_GET['about']=="DiscussionForums2k") { $_GET['act']="about:discussionforums2k"; } +if ($_GET['act']=="about:discussionforums2k") { + $_GET['act']="DF2k"; + $_GET['Page']="DF2k"; } +if ($_GET['act']=="DF2k") { + $_GET['Page']="DF2k"; + require( 'Mozilla.php'); + exit(); } +if ($_GET['about']=="gm2k"||$_GET['about']=="GM2k") { $_GET['act']="about:gamemaker2k"; } +if ($_GET['act']=="about:gm2k") { $_GET['act']="about:gamemaker2k"; } +if ($_GET['about']=="gamemaker2k"||$_GET['about']=="GameMaker2k") { $_GET['act']="about:gamemaker2k"; } +if ($_GET['act']=="about:gamemaker2k") { + $_GET['act']="GM2k"; + $_GET['Page']="GM2k"; } +if ($_GET['act']=="GM2k") { + $_GET['Page']="GM2k"; + require( 'Mozilla.php'); + exit(); } +if ($_GET['about']=="renee"||$_GET['about']=="Renee") { $_GET['act']="about:renee"; } +if ($_GET['act']=="about:reneesabonis") { $_GET['act']="about:renee"; } +if ($_GET['act']=="about:renee") { $_GET['act']="about:renee"; } +if ($_GET['about']=="renee"||$_GET['about']=="Renee") { $_GET['act']="about:renee"; } +if ($_GET['act']=="about:renee") { + $_GET['act']="ReneeSabonis"; + $_GET['Page']="Renee"; } +if ($_GET['act']=="ReneeSabonis") { + $_GET['Page']="Renee"; + require( 'Mozilla.php'); + exit(); } +if ($_GET['act']=="phpinfo"||$_GET['act']=="PHPInfo") { + phpinfo(); + exit(); } +if ($_GET['act']=="Renee Sabonis"||$_GET['act']=="renee sabonis"||$_SERVER["QUERY_STRING"]=="Renee Sabonis"||$_SERVER["QUERY_STRING"]=="renee sabonis") { + ?> + + + +"> + + +\r\n"; +echo "@import url(./Skin/Skin1/CSS.php);\r\n"; +//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; +echo "\n\r".$BoardName." ".$TitleLine." Renee Sabonis\n\r\n\r"; + echo "
Renee Sabonis
"; + exit("\n\r"); } +if ($_GET['act']=="GDInfo"||$_GET['act']=="gdinfo") { + ?> + + + +"> + + +\r\n"; +echo "@import url(./Skin/Skin1/CSS.php);\r\n"; +//require( '../CSS'.$_SESSION["Skin"].'.php');echo"\r\n"; +echo "\n\r".$BoardName." ".$TitleLine." GDInfo\n\r\n\r"; + var_dump(gd_info()); + die("\n\r"); } +/* Check to see if the User is trying to Edit Session Vars. ^_^ */ +$_SESSION['DF2kVer']="v3.3.T"; +$_SESSION['DF2kPreVer']=" Beta 4"; +if (isset($_REQUEST['UserName'])) { + exit('An attempt to modify session data was made.'); } +if (isset($_REQUEST['UserID'])) { + exit('An attempt to modify session data was made.'); } +if (isset($_REQUEST['UserGroup'])) { + exit('An attempt to modify session data was made.'); } +if (isset($_REQUEST['UserTimeZone'])) { + exit('An attempt to modify session data was made.'); } +if (isset($_REQUEST['Skin'])) { + exit('An attempt to modify session data was made.'); } +if (isset($_REQUEST['ShowBackwards'])) { + exit('An attempt to modify session data was made.'); } +if (isset($_REQUEST['YourID1'])) { + exit('An attempt to modify session data was made.'); } +if (isset($_REQUEST['YourID2'])) { + exit('An attempt to modify session data was made.'); } +if (isset($_REQUEST['YourID3'])) { + exit('An attempt to modify session data was made.'); } +if (isset($_REQUEST['DF2kVer'])) { + exit('An attempt to modify session data was made.'); } +if ($_GET['Validate']=="HTML"||$_GET['validate']=="HTML") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=HTML/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=HTML/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://validator.w3.org/check?verbose=1&uri='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="HTML2"||$_GET['validate']=="HTML2") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=HTML2/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=HTML2/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://www.htmlhelp.com/cgi-bin/validate.cgi?warnings=yes&url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="Links"||$_GET['validate']=="Links") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=Links/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=Links/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://validator.w3.org/checklink?check=Check&hide_type=all&summary=on&uri='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="CSS"||$_GET['validate']=="CSS") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=CSS/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=CSS/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="WAI"||$_GET['validate']=="WAI") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=WAI/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=WAI/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=2&url1='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="Section508"||$_GET['validate']=="Section508") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=Section508/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=Section508/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&url1='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="SpeedReport"||$_GET['validate']=="SpeedReport") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=SpeedReport/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=SpeedReport/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://www.websiteoptimization.com/cgi-bin/wso/wso.pl?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="WebXACT"||$_GET['validate']=="WebXACT") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=WebXACT/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=WebXACT/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://webxact.watchfire.com/submit.aspx?SCANURL='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="META"||$_GET['validate']=="META") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=META/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=META/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://www.scrubtheweb.com/cgi-bin/webtools/meta-check.cgi?URL='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="LoadTime"||$_GET['validate']=="LoadTime") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=LoadTime/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=LoadTime/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://www.1-hit.com/all-in-one/php/tool.loading-time-checker.php?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="PageRank"||$_GET['validate']=="PageRank") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=PageRank/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=PageRank/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://www.1-hit.com/all-in-one/php/tool.ranking.php?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="Popularity"||$_GET['validate']=="Popularity") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=Popularity/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=Popularity/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://www.seochat.com/?go=1&option=com_seotools&tool=1&toolsubmit=Check+my+Popularity&url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="HTML2TEXT"||$_GET['validate']=="HTML2TEXT") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=HTML2TEXT/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=HTML2TEXT/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://cgi.w3.org/cgi-bin/html2txt?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['Validate']=="SilkTide"||$_GET['validate']=="SilkTide") { + $NEW["REQUEST_URI"] = preg_replace("/\?Validate\=SilkTide/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Validate\=SilkTide/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://www.silktide.com/index.php?node=18444&form2=1&staticq=1&f2_url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['php']=="Search"||$_GET['PHP']=="Search") { + if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } + if ($_GET['search']==null) { $_GET['Search']="echo"; } } + header('Location: http://us3.php.net/manual-lookup.php?pattern='.$_GET['Search']); } +if ($_GET['Google']=="Search"||$_GET['google']=="Search") { + if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } + if ($_GET['search']==null) { $_GET['Search']="Renee"; } } + header('Location: http://google.com/search?btnG=Google+Search&q='.$_GET['Search']); } +if ($_GET['Google']=="Custom"||$_GET['google']=="Custom") { + if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } + if ($_GET['search']==null) { $_GET['Search']="Renee"; } } + header('Location: http://www.google.com/custom?q='.$_GET['Search']); } +if ($_GET['Google']=="ImLucky"||$_GET['google']=="LuckySearch") { + if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } + if ($_GET['search']==null) { $_GET['Search']="Renee"; } } + header('Location: http://google.com/search?btnI=I%27m+Feeling+Lucky&q='.$_GET['Search']); } +if ($_GET['Yahoo']=="Search"||$_GET['yahoo']=="Search") { + if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } + if ($_GET['search']==null) { $_GET['Search']="Renee"; } } + header('Location: http://search.yahoo.com/search?p='.$_GET['Search']); } +if ($_GET['act']=="BugMeNot"||$_GET['act']=="bugmenot") { + $NEW["REQUEST_URI"] = preg_replace("/\?act\=BugMeNot/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&act\=BugMeNot/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://bugmenot.com/view.php?url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['act']=="Wikipedia"||$_GET['act']=="wikipedia") { + if ($_GET['Search']==null) { if ($_GET['search']!=null) { $_GET['Search']=$_GET['search']; } + if ($_GET['search']==null) { $_GET['Search']="Renee"; } } + if ($_GET['Lang']==null) { if ($_GET['lang']!=null) { $_GET['lang']=$_GET['Lang']; } + if ($_GET['lang']==null) { $_GET['lang']="en"; } } + header('Location: http://'.$_GET['lang'].'.wikipedia.org/wiki/'.$_GET['search']); } +if ($_GET['Translate']=="AltaVista"||$_GET['Translate']=="altavista") { + if ($_GET['TranFrom']==null) { if ($_GET['TranFrom']!=null) { $_GET['TranFrom']=$_GET['TranFrom']; } + if ($_GET['TranFrom']==null) { $_GET['TranFrom']="en"; } } + if ($_GET['TranTo']==null) { if ($_GET['TranTo']!=null) { $_GET['TranTo']=$_GET['TranTo']; } + if ($_GET['TranTo']==null) { $_GET['TranTo']="es"; } } + $NEW["REQUEST_URI"] = preg_replace("/\?Translate\=AltaVista/isxS", "?Renee=Awesome", $_SERVER["REQUEST_URI"]); + $NEW["REQUEST_URI"] = preg_replace("/\&Translate\=AltaVista/isxS", "", $NEW["REQUEST_URI"]); + header('Location: http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp='.$_GET['TranFrom'].'_'.$_GET['TranTo'].'&url='.urlencode('http://'.$_SERVER["HTTP_HOST"].$NEW["REQUEST_URI"])); } +if ($_GET['act']=="Sleep") { + sleep(rand(1,25)); + $_GET['act']="View"; } +if ($_GET['act']=="Install") { + header('Location: install.php'); } +if ($_GET['act']=="Admin") { + header('Location: Admin/Login.php?act=Login'); } +if ($_GET['act']=="Administrator") { + header('Location: Admin/Login.php?act=Login'); } +if ($_GET['act']=="Mod") { + header('Location: Mod/Login.php?act=Login'); } +if ($_GET['act']=="Moderator") { + header('Location: Mod/Login.php?act=Login'); } +if ($_GET['act']=="Calendar") { + header('Location: Calendar.php?act=View'); } +if ($_GET['act']=="TagBoard") { + header('Location: TagBoard.php?act=View'); } +if ($_GET['act']=="ReadPM") { + header('Location: Messenger.php?act=View'); } +if ($_GET['act']=="ReadSentPM") { + header('Location: Messenger.php?act=View'); } +if ($_GET['act']=="ReadPMs") { + header('Location: Messenger.php?act=View'); } +if ($_GET['act']=="ReadSentPMs") { + header('Location: Messenger.php?act=View'); } +//if ($_GET['act']=="SendPM") { +// header('Location: Messenger.php?act=View'); } +if ($_GET['act']=="idx") { + $_GET['act']="View"; } +if ($_GET['act']=="view") { + $_GET['act']="View"; } +if ($_GET['act']=="create") { + $_GET['act']="Create"; } +if ($_GET['act']=="creat") { + $_GET['act']="Create"; } +if ($_GET['act']=="Creat") { + $_GET['act']="Create"; } +if ($_GET['act']=="profile") { + $_GET['act']="Profile"; } +if ($_GET['act']=="Info") { + $_GET['act']="Profile"; } +if ($_GET['act']=="info") { + $_GET['act']="Profile"; } +if ($_GET['act']=="help") { + $_GET['act']="Help"; } +if ($_GET['act']=="event") { + $_GET['act']="Event"; } +if ($_GET['act']=="newtopic") { + $_GET['act']="Create"; } +if ($_GET['act']=="Newtopic") { + $_GET['act']="Create"; } +if ($_GET['act']=="NewTopic") { + $_GET['act']="Create"; } +if ($_GET['act']=="Newreply") { + $_GET['act']="Create"; } +if ($_GET['act']=="NewReply") { + $_GET['act']="Create"; } +if ($_GET['act']=="SendPMs") { + header('Location: Messenger.php?act=View'); } +if ($_GET['act']=="Register") { + header('Location: Members.php?act=Signup'); } +if ($_GET['act']=="Signin") { + header('Location: Members.php?act=Login'); } +if ($_GET['act']=="signout") { + header('Location: Members.php?act=Logout'); } +if ($_GET['act']=="GetDF2k"||$_GET['act']=="getdf2k") { + header('Location: http://developer.berlios.de/projects/df2k/'); } +if ($_GET['act']=="Jcink"||$_GET['act']=="jcink") { + header('Location: http://jcink.com/'); } +if ($_GET['act']=="RPGNation"||$_GET['act']=="rpgnation") { + $_GET['act']="RPG-Nation"; } +if ($_GET['act']=="RPG-Nation"||$_GET['act']=="rpg-nation") { + header('Location: http://rpg-nation.net/'); } +if ($_GET['act']=="mvpzero") { + header('Location: http://mvpzero.net/'); } +if ($_GET['act']=="MvpZERO") { + header('Location: http://mvpzero.net/'); } +if ($_GET['act']=="GetFireFox") { + header('Location: http://GetFireFox.com/'); } +if ($_GET['act']=="getfirefox") { + header('Location: http://GetFireFox.com/'); } +if ($_GET['act']=="Renee"||$_SERVER["QUERY_STRING"]=="Renee") { + header('Location: ./Pics/Renee.jpg'); } +if ($_GET['act']=="renee"||$_SERVER["QUERY_STRING"]=="renee") { + header('Location: ./Pics/Renee2.jpg'); } +if ($_GET['act']=="Renée"||$_SERVER["QUERY_STRING"]=="Renée") { + header('Location: ./Pics/Renee.jpg'); } +if ($_GET['act']=="renée"||$_SERVER["QUERY_STRING"]=="renée") { + header('Location: ./Pics/Renee2.jpg'); } +if ($_GET['act']=="Encrypter"||$_GET['act']=="encrypter") { $_GET['act']="Encrypter2k"; } +if ($_GET['act']=="Encrypter2k"||$_GET['act']=="encrypter2k") { + header('Location: ./misc/Tools/Encrypter.php'); } +if ($_GET['act']=="Encrypter2"||$_GET['act']=="encrypter2") { $_GET['act']="Number"; } +if ($_GET['act']=="Number"||$_GET['act']=="number") { + header('Location: ./misc/Tools/Number.php'); } +if ($_GET['act']=="passwordTool"||$_GET['act']=="passwordtool") { $_GET['act']="PasswordTool"; } +if ($_GET['act']=="PasswordTool"||$_GET['act']=="Passwordtool") { + header('Location: ./misc/Tools/Password.php'); } +if ($_GET['url']!=null) { + header('Location: '.$_GET['url'].''); } +if ($_GET['act']=="BrowserINFO") { + echo "\r\n".$BoardName." - Browser Info\r\n"; + echo $_SERVER['HTTP_USER_AGENT'] . "\r\n
Reload Board"; + exit(); } +if ($_GET['act']=="ShowCount") { + echo "\r\n".$BoardName." - Count Number\r\n"; + echo $count; + exit(); } +if ($_GET['act']=="Download") { + $ThisFile1 = dirname($_SERVER['PHP_SELF'])."/"; + $ThisFile2 = $_SERVER['PHP_SELF']; + $ThisFile3=str_replace($ThisFile1, null, $ThisFile2); + $ThisFile3=preg_replace("/.php/isxS", "", $ThisFile3); + header('Content-Disposition: attachment; filename="'.$ThisFile3.'.html"'); + $_GET['act']="View"; } +if ($_GET['Download']!=null) { + $ThisFile1 = dirname($_SERVER['PHP_SELF'])."/"; + $ThisFile2 = $_SERVER['PHP_SELF']; + $ThisFile3=str_replace($ThisFile1, null, $ThisFile2); + $ThisFile3=preg_replace("/.php/isxS", "", $ThisFile3); + header('Content-Disposition: attachment; filename="'.$ThisFile3.'.html"'); } +if ($OffLine=="Yes") { + $_GET['act']="Off"; } ?> \ No newline at end of file diff --git a/misc/Buttons.php b/misc/Buttons.php index da00217..3c80fee 100644 --- a/misc/Buttons.php +++ b/misc/Buttons.php @@ -1,66 +1,66 @@ -".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; - exit(); }?>

- - - - - - - - -
- - - - - -
-
- - -
-
-
\ No newline at end of file diff --git a/misc/Cookie.php b/misc/Cookie.php index d74b032..c36ec61 100644 --- a/misc/Cookie.php +++ b/misc/Cookie.php @@ -1,40 +1,40 @@ - - \ No newline at end of file diff --git a/misc/HTMLTags.php b/misc/HTMLTags.php index 7dd6369..305bcf1 100644 --- a/misc/HTMLTags.php +++ b/misc/HTMLTags.php @@ -1,45 +1,45 @@ -".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; - exit(); } - /*$_GET['YourPost'] = preg_replace("/\/isxS", "
", $_GET['YourPost']);
-		$_GET['YourPost'] = preg_replace("/\<\/xmp\>/isxS", "
", $_GET['YourPost']);*/ - $_POST['YourPost'] = preg_replace("/\/isxS", "
", $_POST['YourPost']);
-		$_POST['YourPost'] = preg_replace("/\<\/xmp\>/isxS", "
", $_POST['YourPost']); - if ($DOHTML!="No") { - $_POST['YourPost'] = preg_replace("/\(.*?)\<\/b\>/is", "[B]$1[/B]", $_POST['YourPost']); - $_POST['YourPost'] = preg_replace("/\(.*?)\<\/i\>/is", "[I]$1[/I]", $_POST['YourPost']); - $_POST['YourPost'] = preg_replace("/\(.*?)\<\/u\>/is", "[U]$1[/U]", $_POST['YourPost']); - $_POST['YourPost'] = preg_replace("/\(.*?)\<\/s\>/is", "[S]$1[/S]", $_POST['YourPost']); - $_POST['YourPost'] = preg_replace("/\(.*?)\<\/p\>/is", "[P]$1[/P]", $_POST['YourPost']); - $_POST['YourPost'] = preg_replace("/\(.*?)\<\/center\>/is", "[CENTER]$1[/CENTER]", $_POST['YourPost']); - $_POST['YourPost'] = preg_replace("/\(.*?)\<\/h(.*?)\>/is", "[H$1]$2[/H$1]\n", $_POST['YourPost']); - $_POST['YourPost'] = preg_replace("/\(.*?)\<\/marquee\>/is", "[MARQUEE]$1[/MARQUEE]", $_POST['YourPost']); - $_POST['YourPost'] = preg_replace("/\(.*?)\<\/marquee\>/is", "[MARQUEE=$1]$2[/MARQUEE]", $_POST['YourPost']); - $_POST['YourPost']= eregi_replace("
","[BR]",$_POST['YourPost']); - $_POST['YourPost']= eregi_replace("
","[BR]",$_POST['YourPost']); - $_POST['YourPost']= eregi_replace("
","[HR]",$_POST['YourPost']); - $_POST['YourPost']= eregi_replace("
","[HR]",$_POST['YourPost']); } - $HTML1 = array("<(", ")>", '|"|', "<", ">", "©", "®", "™", '"'); - $HTML2 = array("^(", ")^", "|*|", "<", ">", "©", "®", "™", '"'); - $_POST['YourName'] = str_replace($HTML1, $HTML2, $_POST['YourName']); - $_POST['YourEmail'] = str_replace($HTML1, $HTML2, $_POST['YourEmail']); - if ($Smiles=="off") { - $NoHTML1 = array(":", ";", "^_^", ")", "("); - $NoHTML2 = array(":", ";", "^-^", "}", "{"); - $_POST['YourPost'] = str_replace($NoHTML1, $NoHTML2, $_POST['YourPost']); } - if ($DOHTML!="Yes") { - $_POST['YourPost'] = str_replace($HTML1, $HTML2, $_POST['YourPost']); } - $_POST['TopicName'] = str_replace($HTML1, $HTML2, $_POST['TopicName']); - if ($_POST['LineBreaks']=="Auto") { - $_POST['YourPost'] = nl2br($_POST['YourPost']); } - $predoHTML1 = array("^(", ")^", "|*|"); - $predoHTML2 = array("<(", ")>", '"'); - $_POST['YourPost'] = str_replace($predoHTML1, $predoHTML2, $_POST['YourPost']); - $MeTag1 = array(":me:", ":ME:", ":Me:", ":mE:", "{me}", "{ME}", "{Me}", "{mE}"); - $MeTag2 = array("[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]"); - $_POST['YourPost'] = str_replace($MeTag1, $MeTag2, $_POST['YourPost']); +".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; + exit(); } + /*$_GET['YourPost'] = preg_replace("/\/isxS", "
", $_GET['YourPost']);
+		$_GET['YourPost'] = preg_replace("/\<\/xmp\>/isxS", "
", $_GET['YourPost']);*/ + $_POST['YourPost'] = preg_replace("/\/isxS", "
", $_POST['YourPost']);
+		$_POST['YourPost'] = preg_replace("/\<\/xmp\>/isxS", "
", $_POST['YourPost']); + if ($DOHTML!="No") { + $_POST['YourPost'] = preg_replace("/\(.*?)\<\/b\>/is", "[B]$1[/B]", $_POST['YourPost']); + $_POST['YourPost'] = preg_replace("/\(.*?)\<\/i\>/is", "[I]$1[/I]", $_POST['YourPost']); + $_POST['YourPost'] = preg_replace("/\(.*?)\<\/u\>/is", "[U]$1[/U]", $_POST['YourPost']); + $_POST['YourPost'] = preg_replace("/\(.*?)\<\/s\>/is", "[S]$1[/S]", $_POST['YourPost']); + $_POST['YourPost'] = preg_replace("/\(.*?)\<\/p\>/is", "[P]$1[/P]", $_POST['YourPost']); + $_POST['YourPost'] = preg_replace("/\(.*?)\<\/center\>/is", "[CENTER]$1[/CENTER]", $_POST['YourPost']); + $_POST['YourPost'] = preg_replace("/\(.*?)\<\/h(.*?)\>/is", "[H$1]$2[/H$1]\n", $_POST['YourPost']); + $_POST['YourPost'] = preg_replace("/\(.*?)\<\/marquee\>/is", "[MARQUEE]$1[/MARQUEE]", $_POST['YourPost']); + $_POST['YourPost'] = preg_replace("/\(.*?)\<\/marquee\>/is", "[MARQUEE=$1]$2[/MARQUEE]", $_POST['YourPost']); + $_POST['YourPost']= eregi_replace("
","[BR]",$_POST['YourPost']); + $_POST['YourPost']= eregi_replace("
","[BR]",$_POST['YourPost']); + $_POST['YourPost']= eregi_replace("
","[HR]",$_POST['YourPost']); + $_POST['YourPost']= eregi_replace("
","[HR]",$_POST['YourPost']); } + $HTML1 = array("<(", ")>", '|"|', "<", ">", "©", "®", "™", '"'); + $HTML2 = array("^(", ")^", "|*|", "<", ">", "©", "®", "™", '"'); + $_POST['YourName'] = str_replace($HTML1, $HTML2, $_POST['YourName']); + $_POST['YourEmail'] = str_replace($HTML1, $HTML2, $_POST['YourEmail']); + if ($Smiles=="off") { + $NoHTML1 = array(":", ";", "^_^", ")", "("); + $NoHTML2 = array(":", ";", "^-^", "}", "{"); + $_POST['YourPost'] = str_replace($NoHTML1, $NoHTML2, $_POST['YourPost']); } + if ($DOHTML!="Yes") { + $_POST['YourPost'] = str_replace($HTML1, $HTML2, $_POST['YourPost']); } + $_POST['TopicName'] = str_replace($HTML1, $HTML2, $_POST['TopicName']); + if ($_POST['LineBreaks']=="Auto") { + $_POST['YourPost'] = nl2br($_POST['YourPost']); } + $predoHTML1 = array("^(", ")^", "|*|"); + $predoHTML2 = array("<(", ")>", '"'); + $_POST['YourPost'] = str_replace($predoHTML1, $predoHTML2, $_POST['YourPost']); + $MeTag1 = array(":me:", ":ME:", ":Me:", ":mE:", "{me}", "{ME}", "{Me}", "{mE}"); + $MeTag2 = array("[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]", "[ME]".$_SESSION['MemberName']."[/ME]"); + $_POST['YourPost'] = str_replace($MeTag1, $MeTag2, $_POST['YourPost']); ?> \ No newline at end of file diff --git a/misc/Mozilla.php b/misc/Mozilla.php index b6ed9d9..822d403 100644 --- a/misc/Mozilla.php +++ b/misc/Mozilla.php @@ -1,152 +1,152 @@ -'."\r\n"; ?> - - - - - - - -The Book of Mozilla, 12:10 - -The Book of Mozilla, 3:31 - -The Book of Mozilla, 7:15 - -GNU General Public License - - - - - - - - - -

- -And the beast shall come forth surrounded by a roiling cloud of -vengeance. The house of the unbelievers shall be razed -and they shall be scorched to the earth. Their tags shall blink -until the end of days. - -

- -

-from The Book of Mozilla, 12:10 - - - - -

-And the beast shall be made legion. -Its numbers shall be increased a thousand thousand fold. -The din of a million keyboards like unto a great storm - -shall cover the earth, and the followers of Mammon shall tremble. -

- -

- from The Book of Mozilla, 3:31
- (Red Letter Edition) - - - - - -

-And so at last the beast fell and the unbelievers rejoiced. -But all was not lost, for from the ash rose a great bird. -The bird gazed down upon the unbelievers and cast fire -and thunder upon them. For the beast had been -reborn with its strength renewed, and the -followers of Mammon cowered in horror. - -

- -

-from The Book of Mozilla, 7:15 - - - -

-
-
- - -

-from The GNU General Public License - -
-Valid XHTML 1.1! -Valid CSS! -

- - +'."\r\n"; ?> + + + + + + + +The Book of Mozilla, 12:10 + +The Book of Mozilla, 3:31 + +The Book of Mozilla, 7:15 + +GNU General Public License + + + + + + + + + +

+ +And the beast shall come forth surrounded by a roiling cloud of +vengeance. The house of the unbelievers shall be razed +and they shall be scorched to the earth. Their tags shall blink +until the end of days. + +

+ +

+from The Book of Mozilla, 12:10 + + + + +

+And the beast shall be made legion. +Its numbers shall be increased a thousand thousand fold. +The din of a million keyboards like unto a great storm + +shall cover the earth, and the followers of Mammon shall tremble. +

+ +

+ from The Book of Mozilla, 3:31
+ (Red Letter Edition) + + + + + +

+And so at last the beast fell and the unbelievers rejoiced. +But all was not lost, for from the ash rose a great bird. +The bird gazed down upon the unbelievers and cast fire +and thunder upon them. For the beast had been +reborn with its strength renewed, and the +followers of Mammon cowered in horror. + +

+ +

+from The Book of Mozilla, 7:15 + + + +

+
+
+ + +

+from The GNU General Public License + +
+Valid XHTML 1.1! +Valid CSS! +

+ + diff --git a/misc/RSS1.php b/misc/RSS1.php index 74c1b72..466032d 100644 --- a/misc/RSS1.php +++ b/misc/RSS1.php @@ -1,55 +1,55 @@ -10) { header("Content-type: application/xml"); } -if ($act=="Download") { -header('Content-Disposition: attachment; filename="'.$Settings['board_name'].'.xml"'); } -if ($_GET['id']==null) { - $_GET['id']=0; } -echo ''."\n\r"; -if ($_GET['CatID']==null) { -$query="SELECT * FROM ".$Settings['sql_tableprefix']."Forums WHERE (ShowForum='Yes' and InSubForum=".$_GET['id'].") ORDER BY ID"; } -if ($_GET['CatID']!=null) { -$query="SELECT * FROM ".$Settings['sql_tableprefix']."Forums WHERE (ShowForum='Yes' and InSubForum=".$_GET['id']." and CategoryID=".$_GET['CatID'].") ORDER BY ID"; } -$result=mysql_query($query); -$num=mysql_num_rows($result); -$i=0; -while ($i < $num) { -$ForumID=mysql_result($result,$i,"ID"); -$CategoryID=mysql_result($result,$i,"CategoryID"); -$ForumName=mysql_result($result,$i,"Name"); -$ForumShow=mysql_result($result,$i,"ShowForum"); -$ForumType=mysql_result($result,$i,"ForumType"); -$ForumDescription=mysql_result($result,$i,"Description"); -$One = $One.''."\n\r"; -$Two = $Two.''."\n\r".''.$ForumName.''."\n\r".''.$ForumDescription.''."\n\r".''.$BoardURL.$ForumType.'.php?id='.$ForumID.'&CatID='.$CategoryID.''."\n\r".''."\n\r"; -++$i; } ?> - - - <?php echo $Settings['board_name']; ?> - RSS Feed of the Forums on Board - - en-us - Edit Plus v2.12 - Game Maker 2k© 2004 - 120 - http://backend.userland.com/rss - - Pics/xml.gif - <?php echo $Settings['board_name']; ?> - - - - +10) { header("Content-type: application/xml"); } +if ($act=="Download") { +header('Content-Disposition: attachment; filename="'.$Settings['board_name'].'.xml"'); } +if ($_GET['id']==null) { + $_GET['id']=0; } +echo ''."\n\r"; +if ($_GET['CatID']==null) { +$query="SELECT * FROM ".$Settings['sql_tableprefix']."Forums WHERE (ShowForum='Yes' and InSubForum=".$_GET['id'].") ORDER BY ID"; } +if ($_GET['CatID']!=null) { +$query="SELECT * FROM ".$Settings['sql_tableprefix']."Forums WHERE (ShowForum='Yes' and InSubForum=".$_GET['id']." and CategoryID=".$_GET['CatID'].") ORDER BY ID"; } +$result=mysql_query($query); +$num=mysql_num_rows($result); +$i=0; +while ($i < $num) { +$ForumID=mysql_result($result,$i,"ID"); +$CategoryID=mysql_result($result,$i,"CategoryID"); +$ForumName=mysql_result($result,$i,"Name"); +$ForumShow=mysql_result($result,$i,"ShowForum"); +$ForumType=mysql_result($result,$i,"ForumType"); +$ForumDescription=mysql_result($result,$i,"Description"); +$One = $One.''."\n\r"; +$Two = $Two.''."\n\r".''.$ForumName.''."\n\r".''.$ForumDescription.''."\n\r".''.$BoardURL.$ForumType.'.php?id='.$ForumID.'&CatID='.$CategoryID.''."\n\r".''."\n\r"; +++$i; } ?> + + + <?php echo $Settings['board_name']; ?> + RSS Feed of the Forums on Board + + en-us + Edit Plus v2.12 + Game Maker 2k© 2004 + 120 + http://backend.userland.com/rss + + Pics/xml.gif + <?php echo $Settings['board_name']; ?> + + + + \ No newline at end of file diff --git a/misc/RSS5.php b/misc/RSS5.php index e263659..2bc6887 100644 --- a/misc/RSS5.php +++ b/misc/RSS5.php @@ -1,52 +1,52 @@ -10) { header("Content-type: application/xml"); } -if ($act=="Download") { -header('Content-Disposition: attachment; filename="'.$Settings['board_name'].'.xml"'); } -if ($_GET['id']==null) { - $_GET['id']=0; } -if ($_GET['SubID']==null) { - $_GET['SubID']=0; } -echo ''."\n\r"; -$query="SELECT * FROM ".$Settings['sql_tableprefix']."Categorys WHERE (ShowCategory='Yes' and InSubForum=".$_GET['SubID'].") ORDER BY ID"; -$preresult1=mysql_query($query); -$num=mysql_num_rows($preresult1); -$prei1=0; -while ($prei1 < $num) { -$CategoryID=mysql_result($preresult1,$prei1,"ID"); -$CategoryName=mysql_result($preresult1,$prei1,"Name"); -$CategoryShow=mysql_result($preresult1,$prei1,"ShowCategory"); -$CategoryDescription=mysql_result($preresult1,$prei1,"Description"); -$One = $One.''."\n\r"; -$Two = $Two.''."\n\r".''.$CategoryName.''."\n\r".''.$CategoryDescription.''."\n\r".''.$BoardURL.'Category.php?id='.$CategoryID.'&SubID='.$_GET['SubID'].''."\n\r".''."\n\r"; -++$prei1; } ?> - - - <?php echo $Settings['board_name']; ?> - RSS Feed of the Categorys on Board - - en-us - Edit Plus v2.12 - Game Maker 2k© 2004 - 120 - http://backend.userland.com/rss - - Pics/xml.gif - <?php echo $Settings['board_name']; ?> - - - - +10) { header("Content-type: application/xml"); } +if ($act=="Download") { +header('Content-Disposition: attachment; filename="'.$Settings['board_name'].'.xml"'); } +if ($_GET['id']==null) { + $_GET['id']=0; } +if ($_GET['SubID']==null) { + $_GET['SubID']=0; } +echo ''."\n\r"; +$query="SELECT * FROM ".$Settings['sql_tableprefix']."Categorys WHERE (ShowCategory='Yes' and InSubForum=".$_GET['SubID'].") ORDER BY ID"; +$preresult1=mysql_query($query); +$num=mysql_num_rows($preresult1); +$prei1=0; +while ($prei1 < $num) { +$CategoryID=mysql_result($preresult1,$prei1,"ID"); +$CategoryName=mysql_result($preresult1,$prei1,"Name"); +$CategoryShow=mysql_result($preresult1,$prei1,"ShowCategory"); +$CategoryDescription=mysql_result($preresult1,$prei1,"Description"); +$One = $One.''."\n\r"; +$Two = $Two.''."\n\r".''.$CategoryName.''."\n\r".''.$CategoryDescription.''."\n\r".''.$BoardURL.'Category.php?id='.$CategoryID.'&SubID='.$_GET['SubID'].''."\n\r".''."\n\r"; +++$prei1; } ?> + + + <?php echo $Settings['board_name']; ?> + RSS Feed of the Categorys on Board + + en-us + Edit Plus v2.12 + Game Maker 2k© 2004 + 120 + http://backend.userland.com/rss + + Pics/xml.gif + <?php echo $Settings['board_name']; ?> + + + + \ No newline at end of file diff --git a/misc/SafeSQL.class.php b/misc/SafeSQL.class.php index 1f58154..2575451 100644 --- a/misc/SafeSQL.class.php +++ b/misc/SafeSQL.class.php @@ -1,274 +1,274 @@ - - * - * Version: 2.2 - * Date: March 27th, 2007 - * Copyright: 2001-2005 New Digital Group, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ - -class SafeSQL -{ - - // values that determine dropping bracketed sections - var $_drop_values = array(''); - -/*======================================================================*\ - Function: SafeSQL - Purpose: constructor -\*======================================================================*/ - function SafeSQL() { } - -/*======================================================================*\ - Function: query - Purpose: process the query string -\*======================================================================*/ - function query($query_string, $query_vars) - { - - if(is_array($query_vars)) { - - $_var_count = count($query_vars); - - if($_var_count != preg_match_all('!%[sSiIfFcClLqQnN]!', $query_string, $_match)) { - $this->_error_msg('unmatched number of vars and % placeholders: ' . $query_string); - } - - // get string position for each element - $_var_pos = array(); - $_curr_pos = 0; - for( $_x = 0; $_x < $_var_count; $_x++ ) { - $_var_pos[$_x] = strpos($query_string, $_match[0][$_x], $_curr_pos); - $_curr_pos = $_var_pos[$_x] + 1; - } - // build query from passed in variables, escape them - // start from end of query and work backwards so string - // positions are not altered during replacement - $_last_removed_pos = null; - $_last_var_pos = null; - for( $_x = $_var_count-1; $_x >= 0; $_x-- ) { - if(isset($_last_removed_pos) && $_last_removed_pos < $_var_pos[$_x]) { - // already removed, skip - continue; - } - // escape string - $query_vars[$_x] = $this->_sql_escape($query_vars[$_x]); - if(in_array($_match[0][$_x], array('%S','%I','%F','%C','%L','%Q','%N'))) { - // get positions of [ and ] - if(isset($_last_var_pos)) - $_right_pos = strpos($query_string, ']', $_last_var_pos); - else - $_right_pos = strpos($query_string, ']', $_var_pos[$_x]); - - // no way to get strpos from the right side starting in the middle - // of the string, so slice the first part out then find it - $_str_slice = substr($query_string, 0, $_var_pos[$_x]); - $_left_pos = strrpos($_str_slice, '['); - - if($_right_pos === false || $_left_pos === false) { - $this->_error_msg('missing or unmatched brackets: ' . $query_string); - } - if(in_array($query_vars[$_x], $this->_drop_values, true)) { - $_last_removed_pos = $_left_pos; - // remove entire part of string - $query_string = substr_replace($query_string, '', $_left_pos, $_right_pos - $_left_pos + 1); - $_last_var_pos = null; - } else if ($_x > 0 && $_var_pos[$_x-1] > $_left_pos) { - // still variables left in brackets, leave them and just replace var - $_convert_var = $this->_convert_var($query_vars[$_x], $_match[0][$_x]); - $query_string = substr_replace($query_string, $_convert_var, $_var_pos[$_x], 2); - $_last_var_pos = $_var_pos[$_x] + strlen($_convert_var); - } else { - // remove the brackets only, and replace %S - $query_string = substr_replace($query_string, '', $_right_pos, 1); - $query_string = substr_replace($query_string, $this->_convert_var($query_vars[$_x], $_match[0][$_x]), $_var_pos[$_x], 2); - $query_string = substr_replace($query_string, '', $_left_pos, 1); - $_last_var_pos = null; - } - } else { - $query_string = substr_replace($query_string, $this->_convert_var($query_vars[$_x], $_match[0][$_x]), $_var_pos[$_x], 2); - } - } - } - - return $query_string; - - } - -/*======================================================================*\ - Function: _convert_var - Purpose: convert a variable to the given type - Input: $var - the variable - $type - the type to convert to: - %i, %I - cast to integer - %f, %F - cast to float - %c, %C - comma separate, cast each element to integer - %l, %L - comma separate, no quotes, no casting - %q, %Q - quote/comma separate - %n, %N - wrap value in single quotes unless NULL -\*======================================================================*/ - function _convert_var($var, $type) { - switch($type) { - case '%i': - case '%I': - // cast to integer - settype($var, 'integer'); - break; - case '%f': - case '%F': - // cast to float - settype($var, 'float'); - break; - case '%c': - case '%C': - // comma separate - settype($var, 'array'); - for($_x = 0 , $_y = count($var); $_x < $_y; $_x++) { - // cast to integers - settype($var[$_x], 'integer'); - } - $var = implode(',', $var); - if($var == '') { - // force 0, keep syntax from breaking - $var = '0'; - } - break; - case '%l': - case '%L': - // comma separate - settype($var, 'array'); - $var = implode(',', $var); - break; - case '%q': - case '%Q': - settype($var, 'array'); - // quote comma separate - $var = "'" . implode("','", $var) . "'"; - break; - case '%n': - case '%N': - if($var != 'NULL') - $var = "'" . $var . "'"; - break; - } - return $var; - } - -/*======================================================================*\ - Function: error - Purpose: handle error messages -\*======================================================================*/ - function _error_msg($error_msg) { - trigger_error('SafeSQL: ' . $error_msg); - } - -/*======================================================================*\ - Function: SetDropValues - Purpose: -\*======================================================================*/ - function set_drop_values($drop_values) { - if(is_array($drop_values)) { - $this->_drop_values = $drop_values; - } else { - $this->_error_msg('drop values must be an array'); - } - } - -/*======================================================================*\ - Function: GetDropValues - Purpose: -\*======================================================================*/ - function get_drop_values() { - return $this->_drop_values; - } - - -/*======================================================================*\ - Function: _sql_escape - Purpose: method overridden by subclass -\*======================================================================*/ - function _sql_escape() { } - -} - -class SafeSQL_MySQL extends SafeSQL { - - var $_link_id; - -/*======================================================================*\ - Function: SafeSQL_MySQL - Purpose: constructor -\*======================================================================*/ - function SafeSQL_MySQL($link_id = null) { - $this->_link_id = $link_id; - } - -/*======================================================================*\ - Function: _sql_escape - Purpose: recursively escape variables/arrays for SQL use -\*======================================================================*/ - function _sql_escape($var) { - if(is_array($var)) { - foreach($var as $_element) { - $_newvar[] = $this->_sql_escape($_element); - } - return $_newvar; - } - if(function_exists('mysql_real_escape_string')) { - if(!isset($this->_link_id)) { - return mysql_real_escape_string($var); - } else { - return mysql_real_escape_string($var, $this->_link_id); - } - } elseif(function_exists('mysql_escape_string')) { - return mysql_escape_string($var); - } else { - return addslashes($var); - } - break; - } -} - -class SafeSQL_ANSI extends SafeSQL { - - -/*======================================================================*\ - Function: SafeSQL_ANSI - Purpose: constructor -\*======================================================================*/ - function SafeSQL_ANSI() { } - -/*======================================================================*\ - Function: _sql_escape - Purpose: recursively escape variables/arrays for SQL use -\*======================================================================*/ - function _sql_escape($var) { - if(is_array($var)) { - foreach($var as $_element) { - $_newvar[] = $this->_sql_escape($_element); - } - return $_newvar; - } - return str_replace("'", "''", $var); - break; - } -} - -?> + + * + * Version: 2.2 + * Date: March 27th, 2007 + * Copyright: 2001-2005 New Digital Group, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +class SafeSQL +{ + + // values that determine dropping bracketed sections + var $_drop_values = array(''); + +/*======================================================================*\ + Function: SafeSQL + Purpose: constructor +\*======================================================================*/ + function SafeSQL() { } + +/*======================================================================*\ + Function: query + Purpose: process the query string +\*======================================================================*/ + function query($query_string, $query_vars) + { + + if(is_array($query_vars)) { + + $_var_count = count($query_vars); + + if($_var_count != preg_match_all('!%[sSiIfFcClLqQnN]!', $query_string, $_match)) { + $this->_error_msg('unmatched number of vars and % placeholders: ' . $query_string); + } + + // get string position for each element + $_var_pos = array(); + $_curr_pos = 0; + for( $_x = 0; $_x < $_var_count; $_x++ ) { + $_var_pos[$_x] = strpos($query_string, $_match[0][$_x], $_curr_pos); + $_curr_pos = $_var_pos[$_x] + 1; + } + // build query from passed in variables, escape them + // start from end of query and work backwards so string + // positions are not altered during replacement + $_last_removed_pos = null; + $_last_var_pos = null; + for( $_x = $_var_count-1; $_x >= 0; $_x-- ) { + if(isset($_last_removed_pos) && $_last_removed_pos < $_var_pos[$_x]) { + // already removed, skip + continue; + } + // escape string + $query_vars[$_x] = $this->_sql_escape($query_vars[$_x]); + if(in_array($_match[0][$_x], array('%S','%I','%F','%C','%L','%Q','%N'))) { + // get positions of [ and ] + if(isset($_last_var_pos)) + $_right_pos = strpos($query_string, ']', $_last_var_pos); + else + $_right_pos = strpos($query_string, ']', $_var_pos[$_x]); + + // no way to get strpos from the right side starting in the middle + // of the string, so slice the first part out then find it + $_str_slice = substr($query_string, 0, $_var_pos[$_x]); + $_left_pos = strrpos($_str_slice, '['); + + if($_right_pos === false || $_left_pos === false) { + $this->_error_msg('missing or unmatched brackets: ' . $query_string); + } + if(in_array($query_vars[$_x], $this->_drop_values, true)) { + $_last_removed_pos = $_left_pos; + // remove entire part of string + $query_string = substr_replace($query_string, '', $_left_pos, $_right_pos - $_left_pos + 1); + $_last_var_pos = null; + } else if ($_x > 0 && $_var_pos[$_x-1] > $_left_pos) { + // still variables left in brackets, leave them and just replace var + $_convert_var = $this->_convert_var($query_vars[$_x], $_match[0][$_x]); + $query_string = substr_replace($query_string, $_convert_var, $_var_pos[$_x], 2); + $_last_var_pos = $_var_pos[$_x] + strlen($_convert_var); + } else { + // remove the brackets only, and replace %S + $query_string = substr_replace($query_string, '', $_right_pos, 1); + $query_string = substr_replace($query_string, $this->_convert_var($query_vars[$_x], $_match[0][$_x]), $_var_pos[$_x], 2); + $query_string = substr_replace($query_string, '', $_left_pos, 1); + $_last_var_pos = null; + } + } else { + $query_string = substr_replace($query_string, $this->_convert_var($query_vars[$_x], $_match[0][$_x]), $_var_pos[$_x], 2); + } + } + } + + return $query_string; + + } + +/*======================================================================*\ + Function: _convert_var + Purpose: convert a variable to the given type + Input: $var - the variable + $type - the type to convert to: + %i, %I - cast to integer + %f, %F - cast to float + %c, %C - comma separate, cast each element to integer + %l, %L - comma separate, no quotes, no casting + %q, %Q - quote/comma separate + %n, %N - wrap value in single quotes unless NULL +\*======================================================================*/ + function _convert_var($var, $type) { + switch($type) { + case '%i': + case '%I': + // cast to integer + settype($var, 'integer'); + break; + case '%f': + case '%F': + // cast to float + settype($var, 'float'); + break; + case '%c': + case '%C': + // comma separate + settype($var, 'array'); + for($_x = 0 , $_y = count($var); $_x < $_y; $_x++) { + // cast to integers + settype($var[$_x], 'integer'); + } + $var = implode(',', $var); + if($var == '') { + // force 0, keep syntax from breaking + $var = '0'; + } + break; + case '%l': + case '%L': + // comma separate + settype($var, 'array'); + $var = implode(',', $var); + break; + case '%q': + case '%Q': + settype($var, 'array'); + // quote comma separate + $var = "'" . implode("','", $var) . "'"; + break; + case '%n': + case '%N': + if($var != 'NULL') + $var = "'" . $var . "'"; + break; + } + return $var; + } + +/*======================================================================*\ + Function: error + Purpose: handle error messages +\*======================================================================*/ + function _error_msg($error_msg) { + trigger_error('SafeSQL: ' . $error_msg); + } + +/*======================================================================*\ + Function: SetDropValues + Purpose: +\*======================================================================*/ + function set_drop_values($drop_values) { + if(is_array($drop_values)) { + $this->_drop_values = $drop_values; + } else { + $this->_error_msg('drop values must be an array'); + } + } + +/*======================================================================*\ + Function: GetDropValues + Purpose: +\*======================================================================*/ + function get_drop_values() { + return $this->_drop_values; + } + + +/*======================================================================*\ + Function: _sql_escape + Purpose: method overridden by subclass +\*======================================================================*/ + function _sql_escape() { } + +} + +class SafeSQL_MySQL extends SafeSQL { + + var $_link_id; + +/*======================================================================*\ + Function: SafeSQL_MySQL + Purpose: constructor +\*======================================================================*/ + function SafeSQL_MySQL($link_id = null) { + $this->_link_id = $link_id; + } + +/*======================================================================*\ + Function: _sql_escape + Purpose: recursively escape variables/arrays for SQL use +\*======================================================================*/ + function _sql_escape($var) { + if(is_array($var)) { + foreach($var as $_element) { + $_newvar[] = $this->_sql_escape($_element); + } + return $_newvar; + } + if(function_exists('mysql_real_escape_string')) { + if(!isset($this->_link_id)) { + return mysql_real_escape_string($var); + } else { + return mysql_real_escape_string($var, $this->_link_id); + } + } elseif(function_exists('mysql_escape_string')) { + return mysql_escape_string($var); + } else { + return addslashes($var); + } + break; + } +} + +class SafeSQL_ANSI extends SafeSQL { + + +/*======================================================================*\ + Function: SafeSQL_ANSI + Purpose: constructor +\*======================================================================*/ + function SafeSQL_ANSI() { } + +/*======================================================================*\ + Function: _sql_escape + Purpose: recursively escape variables/arrays for SQL use +\*======================================================================*/ + function _sql_escape($var) { + if(is_array($var)) { + foreach($var as $_element) { + $_newvar[] = $this->_sql_escape($_element); + } + return $_newvar; + } + return str_replace("'", "''", $var); + break; + } +} + +?> diff --git a/misc/SmileTable.php b/misc/SmileTable.php index f6e10cd..b88a71c 100644 --- a/misc/SmileTable.php +++ b/misc/SmileTable.php @@ -1,47 +1,47 @@ -".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; - exit(); }?>
-
-
- -" alt="" title="" border="0" onClick="addsmiley('  ')" style="cursor: pointer; vertical-align:middle;" /> - - " alt="" title="" border="0" onClick="addsmiley('  ')" style="cursor: pointer; vertical-align:middle;" />   - - " alt="" title="" border="0" onClick="addsmiley('  ')" style="cursor: pointer; vertical-align:middle;" />
- -
-
+".$File3Name." (PHP File)\n\rWarning: Failed to open stream: Permission denied in ".$File3Name." on line 1!
"; + exit(); }?>
+
+
+ +" alt="" title="" border="0" onClick="addsmiley('  ')" style="cursor: pointer; vertical-align:middle;" /> + + " alt="" title="" border="0" onClick="addsmiley('  ')" style="cursor: pointer; vertical-align:middle;" />   + + " alt="" title="" border="0" onClick="addsmiley('  ')" style="cursor: pointer; vertical-align:middle;" />
+ +
+