396 |
echo '<a '; |
echo '<a '; |
397 |
if ((isset($frame_threadframeset)) && ($frame_threadframeset != "")) |
if ((isset($frame_threadframeset)) && ($frame_threadframeset != "")) |
398 |
echo 'target="'.$frame_threadframeset.'" '; |
echo 'target="'.$frame_threadframeset.'" '; |
399 |
echo 'href="'.$file_thread.'/'.urlencode($g->name).'/index.html">'.$g->name."</a></td>\n"; |
echo 'href="'.$file_thread.'/'.encode_newsgroup ($g->name).'/index">'.$g->name."</a></td>\n"; |
400 |
echo "<td>$g->description</td></tr>\n"; |
echo "<td>$g->description</td></tr>\n"; |
401 |
flush(); |
flush(); |
402 |
} |
} |
403 |
echo "</table>\n"; |
echo "</table>\n"; |
404 |
} |
} |
405 |
|
|
406 |
|
function encode_newsgroup ($groupname) { |
407 |
|
return urlencode (str_replace ('.', ':', $groupname)); |
408 |
|
} |
409 |
|
|
410 |
/* |
/* |
411 |
* gets a list of aviable articles in the group $groupname |
* gets a list of aviable articles in the group $groupname |
412 |
*/ |
*/ |