25)) $searchterm2 = substr($searchterm,0,25)."..."; else $searchterm2 = $searchterm; if ($rewrite == 1) $itemlink = "".$searchterm2.""; else $itemlink = "".$searchterm2.""; $content = $content." ".$itemlink." "; } } return $content; } function related($xnxtitle,$limit){ $string = ereg_replace("[^a-z0-9 ]", "", $xnxtitle); // remove all characters except spaces, a-z and 0-9 $string = ereg_replace(" +", " ", $string); // make all spaces single spaces $searchterms = preg_replace('/[[:space:]]+/', ' ', $string); // strip extra spaces $trimmed = trim($searchterms); //trim whitespace from the stored variable $randomKeys = explode(' ', $trimmed); $sql_where = ''; foreach($randomKeys as $key) $sql_where .= '`title` LIKE \'%' . $key . '%\' OR '; $sql_query = "select * from items WHERE (" . rtrim($sql_where, ' OR') .") and hits <10"; $query_for_result = mysql_query("$sql_query LIMIT $limit"); while ($row = mysql_fetch_array($query_for_result)) { $contenttitle = stripslashes($row['title']); $contenttitle = strtolower($contenttitle); $id = $row['id']; $contenturl = $row['url']; $contentdescription = $row['title']; $contentimage = $row['image']; $contentimage = "http://img100.xvideos.com/videos/thumbs/".$contentimage.".5.jpg"; $title = make_friendly($contenttitle); $itemlink = "/preview/".$id."/".$title; if (strlen($contenttitle)>22) $contenttitle = substr($contenttitle,0,22); $itemlinc = "
  • \"$contentdescription\"
    $contenttitle
  • "; $content = $content."".$itemlinc.""; } return $content; } function searches($limit){ $nr = rand(1,444700); $sql_query = "SELECT * from cautari"; $results = mysql_query("$sql_query LIMIT $limit OFFSET $nr"); while ($row = mysql_fetch_array($results)) { $contenttitle = $row['title']; $contenttitle = str_replace(array('-'), ' ', $contenttitle)." "; $contenttitle = mb_strtolower($contenttitle); $title = make_friendly_no_ext($contenttitle); $itemlinc = "".$contenttitle.""; $content = $content."".$itemlinc.", "; } return $content; } function videos($xnxx){ $string = ereg_replace("[^a-z0-9 ]", "", $xnxx); // remove all characters except spaces, a-z and 0-9 $string = ereg_replace(" +", " ", $string); // make all spaces single spaces $string = substr($string,0,30); $string = preg_replace('!\\b\\w{1,3}\\b!', ' ', $string); $string = preg_replace('/[[:space:]]+/', ' ', $string); // strip extra spaces $trimmed = trim($string); //trim whitespace from the stored variable $Keys_array = explode(' ',$trimmed); $sql_where = ''; foreach($Keys_array as $key) $sql_where .= '`title` LIKE \'%'.$key.'%\' OR '; $sql_query = "select * from items WHERE (" . rtrim($sql_where, ' OR') .") and hits <10"; $for_result=mysql_query("$sql_query LIMIT 10"); $numrows = mysql_num_rows($for_result); // Number of rows returned from above query. if ($numrows <= 3) $query_for_result=mysql_query("SELECT * from items WHERE hits <10 LIMIT 10"); else $query_for_result = $for_result; while ($row = mysql_fetch_array($query_for_result)) { $contenttitle = stripslashes($row['title']); $contenttitle = strtolower($contenttitle); $id = $row['id']; $contentdescription = $row['title']; $contentimage = $row['image']; $contentimage = "http://img100.xvideos.com/videos/thumbs/".$contentimage.".4.jpg"; $title = make_friendly($contenttitle); $itemlink = "/hosted/".$id."/".$title; if (strlen($contenttitle)>22) $contenttitle = substr($contenttitle,0,22); $itemlinc = "
  • \"$contentdescription\"
    $contenttitle
  • "; $content = $content."".$itemlinc.""; } return $content; } function strip($string){ $string = str_replace(array('.', '?', ',', '!', '/', ':', '%'), ' ', $string); $string = str_replace(array(' doua ', ' altul ', ' din ', ' fut ', ' buna ', ' rau ', ' vrea ', 'isi ', ' bage ', ' ambele ', ' aiba ', ' care ', ' intreaga ', ' insele ', ' alte ', ' prin ', ' cate ', ' stie ', ' pot ', ' acum', ' aceasta ', ' spune ', ' lasa ', ' cea ', ' prea ', ' fute ', ' amuzanta ', ' tare ', ' adora ', ' dupa ', ' pentru ', ' afla ', ' dea ', ' face ', ' unde ', ' info ', ' ala ', ' asta ', ' trasa ', ' bine ', ' aparute ', ' dar ', ' apoi ', ' parte ', ' bot ', ' produce ', ' cei ', ' partea ', 'oaica ', ' lee ', ' incape ', ' ore ', ' cateva ', ' iti ', ' cade ', ' lectii ', ' spioana ', ' advers', ' gaurit', ' admitere ', ' poiana ', ' dovada ', ' dovada ', ' iata ', ' botcari', ' ajut', ' chemat ', ' slobozite ', ' durerea ', ' provocat', ' lipit ', ' baut ', ' variant', ' xxx ', ' fiert ', ' cafea ', ' alatura ', ' cam ', ' ori ', ' cauta ', ' bune ', ' departe ', ' foarte ', ' sug ', ' perfecta ', ' rupta ', ' mare ', ' place ', ' luata ', ' arata ', 'ul ', ' intoarcerea ', 'hmm', ' cel ', ' pana ', ' loc ', ' atunci ', ' nemaipomenit ', ' dintr', ' treaca ', ' final ', ' intretin', ' abia ', ' luciu ', ' imobiliar ', ' orice ', ' cazase ', ' trag', ' invatat', ' incat ', ' distrusa ', ' incearca ', ' plateste ', ' reparat ', ' saturat ', ' verisor ', ' visau ', ' reusit', ' afuma ', ' drept ', ' creada ', 'vand', ' nema', ' optiune ', ' azi ', ' privir', ' vizit', ' luat', ' transformat ', ' convinge ', ' gonflabila ', ' rezolv', ' inseamna', ' esti ', ' macar ', ' faci ', ' metoda ', ' bagat', ' surprinsa ', ' placut', ' auto ', ' marire ', ' confirma ', ' verific', ' impreun', ' geam ', ' intalnesc ', ' marginea ', ' celei ', ' jos ', ' inca ', ' copii', ' conving ', ' furat ', ' accepta', ' angajator', ' mearga ', ' mancarea ', ' razbune ', ' inselase ', ' pacat', ' tari ', ' cenzurat', ' film', ' porno ', ' cred', ' venit ', ' cheama ', ' nesimtita ', ' putea ', ' vrut ', ' ate ', ' bonus ', ' criza ', ' scoata ', ' indeplineasca ', ' costumat', ' sus ', ' pierdut ', ' fiicei ', ' miros ', ' baseball ', ' argentina ', ' mici ', ' fortat ', ' defata ', ' viitor ', ' viata ', ' rost ', ' inchiriaza ', ' aduca ', ' fost ', ' recunoaste ', ' castiga ', ' impart', ' plictisesc', ' acolo ', ' fie ', ' duce ', ' spele ',' despre ', ' ani ', ' baga ', ' mai ', ' fara ', ' nici ', ' jena ', ' puna ', ' vine ', ' unuia ', ' aer ', ' futa ', ' are ', ' unei ', ' chiar ', ' cum ', ' sau ', ' daca ', ' ale ', ' numai ', ' ajuns ', 'lor ', ' abuz', ' iasa ', ' incalca ', ' forma ', ' propriu', ' alta ', ' vor ', ' merg', ' lase ', ' iar ', ' doar ', ' doar ', ' duc ', ' asa ', ' ceva ', ' urmat', ' eati ', ' astia ', ' sar ', ' decat ', ' sub ', ' oare ', ' atat ', ' participa ', ' sari ', ' ofer', ' determinat', ' deloc ', ' tip ', ' timp ', ' anti ', ' timp ', ' doi ', ' data ', ' unor ', ' mult ', ' gasit ', 'ului ', ' futut', ' facut', ' aceea', ' cat ', ' poti ', ' stea ', ' usor ', ' vorbitor ', ' reciproc ', 'ulet ', ' initiere', ' faca ', ' intampina ', ' ajung', ' castigat', 'itatea ', ' cal ', ' tura ',' unu ', 'lui ', ' pun ', ' poate ', ' domiciliu ', ' acuza', ' violare ', ' unui ', ' cauza ', ' catre ', ' supus', ' meu ', ' pus ', ' acelasi ', ' sex ', ' servesc ', ' capat', ' adept', ' chiuleam ', 'uale ', ' orele ', ' pierde ', ' tin ', ' mine ', ' mutat ', ' era ', ' convins', ' cativa ', ' tine ', ' incap ', ' incerce ', ' parca ', ' langa ', ' posibile ', ' antren ', ' vazut', ' piele', ' pare ', ' conduce ', ' aseara ', ' plateasca ', ' meditatii', '-are ', ' tuturor ', ' facand ', ' gases', ' special', ' primes', ' vietii ', 'uri ', ' apuca', ' lipsa ', 'oaice ', ' stia', ' exista ', ' aproape ', ' str ', ' aleg', ' dat ', ' seama ', ' vada ', ' vede ', ' prefer', ' trebui', ' dansand ', ' ultim', 'ua ', ' ben ', ' aduce ', ' doreste ', ' fana ', ' des ', ' noi ', ' livr', ' plimba ', ' coca ', ' fac ', ' sunt ', ' una ', ' uita ', ' bun ', ' rand ', ' cand ', ' atins', ' folosesc ', ' chef ', ' gama ', ' sexshop ', ' magazine ', ' tot ', ' aduc ', ' acest', ' toat', ' inainte ', ' pune ', ' ung ', ' vaz ', ' colectie ', ' etaj ', ' leaga ', ' evoluat ', ' multe ', ' peste ', ' scapat ', ' placa ', ' avans ', ' rezist', ' suit ', ' gandacel ', ' jucand ', ' inceput ', ' insanatosirea ', ' goale ', ' halep', ' interzisa ', ' cosmetice ', ' cine', ' crezut ', ' petrecerea ', ' cocalar ', ' eaza ', ' eze ', ' umbrela ', ' exemplu ', ' ora ', ' produse ', ' neculai ', ' esuata ', ' sute ', ' animale ', ' rupe ', ' satisfaca ', ' dorobanti ', ' pacient', ' derbedei ', ' toreador ', ' alearga ', ' incepe ', ' devreme ', ' excitanta ', ' antrenoare', ' gata ', ' purtare ', ' scazuta ', ' avut ', ' putin ', ' prim ', ' satisfacute', 'oseama ', ' intai ', ' nevoi', ' intr', ' puse ', ' vanzare ', 'spus', ' uite ', ' zis ', ' curatat ', ' peria ', ' planeta ', ' obisnuite ', 'oaicele ', ' stiu ', ' eau ', ' corupe ', ' sai ', ' avea ', ' masc ', ' produca ', ' simte ', ' renovare', ' ieri ', ' act ', ' interior ', ' antreneaza', ' industria', ' ploioasa', ' numarat', ' astea ', ' deacord ', ' trecere ', ' mondial ', ' doboare ', ' casei ', ' primi', ' tocmai ', ' reuseste ', ' merit', ' devine ', ' lucreaza ', ' folosita ', ' neastamparata ', ' oara ', ' caut ', ' mari ', ' veteran ', ' intampla ', ' adevarat ', ' trezita ', ' organele ', ' genitale ', ' poart', ' initiaza ', ' lucr ', ' cumparat', ' barbat ', ' pregates', ' pregatita ', ' dorit ', ' ditamai ', ' priveste ', ' pietricele ', ' lan ', ' ascund', ' paduri', ' teorie ', ' pust ', ' iau ', ' ramai ', ' vesnic ', ' masturbandu', ' adoptiv ', ' inregistreaza ', ' frageda ', ' lasat', ' poata ', ' comfirm', ' vinde ', ' baga ', ' asteapta ', ' salvarea ', ' deveni ', ' rapid', ' tratat', ' fiecare ', ' scape ', ' curtii ', ' repare ', ' stand ', ' oduce ', ' adus ', ' oricarui ', ' prins', ' alaturat ', ' pleaca ', ' aiva ', ' spionate ', ' venita ', ' folosind ', ' implinit ', ' deja ', ' cealalta ', ' lesinat ', ' solutie ', ' distruge ', ' chiulesc ', ' impiedicat ', ' incercau ', ' umil', ' este ', ' mie ', ' testez', ' patesti', ' edy', ' mexicanu', ' taicatu', ' monotonia', ' stiut ', ' atatea ', ' scos ', ' stiut ', ' geografie ', ' trek ', ' episod ', ' exemplificat', ' socant', ' asi ', ' rad ', ' life ', ' minor', ' niste ', ' vin ', ' categoria ', ' termine ', ' apuce ', ' posibila ', ' viitoare ', ' ulete ', ' pina ', ' mic ', ' umfla ', ' var ', ' picura', ' client ', ' parut ', ' spiona ', ' dozator ', ' extraterest', ' putina ', ' facand', ' vrei ', ' aici ', ' ari ', ' mod ', ' tau ', ' cap ', ' iese ', ' nas ', ' fel ', ' sta ', ' com ', ' pic ', ' ati ', ' bea ', ' sale ', ' nota ', ' nou ', ' ata ', ' dau '), ' ', strtolower(" ".$string)); $string = str_replace(array('ele '), "e ", $string); $string = str_replace(array('ii '), "i ", $string); $string = str_replace(array('ile '), "i ", $string); $string = str_replace(array('ss '), "s ", $string); $string = str_replace(array(' imaginat '), " imagini ", $string); $string = str_replace(array(' gagicile '), " gagici ", $string); $string = str_replace(array(' culturista '), " culturist ", $string); $string = str_replace(array(' prietenei '), " prietena ", $string); $string = str_replace(array(' fetei '), " fata ", $string); $string = str_replace(array(' mosule '), " mos ", $string); $string = str_replace(array(' cado '), " cadou ", $string); $string = str_replace(array(' masturb '), " masturbare ", $string); $string = str_replace(array('surorei '), "surori ", $string); $content = ereg_replace("[^a-z ]", " ", $string); return $content; } function highlight($string,$term){ $term = preg_replace('/\s+/', ' ', trim($term)); $words = explode(' ', $term); $highlighted = array(); foreach ( $words as $word ){ $highlighted[] = "".$word.""; } return str_replace($words, $highlighted, $string); } function indexhighlight($string,$term){ $term = preg_replace('/\s+/', ' ', trim($term)); $words = explode(' ', $term); $highlighted = array(); foreach ( $words as $word ){ $highlighted[] = "".$word.""; } return str_replace($words, $highlighted, $string); } function keywords($pagetitle){ $string = strip($pagetitle); $string = preg_replace('!\\b\\w{1,2}\\b!', ' ', $string); $string = preg_replace('/[[:space:]]+/', ' ', $string); $string = implode(' ',array_unique(explode(' ', $string))); $trimmed = trim($string); //trim whitespace from the stored variable $randomKeys = explode(' ',$trimmed);; // strip extra spaces foreach($randomKeys as $word) $content = $content."".$word.", "; return $content; } function out($rezultate){ $page = rand(1,16900); $query_for_result = mysql_query("SELECT * FROM tags LIMIT $page, $rezultate"); while ($row = mysql_fetch_array($query_for_result)) { $tag = $row['tag']; $tag = str_replace(array('-'), ' ', $tag)." "; $tag = mb_strtolower($tag); $title = make_friendly_no_ext($tag); $itemlink = "http://filme-porno.mobi/".$title.".htm"; $output = "".$tag.", "; $content = $content.$output; } return $content; } function cautari($numar){ $query_for_result = mysql_query("SELECT * FROM searches order by id desc LIMIT $numar "); while ($row = mysql_fetch_array($query_for_result)) { $tag = $row['title']; $tag = str_replace(array('-'), ' ', $tag)." "; $tag = preg_replace('/[[:space:]]+/', ' ', $tag); $stag = substr($tag, 0, -1); $title = make_friendly_no_ext($tag); $itemlink = "/".$title.".htm"; $output = "".$stag.", "; $content = $content.$output; } return $content; } ?>