HEX
Server: LiteSpeed
System: Linux Angkanet 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64
User: webpa4002 (1011)
PHP: 8.2.15
Disabled: NONE
Upload Files
File: /home/web.paitoan.com/public_html/data/master.php
<?php
add_shortcode( 'halaman_depan', 'halaman_home' );
function halaman_home() {
global $wpdb;
include_once('fungsi.php');
ob_start();
$table_paito = 'result';
$ase=$cope=$kple=$ekre='';
?>
<div class="row mb-3">
    <div class="col-1 text-center"></div>
    <div class="col-3 text-center"><div class="ball mBlue"></div> <div class="position-absolute d-inline ml-2">Update</div></div>
    <div class="col-3 text-center"><div class="ball red"></div> <div class="position-absolute d-inline ml-2">Wait</div></div>
    <div class="col-3 text-center"><div class="ball LimeGreen"></div> <div class="position-absolute d-inline ml-2">Libur</div></div>
    <div class="col-2 text-center"></div>
</div>	
<div class="input-group mb-3">
  <div class="input-group-prepend">
    <span class="input-group-text bg-danger text-white" id="basic-addon1">Cari</span>
  </div>
  <input type="text" class="form-control" placeholder="Ketik untuk mencari pasaran di sini" aria-label="Username" aria-describedby="basic-addon1" id="myInput" onkeyup="myFunction()">
</div>
    <table id="myTable" class="table table-striped table-hover mb-3">
		<thead>
			<tr>
				<th class="text-center widget-title text-light text-center p-1">MARKET</th>
				<th class="text-center widget-title text-light text-center p-1 d-none d-sm-table-cell">TANGGAL</th>
				<th class="text-center widget-title text-light text-center p-1">RESULT</th>
			</tr>
		</thead>
		<tbody>
<?php 
$url = 'https://jspaito.com/json?jenis=market';
$cok = json_decode(resourceWeb($url), true);
    
$hiy = round(count($cok) / 6);
foreach($cok as $key => $cust){
$pasar = $cust['market'];
$psnya = ucwords(markete($pasar));
$day = $cust['day'];
$dat = $cust['date'];
$date = wp_date('l, j M Y', strtotime($dat));
$harini =  wp_date('Y-m-d');
$kema = wp_date('Y-m-d', strtotime('-1 day'));
if ($dat == $harini) {
   $war = 'mBlue';
} else if ($dat < $kema) {
   $war = 'LimeGreen';
} else {
   $war = 'red'; 
}
$paitoe = $cust['result'];
if ($pasar == 'sydneyi' || $pasar == 'hongkongi') {
            $ase = substr($paitoe, 2, 1);
            $cope = substr($paitoe, 3, 1);
            $kple = substr($paitoe, 4, 1);
            $ekre = substr($paitoe, 5, 1);
    } else {
           $ase = substr($paitoe, 0, 1);
           $cope = substr($paitoe, 1, 1);
           $kple = substr($paitoe, 2, 1);
           $ekre = substr($paitoe, 3, 1);
    }
$mut = $wpdb->get_row( "SELECT * FROM market WHERE market LIKE '%$psnya%'" );    
$live =  ($mut)?date('H:i', strtotime($mut->tutup)):'';
$ket =  ($mut)?$mut->ket:'';
//echo '<pre>';print_r($mut);echo '</pre>';
//echo ($key == $hiy)?'<tbody style="display:none" id="hide">':'';
?>
<tr>
<td class="text-left align-middle p-1">
<div class="dropdown">
    <button class="btn btn-sm btn-block dropdown-toggle bg-primary text-light text-left" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        <span class="puass"><i class="fa-solid fa-earth-americas text-warning mr-1"></i><?=strtoupper($psnya)?></span>
    </button>
    <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
        <a class="dropdown-item" target="_blank" href="<?=site_url()?>/paito-warna-<?=$pasar?>" role="button" aria-pressed="true"><i class="fa-solid fa-earth-americas text-cust mr-1"></i>Paito Warna <?=$psnya?></a>
        <a class="dropdown-item" target="_blank" href="<?=site_url()?>/paito-harian-<?=$pasar?>" role="button" aria-pressed="true"><i class="fa-solid fa-earth-americas text-cust mr-1"></i>Paito Harian <?=$psnya?></a>
        <a class="dropdown-item" target="_blank" href="<?=site_url()?>/bola-merah-<?=$pasar?>" role="button" aria-pressed="true"><i class="fa-solid fa-earth-americas text-cust mr-1"></i>Bola Merah <?=$psnya?></a>
        <a class="dropdown-item" target="_blank" href="<?=site_url()?>/data-pengeluaran-togel-<?=$pasar?>" role="button" aria-pressed="true"><i class="fa-solid fa-earth-americas text-cust mr-1"></i>Data Paito <?=$psnya?></a>
        <a class="dropdown-item" target="_blank" href="<?=site_url()?>/statistik-angka-<?=$pasar?>" role="button" aria-pressed="true"><i class="fa-solid fa-earth-americas text-cust mr-1"></i>Statistik Angka <?=$psnya?></a>
        <a class="dropdown-item" target="_blank" href="<?=site_url()?>/prediksi-<?=$pasar?>" role="button" aria-pressed="true"><i class="fa-solid fa-earth-americas text-cust mr-1"></i>Prediksi <?=$psnya?></a>
    </div>
</div>
</td>
<td class="text-center align-middle p-1 d-none d-sm-table-cell">
    <div style="margin-bottom: -6px;"><b><?=$date?></b></div> <small class="text-dark"><?=$live.' '.$ket?></small>
</td>
<td class="text-center align-middle p-1">
<div class="d-block depa">
<span class="ball <?=$war?>"><?=$ase?></span>
<span class="ball <?=$war?>"><?=$cope?></span>
<span class="ball <?=$war?>"><?=$kple?></span>
<span class="ball <?=$war?>"><?=$ekre?></span>
</div>
<div class="text-center d-block d-sm-none" style="margin-top: -4px;"><small><?=$date?></small></div>
</td>
</tr>
<?php }?>
    </tbody>
 <!--<tr>
   <td class="text-center" colspan="3"><button id="button" class="btn btn-success btn-sm btn-block"><i class="fa-regular fa-eye text-light mr-1"></i>LIHAT SELENGKAPNYA</button></td>
</tr>-->
</tbody>
	</table>
<hr class="my-2">
<div class="row">
    <div class="col-md-6 mb-3">
    <?php 
   $recent_comments = get_comments( array( 
    'number'      => 7,
    'status'      => 'approve',
    'post_status' => 'publish'
) );

if ( $recent_comments ) {
    echo '<table class="table mb-0">
<th colspan="2" class="text-center widget-title p-2"><strong>RECENT COMMENTS</strong></th>
';
    foreach ( (array) $recent_comments as $comment ) {
        $alt = get_the_title( $comment->comment_post_ID );
echo '<tr>
    <td class="text-center align-middle p-2" width="30%">'.get_avatar( $comment->comment_author_email , $size = '65', $default = '', $alt, $args = array( 'class' => 'rounded-circle' )).'</td>
    <td class="text-center align-middle p-2"><b class="text-primary" style="font-size: 18px;">'.ucwords(substr($comment->comment_author,0,20)).'</b>
    <br><a class="text-danger" href="' . esc_url( get_comment_link( $comment ) ) . '">' . get_the_title( $comment->comment_post_ID ) . '</a></td>
    </tr>';
    }
    echo '</table>';
} 
?>
    </div>
    <div class="col-md-6">
<?php
$jami =  wp_date('H:i:s', strtotime('-15 minutes'));
$coki = $wpdb->get_results( "SELECT * FROM market WHERE tutup >= '$jami' ORDER BY tutup ASC LIMIT 7" ); 
echo '<table class="table mb-0">
<th colspan="2" class="text-center widget-title p-2"><strong>NEXT LIVE 7</strong></th>
';
if ($coki) {
foreach($coki as $key => $marki){
    echo '<tr>
    <td class="text-center align-middle p-1"><img class="rounded-circle" style="height: 50px; max-width: 70px;" src="'.$marki->gambar.'"><br><span  class="text-primary">'.ucwords($marki->market).'</span></td>
    <td class="text-center align-middle p-1"><img src="https://1.bp.blogspot.com/-wcWRmMgJjoY/XK7tHlxcUpI/AAAAAAAAACA/JsYrCPgwwPA0955RQx51uEg8_-SBdoJKgCLcBGAs/s56/2222.gif"><br>'.date('H:i', strtotime($marki->tutup)).'</td>
    </tr>';
}
}
$gui = 7 - count($coki);
$jamo = date('H:i:s', strtotime('00:00:00'));
$ciki = $wpdb->get_results( "SELECT * FROM market WHERE tutup >= '$jamo' ORDER BY tutup ASC LIMIT $gui" ); 
if ($ciki) {
foreach($ciki as $key => $marko){
    echo '<tr>
    <td class="text-center align-middle p-1"><img class="rounded-circle" style="height: 50px; max-width: 70px;" src="'.$marko->gambar.'"><br><span  class="text-primary">'.ucwords($marko->market).'</span></td>
    <td class="text-center align-middle p-1"><img src="https://1.bp.blogspot.com/-wcWRmMgJjoY/XK7tHlxcUpI/AAAAAAAAACA/JsYrCPgwwPA0955RQx51uEg8_-SBdoJKgCLcBGAs/s56/2222.gif"><br>'.date('H:i', strtotime($marko->tutup)).'</td>
    </tr>';
}
}
echo '</table>';

?>
    </div>
</div>

<script>
$(document).ready(function(){
  $("#button").click(function(){
    $("#hide").toggle();
  });
});
</script>
<script>
function myFunction() {
  var input, filter, table, tr, td, i, txtValue;
  input = document.getElementById("myInput");
  filter = input.value.toUpperCase().replace( /\s\s+/g, ' ' );
  console.log(filter);
  table = document.getElementById("myTable");
  tr = table.getElementsByTagName("tr");
  for (i = 0; i < tr.length; i++) {
    td = tr[i].getElementsByTagName("td")[0];
    if (td) {
      txtValue = td.textContent || td.innerText;
      if (txtValue.toUpperCase().indexOf(filter) > -1) {
        tr[i].style.display = "";
      } else {
        tr[i].style.display = "none";
      }
    }       
  }
}
</script>	    
<?php return ob_get_clean(); } 
add_shortcode( 'halaman_web', 'halaman_web' );
function halaman_web($atts){

    //global $wpdb;
    //include_once('fungsi.php');
    $atts = shortcode_atts(array('halaman' => 'tool'),$atts);
    $hal= $atts['halaman'];
    if ($hal == 'warna') {
        $hal = 'paito warna';
        $icon = '<i class="fas fa-chart-bar mr-1"></i>';
    } elseif ($hal == 'harian') {
        $hal = 'paito harian';
        $icon = '<i class="fas fa-columns mr-1"></i>';
    } elseif ($hal == 'tool') {
        $hal = 'tool';
        $icon = '<i class="fas fa-dice-six mr-1"></i>';
    } elseif ($hal == 'livedraw') {
         $hal = 'livedraw';
        $icon = '<i class="fa-solid fa-satellite-dish mr-1"></i>';
    } elseif ($hal == 'data') {
        $hal = 'data';
        $icon = '<i class="fa-regular fa-life-ring mr-1"></i>';
    } elseif ($hal == 'merah') {
        $hal = 'bola merah';
        $icon = '<i class="fa-regular fa-futbol mr-1"></i>';
    } elseif ($hal == 'statistik') {
        $hal = 'statistik';
        $icon = '<i class="fa-solid fa-chart-simple mr-1"></i>';
    } elseif ($hal == 'mimpi') {
        $hal = 'mimpi';
        $icon = '<i class="fa-solid fa-broom mr-1"></i>';  
    } elseif ($hal == 'prediksi') {
        $hal = 'prediksi';
        $icon = '<i class="fa-solid fa-star-of-life mr-1"></i>';     
    } elseif ($hal == '6d') {
        $hal = 'paito 6d';
        $icon = '<i class="fa-brands fa-nfc-symbol mr-1"></i>';      
    } 

    //echo $hal;
    global $post;
    $args = array( 'numberposts' => -1, 'category_name' => $hal,'orderby' => 'title','order' => 'ASC', );
    $posts = get_posts( $args );
    echo '<div id="list-example" class="list-group">';
    foreach( $posts as $post ): setup_postdata($post); 
    echo '<a class="list-group-item list-group-item-action" href="'.get_permalink($post->ID).'">'.$icon.''.get_the_title($post->ID).'</a>';
     endforeach; 
    echo '</div>';
 }
