L'Actu cinma
'; $rub_id=$line['rub_id']; $qry2="SELECT * FROM news where rub_id=$rub_id and news_validation!='n' order by news_date desc limit 0,5"; $result2=mysql_query($qry2); $i=0; while($line2=mysql_fetch_assoc($result2)){ $chaine=trim(strtr($line2["news_titre"],'', 'aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY')); $chaine=str_replace(' ', '-', $chaine); $chaine=ereg_replace("[^a-zA-Z0-9-]","",$chaine); $chaine=str_replace('--', '-', $chaine); if($i!='0'){ print ''; } $i=$i+1; $filename = 'photo/news/'.$line2['news_id'].'/grande.jpg'; if (file_exists($filename)) { print "".$line2["; } print ''; $texte=strip_tags($line2["news_texte"]); $texte=substr($texte,0,150); $position_espace = strrpos($texte, " "); $texte = substr($texte, 0, $position_espace); print ''; print '
['; ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})", $line2['news_date'], $regs); $MM=$regs[2]; $mois=array("Janvier","Fvrier","Mars","Avril","Mai","Juin","Juillet","Aot","Septembre","Octobre","Novembre","Dcembre"); $MMM=$mois[$MM-1]; print "$regs[3] $MMM $regs[1] | $regs[4]h$regs[5]"; print ']
'; } print '
'; } echo "

