Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/asietex.co.id/public_html/application/views/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <?php if($page->banner != ''): ?> <div class="sub-page-entry sub-page-entry-banner"> <?php else: ?> <div class="sub-page-entry" style="padding:32px;"> <?php endif;?> <div class="container all-light"> <div class="entry-content"> <div> <?php if($this->session->userdata('site_lang') == 'english') : ?> <h2 class="page-title"><?= $page->page_title_en; ?></h2> <?php else : ?> <h2 class="page-title"><?= $page->page_title; ?></h2> <?php endif; ?> <hr class="divider divider-left"> <!-- <h5 class="page-subtitle">Sub-title for this page</h5> --> </div> <ul class="breadcrumbs"> <li><a href="<?= base_url(); ?>">Home</a></li> <?php if($this->session->userdata('site_lang') == 'english') : ?> <li><a href="<?= base_url(); ?>page/<?= $page->alias_en; ?>"><?= $page->page_title_en; ?></a></li> <?php else : ?> <li><a href="<?= base_url(); ?>page/<?= $page->alias; ?>"><?= $page->page_title; ?></a></li> <?php endif; ?> </ul> </div> </div> </div> <!--/////////////////////////// CONTENT \\\\\\\\\\\\\\\\\\\\\\\\\\\--> <main class="main-container"> <section class="p-40"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <h3 style="text-align:center;"><?= $page->body_text_en; ?></h3> <?php else : ?> <h3 style="text-align:center;"><?= $page->body_text; ?></h3> <?php endif; ?> <hr class="divider primary"> <br> <div class="container"> <div class="row"> <div class="col-md-8"> <div class="tabbable"> <ul class="nav nav-tabs"> <?php $b = 0; ?> <?php foreach($categories as $c): ?> <?php $b += 1 ?> <?php if($this->session->userdata('site_lang') == 'english') : ?> <li class="<?php if($b == 1): ?> active <?php endif; ?>"><a href="#<?= $c->category_en; ?>" data-toggle="tab"><?= $c->category_en; ?></a></li> <?php else : ?> <li class="<?php if($b == 1): ?> active <?php endif; ?>"><a href="#<?= $c->category; ?>" data-toggle="tab"><?= $c->category; ?></a></li> <?php endif; ?> <?php endforeach; ?> </ul> <div class="tab-content"> <?php $a = 0; ?> <?php foreach($categories as $c): ?> <?php $a += 1 ?> <?php if($this->session->userdata('site_lang') == 'english') : ?> <div class="tab-pane <?php if($a == 1): ?> active <?php endif; ?>" id="<?= $c->category_en; ?>"> <?php else : ?> <div class="tab-pane <?php if($a == 1): ?> active <?php endif; ?>" id="<?= $c->category; ?>"> <?php endif; ?> <?php $this->db->select('title, image2, image3, publish_date, report_title, report_title_en')->from('products')->where('categories_id', $c->id_categories)->order_by('publish_date','desc')->where('page_id', $id_pages); $products = $this->db->get()->result(); ?> <br> <table class="table table-striped awardsTable"> <?php foreach($products as $p): ?> <tr> <td><?= $p->publish_date; ?></td> <?php if($this->session->userdata('site_lang') == 'english') : ?> <td><?= $p->report_title_en; ?></td> <td><a href="<?= base_url(); ?>uploads/product/<?= $p->image3; ?>" target="_blank"><img width="25" src="<?= base_url(); ?>theme/img/download-icon.png"></a></td> <?php else : ?> <td><?= $p->report_title; ?></td> <td><a href="<?= base_url(); ?>uploads/product/<?= $p->image2; ?>" target="_blank"><img width="25" src="<?= base_url(); ?>theme/img/download-icon.png"></a></td> <?php endif; ?> </tr> <?php endforeach; ?> </table> </div> <?php endforeach; ?> </div><!-- end class tab-content--> </div><!-- end tabbable --> </div> <!-- sidebar --> <div class="col-md-4"> <aside style="border:none;"> <div class="widget widget-text"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <?= $page->body_text2_en; ?> <?php else : ?> <?= $page->body_text2; ?> <?php endif; ?> </div> </aside> </div> </div> </div> </section> </main>