"; $text_ampli_noti = eregi_replace($x,$y,$text_ampli_noti); } $tmp_any = substr ($data_pub_noti,0,4); $tmp_mes = substr ($data_pub_noti,4,2); $tmp_dia = substr ($data_pub_noti,6,2); $data_pub = "$tmp_dia.$tmp_mes.$tmp_any"; 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]; $crida_imatge ="
\"$peu_img_noti\"
$peu_img_noti
"; } else { $crida_imatge ="
\"$peu_img_noti\"
$peu_img_noti
"; } } else { $crida_imatge = ""; } $consulta = "select * from abr05noticies_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); ?>




"; require ("publi.php"); ?>










Per a més informació obriu aquest document adjunt.\n"; } ?>