=8) { $my_act_no = substr($_GET['act_no'],0,9); } else { $my_act_no = "HK14-001"; } mysql_select_db($database_cn1, $cn1); $query_Recordset1 = "SELECT dbo_tblMain2.act_no, Activity_Name, Deadline, Fee, webappmark, force_show_success_list , dbo_tblMain2.max_quota, dbo_tblMain2.max_quota_desc, dbo_tblMain2.Sub_title, sum(if(dbo_tblParticipant1.Rejected_ = 0,1,0)) AS teacher_times , dbo_tblParticipant1.Rejected_,dbo_tblMain2.disable_this_event FROM dbo_tblMain2 inner JOIN dbo_tblParticipant1 on dbo_tblMain2.act_no = dbo_tblParticipant1.act_no group by dbo_tblMain2.act_no, Activity_Name, Deadline, Fee, webappmark, force_show_success_list , dbo_tblMain2.max_quota, dbo_tblMain2.max_quota_desc having dbo_tblMain2.disable_this_event = 0 and Deadline >= '$today' and dbo_tblMain2.act_no = '$my_act_no' and (dbo_tblParticipant1.Rejected_ = 0 or dbo_tblParticipant1.Rejected_ is null) and (dbo_tblMain2.max_quota_desc is null or (teacher_times < dbo_tblMain2.max_quota) ) order by dbo_tblMain2.act_no desc" ; $Recordset1 = mysql_query($query_Recordset1, $cn1) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($Recordset1); $totalRows_Recordset1 = mysql_num_rows($Recordset1); if ($row_Recordset1['act_no'] == null ) { echo "" ;} $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO dbo_tblParticipant1 (NameInEnglish, email, act_no, complete_application) VALUES (%s, %s, %s, %s)", GetSQLValueString(trim(strtoupper($_POST['NameInEnglish'])), "text"), GetSQLValueString($_POST['email'], "text"), GetSQLValueString($my_act_no, "text"), GetSQLValueString("0", "text") ); mysql_select_db($database_cn1, $cn1); $Result1 = mysql_query($insertSQL, $cn1) or die(mysql_error()); $insertGoTo = "mail_validate.php?email=" . $_POST['email'] . "&act_no=" . $my_act_no . "&NameInEnglish=" . $_POST['NameInEnglish'] ; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); } else { } ?> 電郵核實程序

香港教師中心
電郵核實程序 / Email Address Validation
步驟(1/2) / Part (1/2)

 

日期/Period:

活動名稱/Activity Name:

活動詳情/Activity Detail: .pdf>
 
英文姓名/English Name : (Surname first) i.e. CHAN TAI MAN, PETER
電郵地址(Email) :

 

遞交之後請接收電郵才能繼續報名
及需三十分鐘內完成

A link for completing the registration has been above email address.
Please click on it and complete the registration within 30 minutes from
now or the link will expire.
Thank you !