array( "verify_peer"=>false, "verify_peer_name"=>false, ), ); $breaker_mod = 13; if (is_numeric($model)){ include('constants.php'); $series_result = mysql_query("SELECT * FROM series_table WHERE id = ".$model); $series_row = mysql_fetch_assoc($series_result); } elseif (!is_dir($site."/models/".$model)){ unset($model, $site); $model = "Sir, There appears to be a problem here."; } ?>
array( "verify_peer"=>false, "verify_peer_name"=>false, ), ); if (is_numeric($supermodel)){ $thumb_array = explode('|', file_get_contents('http://dl'.$series_row[$server].'.'.$domain.'/thumbs.php?from=members/models/'.$series_row['folder_name'].'/large&check='.md5('0a8x9o0s9sss9members/models/'.$series_row['folder_name'].'/large'), false, stream_context_create($arrContextOptions))); } elseif ($handle = opendir($site.'/models/'.$model."/large")){ while (false !== ($file = readdir($handle))) { $file_type = substr($file, -3); if ($file_type=='jpg' && $file != 'main.jpg'){ $thumb_array[] = $file; } } closedir($handle); } sort($thumb_array); reset($thumb_array); if (is_numeric($supermodel)){ // Grab Teaser Video if ($series_row[$server] > 1) { $video_array = explode("|",file_get_contents('https://dl'.$series_row[$server].'.'.$domain.'/video.php?from=members/models/'.$series_row['folder_name'].'/video&check='.md5('0a8x9o0s9sss9members/models/'.$series_row['folder_name'].'/video'), false, stream_context_create($arrContextOptions))); $array_items = 6; $video_count = count($video_array)/$array_items; $i = 0; while ($i < $video_count){ $name[$video_array[$i*$array_items]] = $video_array[$i*$array_items+1]; $resx[$video_array[$i*$array_items]] = $video_array[$i*$array_items+2]; $resy[$video_array[$i*$array_items]] = $video_array[$i*$array_items+3]; $length[$video_array[$i*$array_items]] = $video_array[$i*$array_items+4]; $size[$video_array[$i*$array_items]] = $video_array[$i*$array_items+5]; ++$i; } } // foreach($name as $key1 => $file_name){ // if(strpos($file_name, 'TEASER.mp4') !== FALSE) // { // $key1 = $key1; // } // } // echo '
'; print_r($key1); die('Testing...');
								for ($i = 1; list($key, $val) = each($name); ++$i) {
									if(strpos($key, 'TEASER.mp4') !== FALSE){
									if ($size[$key] <= 30)$html5_video_link = $url_ext.'//dl'.$row['server_ccd_new'].'.cocodorm.com/stream.php/x.mp4?id='.$id.'|0|'.$hexTime.'|'.md5($secret.$id);
{ 
										$flash_video_link 		= 'https://dl'.$series_row[$server].'.'.$domain.'/videostream.php/x.mp4?id='.$model.'|'.md5('free0a8x9o0s9sss9'.$model);
										$html5_video_link_ful = 'https://dl'.$series_row[$server].'.'.$domain.'/stream.php/x.mp4?id='.$model.'|0|'.$hexTime.'|'.md5($secret.$model.'0'.$hexTime.$_SERVER['REMOTE_ADDR']);
										
										?>