โพสต์ โดย naiaye » 14/07/2017 3:35 pm
โค้ดบริการตรวจหวย อัพเดทผลการออกรางวัลสลากกินแบ่งรัฐบาลโค้ดหวย อัพเดทผลหวยจาก
สำนักงานสลากกินแบ่งรัฐบาลPlugin wordpress สามารถดาวน์โหลดได้ที่
https://wordpress.org/plugins/thai-lottery-widget/ขนาดเล็กพิเศษ
โค้ด: เลือกทั้งหมด
<iframe src="https://www.lottery.co.th/small" width="210" height="290" frameborder="0"></iframe>
แสดงผลสลากพร้อมช่องกรอกหมายเลข
โค้ด: เลือกทั้งหมด
<iframe src="https://www.lottery.co.th/share" width="100%" height="650" frameborder="0"></iframe>
เฉพาะผลสลากรางวัลหลัก
โค้ด: เลือกทั้งหมด
<iframe src="https://www.lottery.co.th/show" width="100%" height="340" frameborder="0"></iframe>
ช่องกรอกหมายเลขสลาก
โค้ด: เลือกทั้งหมด
<iframe src="https://www.lottery.co.th/numbers" width="100%" height="410" frameborder="0"></iframe>
ย้อนหลัง 10 งวดล่าสุด
โค้ด: เลือกทั้งหมด
<iframe src="https://www.lottery.co.th/10lotto" width="100%" height="500" frameborder="0"></iframe>
php อ่านค่าจาก rss feed
โค้ด: เลือกทั้งหมด
<?php
$i = 0;
$url = "https://www.lottery.co.th/lotto/feed";
$rss = simplexml_load_file($url); // XML parser
print '<h2><img style="vertical-align: middle;" src="'.$rss->channel->image->url.'" /> '.$rss->channel->title.'</h2>';
foreach($rss->channel->item as $item) {
if ($i < 10) { // parse only 10 items
print '<h3><a href="'.$item->link.'" title="'.$item->title.'">'.$item->title.'</a></h3><br />'.$item->description.'';
}
$i++;
}
?>
โค้ดหวยนี้แจกฟรี สามารถนำไปติดเว็บได้ และปรับแต่งขนาดได้ตามต้องการ โค้ดแต่งเว็บไซต์ code html สําเร็จรูป
สำหรับนักพัฒนาที่ต้องการในรูปแบบของ ผลสลากกินแบ่งรัฐบาล Json สำหรับทำแอพหรืออื่นๆ สามารถอ่านและติดต่อได้ที่หน้า
https://www.lottery.co.th/codeหรือติดตามเราได้ที่
หน้าบล็อก
[b]โค้ดบริการตรวจหวย อัพเดทผลการออกรางวัลสลากกินแบ่งรัฐบาล[/b]
[b][url=https://www.lottery.co.th/code]โค้ดหวย[/url][/b] อัพเดทผลหวยจาก [b][url=https://www.lottery.co.th/tag/glo]สำนักงานสลากกินแบ่งรัฐบาล[/url][/b]
Plugin wordpress สามารถดาวน์โหลดได้ที่ [b][url]https://wordpress.org/plugins/thai-lottery-widget/[/url][/b]
ขนาดเล็กพิเศษ
[code]<iframe src="https://www.lottery.co.th/small" width="210" height="290" frameborder="0"></iframe>[/code]
แสดงผลสลากพร้อมช่องกรอกหมายเลข
[code]<iframe src="https://www.lottery.co.th/share" width="100%" height="650" frameborder="0"></iframe>[/code]
เฉพาะผลสลากรางวัลหลัก
[code]<iframe src="https://www.lottery.co.th/show" width="100%" height="340" frameborder="0"></iframe>[/code]
ช่องกรอกหมายเลขสลาก
[code]<iframe src="https://www.lottery.co.th/numbers" width="100%" height="410" frameborder="0"></iframe>[/code]
ย้อนหลัง 10 งวดล่าสุด
[code]<iframe src="https://www.lottery.co.th/10lotto" width="100%" height="500" frameborder="0"></iframe>[/code]
php อ่านค่าจาก rss feed
[code]<?php
$i = 0;
$url = "https://www.lottery.co.th/lotto/feed";
$rss = simplexml_load_file($url); // XML parser
print '<h2><img style="vertical-align: middle;" src="'.$rss->channel->image->url.'" /> '.$rss->channel->title.'</h2>';
foreach($rss->channel->item as $item) {
if ($i < 10) { // parse only 10 items
print '<h3><a href="'.$item->link.'" title="'.$item->title.'">'.$item->title.'</a></h3><br />'.$item->description.'';
}
$i++;
}
?>[/code]
โค้ดหวยนี้แจกฟรี สามารถนำไปติดเว็บได้ และปรับแต่งขนาดได้ตามต้องการ โค้ดแต่งเว็บไซต์ code html สําเร็จรูป
สำหรับนักพัฒนาที่ต้องการในรูปแบบของ ผลสลากกินแบ่งรัฐบาล Json สำหรับทำแอพหรืออื่นๆ สามารถอ่านและติดต่อได้ที่หน้า
https://www.lottery.co.th/code
หรือติดตามเราได้ที่[b][url=https://blog.lottery.co.th/]หน้าบล็อก[/url][/b]