: <!-- start modyfikacji --> 54:
55: <h3>Topics:</h3>
56: <? if (!$action
&& ($t = mgd_list_topics($topic->id))) { ?>
57: <p><? while
($t->fetch(12))
58: printf('<a href="%d.html">%s</a><br>%s', $t->id,
59:
$t->name ? htmlentities($t->name) : ('topic #' . $t->id), "\n"); ?> 60:
</p> 61: <? } ?> 62: 63: <h3>Articles:</h3> 64: 65: *********** 66: <?
if (!$action && ($a = mgd_list_topic_articles($topic->id))) { ?> 67:
<p><? while ($a->fetch(12)) 68: printf('<a href="%d.html">%s</a><br>%s',
$a->id, 69: $a->title ? htmlentities($a->title) : ('article #' . $a->id),
"\n"); ?> 70: </p> 71: <? } ?> 72: *********** 73: <? $article =
mgd_list_topic_articles( 12, "alpha" ); 74: if( $article->N == 0 ) 75: {
echo "No article";} else { 76: while( $article->fetch() ) { ?>
&(article.name); <br> <?php } 77: echo "$article->N article", (
$article->N == 1 ) ? '' : 's';}?>
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]