| 1 |
<? header("Expires: ".gmdate("D, d M Y H:i:s",time()+7200)." GMT"); |
<? header("Expires: ".gmdate("D, d M Y H:i:s",time()+7200)." GMT"); |
| 2 |
|
|
| 3 |
$url=explode("/",$PATH_INFO); |
// $PATH_INFO = /suika:misc/10:20 |
| 4 |
$group=$url[1]; |
$url = explode ("/", $PATH_INFO); |
| 5 |
|
$group = str_replace (':', '.', $url[1]); |
| 6 |
if (!isset($url[2])) { |
if (!isset($url[2])) { |
| 7 |
header('Location: '.$group.'/index.html'); //.$URL.'/index.html'); |
header('Location: '.$group.'/index'); |
| 8 |
echo "nix"; |
echo "nix"; |
| 9 |
exit; |
exit; |
| 10 |
} else { |
} else { |
| 11 |
$pagestring=$url[2]; |
$pagestring=$url[2]; |
| 12 |
if (eregi('^.*_.*\.html',$pagestring)) { |
preg_match("/^([0-9]+)[_-]([0-9]+)/", $pagestring, $matches); |
| 13 |
$first=substr($pagestring,0,strpos($pagestring,'_')); |
$first = $matches[1]; |
| 14 |
$last=str_replace('.html','', |
$last = $matches[2]; |
|
substr($pagestring,strpos($pagestring,'_')+1)); |
|
|
} |
|
| 15 |
} |
} |
| 16 |
include "config.inc"; |
include "config.inc"; |
| 17 |
$title.= ' - '.$group; |
$title.= ' - '.$group; |