programação cinema chapecó
✔ Atualização: “.$data.”“;
echo “ Fonte: Arcoplex
“;
echo $ja_registrado[0][2];
}
else{

$html = file_get_contents(‘http://arcoplex.com.br/filme/?lang=058’);

//Create a new DOM document
$dom = new DOMDocument;

//Parse the HTML. The @ is used to suppress any parsing errors
//that will be thrown if the $html string isn’t valid XHTML.
@$dom->loadHTML($html);

//Get all links. You could also use any other tag name here,
//like ‘img’ or ‘table’, to extract other tags.
$links = $dom->getElementsByTagName(‘a’);

//Iterate over the extracted links and display their URLs
$contador = 0;
foreach ($links as $link){
$contador = $contador +1;
if ($contador == 50){ break;}
//Extract and show the “href” attribute.
//echo $link->nodeValue;
$valor_base = “?lang=058#trailer”;
$valor_comparacao = $link->getAttribute(‘href’);
//echo $link->getAttribute(‘href’).”
“;
//$titulo = $link->nodeValue;
//echo $link->nodeValue.”

“;
$tem = strpos ($valor_comparacao, $valor_base);
//echo $link->getAttribute(‘href’).”

“;
if ($tem === false){}
else{
$url = $link->getAttribute(‘href’);
//echo $link->getAttribute(‘href’).”

“;
$conteudo = file_get_contents($url);

$trecho = “http://arcoiriscinemas.com.br/2014/wp-content/themes/arcoplex/assets/images/ingresso-btn.jpg”;
$novo_trecho = “”;
$conteudo = str_replace($trecho,$novo_trecho, $conteudo);

$trecho = “Comprar”;
$novo_trecho = “”;
$conteudo = str_replace($trecho,$novo_trecho, $conteudo);

$trecho = “http://arcoiriscinemas.com.br/2014/wp-content/themes/arcoplex/assets/images/altera-cinema-btn.jpg”;
$novo_trecho = “”;
$conteudo = str_replace($trecho,$novo_trecho, $conteudo);

$trecho = ‘

  • Preço
  • ‘;
    $novo_trecho = “”;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = “Sala 4“;
    $novo_trecho = “SALA 4 “;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = “Sala 2“;
    $novo_trecho = “SALA 2 “;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = “Sala 3“;
    $novo_trecho = “SALA 3 “;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = ‘

  • Contato
  • ‘;
    $novo_trecho = “”;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = “

  • Sala 1
  • “;
    $novo_trecho = “SALA 1 “;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = “

  • “;
    $novo_trecho = “”;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = ‘arcoplex_novosite_1366px_x_768px_1-01‘;
    $novo_trecho = “”;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = “

    “;
    $novo_trecho = ‘

    ‘;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = “

  • “;
    $novo_trecho = “”;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = “

  • “;
    $novo_trecho = “”;
    $conteudo = str_replace($trecho,$novo_trecho, $conteudo);

    $trecho = ‘