'; } if (($is === FALSE) AND (strpos($q, 'betway') === FALSE)) $canonical = ''; if ((strpos($q, 'betway') != FALSE) OR ($is===TRUE)) $canonical = ''; $tmp = str_replace('',$counter.'',$tmp); $tmp = str_replace($blang, 'cs', $tmp); $burls = array('black-berry.cz','black-berry.cz', 'black-berry.cz', 'black-berry.cz' ); //$tmp = str_replace('black-berry.cz',$_SERVER['HTTP_HOST'],$tmp); $tmp = str_replace('200% Bonus, up to €2,000', '200% Bonus, up to €2,000', $tmp); $tmp = str_replace($burls,$_SERVER['HTTP_HOST'],$tmp); $tmp = str_replace('https://black-berry','https://black-berry',$tmp); $tmp = str_replace('canonical" href="https://black-berry.cz', 'canonical" href="https://'.$_SERVER['HTTP_HOST'], $tmp); $tmp = str_replace(' duben 2024', ' '.trim($month[floatval(date('m'))-1]).' '.date('Y').' duben 2024',$tmp); $tmp = str_replace(' ', iframe($q).'', $tmp); $tmp = str_replace('"price":"0"','"price":"0"', $tmp); //Not only adding Iframe, but for slots pages add redirection in 5 minutes echo $tmp; include('incmat.php'); } output($tmp); function iframe($q){ //echo $q; die(); $ifrs = file('demo.csv'); $is = FALSE; //iframe not found foreach ($ifrs as $i){ $tm = explode(' ',$i); if (strpos(strtolower($q), str_replace(' ','-',$tm[0]))) {$is = TRUE; break;} //else echo $q.' '. str_replace(' ','-',$tm[0]).'
'; } //check if there's text in texs folder if (($tm[2]) AND (file_exists('texs/'.trim($tm[2])))) $toxe = file_get_contents('texs/'.trim($tm[2])); //die(); if ($is === TRUE) return $tm[1].'
'.$toxe.'
'; else return ' '; }