    <section class="content-header">
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-home"></i>Home</a></li>
            <li class="active"><a href="<?php echo $this->url('dashboard', array('action'=>'index'));?>">Dashboard</a></li>
            <li class="active">Mail Management</li>
        </ol>
    </section>

    <section class="content">
        <div class="row">
            <div class="col-sm-12">
                <div class="tabbable">
                    <div class="tab-content no-border padding-24">
                        <div class="tab-pane fade in active" id="faq-tab-1">
                            <div class="space-8"></div>
                            <div class="panel-group accordion-style1 accordion-style2" id="faq-list-1">
                                <div class="tool-bar margin-bottom margintopnew20">
                                    <div class="btn-groups" align="right">
                    <a class="publish_all btn btn-reddit" href="<?php echo $this->url('templatesettings', array('action'=>'add-mail'));?>">
                                            <i class="fa fa-plus"></i>
                                            Add New
                                        </a>
                                        <!--<a class="publish_all btn btn-success" href="javascript: void(0);" rel="publish">
                                            <i class="fa fa-check-circle"></i>
                                            Publish
                                        </a>-->
              <a class="publish_all btn btn-success publish select-checkbox" id="publish-user" 
                 href="javascript: void(0);" onclick="changeStatus('publish','templatesettings','mail-status')">
        <i class="fa fa-check-circle"></i>
        Publish    </a>
                                        <a class="publish_all btn btn-unapublish unpublish select-checkbox" id="unpublish-user" href="javascript: void(0);" onclick="changeStatus('unpublish','templatesettings','mail-status')">
        <i class="fa fa-times-circle"></i>
        Unpublish    </a>
                                        <a class="delete_all btn btn-danger" href="#">
                                            <i class="fa fa-trash-o"></i>
                                            Delete
                                        </a>
                                    </div>
                                </div>
                                <span class="checkbox_error"></span>
                                <div class="panel panel-default">
                                    <div class="panel-headingnew"> View/Update Records </div>
                                    <div id="faq-1-3" class="panel-collapse collapse in" aria-expanded="false" >
                                        <div class="box">
                                            <div id="button_top_bar"></div>                                            
                                            <div class="box-body table-responsive listing-data">                                             
                                                <?php  echo $this->partial('mail-listing.phtml');?>
                                            </div>                                            
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <br>
            </div>           
        </div>
    </section>   

