Example #1
0
              </td>
            </tr>
            <tr valign="top">
              <th scope="row">
                <?php 
    submit_button();
    ?>
              </th>
              <td></td>
            </tr>
          </tbody>
        </table>
      </form>
      <?php 
    $email = new Cart66EmailLog();
    $emails = $email->getModels(null, 'order by send_date DESC LIMIT 200');
    if (count($emails) && Cart66Setting::getValue('enable_email_log') == 1) {
        ?>
        <h3><?php 
        _e('Email Activity', 'cart66');
        ?>
</h3>
        <table class="widefat Cart66HighlightTable" id="email_log_table">
        <thead>
          <tr>
            <th><?php 
        _e('ID', 'cart66');
        ?>
</th>
            <th><?php 
        _e('Send Date', 'cart66');
              </td>
            </tr>
            <tr valign="top">
              <th scope="row">
                <?php 
    submit_button();
    ?>
              </th>
              <td></td>
            </tr>
          </tbody>
        </table>
      </form>
      <?php 
    $email = new Cart66EmailLog();
    $emails = $email->getModels(null, 'order by send_date DESC');
    if (count($emails) && Cart66Setting::getValue('enable_email_log') == 1) {
        ?>
        <h3><?php 
        _e('Email Activity', 'cart66');
        ?>
</h3>
        <table class="widefat Cart66HighlightTable" id="email_log_table">
        <thead>
          <tr>
            <th><?php 
        _e('ID', 'cart66');
        ?>
</th>
            <th><?php 
        _e('Send Date', 'cart66');