'doList', ); function _doListBind(&$DB_List) { $DB_List->def_order_by = 'last_activity_date DESC'; $DB_List->insertColLast('login_date', array( 'title'=>'Login Date', 'order_by'=>'login_date', 'width'=>70, 'tpl'=>DB_LIST_CELL_DATE, 'date_format' => '%m/%d/%Y %H:%M:%S', 'params'=>array('login_date'), )); $DB_List->insertColLast('last_activity_date', array( 'title'=>'Last Activity Date', 'order_by'=>'last_activity_date', 'width'=>70, 'tpl'=>DB_LIST_CELL_DATE, 'date_format' => '%m/%d/%Y %H:%M:%S', 'params'=>array('last_activity_date'), )); $DB_List->insertColLast('ip', array( 'title'=>'IP Address', 'order_by'=>'ip', 'width'=>100, 'tpl'=>DB_LIST_CELL_TEXT, 'params'=>array('ip'), )); $DB_List->insertColLast('individual_name', array( 'title'=>'Individual Name', 'order_by'=>'individual_name', 'width'=>170, 'tpl'=>DB_LIST_CELL_LINK, 'url' => 'admin/member?action=edit&id=', 'params'=>array('id_individual','individual_name'), )); $DB_List->insertColLast('company', array( 'title'=>'Individual Company', 'order_by'=>'individual_company', 'width'=>150, 'tpl'=>DB_LIST_CELL_TEXT, 'params'=>array('company'), )); $DB_List->insertColLast('location', array( 'title'=>'Location', 'order_by'=>'location', 'width'=>230, 'tpl'=>DB_LIST_CELL_TEXT, 'params'=>array('location'), )); $DB_List->bind(); return true; } function addLink() { $addLink = array( 'tpl' => 'center_link.tpl', 'link_list'=>array( array('title' => '<< Back to individual ', 'link' => BASE_URL.'/admin/member?action=edit&id='.$this->DBObj->id_individual ), ) ); $this->Doc->addContent($addLink); } }