|
Loose Slots Home
Finding Loose Slots (Page 1, Page 2, Page 3, Page 4, Page 5, Page 6)
Avoiding Tight Slots (Page 1, Page 2, Page 3, Page 4, Page 5)
Slots Secrets (Page 1, Page 2, Page 3, Page 4, Page 5, Page 6)
Slots Myths (Page 1, Page 2, Page 3, Page 4, Page 5, Page 6)
Slots Strategy
The Best Online Casinos for The Best Loose Slots
Beat The Casinos (Page 1, Page 2, Page 3, Page 4, Page 5, Page 6)
Slots Terms
About Pay Tables
Financial Advice (Page 1, Page 2, Page 3, Page 4, Page 5, Page 6, Page 7)
LinksCould not connect to database... ");
mysql_select_db ($DB_databasename, $link) or die ("Could not connect to database... ");
return $link;
} // db_connect ();
//********************************************************************************\\
function get_site_url ($id) {
$db_link = db_connect ();
$query = "SELECT siteurl FROM Websites WHERE id = '".$id."' LIMIT 1";
$result = mysql_query ($query, $db_link);
$row = mysql_fetch_array ($result);
return $row ["siteurl"];
} // get_site_details ()
//********************************************************************************\\
function get_cat_name ($id, $cat) {
$db_link = db_connect ();
$query = "SELECT catname FROM Categories WHERE siteid = '".$id."' AND catid = '".$cat."' AND catstatus = '1' LIMIT 1";
$result = mysql_query ($query, $db_link);
$row = mysql_fetch_array ($result);
return $row ["catname"];
} // get_site_details ()
//********************************************************************************\\
function show_main ($site_id, $site_base) {
print ("Links and Resourses\n");
print ("Home : Links \n");
print ("These links have been provided as a resource for our visitors. Please click on the categories below to browse the links. \n");
print ("Webmaster, add your link. \n");
print_links ($site_id, $site_base, 0, 0);
} // show_main ()
//********************************************************************************\\
function print_links ($site_id, $base, $cat, $spaces) {
$query = "SELECT id, catid, catname, headercat FROM Categories WHERE siteid = '".$site_id."' AND subof = '".$cat."' AND catstatus = 1 ORDER BY catrank ASC";
$result = mysql_query ($query);
for ($i = 0; $i < mysql_num_rows ($result); $i++) {
if ($spaces == 0) {
print (" ");
} // if ()
$row = mysql_fetch_array ($result);
$id = $row ["id"];
$cat_id = $row ["catid"];
$name = $row ["catname"];
$is_header = $row ["headercat"];
for ($j = 0; $j < $spaces; $j++) {
print (" ");
} // for ()
print ("".$name."");
if ($is_header == 0) {
print (" - Page: ");
$query = "SELECT MAX(pagenumber) AS themax FROM Links WHERE categoryid = '".$id."' AND linkstatus > 0";
$max_result = mysql_query ($query);
$max_row = mysql_fetch_array ($max_result);
$max_page = $max_row ["themax"];
// $max_page = 4;
for ($j = 0; $j < $max_page; $j++) {
$page = $j + 1;
if ($j != 0) {
print (", ");
} // if ()
print ("".$page."");
} // for ()
} // if ()
print (" \n");
print_links ($site_id, $base, $id, $spaces + 3);
} // for ()
} // print_links ()
//********************************************************************************\\
print_links ($site_id, $site_url, 0, 0);
//********************************************************************************\\
?>
Contact Us
|
|
Best Slots Jackpots:
|