"; $text_ampli_noti = eregi_replace($x,$y,$text_ampli_noti); } $noticies = "$tmp_dia.$tmp_mes.$tmp_any
". " $titol_noti
". " \"\"
". " $subtitol_noti
". " \"\"
". " "; if ($img_noti != "") { if ($img_noti_amp != "") { $mida_p = GetImageSize ("$path_IMATGES/$img_noti"); $t_amplada = $mida_p[0]; $mida = GetImageSize ("$path_IMATGES/$img_noti_amp"); $amplada = $mida[0]; $alcada = $mida[1]; $noticies .=" ". " ". " ". " ". " ". " ". " ". " ". " ". " ". "
\"$peu_img_noti\"
$peu_img_noti
\"\"
"; } else { $noticies .=" ". " ". " ". " ". " ". " ". " ". " ". " ". " ". "
\"$peu_img_noti\"
$peu_img_noti
\"\"
"; } } $noticies .= " $text_noti
 ". " \"\"
". "$text_ampli_noti". "
". " "; $consulta = "select * from abr06noticies_com where id_noti='$id_noti' order by ordre_com ASC"; $resultat = mysql_query ($consulta, $servidor) OR die ("No puc connectar"); $numresultat = mysql_num_rows ($resultat); for ($i=0; $i<$numresultat; $i++) { $id_noti = mysql_result ($resultat, $i, "id_noti"); $titol_com = mysql_result ($resultat, $i, "titol_com"); $text_com = mysql_result ($resultat, $i, "text_com"); $img_com = mysql_result ($resultat, $i, "img_com"); $peu_img_com = mysql_result ($resultat, $i, "peu_img_com"); if ($img_com != "") { $imatge = "
\"$peu_img_com\"
$peu_img_com
"; } else { $imatge = ""; } // $html_comentaris .= "

\n". " \n". " \n". " \n". "
\n". "  $titol_com
\n". " \n". " \n". " \n". " \n". "
$imatge$text_com
\n"; } mysql_close ($servidor); ?>
Manifestació