add_shortcode( 'prediksi_angka', 'prediksi_angka' );
function prediksi_angka($atts){
    
    global $wpdb;
    include_once('fungsi.php');
    $atts = shortcode_atts(array('pasaran' => 'sydney'),$atts);
    ob_start();
	$sr1 = array(
		'05',
		'16',
		'27',
		'38',
		'49',
		'50',
		'61',
		'72',
		'83',
		'94'
	);
	$sr2 = array(
		'96',
		'07',
		'18',
		'29',
		'30',
		'41',
		'52',
		'63',
		'74',
		'85'
	);
	$sr3 = array(
		'03',
		'14',
		'25',
		'36',
		'47',
		'58',
		'69',
		'70',
		'81',
		'92'
	);
	$rr1 = array(
		'01235679',
		'12346780',
		'23457891',
		'34568902',
		'45679013',
		'56780124',
		'67891235',
		'78902346',
		'89013457',
		'90124568'
	);
	$rr2 = array(
		'90124568',
		'01235679',
		'12346780',
		'23457891',
		'34568902',
		'45679013',
		'56780124',
		'67891235',
		'78902346',
		'89013457'
	);
	$rr3 = array(
		'01235986',
		'12346097',
		'23457108',
		'34568219',
		'45679320',
		'56780431',
		'67891542',
		'78902653',
		'89013764',
		'90124875'
	);
	$rr1s = array(
		1 => array('1','4','6','8','11','12'),
		2 => array('2','5','7','9','12','1'),
		3 => array('3','6','8','10','1','2'),
		4 => array('4','7','9','11','2','3'),
		5 => array('5','8','10','12','3','4'),
		6 => array('6','9','11','1','4','5'),
		7 => array('7','10','12','2','5','6'),
		8 => array('8','11','1','3','6','7'),
		9 => array('9','12','2','4','7','8'),
		10 => array('10','1','3','5','8','9'),
		11 => array('11','2','4','6','9','10'),
		12 => array('12','3','5','7','10','11')
	);
	$rr2s = array(
		1 => array('2','5','10','12'),
		2 => array('3','6','11','1'),
		3 => array('4','7','12','2'),
		4 => array('5','8','1','3'),
		5 => array('6','9','2','4'),
		6 => array('7','10','3','5'),
		7 => array('8','11','4','6'),
		8 => array('9','12','5','7'),
		9 => array('10','1','6','8'),
		10 => array('11','2','7','9'),
		11 => array('12','3','8','10'),
		12 => array('1','4','9','11')
	);
	$rr3s = array(
		1 => array('7','10','12','3'),
		2=> array('8','11','1','4'),
		3 => array('9','12','2','5'),
		4 => array('10','1','3','6'),
		5 => array('11','2','4','7'),
		6 => array('12','3','5','8'),
		7 => array('1','4','6','9'),
		8 => array('2','5','7','10'),
		9 => array('3','6','8','11'),
		10 => array('4','7','9','12'),
		11 => array('5','8','10','1'),
		12 => array('6','9','11','2')
	);
	$nomor = array("0","1","2","3","4","5","6","7","8","9");
	$shio = array("1","2","3","4","5","6","7","8","9","10","11","12");
	$ttshio = array(
		1 => array('01','13','25','37','49','61','73','85','97'),
		2 => array('02','14','26','38','50','62','74','86','98'),
		3 => array('03','15','27','39','51','63','75','87','99'),
		4 => array('04','16','28','40','52','64','76','88','00'),
		5 => array('05','17','29','41','53','65','77','89'), 
		6 => array('06','18','30','42','54','66','78','90'), 
		7 => array('07','19','31','43','55','67','79','91'), 
		8 => array('08','20','32','44','56','68','80','92'), 
		9 => array('09','21','33','45','57','69','81','93'), 
		10 => array('10','22','34','46','58','70','82','94'), 
		11 => array('11','23','35','47','59','71','83','95'), 
		12 => array('12','24','36','48','60','72','84','96') 
	);

	$asli = array();
	for ($i=00; $i < 100; $i++) {
		if (strlen($i) == 1) { $i='0'.$i;}
		$asli[] = $i;
	}
	global $wpdb;
	$paitoe=$rumusa=$rumusei=$rumuse=$offsh=$offshi=$roffsh=$roffshi=$array10=$array1=array(); $ter=$oke=$cek=$idd=$offs=$hariini=$koo=$shioff=$shiofff=$shion=$jagaa=$ctt=$rumus1=$offsh=$lnee=$lneb=''; $off=0;
	$ase=$cope=$kple=$ekre='';
	$table_paito = 'result';
	$limit=$jumlah_data=30;
	$cok = array("chinapools","hongkong","japan","magnum cambodia","singapore","sydney","taiwan","sydney lotto","hongkong lotto");
    $pid= $atts['pasaran']; 
	$url = 'https://jspaito.com/json?ljenis=lengkap&market='.$pid.'&limit=1';
    if (!json_decode(resourceWeb($url), true)) exit();
    $paito = json_decode(resourceWeb($url), true)[0];
    
	//print_r($paito);
	$paitoe = $paito['result'];    
	$hariini = $paito['date'];
	$marku = $paito['market'];

           $ase = substr($paitoe, 0, 1);
           $cope = substr($paitoe, 1, 1);
           $kple = substr($paitoe, 2, 1);
           $ekre = substr($paitoe, 3, 1);

	$as = substr($paitoe, 0, 1);
	$cop = substr($paitoe, 1, 1);
	$kpl = substr($paitoe, 2, 1);
	$ekr = substr($paitoe, 3, 1);

	$juml2dd = hasil('+', $as, $cop);
	$juml2dt = hasil('+', $cop, $kpl);
	$juml2db = hasil('+', $kpl, $ekr);
	$jumlae = hasil('+', $as, $ekr);
	$jumlak = hasil('+', $as, $kpl);
	$jumlce = hasil('+', $cop, $ekr);
	$juml4d = hasil('+', hasil('+', $as, $cop) , hasil('+', $kpl, $ekr));
	$rumus = array(
		$rr1[$juml4d],
		$rr2[$juml2dd],
		$rr3[$juml2dt],
		$rr1[$juml2db],
		$rr2[$jumlae],
		$rr3[$jumlak],
		$rr1[$jumlce]
	);
	$kpll = str_split($sr2[$juml4d]);
	$kplon = array_diff($nomor,$kpll);
	$multidimensionalk = array($kpll, $nomor);
	$kepala = array();
	$count = count($multidimensionalk);
	for ($i = 0; $i < $count; $i++) {
		$temp = array_map("permute",array($kepala),array($multidimensionalk[$i]));
		$kepala = $temp[0];
	}
	asort($kepala);
	$kplonn=$ekronn=$sheonn='';
	foreach ($kplon as $valk)
	{
		$kplonn .= $valk;
	}
	$ekrr = str_split($sr3[$juml2dt]);
	$ekron = array_diff($nomor,$ekrr);
	$multidimensionale = array($ekrr, $nomor);
	$ekor = array();
	$counte = count($multidimensionale);
	for ($i = 0; $i < $counte; $i++) {
		$tempe = array_map("permute",array($ekor),array($multidimensionale[$i]));
		$ekor = $tempe[0];
	}
	asort($ekor);
	foreach ($ekron as $vale)
	{
		$ekronn .= $vale;
	}
	$juml2dds = hasil('+', $as, $cop);
	$juml2dts = hasil('+', $cop, $kpl);
	$juml2dbs = hasil('+', $kpl, $ekr);
	$jumlaes = hasil('+', $as, $ekr);
	$jumlaks = hasil('+', $as, $kpl);
	$jumlces = hasil('+', $cop, $ekr);
	$juml4ds = hasil('+', hasil('+', $as, $cop) , hasil('+', $kpl, $ekr));
	$shoo=array();
	$rumusshio=$sheon=array();
	if ($juml4ds == 0) {
		$juml4ds = 12;
	}
	$rumusshio = $rr1s[$juml4ds];
	if ($rumusshio) {
		foreach ($rumusshio as $keyi => $valuei)
		{
			$shoo = array_merge($shoo,$ttshio[$valuei]);
			$offsh .= $valuei.' ';
		}

		$sheon = array_diff($shio,$rumusshio);
	}

	foreach ($sheon as $vals)
	{
		if (strlen($vals) == 1) { 
			$sheonn .= '0'.$vals.' ';
		} else {
			$sheonn .= $vals.' ';
		}
	}
	$idse = count($rumus);
	$cpera =$fffa =$randbb=$rand_keys= array();
	$bbfsa=$bbfsb=$bbbff='';
	$no = $jtop1 = $jtop2 = 0;
	for ($i = 0;$i < $idse;$i++)
	{
		$cpera[] = str_split($rumus[$i]);
		$rumus1 .= '<li class="m-0 p-0">'.$rumus[$i].'</li>';
	}
	$ctpera = array_count_values(call_user_func_array('array_merge', $cpera));
	arsort($ctpera);
	foreach ($ctpera as $key => $value)
	{
		$no++;
		if ($no < 5)
		{
			$bbfsa .= $key;
		} 
		if ($no < 4)
		{
			$bbfsb .= $key;
		} 
	}
	$rrsh = str_split($bbfsa);
	sort($rrsh);
	foreach($rrsh as $carr) {
		$bbbff .= $carr;
	}

	$idne = count($rumus); 
	for ($i = 0;$i < $idne;$i++)
	{
		$kumat[] = permutations(array_diff($nomor,str_split($rumus[$i])),2);
		$ctt .='<li>'.$rumus[$i].'</li>';
	} 
	$fffa = permutations(array_diff($nomor,str_split($bbfsa)),2);
	$fffb = permutations(array_diff($nomor,str_split($bbfsb)),2);
	foreach($kumat as $arr) {
		if(is_array($arr)) {$array10 = array_merge($array10, $arr);}
	}
	asort($array10);
	$ken = array_merge($kepala, $ekor);
	$valx = array_diff($asli, $ken); 

	asort($fffa);
	$valxe = array_diff($valx, $fffa); 

	asort($fffb);
	$valxb = array_diff($valxe, $shoo); 
	$now = strtolower(wp_date('l' , strtotime($hariini. '+1 day')));
	if (strtolower($pid) == 'singapore')
	{
		if ($now == 'selasa' || $now == 'jumat') {
			$dino = wp_date('l, j M Y', strtotime($hariini. '+2 day'));
		} else {
			$dino = wp_date('l, j M Y', strtotime($hariini. '+1 day'));
		}
	}
	else
	{
		$dino = wp_date('l, j M Y', strtotime($hariini. '+1 day'));
	}

	$nilaia=$nilaib=$nilaim= 0; $mati=$masuk=$lneo='';
	foreach ($valx as $key => $value)
	{
		$lnee .= $value . '*';
		$nilaia++; 
	}    
	foreach ($array10 as $keya => $valuea){
		$jagaa .= $valuea . ' ';
	}
	foreach ($valxe as $keye => $valuee)
	{
		$lneo .= $valuee . '*';
		$nilaim++; 
	}    
	foreach ($valxb as $keyb => $valueb)
	{
		$asi = substr($valueb, 0, 1);
		$copi = substr($valueb, 1, 1);
		$lneb .= $valueb . '*';
		$nilaib++; 
	}    
	
	?>
	<style>
		.red1 {
			background: radial-gradient(circle at 65% 15%, white 1px, #fbb3b3 1%, #ff1309 60%, #b50000 100%); color: #FFFFFF;
		}
		.bolae {
			display: inline-block;
			width: 35px;
			height: 35px;
			line-height: 32px;
			border-radius: 50%;
			text-align: center;
			font-size: 20px;
			margin: 7px;
		}
		.tabbe td,.tablee td 
		{
			text-align:center!important;padding:0px!important;
		}.tablee{
			width:100%!important;
		}
		.shio{background-color:#000 !important;color: #1d1d1d !important;
		}
		.shi{background-color: #28a745 !important;color:#eee
		}
		.s1,.s2,.s3,.s4,.s5,.s6,.s7,.s8,.s9,.s10,.s11,.s12,.ahi{
			background-color: #ff7800;color:#eee
		}
		.x00,.x11,.x22,.x33,.x44,.x55,.x66,.x77,.x88,.x99{
			background-color:#d20000;color:#ffffff42;
		}
		.btn-sm{
			padding:0rem .5rem!important;
		}
		.angka{background-color:#000 !important;color: #1d1d1d !important;
		}
		.masuk{color:#eee!important;animation: blinker 2.0s linear infinite;
		}
	</style>
<?php echo '<h3 class="text-center mb-1">Result '.ucwords(markete($pid)).' '.wp_date('l, j M Y', strtotime($hariini)).'</h3><div class="text-center mb-2"><div class="bola DarkOrange">'.$ase.'</div><div class="bola DarkOrange">'.$cope.'</div><div class="bola DarkOrange">'.$kple.'</div><div class="bola DarkOrange">'.$ekre.'</div></div>'; ?>
	<div class="mx-auto text-center">
		<ul class="list-inline mb-3 col-md-12 text-center mx-auto justify-content-center">
			<li class="list-inline-item"><label class="text-right">Ganti Pasaran</label></li>
			<li class="list-inline-item">
			    <select id="paitopsr" name="pasar" class="form-control form-control-sm">
				 <?php 
                    foreach($cok as $mark){
                        $pasar = preg_replace('/\s+/', '-', $mark);
                        if($pid==$pasar){
                            echo '<option data-goto="'.get_site_url().'/prediksi-'.$pasar.'" selected>'.ucwords(markete($pasar)).'</option>';
                        }else{
                            echo '<option data-goto="'.get_site_url().'/prediksi-'.$pasar.'">'.ucwords(markete($pasar)).'</option>';
                        }
                    }
                ?>
				</select>
			</li>
		</ul>
	</div>
	<div class="card border-primary mb-3">
		<div class="card-header text-white bg-primary text-center p-2">Kepala Ekor, Angka Ikut Dan Shio ON <b class="text-warning">
			<?php echo ucwords($pid).'</b> '.$dino?>
		</div>
		<div class="card-body p-2">
			<b class="text-success">Kepala Ekor 2D</b> ( <b class="text-danger">Invest 2D</b> ) : <br>
			<ul class="list-unstyled mb-3"><li class="m-0 p-0"><b class="text-primary">Kepala</b> : <?php echo $kplonn?></li><li class="m-0 p-0"><b class="text-primary">Ekor</b> : <?php echo $ekronn?></li></ul>
			<b class="text-success">Angka Ikut 2D</b> ( <b class="text-danger">Angka 2D</b> ) : <br>
			<ul class="list-unstyled mb-3"><li class="m-0 p-0"><?php echo $bbbff?></li></ul>
			<b class="text-success">Shio ON</b> ( <b class="text-danger">Top 2D</b> ) : <br>
			<ul class="list-unstyled mb-0"><li class="m-0 p-0"><?php echo $sheonn?></li></ul>
		</div>
	</div>
	<div class="card border-danger mb-3">
		<div class="card-header text-white bg-danger text-center p-2">Rekap Dan Prediksi <b class="text-warning">
			<?php echo ucwords($pid).'</b> '.$dino?>
		</div>
		<div class="card-body p-2">
			<b class="text-primary">Angka Invest 2D</b> (
			<b class="text-success"><?php echo $nilaia?></b> LN ) : <div class="mb-3">
				<?php echo $lnee?>
			</div>
			<b class="text-primary">Angka 2D</b> (
			<b class="text-success"><?php echo $nilaim?></b> LN ) : <div class="mb-3">
				<?php echo $lneo?>
			</div>
			<b class="text-primary">Top 2D</b> (
			<b class="text-success"><?php echo $nilaib?></b> LN ) : <div class="mb-3">
				<?php echo $lneb?>
			</div>
		</div>
	</div>


	<script type="text/javascript">
		$("#paitopsr").change(function() { var d = $(this).find("option:selected").data("goto"); if (d != "") { window.location.href = d } });
	</script>
	<?php return ob_get_clean();	
}
require_once( 'generate_ln.php' );
require_once( 'rekap_angka2d.php' );
require_once( 'rekap_angka3d.php' );
require_once( 'rekap_angka4d.php' );
require_once( 'rekap_angkact.php' );
require_once( 'rekap_kumat.php' );
require_once( 'kolaborasi_ln.php' );
require_once( 'kombinasi.php' );
require_once( 'lnvsdn.php' );
require_once( 'pembalik.php' );
require_once( 'pola_tarung.php' );
require_once( 'kalender_togel.php' );
require_once( 'kalkulator_invest.php' );
require_once( 'toto_converter.php' );
require_once( 'susun_data.php' );
require_once( 'multi_kombinasi.php' );
require_once( 'livehk.php' );
require_once( 'livesd.php' );
require_once( 'livesgp.php' );
require_once( 'mimpi.php' );
require_once( 'statistik_manual.php' );
require_once( 'pola_dasar.php' );
require_once( 'kombinasi_4d.php' );
require_once( 'bbfs_gen.php' );
require_once( 'paito_warna.php' );
require_once( 'cari2d.php' );
require_once( 'paito_harian.php' );
require_once( 'data_pengeluaran.php' );
require_once( 'bola_merah.php' );
require_once( 'statistik_angka.php');
require_once( 'syair_sdy.php');
require_once( 'syair_hk.php');
require_once( 'syair_sgp.php');