コード例 #1
0
    _e('Click Here', ES_TDOMAIN);
    ?>
</a> to sync the table. 
		This is mandatory and it will not affect your data.
		</p>
	</div>
	<?php 
}
// Form submitted, check the data
$search = isset($_POST['searchquery']) ? $_POST['searchquery'] : 'ALL';
$search_sts = isset($_POST['searchquery_sts']) ? $_POST['searchquery_sts'] : '';
$search_count = isset($_POST['searchquery_cnt']) ? $_POST['searchquery_cnt'] : '1';
$search_group = isset($_POST['searchquery_group']) ? $_POST['searchquery_group'] : 'ALL';
if (isset($_POST['frm_es_display']) && $_POST['frm_es_display'] == 'yes') {
    $did = isset($_GET['did']) ? $_GET['did'] : '0';
    es_cls_security::es_check_number($did);
    $es_success = '';
    $es_success_msg = FALSE;
    if (isset($_POST['frm_es_bulkaction']) && $_POST['frm_es_bulkaction'] != 'delete' && $_POST['frm_es_bulkaction'] != 'resend' && $_POST['frm_es_bulkaction'] != 'groupupdate' && $_POST['frm_es_bulkaction'] != 'search_sts' && $_POST['frm_es_bulkaction'] != 'search_cnt' && $_POST['frm_es_bulkaction'] != 'search_group') {
        //	Just security thingy that wordpress offers us
        check_admin_referer('es_form_show');
        // First check if ID exist with requested ID
        $result = es_cls_dbquery::es_view_subscriber_count($did);
        if ($result != '1') {
            ?>
			<div class="error fade">
			  <p><strong><?php 
            _e('Oops, selected details doesnt exist.', ES_TDOMAIN);
            ?>
</strong></p>
			</div>
コード例 #2
0
}
?>
<div class="wrap">
  <div id="icon-plugins" class="icon32"></div>
    <h2><?php 
_e(ES_PLUGIN_DISPLAY, 'email-subscribers');
?>
</h2>
	<h3><?php 
_e('Delivery Report', 'email-subscribers');
?>
</h3>
    <div class="tool-box">
	<?php 
$pagenum = isset($_GET['pagenum']) ? absint($_GET['pagenum']) : 1;
es_cls_security::es_check_number($pagenum);
$limit = 200;
$offset = ($pagenum - 1) * $limit;
$total = es_cls_delivery::es_delivery_count($sentguid);
$fulltotal = $total;
$total = ceil($total / $limit);
$myData = array();
$myData = es_cls_delivery::es_delivery_select($sentguid, $offset, $limit);
?>
	<form name="frm_es_display" method="post" onsubmit="return _es_bulkaction()">
      <table width="100%" class="widefat" id="straymanage">
        <thead>
          <tr>
            <th width="3%" scope="col"><?php 
_e('Sno', 'email-subscribers');
?>