View file tube/footer2.php

File size: 1.21Kb
<?php

// include Pager class
require_once 'Pager/Pager.php';
$params = array(
'mode'       => 'Jumping',
'perPage'    => 5,
'delta'      => 5,
'totalItems' => $total,
);
$pager = & Pager::factory($params);
$links = $pager->getLinks();
// print page links

echo "<div class=\"shout\">";
echo $links['all'];
?>
</div>

<div class="shout">Video Search Engine</div>



<form method="get" action="search.php">
<div class="menu3">
Search Keywords: <br/>
<input type="text" name="vq" /><br />

Order by:
<select name="s">
<option value="viewCount">User views</option>
<option value="rating">User rating</option>
<option value="published">Newest</option>
</select>
<br/>
<input type="submit" name="submit" value="Search"/>
</div>

<div class="shout">YouTube Videos</div>

<div class="menu3">
<a href="categories.php">Catagories</a><br/>
<a href="most_recent.php">Most Recent</a><br/>
<a href="recently_featured.php">Recently Featured</a><br/>
<a href="most_viewed.php">Most Viewed</a><br/>
<a href="top_favorites.php">Top Favorites</a><br/>
<a href="top_rated.php">Top Rated</a><br/>
</div>

<?php
if (isset($site))
{
?>
<div class="footer">
<a href="<?php print $site;?>"><?php print $sitename;?></a><br/>
</div>
<?php
}
?>

</form>

</body>
</html>