File: /home/web.paitoan.com/.trash/data/livesgp.php
<?php
add_shortcode( 'livesgp', 'livesgp' );
function livesgp(){ob_start();
$url = 'https://w21.angkanet.pics/assets/datalive/sg4d.php';
$htmlContent = @file_get_contents($url);
?>
<style type="text/css">
#live th, #live td {
border: 2px solid #4b92ee;
font-size: unset !important;
}
.judul {
text-align: center;
background: #105dc1;
font-size: 18px;
color: white;
border: 2px solid #152c84;
width: 98%;
margin: 0 auto;
}
#live table {
text-align: center;
font-size: 18px;
font-weight: bold;
background: #074782;
border: 6px solid #0f3cca;
color: white;
}
#live table tr:nth-child(1) {
}
.prize, .prtt {
background: linear-gradient(to bottom, rgb(26, 118, 236) 0%, rgb(31, 129, 255) 100%);
color:white;
width:50%;
}
.nomprize2 {
height: 30px;
width: 20%;
}
</style>
<div class="text-center" id="live"><?=$htmlContent;?></div>
<!--<script>
$(document).ready(function() {
$(".sgp").load("/assets/datalive/sg4d.php");
var refreshId = setInterval(function() {
$(".sgp").load('/assets/datalive/sg4d.php?randval='+ Math.random());
}, 5000);
$.ajaxSetup({ cache: false });
});
</script>
<script>$(document).ready(function() {
$(".toto").load("/assets/datalive/sgtoto.php");
var refreshId = setInterval(function() {
$(".toto").load('/assets/datalive/sgtoto.php?randval='+ Math.random());
}, 4000);
$.ajaxSetup({ cache: false });
});</script>-->
<?php return ob_get_clean(); } ?>