示例#1
0
<?php

/**
loading existing forms
**/
$old_error_reporting = error_reporting(0);
if (isset($_REQUEST['fid'])) {
    if (nmMailChimp::deleteForm($_REQUEST['fid'])) {
        echo '<div class="updated">Form deleted</div>';
    }
}
$arrForms = nmMailChimp::getForms();
?>
<br />
<div class="postbox">
<h3>Existing forms</h3>
<div class="inside">
<table width="100%" class="wp-list-table widefat fixed pages">
<thead>
  <tr>
    <th width="6%">Sr #</th>
    <th width="30%">Form name</th>
    <th width="26%">Detail</th>
    <th width="25%">Shortcode</th>    
    <th width="13%">Delete</th>    
  </tr>
</thead>

<tbody>
<?php 
$c = 0;