?
Current Path : /home1/savoy/www/savoyeducation.com/Backup23-11-16/application/views/admin/ |
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/www/savoyeducation.com/Backup23-11-16/application/views/admin/add_news.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <?php $this->load->view('admin/header'); ?> <script type="text/javascript"> jQuery(document).ready(function() { $(".date").mask("9999-99-99"); }); </script> <script src="<?=base_url()?>assets/admin/js/ckeditor.js"></script> <body> <?php $this->load->view('admin/menu'); $this->load->view('admin/jsfunctions'); ?> <div class="container_12"> <!-- Example table --> <!-- Form elements --> <div class="grid_12"> <div class="module"> <h2><span>Add News</span></h2> <div class="module-body" > <form id="validateform" class="formnew" action="<?=site_url();?>/admin/add_news" method="post" enctype="multipart/form-data"> <p> <label>News Title</label> <input type="text" name="news_title" id="news_title" class="input-medium required" /> </p> <p> <label>News Description</label> <textarea cols="80" id="editor1" name="news_content" rows="10" class="required"></textarea> </p> <p> <label>Date</label> <input type="text" value="<?=date("Y-m-d");?>" name="news_date" id="news_date" class="date input-medium required" /> </p> <p> <label>Attach File</label> <input type="file" name="attach_news"/> </p> <fieldset> <input class="submit-green" type="submit" value="Submit" name="savep" onclick="addformdata('validateform')" /> </fieldset> </form> </div> <!-- End .module-body --> </div> <!-- End .module --> <div style="clear:both;"></div> </div> <!-- End .grid_12 --> <div style="clear:both;"></div> </div> <!-- End .container_12 --> <script> CKEDITOR.replace( 'editor1' ); </script> <?php $this->load->view('admin/footer'); ?> </body> </html>