username; } $type = isset($_GET['t'])? $_GET['t'] : 1; $c = isset($_GET['c'])? $_GET['c'] : -1; // cursor switch ($type) { case 0: $lists = $t->followedLists($id, $c); break; case 1: $lists = $t->myLists($id); break; case 2: $lists = $t->beAddedLists($id, $c); break; default: $lists = false; } $nextlist = $lists->next_cursor_str; $prelist = $lists->previous_cursor_str; $lists = $lists->lists; if ($lists === false) { header('location: error.php?code='.$t->http_code);exit(); } ?> No List To Display
"; } else { $output = '
    '; foreach ($lists as $list) { $listuriparts = explode('/', $list->uri); $listurl = $listuriparts[1].'/'.$listuriparts[3]; $user = $list->user; $listname = explode('/',$list->full_name); $mode = $list->mode == 'private' ? "Private" : "Public"; $output .= "
  1. profile_image_url)."\" />
    id_str}\"> $listname[0]/$listname[1] Followers: {$list->subscriber_count}  Members: {$list->member_count}  $mode "; if ($list->description != '') $output .= "Description: $list->description"; if ($type == 0) $output .= "Unfollow"; if ($type == 1 && $isSelf) $output .= "Edit Delete Add Members"; $output .= "
  2. "; } $output .= "
"; echo $output; } ?>
Create a new list