| 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; |
| 18 |
include "body.inc"; ?> |
include "body.inc"; ?> |
| 19 |
|
|
| 20 |
<a name="top"></a> |
<h1 id="top"><?php echo $group; ?></h1> |
|
<h1 align="center"><?php echo $group; ?></h1> |
|
| 21 |
|
|
| 22 |
<p align="center"> |
<p class="navi"> |
| 23 |
<? if (!$readonly) |
<? if (!$readonly) |
| 24 |
echo '[<a href="../../'.$file_post.'?newsgroups='.urlencode($group).'&type=new">'.$text_thread["button_write"]."</a>] "; |
echo '[<a href="../../'.$file_post.'?newsgroups='.urlencode($group).'&type=new">'.$text_thread["button_write"]."</a>] "; |
| 25 |
echo '[<a href="../../'.$file_groups.'">'.$text_thread["button_grouplist"].'</a>]'; |
echo '[<a href="../../'.$file_groups.'">'.$text_thread["button_grouplist"].'</a>]'; |
| 43 |
$last=$article_count; |
$last=$article_count; |
| 44 |
} |
} |
| 45 |
} |
} |
| 46 |
echo '<p align="center">'; |
echo '<p class="page">'; |
| 47 |
showPageSelectMenu(count($headers),$first); |
showPageSelectMenu(count($headers),$first); |
| 48 |
echo '</p>'; |
echo '</p>'; |
| 49 |
} else { |
} else { |
| 55 |
} |
} |
| 56 |
?> |
?> |
| 57 |
|
|
| 58 |
<p align="right"><a href="#top"><? echo $text_thread["button_top"];?></a></p> |
<p class="backnavi"><a href="#top"><? echo $text_thread["button_top"];?></a></p> |
| 59 |
|
|
| 60 |
<? include "footer.inc"; ?> |
<? include "footer.inc"; ?> |