|
|
Toasty!.txt |
|
|
//-----------------------------------------
// Build the number of posts since the last visit
//-----------------------------------------
$last_time = $this->ipsclass->member[\'last_visit\'];
if ( $this->ipsclass->member[\'members_markers\'][\'board\'] > $last_time )
{
$last_time = $this->ipsclass->member[\'members_markers\'][\'board\'];
}
$this->ipsclass->DB->simple_construct( array( \'select\' => \'count(*) as topic_title\',
\'from\' => \'topics\',
\'where\' => \"approved=1 AND state != \'link\' AND last_post > \'\".$last_time.\"\'\" ) );
$this->ipsclass->DB->simple_exec();
$topic = $this->ipsclass->DB->fetch_row();
$new = $topic[\'topic_title\']; |
|
Description: //-----------------------------------------
// Build the number of posts since the last visit
//-----------------------------------------
$last_time = $this->ipsclass->member['last_visit'];
if ( $this->ipsclass->member['members_markers']['board'] > $last_time )
{
$last_time = $this->ipsclass->member['members_markers']['board'];
}
$this->ipsclass->DB->simple_construct( array( 'select' => 'count(*) as topic_title',
'from' => 'topics',
'where' => "approved=1 AND state != 'link' AND last_post > '".$last_time."'" ) );
$this->ipsclass->DB->simple_exec();
$topic = $this->ipsclass->DB->fetch_row();
$new = $topic['topic_title']; | Comments: No Comments
| | |
<%RIGHT%> |