?
Current Path : /home1/savoy/www/savoyglobal.net/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/savoyglobal.net/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'); ?> <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 Details</span></h2> <div class="module-body"> <?php echo form_open_multipart("admin/add_news"); ?> <p> <label>News Title</label> <input type="text" name="news_title" id="news_title" class="input-medium" /> </p> <p> <label>Content</label> <textarea name="news_content" id="news_content" class="input-medium" ></textarea> </p> <p> <label>News Target</label> <input type="text" name="news_target" id="news_target" class="input-medium" /> </p> <p> <label>Date</label> <input type="text" name="news_date" id="news_date" class="input-medium calfocus" /> </p> <p> <label>Thumbnail</label> <input type="file" name="news_thumbnail" id="news_thumbnail"/> </p> <fieldset> <input class="submit-green" type="submit" value="Submit" name="savep" onclick="addformdata('validateform')" /> </fieldset> <?php form_close(); ?> </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 --> <?php $this->load->view('admin/footer'); ?> <link href="<?= base_url() ?>assets/admin/css/jquery.datepick.css" rel="stylesheet"/> <script src="<?= base_url() ?>assets/admin/js/jquery.datepick.js" type="text/javascript"></script> <script> jQuery(document).ready(function() { $('.calfocus').datepick({dateFormat: 'dd-mm-yyyy'}); }); </script> </body> </html>