function favo($id, $Tweet) { echo '<form class="Home-timeline-form-favorite" action="' . ShowURL . '" method="post">'; echo '<input type="hidden" value="' . $id . '" name="favo">'; Tweet_Hidden($Tweet); echo '<input class="Home-timeline-button-favorite" type="submit" value="Fav">'; echo '</form>'; }
echo '<form id="sidebutton" action="' . ShowURL . '" method="post">'; echo '<input class="button" type="submit" value="HomeTimeLine">'; echo '<input type="hidden" name="timeline" value="home">'; //echo '<input type="hidden" name="tweet" value="'.$Tweet.'">'; Tweet_Hidden($Tweet); //echo '<input type="hidden" value="'.$TweetNum.'" name="tweetnum">'; TweetNum_Hidden($TweetNum); //echo '<input type="hidden" value="'.$search_str.'" name="searchtext">'; Search_Hidden($search_str); echo '</form>'; // sidebar button usertimeline echo '<form id="sidebutton" action="' . ShowURL . '" method="post">'; echo '<input class="button" type="submit" value="UserTimeLine">'; echo '<input type="hidden" name="timeline" value="user">'; //echo '<input type="hidden" name="tweet" value="'.$Tweet.'">'; Tweet_Hidden($Tweet); //echo '<input type="hidden" value="'.$TweetNum.'" name="tweetnum">'; TweetNum_Hidden($TweetNum); //echo '<input type="hidden" value="'.$search_str.'" name="searchtext">'; Search_Hidden($search_str); echo '</form>'; // sidebar button polltweets echo '<form id="sidebutton" action="' . ShowURL . '" method="post">'; echo '<input class="button" type="submit" value="PollTweet">'; echo '<input type="hidden" value="Poll" name="tweet">'; //echo '<input type="hidden" value="'.$TimeLine.'" name="timeline">'; TimeLine_Hidden($TimeLine); //echo '<input type="hidden" value="'.$TweetNum.'" name="tweetnum">'; TweetNum_Hidden($TweetNum); //echo '<input type="hidden" value="'.$search_str.'" name="searchtext">'; Search_Hidden($search_str);