Viewing file: relation.php (3.86 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/js/bootstrap.bundle.min.js"></script>
<script type='text/javascript' src='https://propeller-tracking.com/fv.js?t=101935'></script>
<style>
body, html {
height: 100%;
margin: 0;
}
.bg{
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
#img {
/* The image used */
/* background-image: url("./next.jpg"); */
/* Full height */
width: 100%;
height: 100%;
/* Center and scale the image nicely */
/* background-position: center;
background-repeat: no-repeat;
background-size: cover; */
}
</style>
<!-- <script type='text/javascript' src='https://propeller-tracking.com/fv.js?t=101935'></script> -->
<script src="https://my.rtmark.net/p.js?f=sync&lr=1&partner=8a92c7dc87b308262f6fc6b2024be8b064758f171ffa81d5eb589b70a1c70b64" defer></script>
<noscript><img src="https://my.rtmark.net/img.gif?f=sync&lr=1&partner=8a92c7dc87b308262f6fc6b2024be8b064758f171ffa81d5eb589b70a1c70b64" width="1" height="1" /></noscript>
</head>
<body>
<div class="bg">
<!-- <div class="container">
<div class="row"> -->
<!-- <div class="col text-center" style="position:fixed; bottom:20%;">
<button type="button" class="btn btn-success rounded-lg"><a href="sms:27000?&body=START Joke" style="text-decoration: none;"><span style="font-size:24px;color:#fff"><b>Subscribe Now </b> </span></a></button> -->
<!-- <a href="sms:27000?&body=START Joke" class="btn btn-Success" role="button" style="margin-top:140%;"><span style="font-size:24px;color:#fff"><b>Subscribe Now </b> </span></a> -->
<!-- </div> -->
<img src="./next.jpg" alt="Workplace" id="img" usemap="#workmap">
<map name="workmap">
<area id="game1" shape="rect" onclick="myfunction()" coords="20,400,540,815" alt="Computer" href="sms:27000?&body=START RT" >
</map>
<!-- </div>
</div> -->
</div>
</body>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
function myfunction(){
var query = window.location.search.substring(1);
var qs = query.substring(query.indexOf('=') + 1);
// var body= JSON.stringify({
// title: 'foo',
// body: 'bar',
// userId: 1,
// });
console.log('clicked');
// fetch('http://localhost:3000/message', {
// method: 'POST',
// body: JSON.stringify({
// uid: qs,
// }),
// headers: {
// 'Content-type': 'application/json; charset=UTF-8',
// },
// })
// .then((response) => response.json())
// .then((json) => console.log(json));
// axios
// .post('https://secret-ocean-49799.herokuapp.com/http://139.59.127.108:3000/message',{body})
// .then(response => {
// console.log(response.data);
// })
// .catch(error => console.error(error));
// axios
// .get("https://partner.wincloudbd.com/")
// .then(response => {
// console.log(response.data);
// })
// .catch(error => console.error(error));
$.ajax({
url: `https://secret-ocean-49799.herokuapp.com/http://139.59.127.108:3000/message_update?uid=${qs}`,
type: "GET",
success: function(result) {
console.log(result);
},
error: function(error) {
console.log(error);
}
})
}
</script>
</html>
|