<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script>
<link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.css" rel="stylesheet">
<script src="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.js"></script>
<style>
.dropdown-menu{
	width:200px !important;
}
</style>
<div class="page-content-wrapper">
                <div class="page-content">
                    <div class="page-bar">
                        <div class="page-title-breadcrumb">                            
                            <ol class="breadcrumb page-breadcrumb pull-right">
                                <li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li><a class="parent-item" href="index.php?page=massmail_report">Massmail Report</a>&nbsp;<i class="fa fa-angle-right"></i></li><li class="active">Mass Mail Details</li>
                            </ol>
                        </div>
                    </div>
<div class="row">
                        <div class="col-md-12 col-sm-12">
                            <div class="card card-box">
                                <div class="card-head">
                                    <header>Mass Mail Details</header>                                    
                                </div>
                                <div class="card-body" id="bar-parent1">
                                	                                	                                	
                                    <form action="" id="form_user_add" class="form-horizontal" method="post">
                                        <div class="form-body">
                                        	
                                        	<div class="form-group row">
                                                <label class="control-label col-md-3">Mail Type</label>
                                                <div class="col-md-2 mt-2">                                                    
                                                    <?php if($mailRec['mail_type']=='promo'){ echo 'Promotional'; } else { echo 'General'; } ?>
                                                </div>                                                
                                            </div>                                        	     
                                        	<div class="form-group row">
                                                <label class="control-label col-md-3">Mailing List</label>
                                                <div class="col-md-4">                                                    
                                                    <?php echo $mailRec['user_type'] ?>
                                                </div>
                                            </div>                            	 
                                            <div class="form-group row">
                                                <label class="control-label col-md-3">Subject</label>
                                                <div class="col-md-4">                                                    
                                                    <?php echo $mailRec['subject'] ?>
                                                </div>
                                            </div>                                             
                                            <div class="form-group row">
                                                <label class="control-label col-md-3">Message</label>
                                                <div class="col-md-12"> 
													<textarea name="editordata" id="summernote"><?php if(isset($content) && $content!=''){ echo $content; }?></textarea>
                                                </div>
                                                <script>
												    $(document).ready(function() {
												        $('#summernote').summernote();
												    });
												</script>
                                            </div>
                                                
                                        </div>                                       
                                      	
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
	</div>
</div>
