當前位置: 首頁>>代碼示例>>PHP>>正文


PHP es_cls_dbquery::es_view_subscriber_delete方法代碼示例

本文整理匯總了PHP中es_cls_dbquery::es_view_subscriber_delete方法的典型用法代碼示例。如果您正苦於以下問題:PHP es_cls_dbquery::es_view_subscriber_delete方法的具體用法?PHP es_cls_dbquery::es_view_subscriber_delete怎麽用?PHP es_cls_dbquery::es_view_subscriber_delete使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在es_cls_dbquery的用法示例。


在下文中一共展示了es_cls_dbquery::es_view_subscriber_delete方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __

                    es_cls_sendmail::es_prepare_optin("single", $did, $idlist = "");
                    es_cls_dbquery::es_view_subscriber_upd_status("Unconfirmed", $did);
                    $es_success_msg = TRUE;
                    $es_success = __('Confirmation email resent successfully.', ES_TDOMAIN);
                }
            }
        }
    } else {
        check_admin_referer('es_form_show');
        if (isset($_POST['frm_es_bulkaction']) && $_POST['frm_es_bulkaction'] == 'delete') {
            $chk_delete = isset($_POST['chk_delete']) ? $_POST['chk_delete'] : '';
            if (!empty($chk_delete)) {
                $count = count($chk_delete);
                for ($i = 0; $i < $count; $i++) {
                    $del_id = $chk_delete[$i];
                    es_cls_dbquery::es_view_subscriber_delete($del_id);
                }
                //	Set success message
                $es_success_msg = TRUE;
                $es_success = __('Selected record was successfully deleted.', ES_TDOMAIN);
            } else {
                ?>
				<div class="error fade">
				  <p><strong><?php 
                _e('Oops, No record was selected.', ES_TDOMAIN);
                ?>
</strong></p>
				</div>
				<?php 
            }
        } elseif (isset($_POST['frm_es_bulkaction']) && $_POST['frm_es_bulkaction'] == 'resend') {
開發者ID:GDG-JSS-NOIDA,項目名稱:gdg_events_theme,代碼行數:31,代碼來源:view-subscriber-show.php


注:本文中的es_cls_dbquery::es_view_subscriber_delete方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。