#!/usr/local/bin/php Search for $ST"; $LE["TITLE"] .= " - Search for $ST"; $output .= Module_Search(); }elseif(strlen($gmode)==1){ $JD = "Alphabetical Order ".strtoupper($gmode)."\n"; $LE["TITLE"] .= " - View Alphabetical Order ".strtoupper($gmode); $output .= Module_Alphabet(); }elseif($gmode=="add"){ $JD = "Submit Link Exchange"; $LE["TITLE"] .= " - Submit Your Link"; $output .= Module_Add(); }else{ $JD = "Last 60 Links Exchange"; $LE["TITLE"] .= " - View Last 60 Links Exchange"; $output .= Module_Index(); } $JD = "Top : \n$JD\n"; echo HTML_header(); echo $output; echo get_link_footer(false); echo HTML_footer(); ####################################################################################### # FUNCTION - FUNCTION ####################################################################################### function Module_Search(){ global $LE; global $ST; global $SCRIPT_NAME; global $arg, $L_screen, $L_pages; //$sqlE = "SELECT DISTINCT le.id AS 'LEID', le.* FROM link_exchange le, link_owner lo WHERE le.id = lo.link_id AND le.archive='N' AND lo.owner= {$LE["CLIENT"]} "; //$sqlE .= "AND (le.title LIKE '%".a_s($ST)."%' OR le.link LIKE '%".a_s($ST)."%' OR le.msg LIKE '%".a_s($ST)."%') ORDER BY le.title ASC "; $sqlE = "SELECT * FROM client WHERE le_title LIKE '%".a_s($ST)."%' OR domain LIKE '%".a_s($ST)."%' OR le_desc LIKE '%".a_s($ST)."%' ORDER BY le_title ASC "; if ($L_screen == ""){$L_screen = $arg[2]; $L_pages = $arg[3];} if ($L_screen == "") { $L_screen = 0; $result = open_mysql ("u3709_link", $sqlE); $rows = mysql_num_rows($result); $L_pages = ceil($rows / $LE["ROWS_PER_PAGE"]); $result = open_mysql("close"); } $out .= BOX_open(); $out .= "
| \n";
$out .= "".s_s($line["le_title"])." \n"; if (s_s($line["le_desc"])!=""){ $out .= smooth_cutter(s_s($line["le_desc"]),250)." "; } $out .= "URL: http://".s_s($line["domain"]).""; $out .= " |
| ".LE_Navigator_Slash($URL,$L_screen,$L_pages,$ST)." |
"; $out .= "Sorry, your search did not match to any data. "; $out .= "Please try another search. "; $out .= " |
| \n";
$out .= "".s_s($line["le_title"])." \n"; if (s_s($line["le_desc"])!=""){ $out .= smooth_cutter(s_s($line["le_desc"]),250)." "; } $out .= "URL: http://".s_s($line["domain"]).""; $out .= " |
| \n";
$out .= "".s_s($line["le_title"])." \n"; if (s_s($line["le_desc"])!=""){ $out .= smooth_cutter(s_s($line["le_desc"]),250)." "; } $out .= "URL: http://".s_s($line["domain"]).""; $out .= " |
| ".LE_Navigator_Slash($URL,$L_screen,$L_pages,$ST)." |
How to link your web site to www.kusumasarivilla.com?
Please fill in the following form and your link will be instantly
on our page.
We will not exchange links with "adult" sites or sites which
promote illegal or unethical acts, or not related to travel industry.
We will put your link at {$LE["LINK"]}/linkexchange/@.htm (where @ is
the first character of your page title).
Please note that once we have verified our link (see below) is not displayed
on your site within 1 week, we will remove your link in our page.
How to link www.kusumasarivilla.com to your web site?
It's easy, please use the following information:
Title : {$LE["TITLE_WEB"]}
URL : {$LE["LINK"]}
Description :
{$LE["LINK_DESC"]}
| \n";
$out .= "Bali Hotel and Villa Reservations \n"; $out .= "BaliBagus.com Reservation directory for any type of hotels, villas and accommodation in Bali. Search your hotel, get the special rates and book, Simple and Fast! "; $out .= "URL: http://www.balibagus.com ";
$out .= "Kusuma Sari Villa and Spa Bali |
![]() |
|
{$org_header}{$form}
EOT;
return $out;
}
function HTML_footer(){
global $LE;
$out = << |
|
© Copyright KusumaSariVilla.com 2005, All rights reserved. |