Integration (Additional functions)
In additional functions, we have various displaying hotel logo, hotel main picture and 3 versions to display featured hotels chosen to promote your own website.
Functions to display hotel logo and main picture
Hotel logo :

Hotel logo can be shown by copying  the code provided. Hotel number (h) is assigned for each hotel and can be change. Please find for example as below.

This sample is for h=677122
<img src="http://th.r24.org/R24pic.php?h=677122&i=logo">

This sample is for h=620115
<img src="http://th.r24.org/R24pic.php?h=620115&i=logo">

Hotel main picture and thumbnails :

Hotel main picture and thumbnails can be shown by copying the code provided. Please find for example as below.

This sample is for h=677122

<img src="http://th.r24.org/R24pic.php?h=677122&i=main">


The default size is 300x200 pixel.
This sample is for h=620115

<img src="http://th.th66.com/R24pic.php?i=icon&h=620115">


The default thumbnail size is 90x60 pixel.

<img src="http://th.th66.com/R24pic.php?i=icon&h=620115&x=120&y= 80">


The optional thumbnail size of 120x80 pixel.
Hotel location map :

Hotel location map can be shown by copying the code provided. Please find for example as below.
Note: This only work if your host has PHP and url-include enabled.
Otherwise use the XML functions to retrieve coordinates and use Google maps directly.

This sample is for h=677122

<img src="<? @include("http://th.th66.com/R24map.php?h=677122") ?>">
where partnerID is your registered agent domain name.


The default size is 200x200 pixel.
This sample is for h=620115

<img src="<? @include
("http://th.th66.com/R24map.php
?h=620115&x=160&y=80&z=14") ?>">


map size is 160x80 pixel.

Parameters h (hotel number) is required.
x, y are optional map sizes (default is 200x200)
z is an optional map zoom level (default is 12)
Functions Hotel Hot Deal
R24 provide hotel hot deal by region. Please find for example as below.

<a href="http://www.r24db.com/xml/R24hotelpromotion.php?p=PARTNER&r=bangkok" target="_blank">
<img alt="" style="border:0" src="http://www.r24db.com/html/imgpromote/bangkokpromotion.jpg"></a>

The default size is 200x200 pixel.
Functions to display banner
R24 provide banner by region. Please find for example as below.

<a href="http://www.r24db.com/xml/R24hotelpromotion.php?p=PARTNER&r=bangkok" target="_blank">
<img alt="" style="border:0" src="http://www.r24db.com/html/imgbanner/R24- bangkok-banner300x250.jpg"></a>

The default size is 300x250 pixel.
Functions to display featured hotels
There are 3 versions of featured hotels in each region of Thailand for your prompt use as per providing code for your appropriate.
Vertical version :

PHP statement is
echo file_get_contents ("http://www.r24db.com/xml/R24dbfeature.php?r=krabi&l=4&p=PARTNER");

p = PARTNER-ID (e.a. your domain name), r = region, l = number of icons

Horizontal version :

PHP statement: is
echo file_get_contents ("http://www.r24db.com/xml/R24dbfeatureH.php?r=krabi&l=5&p=PARTNER");

Featured & recommended hotels in Krabi by PARTNER
Baan Kan Tiang Sea Villa Resort Baan Kan Tiang Sea V
Koh Lanta Yai, Kanti
from THB 6845
Moonlight Exotic Bay Resort Moonlight Exotic Bay
Koh Lanta Yai, Klong
from THB 2567
Nakamanda Resort & Spa Nakamanda Resort & S
Klong Muang Beach
from THB 8985
The L Resort Krabi The L Resort Krabi
Ao Nang Beach
from THB 3330
Krabi Home Resort Krabi Home Resort
Tubkaak Beach
from THB 3750

Scrolling version :

<iframe id="R24frame" name="R24frame" src="http://www.r24db.com/xml/R24dbroller.php?r=phuket&p=PARTNER" frameborder="0" style="border:0; margin:0; height:145px; width:100%"></iframe>

Featured Hotels
675424
Baan Kan Tiang Sea Vi
Koh Lanta Yai, Kantia
from THB 6845
675163
Moonlight Exotic Bay
Koh Lanta Yai, Klong
from THB 2567
675188
Nakamanda Resort & Sp
Klong Muang Beach
from THB 8985
675164
The L Resort Krabi
Ao Nang Beach
from THB 3330
krabi hotels