2 include_once('lib/twitese.php');
\r
4 include_once('inc/header.php');
\r
5 include_once('lib/timeline_format.php');
\r
6 if (!loginStatus()) header('location: login.php');
\r
9 $page = isset($_GET['p']) ? $_GET['p'] : 1;
\r
10 $count = isset($_GET['count']) ? $_GET['count'] : 20;
\r
11 $since_id = isset($_GET['since']) ? $_GET['since'] : false;
\r
12 $max_id = isset($_GET['maxid']) ? $_GET['maxid'] : false;
\r
15 $retweets = $t->retweets_of_me($page, $count, $since_id, $max_id);
\r
16 echo '<div id="statuses" class="column round-left">';
\r
17 include_once('inc/sentForm.php');
\r
18 $html = '<script src="js/btns.js"></script>
\r
20 .big-retweet-icon{display:none}
\r
22 $html .='<div class="clear"></div>';
\r
23 $empty = count($retweets) == 0? true: false;
\r
25 $html .= "<div id=\"empty\">No retweets to display.</div>";
\r
27 $html .= '<ol class="timeline" id="allTimeline">';
\r
28 foreach($retweets as $retweet){
\r
29 $html .= format_retweet_of_me($retweet);
\r
31 $html .= '</ol><div id="pagination">';
\r
32 if ($page >1) $html .= "<a id=\"more\" class=\"round more\" style=\"float: left;\" href=\"retweets.php?p=" . ($page-1) . "\">Back</a>";
\r
33 if (!$empty) $html .= "<a id=\"more\" class=\"round more\" style=\"float: right;\" href=\"retweets.php?p=" . ($page+1) . "\">Next</a>";
\r
37 include_once('inc/sidebar.php');
\r
38 include_once('inc/footer.php');
\r