getFieldMap($view); $userBins = $zen->getUsersBins($login_id); if( is_array($userBins) && count($userBins) ) { $params = array( "status" => array('OPEN','PENDING'), "type_id" => $zen->notProjectTypeIDs() ); if( $login_bin > 0 ) { $params["bin_id"] = $login_bin; } else { $params["bin_id"] = $zen->getUsersBins($login_id); } include("$libDir/sorting.php"); $tickets = $zen->get_tickets($params, join(',',$orderby)); include("$templateDir/listTickets.php"); if( count($tickets) ) { include("$libDir/paging.php"); //Addition for paging } } else { print "

" . tr("You do not have access to any existing bins") . "

\n"; } include("$libDir/footer.php"); ?>