diff --git a/ryzom/tools/server/www/admin.php b/ryzom/tools/server/www/admin.php deleted file mode 100644 index c8bea7e3d..000000000 --- a/ryzom/tools/server/www/admin.php +++ /dev/null @@ -1,70 +0,0 @@ -\n"; - recover_thread($recover_forum); - die(); -} - -importParam('recover_thread'); -importParam('recover_threadthread'); -if ($recover_thread && isset($recover_threadthread)) -{ - echo "recover forum $recover_thread
\n"; - recover_one_thread($recover_thread, $recover_threadthread); - die(); -} - -importParam('rename_forum'); -importParam('into_forum'); -if ($rename_forum) -{ - echo "rename forum $rename_forum into $into_forum
\n"; - rename_forum($rename_forum, $into_forum); - die(); -} - - -importParam('shard'); - -importParam('mailbox'); -importParam('mail'); - -if ($mail) -{ - $mdir = get_user_dir($mailbox, $shard); - readfile($mdir.$mail); - die(); -} -else if ($mailbox) -{ - display_mailbox_content($shard, $mailbox); - die(); -} - -importParam('forum'); -importParam('thread'); - -if ($thread) -{ - display_thread_content($shard, $forum, $thread); - die(); -} -else if ($forum) -{ - display_forum_content($shard, $forum); - die(); -} - -?> \ No newline at end of file diff --git a/ryzom/tools/server/www/admin_interface.php b/ryzom/tools/server/www/admin_interface.php deleted file mode 100644 index cf549334f..000000000 --- a/ryzom/tools/server/www/admin_interface.php +++ /dev/null @@ -1,103 +0,0 @@ -\n"; -echo "SHARD:
\n"; -echo "MAILBOX:
\n"; -echo "FORUM:
\n"; -echo "
\n"; -echo "\n"; - -if ($_GET["mailbox"]) -{ - echo "Get mailbox ".$_GET["mailbox"]." content:
\n"; - $s = fsockopen($server, $port, &$errno, &$errstr, 30) or die ("ERROR: can't connect to $server:$port"); - fputs($s,"GET /websrv/admin.php?user_login=support&shard=".$_GET["shard"]."&mailbox=".$_GET["mailbox"]." HTTP/1.0\n\n"); - - while(!feof($s)) - { - $l = trim(fgets($s, 2048)); - if (ereg("^FILE:(.*)", $l, $reg)) - echo "".$reg[1]."
\n"; - } - - fclose($s); - echo "

\n"; -} - -if ($_GET["mail"]) -{ - echo "Get mail ".$_GET["mailbox"]."/".$_GET["mail"]." content:
\n"; - $s = fsockopen($server, $port, &$errno, &$errstr, 30) or die ("ERROR: can't connect to $server:$port"); - fputs($s, "GET /websrv/admin.php?user_login=support&shard=".$_GET["shard"]."&mail=".$_GET["mail"]."&mailbox=".$_GET["mailbox"]." HTTP/1.0\n\n"); - - echo "Content of mail:
\n"; - while(!feof($s)) - echo nl2br(htmlentities(trim(fgets($s, 2048)))); - - fclose($s); - echo "

\n"; -} - -if ($_GET["recover_thread"]) -{ - echo "Recover thread ".$_GET["forum"]." ".$_GET["recover_thread"]."
\n"; - $s = fsockopen($server, $port, &$errno, &$errstr, 30) or die ("ERROR: can't connect to $server:$port"); - fputs($s, "GET /websrv/admin.php?user_login=support&shard=".$_GET["shard"]."&recover_thread=".$_GET["forum"]."&recover_threadthread=".$_GET["recover_thread"]." HTTP/1.0\n\n"); - fclose($s); - echo "

