SourceForge Logo
1.2.4: list_posts


Description
This functions returns a list (an array) of all the topics within the database which:
- belong to a given subcategorie
- are more recent than the given timestamp
- belong to the topicpage given

Function call
list_topics ($sid, $time, $page);

Input
The function of the parameters is:

ParameterDescription
$tidthe ID of the topic, in which the posts are placed.
$pagethe number of the page in which the posts are.


Output
The output is an array. Each row has the following structure:

VarDescription
$row->pidthe ID of the post.
$row->timestampthe timestamp of the post of the post.
$row->textthe content (the text) of the post.
$row->iconthe icon of the post (note that this is a number).
$row->enable_smiliesif set to "1" smilies are enabled, if "0" smilies won't be proccessed.
$row->uidthe ID of the user who placed the post.
$row->statusthe status of the user who placed the post.
$row->reg_timestampThe timestamp when the user registerred.
$row->usernamethe username of the poster.
$row->signaturethe signature of the user who placed the post.
$row->homepagethe homepage of the user who placed the post.
$row->subtitlethe subtitle of the user who placed the post.
$row->emailthe email of the user who placed the post.
$row->email_visibleif "0" the e-mail adres of the user who placed the post may not be shown.
$row->avatar_urlThe URL of the antavar of the user who placed the post.
$row->num_postsThe number of posts the user has placed.

« Previous | Index | Next »