for id num down xml cachePages http media xxxaporn com media player co

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
for ($i=1; $i < 6; $i++) {
$id = $num - $i - $down;
$xml = cachePages('http://media.xxxaporn.com/media/player/config.php?vkey='.$id, 18000);
if (!preg_match('#Invalid video key!#Us', $xml)) {
$xml = new SimpleXMLElement($xml);
$idv[] = $id;
$image[] = base64_encode($xml->video[0]->image);
$nameq = explode('/', $xml->share[0]);
$name[] = ucfirst(str_replace('-', ' ', $nameq[5]));
} else {
$id = rand(1111,9999);
$xml = cachePages('http://media.xxxaporn.com/media/player/config.php?vkey='.$id, 18000);
$idv[] = $id;
$image[] = base64_encode($xml->video[0]->image);
$nameq = explode('/', $xml->share[0]);
$name[] = ucfirst(str_replace('-', ' ', $nameq[5]));
}
}