function getBlog(){ $('formBlog').submit(); } function delComm(idc){ $('formBlog').elements['toDel'].value = idc; $('formBlog').submit(); } "; if($_POST[toDel]){$conn->Execute("DELETE FROM CMZ_blog_comm WHERE idc=".$_POST[toDel]);echo "\n";} echo "\n
"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo ""; echo "\n"; echo "\n"; if($_POST[blogId]){ echo "\n"; $q = "SELECT * FROM CMZ_blog_comm WHERE ida=".$_POST[blogId]; $r = $conn->Execute($q); while(!$r->EOF){ $rw = $r->fields; echo "\n"; $r->MoveNext(); } if(!$r->RecordCount($r))echo "\n"; } echo "\n
".$cmzLabel['144']."
".$cmzLabel['145'].":"; $q = "SELECT ida,titolo FROM CMZ_articoli,CMZ_sottorubriche,CMZ_rubriche WHERE CMZ_articoli.idsr=CMZ_sottorubriche.idsr AND CMZ_sottorubriche.idr=CMZ_rubriche.idr AND CMZ_rubriche.idu=".$idCustUser." AND CMZ_rubriche.cancellato=0 AND CMZ_sottorubriche.cancellato=0 AND CMZ_articoli.cancellato=0 AND CMZ_sottorubriche.idsr=13 ORDER BY titolo"; $r = $conn->Execute($q); echo "\n"; echo "
".$cmzLabel['146']."
".$rw[autore]." - ".substr($rw[testo],0,200)."...
".$cmzLabel['147'].".
"; echo "\n
"; ?>