<?
//check for installing test table
require "./tr_inc.php";
require "./tr_dbaccess.php";
if (@mysql_result(mysql_query("SELECT count(f_mail) FROM tr_firms"),0)==0)
{
mysql_query
("
CREATE TABLE tr_firms
(
id int(12) NOT NULL auto_increment,
f_mail varchar(120) default NULL,
PRIMARY KEY (id)
)
");
mysql_query("INSERT INTO tr_firms(f_mail) VALUES ('test@trader.poltav.com')");
}
print"<a href='./hide_mail.php?id=1&action=send' target=mailto_frame><img src='./hide_mail.php?id=1' border=0></a><IFRAME NAME='mailto_frame' width='0' height='0'></IFRAME>";
?>
|