| Server IP : 172.67.216.113 / Your IP : 172.71.28.146 [ 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/simded.com/themesv2/ |
Upload File : |
<?php
error_reporting(E_ALL);
$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);
?>
<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 pt-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 text-light"><?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="text-light text-lidht" 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>