Execute $SQLQuery); if (!$RSList->EOF) { fxhead("Forix: ".$RSList["mo_nome"]." ".$RSList["mo_model"]); tab_ini(); tab_bar(2); ?>  Execute $SQLQuery); ?>  Current records deleted.

4) { $p1=(strpos(1,$linha,"|") ? strpos(1,$linha,"|")+1 : 0); $cod=substr($linha,0,$p1-1); $p2=(strpos($p1+1,$linha,"|") ? strpos($p1+1,$linha,"|")+1 : 0); $nome=substr($linha,$p1+1-1,$p2-$p1-1); $tex=substr($linha,strlen($linha)-(strlen($linha)-$p2)); if ($tex!="??") { // Insert new record $SQLQuery="Insert into mos Values (".$rmo.",".$lin.",".$cod.",'".str_replace("'","''",$tex)."')"; $dbc->Execute $SQLQuery); ?>  Record for inserted.
0) { $linha=substr($txt,$i1-1,$i2-$i1); } else { $linha=""; } } ?>  0) { $SQLQuery="Select fotos.*, contactos.copynote from fotos, contactos where fotos.sig=contactos.sig and fotos.ref=$rmo and fotos.cref=$REF_MO Limit ". rand(0,$n-1) .", 1"; $result2 = mysql_query($SQLQuery); $RSfoto= mysql_fetch_array($result2); tab_bor(); if ($n > 1) { tab_bar2(4); echo("$titulo[$N_PGAL]"); } else tab_bar1(6); echo(""); if ($RSfoto["zoom"]==0) echo("\"Photo\"
"); else echo("\"Zoom\"
"); echo("".$RSfoto["copynote"].""); echo(""); tab_bar1(4); } // Comments $SQLQuery="SELECT notes.*, contactos.copynote FROM notes inner join contactos on contactos.sig=notes.autor Where (notes.lin=".$lin; if ($lin==$linBra) { $SQLQuery=$SQLQuery." or notes.lin=".$linPor; } $SQLQuery=$SQLQuery.") "; if ($super_modo==$Modo_publico) { $SQLQuery=$SQLQuery." and notes.dat<=".$hiso; } $SQLQuery=$SQLQuery." and notes.cref=".$REF_MO." and notes.ref=".$rmo." and notes.tipo=".$No_tipo_C." and notes.modo<=".$super_modo." Order by notes.lin desc"; $result2 = mysql_query($SQLQuery); while ($RScomm= mysql_fetch_array($result2)) { com_texto($RScomm,400,$titulo[$N_COMM],false); } // Technical Specifications $SQLQuery="SELECT mos.* FROM mos where mos.rmo=".$rmo." order by mos.cod"; if (($result = mysql_query($SQLQuery)) and ($RSList = mysql_fetch_array($result))) { $SQLQuery="SELECT * FROM mosn Where lin=".$lin." or lin=".$linEng." Order by lin desc, cod"; $result2 = mysql_query($SQLQuery); tab_bor(); ?>
[Edit]