X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=inline;f=x.php;h=b79419d1728406eb2c750b275cec4c481a572d5e;hb=cdab0df3718d478b1e3bbb7475e9d10b5036d44e;hp=ff67f9354bedd3c7ae55d1e37a4d91fc5cbabc3e;hpb=e0f23f480b563215bdc293ac3eeb5da69ee979d6;p=test.git
diff --git a/x.php b/x.php
index ff67f93..b79419d 100644
--- a/x.php
+++ b/x.php
@@ -1,67 +1,75 @@
'.$config['TITLE'].'
';
+ if($dir != 'test') include($qazw.$dir.'/config.php');
+ $config['TITLE'] = preg_replace('/ï¼ åèã®è½(.*?)/', '', $config['TITLE']);
+ $bbsdat .= ''.$config['TITLE'].'
';
//++++ new
//++++ old
$bbsi++;
}
-}else if(!BBSMENU && INDEXBBS && !LISTBBS){
+}
+/*if(!BBSMENU && INDEXBBS){
foreach($board as $dir){
include('../'.$dir.'/config.php');
- $bbsdat .= ''.$config['TITLE'].'
';
+ $config['TITLE'] = preg_replace('/ï¼ åèã®è½(.*?)/', '', $config['TITLE']);
+ $bbsdat .= ''.$config['TITLE'].'
';
//++++ new
//++++ old
$bbsi++;
}
-}else if(!BBSMENU && !INDEXBBS && LISTBBS){
+}*/
+if(!BBSMENU/* && !INDEXBBS && LISTBBS*/){
foreach($board as $dir){
- include('../'.$dir.'/config.php');
- echo $config['TITLE'].'
';
- $bbsdat .= ''.$config['TITLE'].'
';
+ if($dir != 'test') include($qazw.$dir.'/config.php');
+ $config['TITLE'] = preg_replace('/ï¼ åèã®è½(.*?)/', '', $config['TITLE']);
+ $bbsdat .= ''.$config['TITLE'].'
';
//++++ new
//++++ old
$bbsi++;
-// define("$config['TITLE']", '');
}
}
-// print
+
+/* Print BBS list */
print_r($bbsdat);
-if(LISTBBS) print_r($board);
+//echo $bbsdat;
+//if(LISTBBS) print_r($board);
+//echo LISTBBS,'
';
+//echo BBSMENU.'
';
+//echo INDEXBBS.'
';
?>