| Server IP : 104.21.37.246 / Your IP : 172.71.28.145 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home2/cp648411/public_html/kainumber.com/theme/ |
Upload File : |
<!-- /.menu -->
<nav class="navbar navbar-expand-lg navbar-dark bg-transparent text-light">
<div class="container-fluid px-xxl-0">
<a class="navbar-brand text-kai-shadow2 d-md-none" href="../index.php">
<img src="../image/icon3.webp" alt="icon kai" width="40">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon text-kai-shadow2 "></span>
</button>
<div class="collapse navbar-collapse px-xxl-0 justify-content-center my-md-1" id="navbarSupportedContent">
<ul class="navbar-nav mb-2 mb-lg-0 align-center">
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'home'){?>active<?php }?>" aria-current="page"
href="../home/index.php">
หน้าหลัก
</a>
</li>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'aboutus'){?>active<?php }?>" aria-current="page"
href="../aboutus/index.php">
เกี่ยวกับเรา
</a>
</li>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'reading'){?>active<?php }?>" aria-current="page"
href="../home/reading.php">
ทำนายทั่วไป
</a>
</li>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'phonenumber'){?>active<?php }?>" aria-current="page"
href="../phonenumber/index.php">
เบอร์มงคล
</a>
</li>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'forecast'){?>active<?php }?>" aria-current="page"
href="../reading/index.php">
ทำนายเบอร์
</a>
</li>
<li class="nav-item d-none d-md-block fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'phonenumber'){?>active<?php }?>" aria-current="page"
href="../index.php">
<img src="../image/icon3.webp" alt="" width="60" class="img-fluid">
</a>
</li>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'wallpaper'){?>active<?php }?>" aria-current="page"
href="../wallpaper/index.php">
วอลเปเปอร์
</a>
</li>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'contact'){?>active<?php }?>" aria-current="page"
href="../contact/index.php">
ติดต่อเรา
</a>
</li>
<?php if(@$_SESSION['kai_login']==5){
if(strlen($_SESSION['kai_name'])>50){
$nameprof = substr($_SESSION['kai_name'],0,50);
}else{
$nameprof = $_SESSION['kai_name'];
}
?>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 overflow-hidden" aria-current="page"
href="#">
<?php echo $nameprof; ?>
</a>
</li>
<?php } ?>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'cart'){?>active<?php }?>" aria-current="page"
href="../cart/index.php">
<img src="../image/icon_cart3.webp" height="20"/> ตะกร้าสินค้า(<span id="mycart_top"><?php echo ($_SESSION["num_cart"])?$_SESSION["num_cart"]:0; ?></span>)
</a>
</li>
<?php if(@$_SESSION['kai_login']==0){ ?>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'member'){?>active<?php }?>" aria-current="page"
href="../member/index.php">
เข้าสู่ระบบ
</a>
</li>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'contact'){?>active<?php }?>" aria-current="page"
href="../member/index.php">
สมัครสมาชิก
</a>
</li>
<?php } ?>
<?php if(@$_SESSION['kai_login']==1){ ?>
<?php
if(strlen($_SESSION['kai_name'])>50){
$nameprof1 = substr($_SESSION['kai_name'],0,50);
}else{
$nameprof1 = $_SESSION['kai_name'];
}
?>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'wallpaper'){?>active<?php }?>" aria-current="page"
href="#">
<?php echo $nameprof1; ?>
</a>
</li>
<li class="nav-item fw-menu">
<a class="nav-link text-light text-kai-shadow2 px-xxl-2 px-lg-2 <?php if($menu == 'contact'){?>active<?php }?>" aria-current="page"
href="../include/logout.php">
ออกจากระบบ
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
</nav>
<!-- /.container -->
<!-- /.menu -->
<?php
$url_line = 'http://line.me/ti/p/O-MUYsqUwe';
if($menu == 'home')
{
$sql = 'SELECT * FROM view WHERE id = 1';
$row = $view_db->q($sql);
$viewplus = $row['view']+1;
$list = array(
'table'=>'view',
'id'=>1,
'view'=>$viewplus
);
$add = $actiondata_db->edit_db($list);
}
else
{
$sql = 'SELECT * FROM view WHERE id = 2';
$row = $view_db->q($sql);
$viewplus = $row['view']+1;
$list = array(
'table'=>'view',
'id'=>2,
'view'=>$viewplus
);
$add = $actiondata_db->edit_db($list);
}
?>