| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 8.2.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/nhadatkhangdien.net-bk/public_html/templates/ |
Upload File : |
<style type="text/css">
.fixed2 {
position: fixed !important;
top: 60px;
right: 175px
}
</style>
<script type="text/javascript">
var num2 = 350; //vị trí mà khi scroll chuột đến sẽ bắt đầu sự kiện
$(window).bind('scroll', function () {
if ($(window).scrollTop() > num2) {
$('.fx2').addClass('fixed2');
} else {
$('.fx2').removeClass('fixed2');
}
});
</script>
<?
$d->reset();
$sql="select * from #_about";
$d->query($sql);
$abo=$d->fetch_array();
$sql="select * from #_gioithieu_item where hienthi=1 order by stt";
$d->query($sql);
$gtcat=$d->result_array();
$sql="select * from #_vdo_item where hienthi=1 order by stt";
$d->query($sql);
$video=$d->result_array();
?>
<div class="qc">
<? if(isset($_GET['idc']) && $_GET['idc']==null){?>
<img src="<?=_upload_hinhanh_l.$abo[0]['photo']?>" alt="<?=$alt?>">
<? } else {?>
<? //if($loaitin[0]['httop']<>0){?>
<!--<img src="<?//=_upload_tintuc_l.$loaitin[0]['photo']?>" alt="<?=$alt?>">-->
<? //} else {?>
<div style="height:50px"></div>
<? } //}?>
</div>
<div class="gt_ct">
<!-- left-->
<div class="gt_left">
<? if(isset($_GET['idc']) && $_GET['idc']==null){?>
<div class="title_detail">
<h3>
<?=$abo[0]['ten']?>
</h3>
</div>
<div class="nd">
<?=$abo[0]['noidung']?>
</div>
<? } else {?>
<div class="title_detail">
<h3>
<?=$title_bar?>
</h3>
</div>
<div class="nd">
<?//=$loaitin[0]['noidung']?>
</div>
<? }?>
</div>
<!-- left-->
<!-- right-->
<div class="right-col fx2">
<h2>Giới thiệu</h2>
<div class="item-right">
<div class="r-menu">
<ul>
<li> <a class="noactive" href="gioi-thieu">
<?=$abo[0]['ten']?>
</a> </li>
<? for($i=0;$i<count($gtcat);$i++){
$d->reset();
$sql="select * from #_gioithieu where id_item='".$gtcat[$i]['id']."' ";
$d->query($sql);
$gtbv=$d->result_array();
?>
<li> <a class="noactive" href="gioi-thieu/<?=$gtcat[$i]['tenkhongdau']?>" >
<?=$gtcat[$i]['ten']?>
</a>
<? if($gtbv!=null){?>
<ul>
<? for($j=0;$j<count($gtbv);$j++){?>
<li> <a class="noactive" href="gioi-thieu/<?=$gtbv[$j]['tenkhongdau']?>-<?=$gtbv[$j]['id']?>" >
<?=$gtbv[$j]['ten']?>
</a> </li>
<? }?>
</ul>
<? }?>
</li>
<? }?>
<li> <a class="noactive" href="video">Video Khang Điền</a>
<ul>
<? for($i=0;$i<count($video);$i++){?>
<li><a href="video/<?=$video[$i]['tenkhongdau']?>">
<?=$video[$i]['ten']?>
</a></li>
<? }?>
</ul>
</li>
</ul>
</div>
</div>
</div>
<!-- right-->
</div>
<div class="clear"></div>
<div style="margin-top:50px"></div>