Index page Aviation Catalog
Russian Aviabusiness
Aviation Marketplace



 

bearcraft-online.com
Russian AviaBusiness
Add Your Company
"; else $fs=""; echo "$fs$dname$bs\n"; } }// end of function ?>     No short company name was specified."; if (empty($passwd)) $err[] = "
    No password was specified."; if ($cpasswd != $passwd) $err[] = "
    Please, confirm password in accuracy."; if ($did1==0 & $did2==0 & $did3==0) $err[] = "
    No category was specified. Please, select at least one category."; if (empty($fname)) $err[] = "
    No full company name was specified."; if (empty($phone)) $err[] = "
    No phone was specified."; if (empty($services)) $err[] = "
    No services was specified."; $res = mysql ($db, "SELECT sname FROM BUSINESS WHERE sname = '$sname'"); if (mysql_numrows($res)) $err[] = "
    The company $sname has already registered in the Russian AviaBusiness."; if (!count($err)) { if ($did1!=0) { $res = mysql($db, "SELECT dname FROM BUSINESSdir WHERE did=$did1"); $dname1 = mysql_result($res, 0, 0); } else $dname1 = " ---not selected--- "; if ($did2!=0) { $res = mysql($db, "SELECT dname FROM BUSINESSdir WHERE did=$did2"); $dname2 = mysql_result($res, 0, 0); } else $dname2 = " ---not selected--- "; if ($did1!=0) { $res = mysql($db, "SELECT dname FROM BUSINESSdir WHERE did=$did3"); $dname3 = mysql_result($res, 0, 0); } else $dname3 = " ---not selected--- "; $sname = ereg_replace ("'", "’", $sname); $sname = ereg_replace ("\"", """, $sname); $fname = ereg_replace ("'", "’", $fname); $fname = ereg_replace ("\"", """, $fname); $contact = ereg_replace ("'", "’", $contact); $contact = ereg_replace ("\"", """, $contact); $services = ereg_replace ("'", "’", $services); $services = ereg_replace ("\"", """, $services); $services = nl2br ($services); $additional = ereg_replace ("'", "’", $additional); $additional = ereg_replace ("\"", """, $additional); $additional = nl2br ($additional); $tm = time(); $tm -= $tm % 86400; $res = mysql($db, "INSERT INTO BUSINESS (cid, did1, did2, did3, sname, fname, passwd, address, phone, fax, email, website, contact, services, additional, topman, toptitle, pub, ldate) VALUES ('', $did1, $did2, $did3, '$sname', '$fname', '$passwd', '$address', '$phone', '$fax', '$email', '$website', '$contact', '$services', '$additional', '$topman', '$toptitle', 0, $tm)") or die(mysql_error()); $res = mysql($db, "SELECT cid FROM BUSINESS WHERE sname='$sname'"); $cid = mysql_result($res, 0, 0); $emsg = "Adding new company in Bearcarft-online.com Aviabusiness
Short name: $sname
Password: $passwd
Directory:
$dname1
$dname2
$dname3
Full name: $fname
Top management: $toptitle - $topman
Address: $address
Contact Person: $contact
Phone: $phone
Fax: $fax
Email: $email
Web site: $website
Services: $services
Additional: $additional
"; $emsg1 = "Publish"; mail("business@bearcraft-online.com", "$sname was added to AviaBusiness", $emsg.$emsg1, "From: BoL-Robot\nContent-Type: text/html; charset=windows-1251\nContent-Transfer-Encoding: 8bit"); ?>


THANK YOU!!!


We'll check the information about your company within several days and publish it in our catalogue.