From cdab0df3718d478b1e3bbb7475e9d10b5036d44e Mon Sep 17 00:00:00 2001 From: sparky4 <sparky4@4ch.irc.su> Date: Wed, 16 Feb 2011 19:53:46 -0600 Subject: [PATCH] deleted: x.phps --- x.phps | 67 ---------------------------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 x.phps diff --git a/x.phps b/x.phps deleted file mode 100644 index 66f4a8b..0000000 --- a/x.phps +++ /dev/null @@ -1,67 +0,0 @@ -<?php -/*yotsubanome multiBBS reader -from 2ch PHP script 18c -X v0.0.0.0 -*/ - -error_reporting(E_ALL); // show all errors for debugging - -/* Enviorment Settings */ -// Do not change unless you renamed the directories -define("PHP_DIRECTORY", '../core/'); // yotsubanome "C:\windows\system\" -define("DATA_DIR", PHP_DIRECTORY.'data/'); // data directory -define("CSS_DIR", DATA_DIR.'css/'); // CSS directory -define("ICON_DIR", DATA_DIR.'icon/'); // icon directory [Graphics of the software go here] -define("TEMP_DIR", PHP_DIRECTORY.'temp/'); // upload content temperary directory -define("TPLT_DIR", DATA_DIR.'tplt/'); // template directory - -//include_once(PHP_DIRECTORY.'config.php'); // å¼å ¥è¨å®æª - -if(!defined("PHP_SELF"))define("PHP_SELF", 'yotsubanome.php'); // ãã®ã¹ã¯ãªããå // 主ç¨å¼å (è¥æ¯ä¿®æ¹äºä¸»ç¨å¼åï¼è«é åä¿®æ¹) -if(!defined("BBSMENU")) define("BBSMENU", 0); // BBSmenu for the frame at BBS home page -if(!defined("INDEXBBS")) define("INDEXBBS", 0); // home page BBS list -if(!defined("BBSMENU") and !defined("INDEXBBS")) define("LISTBBS", 1); // misc. BBS list - -$board = array(); -$handle = opendir('../'); -while(false !== ($file = readdir($handle))){ - if($file != 'core' and $file != 'script' and $file != '.' and $file != '..'){ // do not include system core directory or distribution directory - if(is_dir('../'.$file) and is_file('../'.$file.'/config.php') || is_file('../'.$file.'/'.PHP_SELF)) array_push($board, $file); - } -} -closedir($handle); - -// display the list -$bbsi = 0; -$bbsdat = ''; -if(BBSMENU && !INDEXBBS && !LISTBBS){ - foreach($board as $dir){ - include('../'.$dir.'/config.php'); - $bbsdat .= '<a href="../'.$dir.'/" target="cont">'.TITLE.'</a><br>'; -//++++ <font color="#ff0099">new</font> -//++++ <font color="#6f0069">old</font> - $bbsi++; - } -}else if(!BBSMENU && INDEXBBS && !LISTBBS){ - foreach($board as $dir){ - include('../'.$dir.'/config.php'); - $bbsdat .= '<a href="../'.$dir.'/">'.TITLE.'</a><br>'; -//++++ <font color="#ff0099">new</font> -//++++ <font color="#6f0069">old</font> - $bbsi++; - } -}else if(!BBSMENU && !INDEXBBS && LISTBBS){ - foreach($board as $dir){ - include('../'.$dir.'/config.php'); - echo TITLE.'<br>'; - $bbsdat .= '<a href="../'.$dir.'/">'.TITLE.'</a><br>'; -//++++ <font color="#ff0099">new</font> -//++++ <font color="#6f0069">old</font> - $bbsi++; - define("TITLE", ''); - } -} -// print -print_r($bbsdat); -if(LISTBBS) print_r($board); -?> -- 2.39.5