'_EMAIL_')) { $db=pg_connect("host=db.imetria.lan dbname=bigpanel port=5432 user=interfejs password=iinteerfeejjs"); $mQ = pg_exec("select * from emails where LOWER(email) = '".mysql_real_escape_string($e)."'"); while($row = pg_fetch_array($mQ)) { pg_exec("update people set spamtype = 'T' where id = '".$row['fk_people_id']."'"); } // $r_qID=dbQuery('UPDATE people SET "spamtype"=\'T\' WHERE LOWER(email)=\''.strtolower($e).'\''); $msg='Operacja zakończona sukcesem.
Kolejny newsletter zostanie przysłany na adres '.$e.' w postaci tekstowej.

'; dbClose(); } else { $msg=join('',file('inc/form2.inc.html')); } $body=join('',file('inc/header.inc.html')).$msg.join('',file('inc/footer.inc.html')); print $body; ?>