\n"; $objCon->selectTab('video','*','ORDER BY idVideo DESC'); while($lh = mysql_fetch_array($objCon->resultado)){ $imagem = $lh['imagem']; $titulo = stripcslashes($lh['titulo']); $legenda = stripcslashes($lh['legenda']); $video = $lh['video']; $codigo = $lh['idVideo']; $img = getConteudo("/v/","&",$video); $imagem = "http://i1.ytimg.com/vi/$img/hqdefault.jpg"; $chars = array('width="600" height="525"', 'width="560" height="340"', 'width="660" height="525"','width="640" height="385"', 'width="500" height="405"', 'width="445" height="364"', 'width="340" height="285"', 'width="640" height="505"', 'width="" height="344"', 'width="480" height="295"', 'color1=', 'color2=', 'border='); // // CARACTERES QUE IRAO SUBSTITUI-LOS $chars2 = array('width="425" height="355"','width="425" height="355"', 'width="425" height="355"', 'width="425" height="355"', 'width="425" height="355"', 'width="425" height="355"', 'width="425" height="355"', 'width="425" height="355"', 'width="425" height="355"', 'width="425" height="355"', '', '', ''); $video1 = str_replace($chars,$chars2,$video); if($cont2%2 ==1 or $cont2 ==1) echo ""; ?>

"; $cont2++; } // FECHA O LACO echo ""; ?>