本文整理匯總了PHP中es_cls_dbquery::es_view_subscriber_jobstatus方法的典型用法代碼示例。如果您正苦於以下問題:PHP es_cls_dbquery::es_view_subscriber_jobstatus方法的具體用法?PHP es_cls_dbquery::es_view_subscriber_jobstatus怎麽用?PHP es_cls_dbquery::es_view_subscriber_jobstatus使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類es_cls_dbquery
的用法示例。
在下文中一共展示了es_cls_dbquery::es_view_subscriber_jobstatus方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
// Check errors in the query string
if ($form['db'] == '' || $form['email'] == '' || $form['guid'] == '') {
$noerror = false;
} else {
if (!is_numeric($form['db'])) {
$noerror = false;
}
if (!filter_var($form['email'], FILTER_VALIDATE_EMAIL)) {
$noerror = false;
}
}
// Load default message
$data = array();
$data = es_cls_settings::es_setting_select(1);
if ($noerror) {
$resultcheck = es_cls_dbquery::es_view_subscriber_jobstatus("Confirmed", $form['db'], $form['guid'], $form['email']);
if (!$resultcheck) {
$result = es_cls_dbquery::es_view_subscriber_job("Confirmed", $form['db'], $form['guid'], $form['email']);
if ($result) {
es_cls_sendmail::es_prepare_welcome($form['db']);
$message = esc_html(stripslashes($data['es_c_subhtml']));
$message = str_replace("\r\n", "<br />", $message);
} else {
$message = esc_html(stripslashes($data['es_c_message2']));
}
if ($message == "") {
$message = __('Oops.. We are getting some technical error. Please try again or contact admin.', ES_TDOMAIN);
}
} else {
$message = __('This email address has already been confirmed.', ES_TDOMAIN);
}