0){ $leftcol=""; $curcategory=""; $cursubcategory=""; $allcategories="@"; $curallcats=""; $subcatstatus = 0; # 0 = no subcat active # 1 = subcat active while($row = mysql_fetch_object($results)){ // GET THE CATEGORY, SUB-CATEGORY AND TOPIC FOR THIS ENTRY $subcategory=trim($row->subcategory); $category=trim($row->category); $topic=trim($row->topic); // SAVE THE DATA FOR THE DDL IN THE ADD FORM $add_ddl .= "\n"; // SAVE THE CATEGORIES FOR RECOGNISING LATER # This is used to recognise a category-only request URL that comes from the left menu if($curallcats != $category){ $allcategories .= strtolower($category) . "@"; $curallcats = $category; } $subcatadd=""; // PROCESS THE SUBCATEGORY FOR THIS ENTRY # if the new subcategory is different to the current subcategory, set the current subcategory if($subcategory != $cursubcategory){ $cursubcategory=$subcategory; # The subcategory has changed # It could be:- # 1. a new subcat changing from no subcat # 2. a new subcat changing from a previous subcat # 3. null (no subcat) # Actions:- # 1. set the status to 1. create the opening code # 2. close the previous one's code, create the opening code, set the status to 1. # 3. since it's changed to null, the last item must have had a subcat, so close it's code, and set the status to 0 if($cursubcategory != ""){ if($subcatstatus == 0){ # not coming from a previous subcat so $subcatstatus=1; # set the status to 1 (active) and $subcatadd = "\n"; # create the previous subcat's closing code and $subcatadd .= "\n"; $subcatstatus=0; } } } // PROCESS THE CATEGORY FOR THIS ENTRY # if the new category is different to the current category, set the current category if($category != $curcategory){ # create the required versions $curcategory=$category; $categoryurl=strtolower($category); $categoryurl=str_replace(" ","%20",$categoryurl); $newcat=true; # end the old category's code if($leftcol != ""){ $leftcol .= "\n"; $leftcol .= "\n"; $leftcol .= "\n\n"; } } // PROCESS THE TOPIC FOR THIS ENTRY AND CREATE THE REQUIRED VERSIONS $topicurl=strtolower($topic); $topicurl=str_replace(" ","%20",$topicurl); // CREATE THE HTML CODE FOR THIS ENTRY # if it's a new category, add the new category code, and reset the $newcat flag # if it's a new subcategory, add the new subcategory code, and reset the $newsubcat flag # new category if($newcat === true){ #start the new category's code $leftcol .= "
  • \n"; #add the link $urlCategory=trim(strtolower(str_replace(" ","%20",$category))); $leftcol .= "$category\n"; $leftcol .= "\n"; $leftcol .= "
  • \n\n"; } ?> Taxis in Isle Of South Uist, Britain (UK).


    'Hotels In The UK'

    the no-frills 'direct contact' UK accommodation directory

    including most types of holiday accommodation


     

    Link to British Country Music Radio site

    This is a LARGE BANNER maximum 550 x 90 pixels  Cost £30.00 per month

    « Back

    Taxis in Isle Of South Uist

    We have listings for taxis in Isle Of South Uist in the following places



     Miscellaneous : Taxis : Isle Of South Uist

     
    Hotel reservations made easy

    This is a SMALL TEXT BOX maximum 150 x 50 pixels
    Cost £15.00 per month



    Table Tenis Club in Bradford
    Table Tenis Club in Bradford


    This is a LARGE TEXT BOX maximum 150 x 150 pixels
    Cost £20.00 per month
    North Locheynort
     




    CATEGORIES




    Hosting by:
    Country Web Services

     

    Home  |  Add a local business, service or facility  |  About In-Britain  |  Advertise  |  Contact

    Copyright © In-Britain.co.uk. All rights reserved.
     
         in-britain (local businesses, services and facilities) home
     
     Home       Add       About       advertise       Contact