?
Current Path : /home1/savoy/public_html/savoyglobal.net/sims/school/application/views/Email/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/sims/school/application/views/Email/emaillist.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $template_details=$this->mastermodel->getdatas('emailtemplate');?> <script type="text/javascript"> $(function() { $('#wysiwyg').wysiwyg( { controls : { separator01 : { visible : true }, separator03 : { visible : true }, separator04 : { visible : true }, separator00 : { visible : true }, separator07 : { visible : false }, separator02 : { visible : false }, separator08 : { visible : false }, insertOrderedList : { visible : true }, insertUnorderedList : { visible : true }, undo: { visible : true }, redo: { visible : true }, justifyLeft: { visible : true }, justifyCenter: { visible : true }, justifyRight: { visible : true }, justifyFull: { visible : true }, subscript: { visible : true }, superscript: { visible : true }, underline: { visible : true }, increaseFontSize : { visible : false }, decreaseFontSize : { visible : false } } } ); }); </script> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform','name'=>'validateform'); echo form_open('email/addinemail/insertemail/viewsendemail/1/',$attributes); ?> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <div class="backicon"> <a href="#" onclick="viewdata('email','viewinemailsearch','searchsendemail','viewsendemail','1');"> <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/> </a> </div> <!--[if !IE]>start row<![endif]--> <div class="table_wrapper"> <div class="table_wrapper_inner"> <table cellpadding="0" cellspacing="0" width="120%"> <tbody><tr> <th style="width: 17px;">Sl No.</th> <th>Name</th> <th>Email</th> <th style="width: 165px;">Type</th> <th style="width: 81px;"> <input name="checkall" checked id="checkall" type="checkbox" onchange="checkasll(this)"/></th> </tr> <?php $slno=0; if ($viewinfo->num_rows() > 0) { foreach ($viewinfo->result() as $row) { $desg=$this->mastermodel->get_data_srow('module',$row->module_id,'module_id'); ?> <tr <?php if($slno%2==0) { ?>class="first" <?php } else { ?> class="second" <?php } ?>> <td><?=++$slno;?></td> <td><?=$row->name;?></td> <td><?=$row->email;?></td> <td><?=$desg->module_name;?></td> <td> <div class="actions_menu"> <input type="hidden" name="<?php echo "receipent_name_".$slno;?>" value="<?=$row->name;?>"/> <input type="hidden" name="<?php echo "receipent_type_".$slno;?>" value="<?=$desg->module_name;?>"/> <input name="<?php echo "check_email_".$slno;?>" checked value="<?=$row->email;?>" id="check_email" type="checkbox"/> </div> </td> </tr> <?php } } ?> <input name="email_count" value="<?=$slno;?>" type="hidden"> </tbody></table> </div> </div> <br/><br/> <!--[if !IE]>start forms<![endif]--> <h3>Email Information</h3> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Use Template</label> <div class="inputs"> <span class="input_wrapper select_wrapper"> <select name="template_id" id="template_id" onchange="usetemplate(this)"> <option value="" selected>Select Template</option> <?php foreach ($template_details as $row) { ?> <option value="<?=$row['template_id']?>"><?=$row['template_title']?></option> <?php } ?> </select> </span> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Subject</label> <div class="inputs"> <div> <textarea class="required" name="template_subject" cols="50" id="template_subject"></textarea> </div> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Contents</label> <div class="inputs"> <div id="msg_notemp"> <textarea name="template_contents" id="wysiwyg" class="required" cols="70" rows="15" ></textarea> </div> <div id="msg_temp"> </div> </div> </div> <!--[if !IE]>end row<![endif]--> </div> <!--[if !IE]>start row<![endif]--> <div class="row"> <div class="inputs"> <span class="button blue_button search_button"><span><span><em>Send</em></span></span><input name="Send" type="submit" onclick="addformdata('validateform')"/></span> <!--span class="button green_button"><span><span>Save</span></span><input name="Save" type="submit" onclick="addformdata('validateform')"/></span> <span class="button gray_button"><span><span>Schedule</span></span><input name="Schedule" type="submit" onclick="addformdata('validateform')"/></span--> </div> </div> <!--[if !IE]>end row<![endif]--> </fieldset> </div> <?php form_close(); ?> <span class="section_content_bottom"></span>