| Server IP : 172.67.216.113 / Your IP : 104.23.243.33 [ 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/wallpaper/profile/ |
Upload File : |
<?php include('../include/class.php');?>
<?php //include('../include/check.php');?>
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<link rel="apple-touch-icon" href="../../image/icon.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="../../image/icon.png"/>
<link rel="apple-touch-icon" sizes="114x114" href="../../image/icon.png"/>
<link rel="icon" href="../../image/favicon.ico">
<?php
$og_title = 'วอลเปเปอร์สายมู';
$description_fa = 'วอลเปเปอร์สายมู เพื่อความสิริมงคล ';
$og_image = 'https://www.kainumber.com/wallpaper/600315.jpg';
$og_image2 = 'https://www.kainumber.com/wallpaper/600315.jpg';
$og_image3 = 'http://www.kainumber.com/wallpaper/600315.jpg';
?>
<?php include('../include/meta.php');?>
<meta property="og:image" content="<?php echo $og_image?>">
<meta property="og:image:secure_url" content="<?php echo $og_image3?>">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="600">
<meta property="og:image:height" content="315">
<!-- Bootstrap core CSS -->
<!--<link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet">-->
<link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<!-- <link href="http://getbootstrap.com/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">-->
<script src="../../bootstrap/js/ie-emulation-modes-warning.js"></script>
<!-- Custom styles for this template -->
<link href="../../css/style.css?v=1.1" rel="stylesheet">
<script src="../include/function.js"></script>
</head>
<body>
<?php $menu = 'profile';?>
<?php include('../theme/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;
font-size:20px;font-weight:bold;margin-top:-8px;
}
.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;}
.ad_seamsi{border:0px solid #F00;max-width:750px;margin-top:30px;}
@media (max-width: 768px)
{
.div_seamsi_fm{ padding-left:100px; }
}
@media (max-width: 736px)
{
.drop_se{ margin-bottom:15px;}
}
.div_measure{border:2px solid #c2c2c2;width: auto;height: 100%;border-radius:10px;background-color:#FFF;margin-bottom:20px;margin:0 auto;margin-top:40px;}
.div_measure:hover{border:2px solid #ffff00;}
.div_measure_img{border-bottom:8px solid #F00;}
.div_measure_img2{border-bottom:8px solid #92278f;}
.div_measure_name{font-size:18px;font-weight:bold;margin-top:15px;color:#333;}
/*.Divmeasure{width:332px;float:left;border:0px solid #F00;margin-left:15px;}
@media (max-width: 1024px)
{
.Divmeasure{width:300px;}
}*/
@media (max-width: 768px)
{
.div_measure{ height: auto;}
}
.Bgfooter{ margin-top:-35px;}
select option {
margin: 40px;
background-color:#FFF;
color: #000;
}
.pagination>li:last-child>a, .pagination>li:last-child>span {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.pagination>li:first-child>a, .pagination>li:first-child>span {
margin-left: 0;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
z-index: 2;
color: #000;
cursor: default;
background-color: #fff200;
border-color: #e1e1e1;
}
.pagination>li>a, .pagination>li>span {
position: relative;
float: left;
padding: 6px 12px;
margin-left: 5px;
line-height: 1.42857143;
color: #000000;
text-decoration: none;
background-color: #e1e1e1;
border: 1px solid #e1e1e1;
}
.H_title{color:#ffff00;text-align:left;text-shadow: 0.1em 0.1em 0.05em #333;font-weight:bold;margin-left:10px;}
@media (max-width: 768px)
{
.H_title{text-align:center;}
}
.div_text_cut{overflow-wrap: break-word;overflow: hidden;height: 34px;}
.div_text_cut2{height: 22px;overflow-wrap: break-word;overflow: hidden;}
.div_text_cut3{height: 105px;overflow-wrap: break-word;overflow: hidden;}
.img-responsive2{display: block;height: 224px;width: auto;}
@media (max-width: 768px)
{
.img-responsive2{height: 131px;}
.div_text_cut{font-size: 12px;max-height: 7rem;}
.div_text_cut2{height: 26px;overflow-wrap: break-word;overflow: hidden;}
.div_text_cut3{height: auto;max-height: 75px;overflow-wrap: break-word;overflow: hidden;padding: 0px 35px;}
.div_measure_name{padding: 0px;}
}
.control-group{display: flex; margin-bottom: 15px;}
.btn-1{
color: #fff;
background-color: #50227d;
border-color: #ffffff;
}
.btn-1:hover{background-color: #ffffff;}
.hilight_new::before{
border: 50px solid #ff0000;
border-bottom: 50px solid transparent;
border-right: 50px solid transparent;
border-top-left-radius: 10px;
width: 0px;
height: 0px;
margin-top: -2px;
margin-left: 13px;
padding: 0px;
z-index: 99;
position: absolute;
}
.hilight_new2::before{
content: "ชำระเงินแล้ว";
position: absolute;
z-index: 99;
padding-top: 30px;
text-align: center;
align-items: center;
margin-left: -9px;
margin-top: 2px;
transform:rotate(-45deg);
-ms-transform:rotate(-45deg); /* IE 9 */
-moz-transform:rotate(-45deg); /* Firefox */
-webkit-transform:rotate(-45deg); /* Safari and Chrome */
-o-transform:rotate(-45deg); /* Opera */
}
.hilight_new3{
border-bottom: 50px solid transparent;
border-right: 50px solid transparent;
border-top-left-radius: 10px;
width: 0px;
height: 0px;
margin-top: -2px;
margin-left: 13px;
padding: 0px;
z-index: 99;
position: absolute;
}
.hilight_new4{
position: absolute;
z-index: 99;
padding-top: 28px;
padding-left: 5px;
text-align: center;
align-items: center;
transform:rotate(-45deg);
-ms-transform:rotate(-45deg); /* IE 9 */
-moz-transform:rotate(-45deg); /* Firefox */
-webkit-transform:rotate(-45deg); /* Safari and Chrome */
-o-transform:rotate(-45deg); /* Opera */
}
.rounded-pill {
border-radius: 50rem !important;
-webkit-border-radius: 50rem !important;
-moz-border-radius: 50rem !important;
-o-border-radius: 50rem !important;
-ms-border-radius: 50rem !important;
}
.alert {
position: relative;
padding: 1rem 1rem;
margin-bottom: 1rem;
border: 1px solid transparent;
border-radius: 0.25rem;
}
.alert-warning {
color: #664d03;
background-color: #fff3cd;
border-color: #ffecb5;
}
.alert-dismissible {
padding-right: 3rem;
}
.fade {
transition: opacity .15s linear;
}
.alert-dismissible .btn-close {
position: absolute;
top: 0;
right: 0;
z-index: 2;
padding: 1.25rem 1rem;
}
.btn-close {
box-sizing: content-box;
width: 1em;
height: 1em;
padding: 0.25em 0.25em;
color: #000;
background: transparent url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e) center/1em auto no-repeat;
border: 0;
border-radius: 0.25rem;
opacity: .5;
}
.alert-success {
color: #732584;
background-color: #d1b3d8;
border-color: #d1b3d8;
}
</style>
<?php
$list = array('table'=>'wal_member','where'=>'id = "'.$_SESSION['wal_member_id'].'" AND status = "1"');
$view = $view_db->view($list);
$row1 = $view_db->q($view);
?>
<div class="container-fluid" style="padding-top:25px;">
<div class="row" style="justify-content: center;display: flex;">
<div class="col-xs-12 col-md-8 " >
<?php if(@$_SESSION['er']){
if($_SESSION['er']=='success payment'){
$txt = 'ชำระเงินสำเร็จ';
}else {
$txt = $_SESSION['er'];
}
?>
<div class="alert alert-success alert-dismissible show" role="alert">
<strong>แจ้งเตือน!</strong> <?php echo @$txt; ?>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"
onclick="location.reload();"><span aria-hidden="true">×</span></button>
</div>
<?php } ?>
</div>
</div>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<div style="margin-top:0px;">
<div class="row">
<div class="col-md-6"><div class="H_title" >ข้อมูลส่วนตัว</div></div>
<div class="col-md-6 hidden-xs hidden-sm " style="font-size:16px;color:#FFF;margin-top:15px;text-align:right;font-family:'Superspace';margin-top:35px;">ทำนายทั่วไป >
<a href="../../wallpaper/profile/" style="color:#FFF;font-family:'Superspace';">ข้อมูลส่วนตัว </a> </div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
function checkform_profile()
{
if(document.form_profile.email.value==""){alert("ขออภัยค่ะกรุณากรอก อีเมล");document.from_login.email.focus();return false;}
if(document.form_profile.phonenumber.value==""){alert("ขออภัยค่ะกรุณากรอก รหัสผ่าน");document.from_login.password.focus();return false;}
}
</script>
<div class="row">
<div class="col-md-offset-2 col-md-8 " style="margin-top: 35px;">
<div class="row">
<div class="col-md-offset-2 col-md-8 " align="center">
<form class="form-horizontal" action="edit_save.php" method="post" enctype="multipart/form-data" onSubmit="return checkform_login();" name="form_profile">
<div class="control-group" style="align-items: baseline;">
<label class="col-md-2 col-xs-4 control-label text-left" style="padding-right: 0px;margin-bottom: 0px;">ชื่อ</label>
<div class="col-md-8 controls">
<input id="name" name="name" type="text" class="form-control rounded-pill" value="<?php echo $row1['name']; ?>"/>
</div>
</div>
<div class="control-group" style="align-items: baseline;">
<label class="col-md-2 col-xs-4 control-label text-left" style="padding-right: 0px;margin-bottom: 0px;">นามสกุล</label>
<div class="col-md-8 controls">
<input id="lastname" name="lastname" type="text" class="form-control rounded-pill" value="<?php echo $row1['lastname']; ?>"/>
</div>
</div>
<div class="control-group" style="align-items: baseline;">
<label class="col-md-2 col-xs-4 control-label text-left" style="padding-right: 0px;margin-bottom: 0px;">เบอร์โทรศัพท์</label>
<div class="col-md-8 controls">
<input id="phonenumber" name="phonenumber" type="text" class="form-control rounded-pill" value="<?php echo $row1['phone']; ?>"/>
</div>
</div>
<div class="control-group" style="align-items: baseline;">
<label class="col-md-2 col-xs-4 control-label text-left" style="padding-right: 0px;margin-bottom: 0px;">E-mail</label>
<div class="col-md-8 controls">
<input id="email" name="email" type="text" class="form-control rounded-pill" value="<?php echo $row1['mail']; ?>"/>
</div>
</div>
<div class="form-actions" style="align-items: baseline;">
<input type="hidden" name="id" value="<?php echo $row1['id']; ?>">
<button class="btn btn-1 rounded-pill " type="submit">บันทึก</button>
</div>
</form>
</div>
</div>
</div>
</div>
<br>
<div class="row ">
<div class="col-md-2"></div>
<div class="col-md-4">
<div class=" rounded-pill" onclick="location.href='../home/'"
style="background-image: url(../../image/bg_t2.jpg);height: 64px;text-align: center;border-radius;background-repeat: no-repeat;
background-position: 85%;">
<h1 style="padding-top: 10px;">เลือกวอลเปเปอร์</h1>
</div>
</div>
<div class="col-md-4">
<div class=" rounded-pill" onclick="location.href='wallpaper.php'"
style="background-image: url(../../image/bg_t2.jpg);height: 64px;text-align: center;border-radius;background-repeat: no-repeat;
background-position: left;">
<h1 style="padding-top: 10px;">วอลเปเปอร์ของฉัน</h1>
</div>
</div>
</div>
</div>
<br>
<!--
<div class="row ">
<div class="col-md-2"></div>
<div class="col-md-8">
<div style="margin-top:0px;">
<div class="row">
<div class="col-md-12"><div class="H_title" >วอลเปเปอร์ของฉัน</div></div>
</div>
</div>
</div>
</div>
<div class="row" style="margin-top:0px;">
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="row">
<?php
$max_rows = 12; // แสดงจำนวนแถวต่อหน้า
$page_number = 0;
if(isset($_GET['page_number']))
{
$page_number = $_GET['page_number'];
}
$sql_s = 'status = "success" AND idm = "'.$_SESSION['wal_member_id'].'"';
$all_array = array('table'=>'wal_order','where'=>$sql_s);
$start_row = $page_number * $max_rows;
$all_sql = $view_db->view($all_array);
$all_result = $view_db->q_re($all_sql);
$total_rows = $view_db->q_nr($all_result);
$total_rows_num = mysqli_num_rows($all_result);
$total_pages = ceil($total_rows/$max_rows)-1;
////////////////////////////////////////
$list = array('table'=>'wal_order','where'=>$sql_s, 'limit'=> "$start_row,$max_rows",'order'=> "ORDER BY id DESC");
$view = $view_db->view($list);
$result = $view_db->q_re($view);
$num_tr = 1;
$num = 1+($page_number*$max_rows);
while($row_se = $view_db->q_ro($result))
{
$list_i = array('table'=>'wallpapers','where'=>'id = "'.$row_se['image'].'" AND status = "1"');
$view_i = $view_db->view($list_i);
$row_i = $view_db->q($view_i);
$link_s='dowload.php?id='.$row_se['id'];
$category_n = explode(',',$row_i['category']);
?>
<div class="col-md-6 col-xs-12 col-sm-6 Divmeasure" onclick="location.href='<?php echo $link_s; ?>'" >
<div class="div_measure ">
<div class="row hilight_new">
<div class="col-md-4 col-xs-12 col-sm-5 hilight_new2">
<div style="padding-top:25px;" align="center">
<a href="<?php echo $link_s; ?>">
<img src="../../redbag/wallpaper/thumb/<?php echo ($row_i['image_show']!='')?$row_i['image_show']:$row_i['image']; ?>" width="227" height="173" class=" img-responsive2">
</a>
</div>
</div>
<div class="col-md-8 col-xs-12 col-sm-7" style="padding-right: 30px;">
<div style="padding-top:25px; padding-bottom: 25px;" align="center" onclick="location.href='<?php echo $link_s; ?>'">
<?php
$list_c = array('table'=>'wal_category','where'=>'id = "'.$row_i['name'].'"');
$view_c = $view_db->view($list_c);
$row_c = $view_db->q($view_c);
?>
<div class="div_measure_name" <?php echo $css_text; ?>>
<div class="div_text_cut2"><?php echo $row_c['name']; ?></div>
<?php
$text_category = explode(',',$row_i['name_m']);
$text_category2 = '';
if($text_category[0]!=''){
for ($i=0; $i < count($text_category) ; $i++) {
$list_c2 = array('table'=>'wal_category_supplement','where'=>'id = "'.$text_category[$i].'"');
$view_c2 = $view_db->view($list_c2);
$row_c2 = $view_db->q($view_c2);
if($text_category2==''){
$text_category2 = '( เสริม'.$row_c2['name'];
}else{
if($i == count($text_category)-1){
$text_category2 = $text_category2." และ".$row_c2['name'].' )';
}else {
$text_category2 = $text_category2." ".$row_c2['name'];
}
}
}
}
if(strlen($text_category2) > 70){ $css_text2 = 'font-size:14px;';}
if(strlen($text_category2) > 90){ $css_text2 = 'font-size:12px;';}
?>
<div class="div_text_cut" style="color: #652d90; <?php echo $css_text2; ?> "><?php echo $text_category2; ?></div>
<div class="div_text_cut3" ><?php echo $row_i['detail']; ?></div>
<?php
$list_tv = array('table'=>'wal_type_value','where'=>'id = "'.$row_i['type_value'].'"');
$view_tv = $view_db->view($list_tv);
$row_tv = $view_db->q($view_tv);
?>
<div class="div_text_cut" style="color: #652d90;font-size: 75%; ">(<?php echo $row_tv['name']; ?>)</div>
<div class="div_text_cut" >
<span style="<?php echo ($row_i['type']==1)?'text-decoration: line-through;color: red;':''; ?>">ราคา <?php echo $row_i['price']?> บาท</span>
<?php if($row_i['type']==1){ ?>
<span style="font-size: 75%;">ราคา 0 บาท</span>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
<div class="row" align="center" style="margin-top:30px;">
<div class="col-md-12 BerDedToday-page" style="height: 0px;">
<?php
if($total_rows_num > 0)
{
page_news($page_number,$total_pages,'index.php','');
}
?>
</div>
</div>
</div>
</div>
</div>
-->
<div class="container">
<div class="row">
<div class="col-md-12">
<div style="">
<div class="" style="max-width:1000px;">
<div style="border:#00F solid 0px;margin-top:40px;margin-bottom:40px;">
<?php //include('../../themes/google_ad.php');?>
</div>
</div>
</div>
<div class="col-md-12" style="padding:-top:20px;">
<?php //include('../../themes/google_ad.php');?>
</div>
</div>
<div class="col-md-3">
</div>
</div><!--/row-->
</div>
<?php
unset($_SESSION['er']);
unset($_SESSION['con']);
?>
<!-- /.body -->
<?php include('../include/footer.php')?>
<?php include('../include/footer_js.php')?>