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/template/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <!DOCTYPE html> <html lang="en"> <head> <title><?= ucwords($browser_title); ?></title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="<?= $meta_description; ?>"> <meta name="keywords" content="<?= $meta_keywords; ?>"> <meta name="copyright" content="PT Waskita Realty"> <!-- Global Site Tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-106739246-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments)}; gtag('js', new Date()); gtag('config', 'UA-106739246-1'); </script> <!-- icon for mobile home --> <link rel="icon" href="images/favicon.png"> <link href="<?= base_url() . 'uploads/' . $website_icon; ?>" rel="apple-touch-icon" /> <link href="<?= base_url() . 'uploads/' . $website_icon; ?>" rel="apple-touch-icon" sizes="152x152" /> <link href="<?= base_url() . 'uploads/' . $website_icon; ?>" rel="apple-touch-icon" sizes="167x167" /> <link href="<?= base_url() . 'uploads/' . $website_icon; ?>" rel="apple-touch-icon" sizes="180x180" /> <link href="<?= base_url() . 'uploads/' . $website_icon; ?>" rel="icon" sizes="192x192" /> <link href="<?= base_url() . 'uploads/' . $website_icon; ?>" rel="icon" sizes="128x128" /> <!--[if lt IE 9]> <script src="<?= base_url('theme/js/html5shiv.js'); ?>"></script> <![endif]--> <!-- CSS Files ================================================== --> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Maven+Pro:400,500,700" rel="stylesheet"> <link rel="stylesheet" href="<?= base_url('theme/css/bootstrap.css'); ?>" type="text/css"> <link rel="stylesheet" href="<?= base_url('theme/css/animate.css'); ?>" type="text/css"> <link rel="stylesheet" href="<?= base_url('theme/css/owl.carousel.css'); ?>" type="text/css"> <link rel="stylesheet" href="<?= base_url('theme/css/magnific-popup.css'); ?>" type="text/css"> <link rel="stylesheet" href="<?= base_url('theme/css/style.css'); ?>" type="text/css"> <!-- custom background --> <link rel="stylesheet" href="<?= base_url('theme/css/bg.css'); ?>" type="text/css"> <link rel="stylesheet" href="<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.3.0/css/flag-icon.min.css">"> <!-- color scheme --> <link rel="stylesheet" href="<?= base_url('theme/css/color.css'); ?>" type="text/css" id="colors"> <!-- Main Stylesheet --> <link rel="stylesheet" type="text/css" href="<?= base_url('theme/revolution/css/settings.css'); ?>"> <!-- Layers and Navigation Styles --> <link rel="stylesheet" type="text/css" href="<?= base_url('theme/revolution/css/layers.css'); ?>"> <link rel="stylesheet" type="text/css" href="<?= base_url('theme/revolution/css/navigation.css'); ?>"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <style> /*---home main banner--*/ @media (min-width:776px) { #section-hero-6 { background:url("<?= base_url() . 'uploads/page/' . $top_banner->banner1en_image; ?>") top fixed;} } @media (max-width:776px) { #section-hero-6 { background:url("<?= base_url() . 'uploads/page/' . $top_banner->banner1en_image; ?>") top fixed; background-size:130% !important; background-repeat:no-repeat; background-position:center 100%; height:180px !important;} } </style> <?php else : ?> <style> /*---home main banner--*/ @media (min-width:776px) { #section-hero-6 { background:url("<?= base_url() . 'uploads/page/' . $top_banner->banner1_image; ?>") top fixed;} } @media (max-width:776px) { #section-hero-6 { background:url("<?= base_url() . 'uploads/page/' . $top_banner->banner1_image; ?>") top fixed; background-size:130% !important; background-repeat:no-repeat; background-position:center 100%; height:180px !important;} } </style> <?php endif; ?> </head> <body id="homepage"> <div id="wrapper"> <!-- header begin --> <header> <div id="lang-selector" class="dropdown mobileLanguage" style="position:relative; top:-2px;"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <a id="languageChooser" style="color:#FFF;" href="#" class="btn-selector"><img height="12" src="<?= base_url('uploads/icon/english-flag.jpg'); ?>"> ENG</a> <?php else : ?> <a id="languageChooser" style="color:#FFF;" href="#" class="btn-selector"><img height="12" src="<?= base_url('uploads/icon/indonesia-flag.png'); ?>"> ID</a> <?php endif; ?> <ul> <li><a href="<?= base_url() . 'switch_language/switch_language/english'; ?>">English</a></li> <li><a href="<?= base_url() . 'switch_language/switch_language/indonesian'; ?>">Indonesian</a></li> </ul> </div> <div class="info"> <div class="container"> <div class="row"> <div class="col-md-8"> <div class="col"><i class="fa fa-map-marker"></i><?= $company_address; ?></div> <div class="col"><i class="fa fa-phone"></i><?= $company_phone; ?></div> <div class="col"><i class="fa fa-envelope" aria-hidden="true"></i><a href="mailto:<?= $company_email; ?>"><?= $company_email; ?></a></div> <div class="col"> <div id="lang-selector" class="dropdown" style="position:relative; top:-2px;"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <a style="color:#4d4d4f;" href="#" class="btn-selector"><img height="12" src="<?= base_url('uploads/icon/english-flag.jpg'); ?>"> ENG</a> <?php else : ?> <a style="color:#4d4d4f;" href="#" class="btn-selector"><img height="12" src="<?= base_url('uploads/icon/indonesia-flag.png'); ?>"> ID</a> <?php endif; ?> <ul> <li><a href="<?= base_url() . 'switch_language/switch_language/english'; ?>">English</a></li> <li><a href="<?= base_url() . 'switch_language/switch_language/indonesian'; ?>">Indonesian</a></li> </ul> </div> </div> </div> <div class="col-md-4 text-right"> <!-- social icons --> <div class="col"> Subsidiary of <a style="color:#283170;" href="http://www.waskita.co.id/en/" target="_blank">PT Waskita Karya (Persero) Tbk.</a> </div> <!-- social icons close --> </div> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- logo begin --> <div id="logo" style="position:relative; top:10px;"> <a href="<?= base_url(); ?>"> <img class="logo" src="<?= base_url() . 'uploads/' . $logo; ?>" alt=""> <img class="logo-2" src="<?= base_url() . 'uploads/' . $logo2; ?>" alt=""> </a> </div> <!-- logo close --> <!-- small button begin --> <span id="menu-btn"></span> <!-- small button close --> <!-- mainmenu begin --> <nav> <ul id="mainmenu"> <?php foreach($top_main_menus as $menu) : ?> <!--IF MENU IS CATEGORY--> <?php if ($menu->menu_type == 'category') : ?> <?php if($menu->menu_link == 'all') : ?> <li><a href="<?= base_url() . 'category/all-categories'; ?>"> <?php if($this->session->userdata('site_lang') == 'english') : ?> projects <?php else: ?> proyek <?php endif; ?> </a> <!-- <ul> <?php //get parent categories $this->db->select('alias, alias_en, category, category_en, id_categories')->from('categories')->where('status', '1')->where('parent', NULL)->order_by('priority', 'ASC'); $level1_categories = $this->db->get()->result(); ?> <?php foreach($level1_categories as $level1) : ?> <li> <?php if($this->session->userdata('site_lang') == 'english') : ?> <a href="<?= base_url() . 'category/' . $level1->alias_en; ?>"> <?= ucwords($level1->category_en); ?> </a> <?php else: ?> <a href="<?= base_url() . 'category/' . $level1->alias; ?>"> <?= ucwords($level1->category); ?> </a> <?php endif; ?> </li> <?php endforeach; ?> </ul> --> </li> <?php else : ?> <!-- specific categories --> <?php //get category alias from parent menu $this->db->select('alias, alias_en')->from('categories')->where('id_categories', $menu->category_id); $category_parent_alias = $this->db->get()->row(); ?> <li> <?php if($this->session->userdata('site_lang') == 'english') : ?> <a href="<?= base_url() . 'category/' . $category_parent_alias->alias_en; ?>" > <?= ucwords($menu->menu_en); ?> <?php else : ?> <a href="<?= base_url() . 'category/' . $category_parent_alias->alias; ?>" > <?= ucwords($menu->menu); ?> <?php endif; ?> </a> </li> <?php endif; ?><!-- end if category type --> <?php endif; ?><!-- end $menu->menu_type == 'category' --> <!--IF MENU IS PAGE--> <?php if ($menu->menu_type == 'page') : ?> <?php //get page alias from parent menu $this->db->select('alias, alias_en')->from('pages')->where('id_pages', $menu->page_id); $page_parent_alias = $this->db->get()->row(); ?> <li> <?php //check if this parent category have sub pages $this->db->select('id_pages')->from('pages')->where('parent', $menu->page_id)->where('status', '1'); $count_page = $this->db->get()->num_rows(); ?> <?php if($count_page > 0) : ?> <?php if($this->session->userdata('site_lang') == 'english') : ?> <a href="<?= base_url () . 'page/vision-mission-values-motto'; ?>"> <?= ucwords($menu->menu_en); ?></a> <?php else : ?> <a href="<?= base_url () . 'page/visi-misi-nilai-moto'; ?>"> <?= ucwords($menu->menu); ?></a> <?php endif; ?> <?php else : ?> <?php if($this->session->userdata('site_lang') == 'english') : ?> <a href="<?= base_url() . 'page/' . $page_parent_alias->alias_en; ?>"> <?= ucwords($menu->menu_en); ?></a> <?php else : ?> <a href="<?= base_url() . 'page/' . $page_parent_alias->alias; ?>"> <?= ucwords($menu->menu); ?></a> <?php endif; ?> <?php endif; ?> <?php if ($count_page > 0) : ?> <?php //get pages level 2 $this->db->select('id_pages, alias, alias_en, page_title, page_title_en')->from('pages')->where('parent', $menu->page_id)->where('status', '1')->order_by('priority', 'ASC'); $level2_pages = $this->db->get()->result(); ?> <ul> <?php foreach($level2_pages as $level2) : ?> <li> <?php if($this->session->userdata('site_lang') == 'english') : ?> <a href="<?= base_url() . 'page/' .$level2->alias_en; ?>"> <?= ucwords($level2->page_title_en); ?></a> <?php else : ?> <a href="<?= base_url() . 'page/' .$level2->alias; ?>"> <?= ucwords($level2->page_title); ?></a> <?php endif; ?> </li> <?php endforeach; ?> </ul> <?php endif; ?><!-- end if page type --> </li> <?php endif; ?><!--end menu if menu == page --> <!--IF MENU IS EXTERNAL--> <?php if ($menu->menu_type == 'external') : ?> <li><a href="<?= $menu->menu_link; ?>"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <?= $menu->menu_en; ?> <?php else : ?> <?= $menu->menu; ?> <?php endif; ?> </a></li> <?php endif; ?> <!--IF MENU IS NEWS EVENTS / BLOG--> <?php if ($menu->menu_type == 'blog') : ?> <li><a href="<?= base_url () . 'blog/news'; ?>"> <?php if($this->session->userdata('site_lang') == 'english') : ?> <?= $menu->menu_en; ?> <?php else : ?> <?= $menu->menu; ?> <?php endif; ?> </a> <ul> <?php if($this->session->userdata('site_lang') == 'english') : ?> <li><a href="<?= base_url('blog/news'); ?>">news</a></li> <li><a href="<?= base_url('blog/events'); ?>">events</a></li> <li><a href="<?= base_url('blog/promo'); ?>">promo</a></li> <?php else : ?> <li><a href="<?= base_url('blog/news'); ?>">berita</a></li> <li><a href="<?= base_url('blog/events'); ?>">acara</a></li> <li><a href="<?= base_url('blog/promo'); ?>">promo</a></li> <?php endif; ?> </ul> </li> <?php endif; ?> <?php endforeach; ?> </ul> </nav> </div> <!-- mainmenu close --> </div> </div> </header> <!-- header close -->