"; }else{ $rub_id=$_GET["rub_id"]; $qryrub2="SELECT * FROM rubrique_news where rub_id=".$rub_id; $resultrub2=mysql_query($qryrub2); while($linerub2=mysql_fetch_assoc($resultrub2)){ echo '
'.$linerub2["rub_titre"].'
'; } if($_GET["n"]!=""){ $n=$_GET["n"]; }else{ $n=0; } $nb=mysql_query("select count(news_id) from news where news_validation='o' and rub_id=".$rub_id); $nb = mysql_fetch_row($nb); $qry2="SELECT * FROM news where news_validation!='n' and (rub_id=$rub_id or ssrub_id=$rub_id) order by news_date desc limit $n,15"; $result2=mysql_query($qry2); $i=0; while($line2=mysql_fetch_assoc($result2)){ if($i!='0'){ print ''; } $i=$i+1; $n++; $filename = 'photo/news/'.$line2['news_id'].'/grande.jpg'; $chaine=trim(strtr($line2["news_titre"],'', 'aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY')); $chaine=str_replace(' ', '-', $chaine); $chaine=ereg_replace("[^a-zA-Z0-9-]","",$chaine); $chaine=str_replace('--', '-', $chaine); if (file_exists($filename)) { print "".$line2["; } print ''; $texte=strip_tags($line2["news_texte"]); $texte=substr($texte,0,150); $position_espace = strrpos($texte, " "); $texte = substr($texte, 0, $position_espace); print ''; print '
['; ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})", $line2['news_date'], $regs); $MM=$regs[2]; $mois=array("Janvier","Fvrier","Mars","Avril","Mai","Juin","Juillet","Aot","Septembre","Octobre","Novembre","Dcembre"); $MMM=$mois[$MM-1]; print "$regs[3] $MMM $regs[1] | $regs[4]h$regs[5]"; print ']
'; } echo "
"; if($nb[0]>"15" and $i>"14"){ echo ""; } echo "
"; } ?>
='$date' limit 0,1"; $resultban=mysql_query($qryban); $i=0; while($lineban=mysql_fetch_assoc($resultban)){ if($lineban["ban_image_url"]!=""){ echo ""; }else{ echo $lineban["ban_lien_complet"]; } $i++; } if($i!="1"){ $qryban="SELECT * FROM ban where ban_taille='300x250' and ban_validation!='n' and ban_titre='Bannire Google' limit 0,1"; $resultban=mysql_query($qryban); while($lineban=mysql_fetch_assoc($resultban)){ echo $lineban["ban_lien_complet"]; } } ?>
"; $rub_id=$line['rub_id']; $qry2="SELECT * FROM news where rub_id=$rub_id and ssrub_id!=24 and news_validation!='n' order by news_date desc limit 0,4"; $result2=mysql_query($qry2); $i=0; while($line2=mysql_fetch_assoc($result2)){ if($i!='0'){ print ''; } $i=$i+1; $chaine=trim(strtr($line2["news_titre"],'', 'aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY')); $chaine=str_replace(' ', '-', $chaine); $chaine=ereg_replace("[^a-zA-Z0-9-]","",$chaine); $chaine=str_replace('--', '-', $chaine); print ''; print '
['; ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})", $line2['news_date'], $regs); $MM=$regs[2]; $mois=array("Janvier","Fvrier","Mars","Avril","Mai","Juin","Juillet","Aot","Septembre","Octobre","Novembre","Dcembre"); $MMM=$mois[$MM-1]; print "$regs[3] $MMM $regs[1] | $regs[4]h$regs[5]"; print ']
'; } print '
'; } ?>
0){ print '
'; } $chaine=trim(strtr($linefilm['film_titre'],'', 'aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY')); $chaine=str_replace(' ', '-', $chaine); $chaine=ereg_replace("[^a-zA-Z0-9-]","",$chaine); $chaine=str_replace('--', '-', $chaine); print '
'.$linefilm['film_titre'].' '.$linefilm['film_titre'].'
('; $qrypays="SELECT distinct pays_nom from pays, film_pays where film_pays.film_id=".$linefilm["film_id"]." and pays.pays_id=film_pays.pays_id"; $resultpays=mysql_query($qrypays); $i=0; while($linepays=mysql_fetch_assoc($resultpays)){ if($i!='0'){ echo ', '; } echo $linepays["pays_nom"]; $i=$i+1; } if($i!='0'){ echo ", "; } echo $linefilm["film_annee"].")
"; $qryint="SELECT * from portrait, intervenant where portrait.portrait_id=intervenant.portrait_id and intervenant.film_id=".$linefilm["film_id"]." and intervenant.role_id='1'"; $resultint=mysql_query($qryint); $u=0; while($lineint=mysql_fetch_assoc($resultint)){ if($u!='0'){ echo ", "; }else{ echo "De "; } $chaine=$lineint['portrait_prenom'].' '.$lineint['portrait_titre']; $chaine=trim(strtr($chaine,'', 'aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY')); $chaine=str_replace(' ', '-', $chaine); $chaine=ereg_replace("[^a-zA-Z0-9-]","",$chaine); $chaine=str_replace('--', '-', $chaine); echo "".$lineint["portrait_prenom"]." ".$lineint["portrait_titre"].""; $u=$u+1; } if($u!='0'){ echo "
"; } $qryint="SELECT * from portrait, intervenant where portrait.portrait_id=intervenant.portrait_id and intervenant.film_id=".$linefilm["film_id"]." and intervenant.role_id='3' limit 0,3"; $resultint=mysql_query($qryint); $u=0; while($lineint=mysql_fetch_assoc($resultint)){ if($u!='0'){ echo ", "; }else{ echo "Avec "; } $chaine=$lineint['portrait_prenom'].' '.$lineint['portrait_titre']; $chaine=trim(strtr($chaine,'', 'aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY')); $chaine=str_replace(' ', '-', $chaine); $chaine=ereg_replace("[^a-zA-Z0-9-]","",$chaine); $chaine=str_replace('--', '-', $chaine); echo "".$lineint["portrait_prenom"]." ".$lineint["portrait_titre"].""; $u=$u+1; } echo "
"; print '
'; $i=$i+1; } } ?>
='$auj' and datedeb<='$auj' order by ordre"; $result=mysql_query($qry); $i=1; while($line=mysql_fetch_assoc($result)){ echo '
'; echo '
Gagnez '.$line["lot"].'
'; echo '
'; $chaine=trim(strtr($line["titre"],'', 'aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY')); $chaine=str_replace(' ', '-', $chaine); $chaine=ereg_replace("[^a-zA-Z0-9-]","",$chaine); $chaine=str_replace('--', '-', $chaine); echo ''; } ?>
='$date' limit 0,1"; $resultban=mysql_query($qryban); $i=0; while($lineban=mysql_fetch_assoc($resultban)){ if($lineban["ban_image_url"]!=""){ echo ""; }else{ echo $lineban["ban_lien_complet"]; } $i++; } if($i!="1"){ $qryban="SELECT * FROM ban where ban_taille='160x600' and ban_validation!='n' and ban_titre='Bannire Google' limit 0,1"; $resultban=mysql_query($qryban); while($lineban=mysql_fetch_assoc($resultban)){ echo $lineban["ban_lien_complet"]; } } ?> X-Intime, l'actualit du cinma pornographique : interview, portraits, critiques, news... Jean-Claude Van Damme.fr : toute l'actu de l'acteur de Bloodsport. Portail mariage.
Copyright © 2008-2014 No-Spoon.net - Tous droits rservs
AskMeWhy, le blog d'Anthony Sitruk