=0?" AND `type`={$post['type']}":''). ($post['status']>=0?" AND `status`={$post['status']}":'') ); for($i=0; $i<$count; $i+=$data['MaxRowsByPage'])$data['Pages'][]=$i; $post['Transactions']=get_transactions( $uid, 'both', $post['type'], $post['status'], $post['StartPage'], $data['MaxRowsByPage'], '', $suser, $sdate ); }elseif($post['action']=='details'){ $post['Transaction']=get_transaction_detail($post['gid'], $uid); list($wtype, $total, $email, $ecomments)=explode("#", trim($post['Transaction']['ecomments'])); if($wtype&&$total&&$email&&$ecomments)$post['Transaction']['ecomments']=$ecomments; } $post['ViewMode']=$post['action']; ############################################################################### display('members'); ############################################################################### ?>