{php} $newtaskarray=$this->GetMysqlArray('subject,tid,endtime,money,addmoney'," ".$this->GetTable('task_count')." WHERE process>3 AND process!=5 AND process!=6 ORDER BY dateline DESC LIMIT 0,8");{/php}
{php} $catidtaskarray=$this->GetMysqlArray('subject,tid,endtime,money,addmoney'," ".$this->GetTable('task_count')." WHERE process>3 AND process!=5 AND process!=6 AND catid='$task[catid]' ORDER BY dateline DESC LIMIT 0,8");{/php}