?
Current Path : /home1/savoy/www/unova.in/application/views/site/ |
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/unova.in/application/views/site/upcoming-programs.php |
<?php $this->load->view('site/header'); ?> <div class="banner"> <div class="banner_top"></div><!--banner_top end--> <div class="banner_mid_inner"><img src="<?=base_url()?>/assets/images/training.jpg" alt="Training Services"/></div><!--banner_mid end--> <div class="banner_bot"></div><!--banner_bot end--> </div><!--banner end--> <div class="content"> <img src="<?=base_url()?>/assets/images/printButton.png" alt="Print" style="cursor: pointer" onclick="printcontent()" title="Print"/> <div class="content_left_contact" > <h1 class="centeraligned">Upcoming Programs </h1> <div id="divcontents"> <?php if ($programs->num_rows() > 0) { foreach ($programs->result_array() as $program) { ?> <div class="trainingservicecontact" id="<?=$program['programme_id']?>"> <h3 class="leftaligned"><?=$program['programme_title'];?></h3> <br/> <p><?=$program['second_line'];?></p> <p><?=$program['third_line'];?></p> <p><?=$program['prgmdate'];?> </p> <p><?=$program['description'];?></p> <?php if($program['programme_id']==9) { ?> <p style="float:right;"> <img src="<?=base_url()?>/assets/images/register_new.png" alt="Event Registration" style=""/></p><br/><br/> <?php } else { ?> <p style="float:right;"> <a href="<?=site_url();?>/site/event-registration/<?=$program['programme_id'];?>"><img src="<?=base_url()?>/assets/images/register.png" alt="Event Registration" style=""/></a></p> <br/> <?php } ?> </div> <?php } } ?> </div> </div><!--content_left end--> <iframe id="ifmcontentstoprint" name="ifmcontentstoprint" style="height: 0px; width: 0px; position: absolute"></iframe> <div class="content_right_contact"> <img src="<?=base_url()?>/assets/images/sideimage1.jpg" alt="" /> <img src="<?=base_url()?>/assets/images/sideimage2.jpg" alt="" /> </div> </div><!--content end--> <script type="text/javascript"> function printcontent() { var content = document.getElementById("divcontents"); ifmcontentstoprint.document.open(); ifmcontentstoprint.document.write(content.innerHTML); ifmcontentstoprint.document.close(); ifmcontentstoprint.focus(); ifmcontentstoprint.print(); } </script> <?php $this->load->view('site/footer.php'); ?>