?
Current Path : /home1/savoy/public_html/savoyglobal.net/simsdemo/school/application/views/Sms/ |
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/simsdemo/school/application/views/Sms/addtemplate.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?> <script type="text/javascript"> $(document).ready(function(){ $('#message').keyup(function(){ var limit = $(this).attr('maxlength'); ($(this).val().length < limit) ? $('.charsLeft').html(limit-$(this).val().length) : $(this).val($(this).val().substr(0,limit)) + $('.charsLeft').html('<span style="color:#ff0000;">0</span>');}); }); </script> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open('sms/addinsms/inserttemplate/viewtemplate/1/',$attributes); ?> <!--[if !IE]>start fieldset<![endif]--> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <div class="backicon"> <a href="#" onclick=" viewdata('sms','viewinsmssearch','searchtemplate','viewtemplate','1')"> <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/> </a> </div> <h3>Add Template</h3> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Template Title</label> <div class="inputs"> <span class="input_wrapper"><input name="template_title" id="template_title" type="text"></span> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Message</label> <div class="inputs"> <div> <textarea class="required" name="content" id="message" style="width:500px; height:50px;" maxlength="140"></textarea> </div> <div> <span class="charsLeft" style="float:right; color:#ccc; font-size:22px; text-align:right;">140</span> </div> </div> </div> <div class="row"> <div class="inputs"> <input type="hidden" name="tab_name" value=" template"/> <span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Add Template</em></span></span><input name="" type="submit" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> </div> <!--[if !IE]>end forms<![endif]--> </fieldset> <!--[if !IE]>end fieldset<![endif]--> <?php echo form_close(); ?> </div> <span class="section_content_bottom"></span>