code-init: 
<? 2: if ($argc == 1) $tid = $argv[0]; 3: else 4: $tid = 12; 5:
if ($tid) $topic = mgd_get_topic($tid); 6: if ($tid && isset($score))
mgd_update_topic_score($tid, $score); 7: ?> 8: 9: <? 10: if ($argc == 1)
$id = $argv[0]; 11: else 12: $id = 12; 13: /* if ($id &&
!mgd_is_article_in_topic_tree(12, $id)) $id = 0; */ 14: if ($id) $article
= mgd_get_article($id); 15: if ($id && isset($score))
mgd_update_article_score($id, $score); 16: 17: /* if ($article) $author =
mgd_get_person($article->author); */ 18:  ?>

and:
 <? 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"); ?>

But I do not know how to fetch it any other way :((

Piotras


--
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]

Reply via email to