Guest User

Untitled

a guest
Nov 19th, 2021
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.70 KB | None | 0 0
  1. <?php   $about_us_enable            =   $this->db->get_where('config' , array('title'=>'about_us_enable'))->row()->value;
  2.         $about_us_to_footer_menu    =   $this->db->get_where('config' , array('title'=>'about_us_to_footer_menu'))->row()->value;
  3.         $site_name                  =   $this->db->get_where('config' , array('title'=>'site_name'))->row()->value;
  4.         $contact_to_footer_menu     =   $this->db->get_where('config' , array('title' =>'contact_to_footer_menu'))->row()->value;
  5.         $tv_series_pin_footer_menu  =   $this->db->get_where('config' , array('title' =>'tv_series_pin_footer_menu'))->row()->value;
  6.         $live_tv_pin_footer_menu    =   $this->db->get_where('config' , array('title' =>'live_tv_pin_footer_menu'))->row()->value;
  7.         $privacy_policy_to_footer_menu  =   $this->db->get_where('config' , array('title'=>'privacy_policy_to_footer_menu'))->row()->value;
  8.         $dmca_to_footer_menu            =   $this->db->get_where('config' , array('title'=>'dmca_to_footer_menu'))->row()->value;
  9.         $copyright_text             =   $this->db->get_where('config', array('title' => 'copyright_text'))->row()->value;
  10. ?>
  11.  
  12. <!-- copyright -->
  13. <div id="copyright">
  14.     <div class="container">
  15.         <div class="row">
  16.             <div class="col-sm-6 text-left">
  17.                 <p> <?php echo $copyright_text; ?></p>
  18.             </div>
  19.             <div class="col-sm-6 text-right">
  20.                 <ul class="footer-list">
  21.                     <?php $all_video_type_on_footer_menu= $this->common_model->all_video_type_on_footer_menu();
  22.                                             foreach ($all_video_type_on_footer_menu as $video_type):                                                
  23.                     ?>
  24.                     <li><a href="<?php echo base_url().'type/'.$video_type->slug?>"><?php echo $video_type->video_type;?></a></li>
  25.                 <?php endforeach; ?>
  26.                 <?php $all_page_on_footer_menu= $this->common_model->all_page_on_footer_menu();
  27.                         foreach ($all_page_on_footer_menu as $pages):                                                
  28.                     ?>
  29.                     <li><a href="<?php echo base_url().'page/'.$pages->slug.'.html';?>"><?php echo $pages->page_title?></a></li>
  30.                 <?php endforeach; ?>
  31.                 <?php if($about_us_enable =='1' && $about_us_to_footer_menu =='1'):?>
  32.                     <li><a href="<?php echo base_url('about-us.html')?>"><?php echo trans('about_us'); ?></a></li>
  33.                 <?php endif; ?>
  34.                 <?php if($live_tv_pin_footer_menu == '1'): ?>
  35.                     <li><a href="<?php echo base_url('live-tv.html')?>"><?php echo trans('live_tv'); ?></a></li>
  36.                 <?php endif; ?>
  37.                 <?php if($tv_series_pin_footer_menu == '1'): ?>
  38.                     <li><a href="<?php echo base_url('tv-series.html')?>"><?php echo trans('tv_series'); ?></a></li>
  39.                 <?php endif; ?>
  40.                 <?php if($privacy_policy_to_footer_menu == '1'): ?>            
  41.                   <li><a href="<?php echo base_url('privacy-policy.html')?>"><?php echo trans('privacy_policy'); ?></a></li>
  42.                 <?php endif; ?>
  43.                 <?php if($dmca_to_footer_menu == '1'): ?>            
  44.                   <li><a href="<?php echo base_url('dmca.html')?>"><?php echo trans('dmca'); ?></a></li>
  45.                 <?php endif; ?>
  46.                 <?php if($contact_to_footer_menu == '1'): ?>
  47.                     <li><a href="<?php echo base_url('contact-us.html')?>"><?php echo trans('contact_us'); ?></a></li>
  48.                 <?php endif; ?>                  
  49.                 </ul>
  50.             </div>
  51.         </div>
  52.     </div>
  53. </div>
  54. <!-- copyright -->
Advertisement
Add Comment
Please, Sign In to add comment