403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.217.33
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/nhadatkhangdien.net-bk/public_html/templates/index_tpl14-03-2018.php
<div id="slider_m">
    <? include _template."layout/slider.php" ?>
</div>
<? 
	$d->reset();
	$sql="select * from #_photo where com='banner_phai'";
	$d->query($sql);
	$popqc=$d->result_array();

?>
<script language="javascript" src="admin/media/scripts/my_script.js"></script> 
<script language="javascript">
function js_submit(){
	if(isEmpty(document.getElementById('name'), "Please enter your name.")){
		document.getElementById('name').focus();
		return false;
	}
	
	if(isEmpty(document.getElementById('diachi'), "Please enter address.")){
		document.getElementById('diachi').focus();
		return false;
	}
	
	if(isEmpty(document.getElementById('dienthoai'), "Please enter phone.")){
		document.getElementById('dienthoai').focus();
		return false;
	}
	
	if(!isNumber(document.getElementById('dienthoai'), "Invalid phone number.")){
		document.getElementById('dienthoai').focus();
		return false;
	}

	
	if(isEmpty(document.getElementById('noidung'), "Please enter content.")){
		document.getElementById('noidung').focus();
		return false;
	}
	
	document.frm.submit();
}
</script>
<style type="text/css">
    #floating
    {
        z-index: 9999999;
        position: absolute;
        width: 600px;
        height: 420px;
        border: 0px !important;
    }
    #overPage
    {
        background: black;
        z-index: 9999999;
        position: absolute;
        left: 0;
        top: 0;
    }
    .closepop a{
		color:#fff;
		font-weight:bold;
	    font-weight: 400;
	    font-size: 21px;
	    font-weight: 700;
	    text-shadow: 0 1px 0 #fff;
	  
    }
    .bgpop{border: solid 5px #fff}

.button3{
    
    padding:3px 3px;
    cursor:pointer;
    outline:none;
    color:#fff;    
    font-weight:bold;
    //background:#ff3399;
    background: #003b83;
    width: 85px;
    height: 30px;
      }
    .lablde{
        color:#000;
        font-size:15px; 
    }
    .text{
        padding:5px;
        outline:none;
        margin-bottom:5px;
        background: #fff;
        max-width: 400px;
    }
    .noidung{
    	max-width: 400px
    }


</style>
<? if($popqc[0]['hienthi']==0){?>
<? } else {?>
<div id="ctl00_ContentPlaceHolder1_Adv_Popup_pnAdv" style="display:none">
    <div id="overPage" > </div>
    <div id="floating" >
        <? if($popqc[0]['hienthi']==1){?>
        <a href="<?=$popqc[0]['link']?>" target="_blank">
        <div class="bg_desk bgpop" style="margin:0 auto;background:url(<?=_upload_hinhanh_l.$popqc[0]['photo']?>) no-repeat center 0;width:590px;height:300px;background-size: 100% 100%"></div>
        </a>
        <p class="closepop" style="float: right; position: relative;top:-335px; left:0px"> <a href="javascript:closeMe();" >×</a> </p>
        <? } if($popqc[0]['hienthi']==2){?>
        <div class="bg_desk bgpop" style="margin:0 auto;width:590px;height:350px;background:#fff">
            <h1 style="height:50px;line-height:50px;background:#003b83;padding-left:50px;color:#fff">Liên hệ với chúng tôi</h1>
            <form action="trang-chu.html" method="POST" >
                <table>
                    <tr>
                        <td class="lablde"> Họ tên :</td>
                        <td><input class="text form-control" type="text" name="ten" id="name" size="50"></td>
                    </tr>
                    <tr>
                        <td class="lablde">Địa chỉ :</td>
                        <td><input class="text form-control" type="text" name="diachi" id="diachi" size="50"></td>
                    </tr>
                    <tr>
                        <td class="lablde">Điện thoại :</td>
                        <td><input class="text form-control" type="text" name="dienthoai" id="dienthoai" size="50"></td>
                    </tr>
                    <tr>
                        <td class="lablde">Email :</td>
                        <td><input class="text form-control" type="text" name="email" id="email" size="50"></td>
                    </tr>
                    <tr>
                        <td class="lablde">Ghi chú</td>
                        <td><textarea class="noidung form-control ta_noidung" name="noidung" cols="30" rows="3" id="noidung"></textarea></td>
                    </tr>
                </table>
                <br>
                <div style="margin-left: 270px;">
                    <input class="button3" type="button" value="Gửi" onclick="js_submit()" />
                    <input class="button3" type="reset" value="Nhập lại" />
                </div>
            </form>
        </div>
        <p class="closepop" style="float: right; position: relative;top:-385px; left:0px"> <a href="javascript:closeMe();" >×</a> </p>
        <? }?>
    </div>
</div>
<? }?>
<script language="javascript" type="text/javascript">
  
    <?php if($com == 'trang-chu' || $com == '' || $com == 'index'){?>
      $("#ctl00_ContentPlaceHolder1_Adv_Popup_pnAdv").show();
    <?php } ?>
        var lastScroll;
        var delay = 30;
        var speed = 50;
        var img_w = 300;
        var img_h = 360;
        function centerIt() {
            $("#overPage").css("width", $(window).width());
            $("#overPage").css("height", $(document).height());
            $("#floating").css("left", $(window).width() /  2- img_w );
            $("#floating").css("top", $(window).height() / 2 - img_h / 2 + $(document).scrollTop());
        }
        $(document).ready(function() {
            $("#overPage").css("opacity", 0.7);
            $("#overPage,#floating").show();
            centerIt();
        });
        $(window).scroll(function() {
            setTimeout(function() { ani(); }, delay);
            lastScroll = new Date().getTime();
        });
        $(window).resize(function() {
            centerIt();
        });
        function ani() {
            if ((new Date().getTime() - lastScroll) >= (delay - 20)) {
                $("#floating").animate({ top: ($(window).height() / 2 - img_h / 2 + $(document).scrollTop()) }, speed);
            }
        }
        function closeMe() {
            $("#overPage,#floating").hide();
            opennew();
        }
 
</script> 

Youez - 2016 - github.com/yon3zu
LinuXploit