<?php
//get the video ids from the txt file
$videos = array();
$videos = file("videos numbers.txt");
//sort the video ids
sort($videos, SORT_NUMERIC);
//lets get a count of the videos
$total_vids = count($videos);
//lets set the counter to 0 if its not already set
if ($_GET['counter'] == '' || !isset($_GET['counter'])){
$counter = 0;
} else {
$counter = $_GET['counter'];
}
//lets make sure the counter isn't past the last video, if it is then start over again
if ($counter >= $total_vids){
$counter = 0;
}
//this will print the video id
$video_id = $videos[$counter];
//this gest the next video id in the array
$counter++;
?>
<style type="text/css">
<!--
body {
margin-top: 25px;
background-color: #000000;
}
.Style3 {font-size: 14px}
body,td,th {
color: #FFCC00;
}
a:link {
color: #FF3300;
}
a:visited {
color: #FFCCFF;
}
.Style4 {font-size: 12}
-->
</style>
<title>Doctissimo - Hentai - doujin - Sex - Sexe - Chiennes en Chaleur - Amateur - Baise - Youtube - Sexy </title><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="156" rowspan="2" align="center" valign="middle" scope="row"></th>
<th height="297" scope="row"><table width="95%" height="344" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="50%" align="center" valign="middle" scope="row"><object height="344" width="434"><param name="movie" value="http://embed.redtube.com/player/"><param name="flashvars" value="id=<?=$video_id?>
&style=redtube"><embed src="http://embed.redtube.com/player/?id=<?=$video_id?>
&style=redtube" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" height="344" width="434"></object></th>
<td width="50%" align="center" valign="middle"> <!-- Start Code -->
<iframe src="http://adwords.idoo.com/banner.php?action=b&t=true&ref=25&w=434&h=344&grp=13" width="434" height="344" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowtransparency="true" background-color="transparent"></iframe> <!-- End Code --></td>
</tr>
</table>
</th>
</tr>
<tr>
<th height="120" scope="row"><table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="78%" height="97" align="center" valign="top" scope="row">
<br><br><a href="amateur.php?counter=<?=$counter?>">Click here for new video-Cliquer ici pour une autre Video</a><br />
</th>
<td width="22%" align="left" valign="top"><a href="rss.xml" target="_blank"><img src="rss.png" alt="Get Sexy Rss" width="105" height="69" border="0" /></a></td>
</tr>
</table></th>
</tr>
</table>