\n"; -} - -if ($_GET["forum"]) -{ - echo "Get forum ".$_GET["forum"]." content:
\n"; - $s = fsockopen($server, $port, &$errno, &$errstr, 30) or die ("ERROR: can't connect to $server:$port"); - fputs($s, "GET /websrv/admin.php?user_login=support&shard=".$_GET["shard"]."&forum=".$_GET["forum"]." HTTP/1.0\n\n"); - - while(!feof($s)) - { - $l = trim(fgets($s, 2048)); - if (ereg("^FILE:(.*)", $l, $reg)) - { - echo "".trim($reg[1])."\n"; - if ($reg[1]{0} == '_') - { - echo " recover thread\n"; - } - echo "
\n"; - } - } - - fclose($s); - echo "

\n"; -} - -if ($_GET["thread"]) -{ - echo "Get thread ".$_GET["forum"]."/".$_GET["thread"]." content:
\n"; - $s = fsockopen($server, $port, &$errno, &$errstr, 30) or die ("ERROR: can't connect to $server:$port"); - fputs($s, "GET /websrv/admin.php?user_login=support&shard=".$_GET["shard"]."&forum=".$_GET["forum"]."&thread=".$_GET["thread"]." HTTP/1.0\n\n"); - - echo "Content of thread:
\n"; - while(!feof($s)) - { - $l = trim(fgets($s, 2048)); - if (ereg("^TOPIC:(.*) SUBMIT:(.*)$", $l, $reg)) - echo nl2br(htmlentities(" TOPIC:".$reg[1]."SUBMITED BY: ".$reg[2]."\n")); - if (ereg("^AUTHOR:(.*) DATE:(.*) POST:(.*)", $l, $reg)) - echo nl2br(htmlentities("AUTHOR: ".$reg[1]." DATE:".$reg[2]." POST:".$reg[3]."\n")); - } - - fclose($s); - echo "

\n"; -} - - - -?> \ No newline at end of file diff --git a/ryzom/tools/server/www/admin_utils.php b/ryzom/tools/server/www/admin_utils.php deleted file mode 100644 index 293d6a299..000000000 --- a/ryzom/tools/server/www/admin_utils.php +++ /dev/null @@ -1,46 +0,0 @@ - 0) - { - foreach ($array as $post) - { - echo "AUTHOR: ".$post[0]." DATE: ".$post[2]." POST: ".$post[1]."\n"; - } - } - echo "-- END THREAD $forum $thread\n"; -} - -?> \ No newline at end of file diff --git a/ryzom/tools/server/www/check_mail.php b/ryzom/tools/server/www/check_mail.php deleted file mode 100644 index 0929de6b0..000000000 --- a/ryzom/tools/server/www/check_mail.php +++ /dev/null @@ -1,21 +0,0 @@ - diff --git a/ryzom/tools/server/www/config.php b/ryzom/tools/server/www/config.php deleted file mode 100644 index c525f9b13..000000000 --- a/ryzom/tools/server/www/config.php +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/ryzom/tools/server/www/confirm_remove_mail.php b/ryzom/tools/server/www/confirm_remove_mail.php deleted file mode 100644 index a110fc2dd..000000000 --- a/ryzom/tools/server/www/confirm_remove_mail.php +++ /dev/null @@ -1,31 +0,0 @@ - $value) - { - if (matchParam($var, "select_mail_", $mail)) - { - $mails[] = $mail; - $selected_mails .= "\n"; - } - } - - // - - $instance = str_replace(array('%%MAIL%%', '%%SELECTED_MAILS%%'), - array($mails[0], $selected_mails), - $confirm_delete_mail); - - echo $instance; -?> \ No newline at end of file diff --git a/ryzom/tools/server/www/create_thread.php b/ryzom/tools/server/www/create_thread.php deleted file mode 100644 index 944efde4f..000000000 --- a/ryzom/tools/server/www/create_thread.php +++ /dev/null @@ -1,71 +0,0 @@ - \ No newline at end of file diff --git a/ryzom/tools/server/www/form_post.php b/ryzom/tools/server/www/form_post.php deleted file mode 100644 index b9ca545fa..000000000 --- a/ryzom/tools/server/www/form_post.php +++ /dev/null @@ -1,135 +0,0 @@ -\n". - "