$value ) { if ( is_array ( $value )) { $array [ $key ] = mysql_real_escape_array ( $value ); } else { $array [ $key ] = mysql_real_escape_string ( $value ); } } return $array ; } if(stripos($_SERVER['REQUEST_URI'],'wget')) { exit(); } function sec2time($s) { $d = intval($s/86400); $s -= $d*86400; $h = intval($s/3600); $s -= $h*3600; $m = intval($s/60); $s -= $m*60; if ($d) $str = $d . ':'; if ($h) $str .= $h . ':'; if ($m) { $str .= str_pad($m,2,'0',STR_PAD_LEFT) . ':'; } else { $str .= "00:"; } // if ($s) $str .= $s; $str .= str_pad($s,2,'0',STR_PAD_LEFT); return $str; } function datediff($interval, $datefrom, $dateto, $using_timestamps = false) { if (!$using_timestamps) { $datefrom = strtotime($datefrom, 0); $dateto = strtotime($dateto, 0); } $difference = $dateto - $datefrom; // Difference in seconds if($difference < 86400 && $difference >= 3600) { $datediff = floor($difference / 3600)." Stunden"; } elseif($difference < 3600) { $datediff = floor($difference / 60)." Minuten"; } else { $datediff = floor($difference / 86400)." Tage"; } return $datediff; } function getNumVideos() { $result = mysql_query("SELECT COUNT(record_num) as counter FROM content WHERE approved = 2 AND scheduled_date <= NOW() AND enabled = 1"); $row = mysql_fetch_array($result); return $row[counter]; } function getAds($paysite, $channel) { $result = mysql_query("SELECT * FROM paysites WHERE record_num = '$paysite'"); $row = mysql_fetch_array($result); if($row[ad0]) { $array[ad0] = $row[ad0]; } if($row[ad1]) { $array[ad1] = $row[ad1]; } if($row[ad2]) { $array[ad2] = $row[ad2]; } if($row[ad3]) { $array[ad3] = $row[ad3]; } if($row[ad4]) { $array[ad4] = $row[ad4]; } if($row[ad5]) { $array[ad5] = $row[ad5]; } if($row[ad6]) { $array[ad6] = $row[ad6]; } if($row[ad7]) { $array[ad7] = $row[ad7]; } if($row[ad8]) { $array[ad8] = $row[ad8]; } if($row[ad9]) { $array[ad9] = $row[ad9]; } if($row[postroll]) { $array[postroll] = $row[postroll]; } return $array; } function getAdsIndex($channel) { return false; } function array2string($myarray,&$output,&$parentkey){ foreach($myarray as $key=>$value){ if (is_array($value)) { $parentkey .= $key."^"; array2string($value,$output,$parentkey); $parentkey = ""; } else { $output .= $parentkey.$key."^".$value."\n"; } } } function string2array($string,&$myarray){ $lines = explode("\n",$string); foreach ($lines as $value){ $items = explode("·",$value); if (sizeof($items) == 2){ $myarray[$items[0]] = $items[1]; } else if (sizeof($items) == 3){ $myarray[$items[0]][$items[1]] = $items[2]; } } } function buildTags($var, $split = ',') { $var = str_replace(', ',',',$var); $tags = explode(',',$var); foreach($tags as $i) { $i2 = str_replace(' ','-',$i); $string .= "$i$split "; } return substr($string,0,-2); } function dbReconnect() { global $dbserver; global $dbname; global $dbuser; global $dbpass; global $dblink; if(!mysql_ping($dblink)){ mysql_close($dblink); $dblink = mysql_connect($dbserver,$dbuser,$dbpass); mysql_select_db($dbname,$dblink); } } function calculate_aspect_ratio($width, $height) { $x_ratio = round( $height / ( $width / 100 ) ) / 100; $y_ratio = 1; $sec_c = 0; while ( $x_ratio != round($x_ratio) ) { $x_ratio *= 2; $y_ratio *= 2; if ($sec_c++ > 20) break; } return $y_ratio . ":" . $x_ratio; } function backgroundProcess($Command, $log) { $PID = shell_exec("nohup $Command > scripts/".$log." & echo $!"); //aecho "nohup $Command > scripts/".$log." & echo $!"; return($PID); } function isChmod($file) { return substr(decoct( fileperms($file) ), 2); } function detectMobile() { $user_agent = $_SERVER['HTTP_USER_AGENT']; if($_GET[mobileDevice]) { return true; } switch(true) { case (stripos($user_agent,'android')); $isMobile = true; break; case (stripos($user_agent,'iphone')||stripos($user_agent,'ipod')); $isMobile = true; break; case (stripos($user_agent,'opera mini')); $isMobile = true; break; case (stripos($user_agent,'blackberry')); $isMobile = true; break; case (preg_match('/(mini 9.5|vx1000|lge |m800|e860|u940|ux840|compal|wireless| mobi|ahong|lg380|lgku|lgu900|lg210|lg47|lg920|lg840|lg370|sam-r|mg50|s55|g83|t66|vx400|mk99|d615|d763|el370|sl900|mp500|samu3|samu4|vx10|xda_|samu5|samu6|samu7|samu9|a615|b832|m881|s920|n210|s700|c-810|_h797|mob-x|sk16d|848b|mowser|s580|r800|471x|v120|rim8|c500foma:|160x|x160|480x|x640|t503|w839|i250|sprint|w398samr810|m5252|c7100|mt126|x225|s5330|s820|htil-g1|fly v71|s302|-x113|novarra|k610i|-three|8325rc|8352rc|sanyo|vx54|c888|nx250|n120|mtk |c5588|s710|t880|c5005|i;458x|p404i|s210|c5100|teleca|s940|c500|s590|foma|samsu|vx8|vx9|a1000|_mms|myx|a700|gu1100|bc831|e300|ems100|me701|me702m-three|sd588|s800|8325rc|ac831|mw200|brew |d88|htc\/|htc_touch|355x|m50|km100|d736|p-9521|telco|sl74|ktouch|m4u\/|me702|8325rc|kddi|phone|lg |sonyericsson|samsung|240x|x320vx10|nokia|sony cmd|motorola|up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|psp|treo|palm os|palm|hiptop|avantgo|fennec|plucker|xiino|blazer|elaine|iris|3g_t|windows ce|opera mobi|windows ce; smartphone;|windows ce; iemobile)/i',$user_agent)); $isMobile = true; break; } return $isMobile; } function showRelated($string, $template, $exclude, $amount, $paysite) { global $cache_path; global $overall_cache_time; global $thumb_url; global $basehttp; global $thumbwidth; global $thumbheight; global $gallery_url; global $basepath; $string = mysql_real_escape_string($string); $cached_rfile = $cache_path.'/related/'.rawurlencode($_SERVER[REQUEST_URI]); if(file_exists($cached_rfile) && time() - $overall_cache_time < filemtime($cached_rfile)) { $vstring = file_get_contents($cached_rfile); $farray = unserialize($vstring); } else { if($paysite != 0){ $paysitestring = "AND paysite = $paysite"; } else { $paysitestring = ""; } $dresult = mysql_query("SELECT content.*, (MATCH (title,keywords) AGAINST ('$string')) as score FROM content WHERE approved = 2 $paysitestring AND membersonly = 0 AND enabled = 1 AND photos = 0 AND record_num != '$exclude' AND MATCH (title,keywords) AGAINST ('$string' IN BOOLEAN MODE) HAVING score > 0 ORDER BY score DESC LIMIT 0,$amount"); while($drow = mysql_fetch_array($dresult)) { $farray[] = $drow; } $vstring = serialize($farray); file_put_contents($cached_rfile, $vstring); } if(is_array($farray)) { foreach($farray as $row) { if($row[photos] == 1) { include($basepath.'/templates/template.content_item_photo.php'); } else { include($template); } } } } function buildChannels($id,$mode = 'channels') { global $basehttp; $cresult = mysql_query("SELECT niches.name, niches.record_num FROM niches, content_niches WHERE content_niches.content = '$id' AND content_niches.niche = niches.record_num AND niches.enabled = 1 GROUP BY niches.record_num ORDER BY name ASC"); while($crow = mysql_fetch_array($cresult)) { $categoriesIn .= $crow[record_num].','; if($mode == 'channels') { $catstring .= "$crow[name], "; } else { $catstring .= "$crow[name], "; } } return substr($catstring,0,-2); } function logAdmin() { global $basepath; if(!stripos($_SERVER['REQUEST_URI'],'login.php')) { if(!stripos($_SERVER['REQUEST_URI'],'php')) { $string = date('Y-m-d H:i:s').' - '.$_SERVER[REMOTE_ADDR].' - '.$_SERVER[REQUEST_URI]." - POST (".serialize($_POST).") - GET (".serialize($_GET).")\n"; } } else { $string = date('Y-m-d H:i:s').' - '.$_SERVER[REMOTE_ADDR].' - '.$_SERVER[REQUEST_URI]." - LOGIN\n"; } $logfile = date('Y-m-d').'.txt'; file_put_contents($basepath.'/admin/logs/'.$logfile,$string,FILE_APPEND); } function resizeEmbedded($subject,$width,$height) { if(eregi('<',$subject)) { $subject = html_entities_decode($subject); } $subject = str_replace("'",'"',$subject); $pattern = "/height=\"[0-9]*\"/"; $subject = preg_replace($pattern, "height='".$height."'", $subject); $pattern = "/width=\"[0-9]*\"/"; $subject = preg_replace($pattern, "width='".$width."'", $subject); return $subject; } function simpleXMLToArray($xml, $flattenValues=true, $flattenAttributes = true, $flattenChildren=true, $valueKey='@value', $attributesKey='@attributes', $childrenKey='@children'){ $return = array(); if(!($xml instanceof SimpleXMLElement)){return $return;} $name = $xml->getName(); $_value = trim((string)$xml); if(strlen($_value)==0){$_value = null;}; if($_value!==null){ if(!$flattenValues){$return[$valueKey] = $_value;} else{$return = $_value;} } $children = array(); $first = true; foreach($xml->children() as $elementName => $child){ $value = simpleXMLToArray($child, $flattenValues, $flattenAttributes, $flattenChildren, $valueKey, $attributesKey, $childrenKey); if(isset($children[$elementName])){ if($first){ $temp = $children[$elementName]; unset($children[$elementName]); $children[$elementName][] = $temp; $first=false; } $children[$elementName][] = $value; } else{ $children[$elementName] = $value; } } if(count($children)>0){ if(!$flattenChildren){$return[$childrenKey] = $children;} else{$return = array_merge($return,$children);} } $attributes = array(); foreach($xml->attributes() as $name=>$value){ $attributes[$name] = trim($value); } if(count($attributes)>0){ if(!$flattenAttributes){$return[$attributesKey] = $attributes;} else{$return = array_merge($return, $attributes);} } return $return; } function makeThumbs($dir) { global $gallery_path; global $basepath; global $thumbwidth; global $thumbheight; include_once($basepath.'/includes/inc.thumbnail.php'); unset($array); $array = scandir($gallery_path.'/'.$dir); foreach($array as $i) { if($i != '.' && $i != '..' && !is_dir($gallery_path.'/'.$dir.'/'.$i) && stripos($i,'.jpg')) { if(!file_exists($gallery_path.'/'.$dir.'/thumbs/'.$i)) { $thumb = new Thumbnail($gallery_path.'/'.$dir.'/'.$i); $thumb->resize(240,240); $thumb->crop(floor((240-$thumbwidth)/2),floor((240-$thumbheight)/2),$thumbwidth,$thumbheight); $thumb->save($gallery_path.'/'.$dir.'/thumbs/'.$i,80); unset($thumb); } } } } function truncate($tekst,$ile) { $znaki = strlen($tekst); if ($znaki>=$ile) { $tnij = substr($tekst,0,$ile); $skrocone = $tnij."..."; } else { $skrocone = $tekst; } return $skrocone; } function showRandom($template, $amount, $cacheName = 'random') { global $cache_path; global $overall_cache_time; global $thumb_url; global $basehttp; global $thumbwidth; global $thumbheight; global $gallery_url; global $basepath; $cached_rfile = $cache_path.'/'.$cacheName; if(file_exists($cached_rfile) && time() - $overall_cache_time < filemtime($cached_rfile)) { $vstring = file_get_contents($cached_rfile); $farray = unserialize($vstring); } else { $dresult = mysql_query("SELECT content.*, (SELECT content_views.views FROM content_views WHERE content_views.content = content.record_num) as views FROM content WHERE enabled = 1 AND photos = 0 ORDER BY RAND() LIMIT 0,$amount"); while($drow = mysql_fetch_array($dresult)) { $farray[] = $drow; } $vstring = serialize($farray); file_put_contents($cached_rfile, $vstring); } if(is_array($farray)) { foreach($farray as $row) { if($row[photos] == 1) { include($basepath.'/templates/template.content_item_photo.php'); } else { include($template); } } } } $_GET[q] = strip_tags($_GET[q]); function showChannels($pre,$post) { global $cache_path; global $overall_cache_time; global $basehttp; global $basepath; $overall_cache_time = 1800; $cached_rfile = $cache_path.'/channelList'; if(file_exists($cached_rfile) && time() - $overall_cache_time < filemtime($cached_rfile)) { $vstring = file_get_contents($cached_rfile); $farray = unserialize($vstring); } else { $dresult = mysql_query("SELECT * FROM niches ORDER BY name ASC"); while($drow = mysql_fetch_array($dresult)) { $farray[] = $drow; } $vstring = serialize($farray); file_put_contents($cached_rfile, $vstring); } if(is_array($farray)) { foreach($farray as $row) { $bad = array('?','!',' ','&','*','$','#','@'); $good = array('','','-','','','','',''); $link = "$basehttp/channels/".$row[record_num]."/".strtolower(str_replace($bad,$good,$row[name]))."/"; echo $pre."$row[name]".$post; } } } function custom_shuffle($my_array = array()) { $copy = array(); while (count($my_array)) { $element = array_rand($my_array); $copy[$element] = $my_array[$element]; unset($my_array[$element]); } return $copy; } function printTagCloud($tags) { arsort($tags); $max_size = 18; // max font size in pixels $min_size = 10; // min font size in pixels $max_qty = max(array_values($tags)); $min_qty = min(array_values($tags)); $spread = $max_qty - $min_qty; if ($spread == 0) { $spread = 1; } $step = ($max_size - $min_size) / ($spread); foreach ($tags as $key => $value) { $size = round($min_size + (($value - $min_qty) * $step)); if($size == 18) { $color = 'color: #ff1c04;'; } else { unset($color); } echo '' . $key . ' '; } } function tagCloud() { $result = mysql_query("SELECT * FROM keywords ORDER BY amount DESC LIMIT 0,50"); while($row = mysql_fetch_array($result)) { $tags[$row[word]] = $row[amount]; } printTagCloud($tags); } function url_exists($url){ $headers = @get_headers($url); if(strpos($headers[0],'200')===false){ return false; } else { return true; } } ?> Cali Teens | Hot Young Teens

Warning 18+

EnterEXIT

TERMS AND CONDITIONS

The following website, including all webpages, links, images and videos, display sexually explicit material. Only consenting adults are authorized beyond this page. If you are a minor (under the age of 18 years old or 21 years old where 18 isn’t the legal age of majority), if sexually explicit material offends you or if it’s illegal to view such material in your community, or if you disagree with the following statements in any way, you MUST leave by clicking EXIT below. By ENTERING this site, you irrevocably agree to these statements: You are an adult in your community and are at least 18 years old (21 in those communities where required). You will not expose, or allow others to expose minors to the sexually explicit content contained on this website. You believe that sexually explicit material is not offensive or obscene, and affirm that sexually explicit material is not deemed to be obscene or illegal in the community in which you will view these materials. You further affirm that you wish to view such materials and that no other person has coerced you into doing so. You will use the material available on this website for your own personal use and will not sell, distribute, give or make available the content on this website to anyone. You will take the appropriate steps in order to make sure no minor is able to view the content available on this site. You understand that if you disagree with any of the prior statements, you are not permitted to enter this website and to view its contents. By entering this website, you acknowledge that you have read this agreement, understood it and agree to be bound by it.

CYBERSITTER NET NANNYCYBERPATROLASACP

"I wish they all could be California girls" - David Lee Roth


The Beach Boys sang about them in the '60s, David Lee Roth looked like one of them in the 80's, most recently Katy Perry and Snoop Dogg sang:

"I know a place where the grass is really greener
Warm, wet and wild, there must be something in the water
You can travel the world but nothing comes close
To the hotties on the golden coast
California girls, they're undeniable!"

Sure quoting Katy Perry makes me feel like a douche, but she has a great rack and speaks the truth. We are always on the hunt for fresh faced 18-21 year old natural beauties. From the shy girl next door to drop dead gorgeous aspiring models we bring you the best the west coast has to offer.

What's Next
Upcomming Models




Membership Promo
Only $4.95 For New Members!

For a limited time we are giving new members the chance to access CaliTeens and the Unlimited Access Pass network for only $4.95!

More

Top Rated Models