session_start(); include("common.inc"); $db=new DB_sql; $db->connect(); if ($id != "") { $strQuery="select kind,title,email from info where id=$id and flag='Y'"; $db->Query($strQuery); if ($db->num_rows()==0) {die ("非法操作!");} $db->next_record(); list ($kind,$title,$email) =$db->Record; }else { Header("Location: charge.dll"); exit; } if (trim($action)=="booking" && $id!=""){ //=====发送邮件开始=== $emailBody="
以下为客户".$session_member_regname."订阅".$title."所填写的资料:
单位名称: ".$en_name."
联系地址: ".$address."
邮 编: ".$code."
联系人: ".$contact."
电 话: ".$tel."
传 真: ".$fax."
E-mail: ".$mail."
";} echo ("
|