| Server IP : 185.86.4.75 / Your IP : 216.73.216.143 Web Server : Apache System : Linux lotom.com.tr 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64 User : lotomcom ( 10006) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/lotom.com.tr/httpdocs/ |
Upload File : |
<?
$addrr=$_SERVER['REQUEST_URI'];
if (stripos($addrr,"en-cok-cikanlar") or stripos($addrr,"istatistikleri") or stripos($addrr,"tahminleri")){
?><div class="ontab"><?
$xml = simplexml_load_file('https://blog.lotom.com.tr/feed');
$s=0;
foreach($xml->channel->item as $item){
$srgm=$item->title;
if (stripos($addrr,"ayisal-loto") and (stripos($srgm,"sal Loto") or stripos($srgm,"iyango")) ) {
if($s<6){ //Burada ki 5 rakamı post sayısını gösteriyor.
echo '<div class="ontabson"><h3><strong><a title="'.$item->title.'" href="'.$item->link.'">'.$item->title.'</a></strong></h3>
<br><div class="yslyz">'.mb_substr($item->description,0,300,"UTF-8").'...</div><br>
</div>';
}
$s++;
}
if (stripos($addrr,"uper-loto") and (stripos($srgm,"per Loto") or stripos($srgm,"iyango")) ) {
if($s<6){ //Burada ki 5 rakamı post sayısını gösteriyor.
echo '<div class="ontabson"><h3><strong><a title="'.$item->title.'" href="'.$item->link.'">'.$item->title.'</a></strong></h3>
<br><div class="yslyz">'.mb_substr($item->description,0,300,"UTF-8").'...</div><br>
</div>';
}
$s++;
}
if (stripos($addrr,"ans-topu") and (stripos($srgm,"ans Topu") or stripos($srgm,"iyango")) ) {
if($s<6){ //Burada ki 5 rakamı post sayısını gösteriyor.
echo '<div class="ontabson"><h3><strong><a title="'.$item->title.'" href="'.$item->link.'">'.$item->title.'</a></strong></h3>
<br><div class="yslyz">'.mb_substr($item->description,0,300,"UTF-8").'...</div><br>
</div>';
}
$s++;
}
if (stripos($addrr,"n-numara") and (stripos($srgm,"n Numara") or stripos($srgm,"iyango")) ) {
if($s<6){ //Burada ki 5 rakamı post sayısını gösteriyor.
echo '<div class="ontabson"><h3><strong><a title="'.$item->title.'" href="'.$item->link.'">'.$item->title.'</a></strong></h3>
<br><div class="yslyz">'.mb_substr($item->description,0,300,"UTF-8").'...</div><br>
</div>';
}
$s++;
}
}
?></div><?
}
?>