EVOLUTION-NINJA
Edit File: region_news_view.php
<?php $this->load->view('includes/region_header');?> <style> .right { text-transform: uppercase; font-family:Roboto; font-weight:bold; color:#00a859; } </style> <style type="text/css"> .form-control:focus, input[type="Submit"]:focus, input[type="button"]:focus { border-color: #FF0000; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6); } #editmodlist2 { //height: 232px !important; width: 326px !important; } #FrmGrid_list2 { width: 100% !important; } .ui-jqdialog .ui-jqdialog-titlebar { height: 29px !important; background-color:#2A4474 !important; color: white; padding-left: 10px; } .fm-button { height: 21px !important; padding: 1px; margin-right: 10px !important; height: 21px !important; width: 43%; margin-top: -7px !important; } .ui-jqdialog-content td.navButton { padding-top: 12px !important; } .ui-jqgrid .ui-jqgrid-titlebar { height: 27px !important; background-color: #2A4474!important; color:white !important; } .ui-jqgrid-bdiv { height: 232px !important; } .ui-widget-overlay { z-index:0 !important; } </style> <script> $(document).ready(function() { function disableBack() { window.history.forward() } window.onload = disableBack(); window.onpageshow = function(evt) { if (evt.persisted) disableBack() } }); </script> <div id="page-wrapper"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> </div> </div> <div class="row"> <section class="row"> <div class="col-sm-12"> <h3> <!--News and Events --> </h3> </div> </section> <div class="row"> <div class="col-sm-12"> <?php if($news !="") { $cnt=1; foreach($news as $new) { ?> <div class=" n-tabs new_events"> <!--<h4><?php echo $cnt++.".";echo $new->news_title;?></h4>--> <p><?php echo $new->news_description;?></p> <?php if( $new->url !="") { ?> <i class="fa fa-newspaper-o" aria-hidden="true"></i> <a target=" target_blank" href="<?php echo $new->url;?>">External Link</a>             <?php }?> <i class="fa fa-newspaper-o" aria-hidden="true"></i> <a target=" target_blank" href="<?php echo site_url().'/'.$new->attachment;?>">View Attachment</a> <hr> </div> <?php } }?> </div> </div> </div> <?php $ci =& get_instance(); $base_url = base_url(); ?> </div> </div> </div> </div> </div> <?php $this->load->view('includes/region_footer');?> <script src="<?php echo base_url('admin_assets/js/bootstrap.min.js');?>"></script> <script src="<?php echo base_url('admin_assets/js/plugins/morris/raphael.min.js');?>"></script> <script src="<?php echo base_url('admin_assets/js/plugins/morris/morris.min.js');?>"></script> <script src="<?php echo base_url('admin_assets/js/plugins/morris/morris-data.js');?>"></script>