tgoop.com/KingsOfPhp/5633
Last Update:
<?php
header('Content-Type: application/json; charset=utf-8');
$get = file_get_contents("https://namaz.today/city/samarkand");
preg_match_all('#<div class="round (.*?)" data-now-hour=".*?" data-now-minute=".*?" data-lost-hour=".*?" data-lost-minute=".*?">.*?<span class="text-center rb">(.*?)</span>.*?<div class="subheader text-center "><a href="\#day_time_.*?" reveal="open">(.*?)</a></div>.*?<div class="time-remaining">.*?<div class="time-remaining-content" data-sdf=".*?">(.*?)<br><strong>.*?<span class="hour_reverse">(.*?)</span>.*?<small class="l_hour">(.*?)</small>.*?<span class="minute_reverse">(.*?)</span>.*?<small class="l_minute">(.*?)</small></strong>#',$get,$e);
foreach($e[3] as $i => $r){
if(stristr($e[1][$i],"active")){
$to = "\n".$e[4][$i].": ".$e[5][$i]." ".$e[6][$i]." ".$e[7][$i]." ".$e[8][$i];
}else{$to="";}
$re[] = $r." ".$e[2][$i].$to;
}
echo json_encode($re,128|64|256);
BY ꧁👑KingsOfPhp꧂

Share with your friend now:
tgoop.com/KingsOfPhp/5633