/* CSS global reset for all browsers */ 
* {
padding: 0;
margin: 0;

}

/**
 * General Body Styling
 * --------------------
 * These are normal css setup reccommended for your
 * HTML template although they are not neccessary
 */
 
body {
margin: 0 auto;
padding: 0;
background: url(../../camping-ferie_2007/images/bg.jpg) center top repeat-x ;

}

#top { margin: 0; padding: 0; height: 302px; padding-top: 0px;  } 


.title {
	width: 200px;
	text-align: center;
	padding: 0;
	color: #FFF;
	padding: 100px 5px 5px 25px;
}

#topmenu {

	margin-left: ;
	width: 600px;
	height: 25px;
	/*border-top: 3px solid #FFF;*/
	/*border-bottom: 3px solid #;*/
	padding-top: 0px;
} 

#topmenu .padding {    
    position: absolute;
    padding: 11px 10px 0 240px; 
    text-align: left;
}

#flags {

      width: 300px;

	

}

#header h2 {
		font-family: Arial, Verdana, Helvetica, sans-serif;
		font-size: 12px; 
		color: #545E6F;
}

#main {	width: 420px;

 }

#mainleft  {
     width: 170px;

 }
 

#footer_bg {
	/*background: url(../images/footer_bg.jpg) center top no-repeat;*/
	height: 50px;
	width: 798px;
	margin: 0;
	padding: 0;
	clear: both;
}



.module { margin: 0 0 0px 0px; padding: 0;}


.module td { 
	height: 16px;
	padding: 0px;
	color: #616161;
}



td,tr,p,div {
font-family: Verdana;
font-size: 12px;
font-weight:normal;
color: #000000;
}




/**
 * General Mambo Styles
 * --------------------
 * The following are styles that are often used
 * site wide by Mambo to provide better control
 * of content's appearences.
 */

hr { 
/* often used in components like Akobook, and Simpleboard forum
   to define the separator lines */
background: transparent; 
height:1px; 
border: 1px solid #CCFF00;
}

hr.separator {
/* found this css style in Peekmambo's css style. Still haven't worked out
   if this is a custom style or an in built style. Will update when I find out*/
background: transparent;
height: 1px;
width: 75px;
border: 1px solid #CCFF00;
}


.small {
/* general style for texts when small size fonts are used. In 
   the contents, this style is used for "Written by..." texts */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 10px;
color: #888;
text-decoration: none;
font-weight: normal;
}

.smalldark {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 10px;
    color: #FFFF99;
    text-decoration: none;
    font-weight: normal;
    }


/**
 * Mambo General styling for Sections/Categories/Contents
 * ------------------------------------------------------
 * These stylings are either sometimes or often used across
 * Sections, categories and contents. They, therefore, deserves
 * to be mentioned and separated from others.
 */
 
.createdate {
/* name says it all.. its for styling the date the content/articles are created under 
   contents title */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 9px;
color: #7ba527;
text-decoration: none;
font-weight: normal;
padding: 0 0 10px 0;
}

.modifydate {
/* need me to say? :) Well it styles the "Last updated on" text
   at the end of articles/contents */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
color: #aaa;
text-decoration: none;
font-weight: normal;
}

a.readon:link, a.readon:visited {
/* For formatting the "Read on..." link for blogs and on frontpage. */
color: #5F5F5F; 
text-decoration: none; 
font-family:  Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
padding-left: 12px;
background: url(../../2007-a/images/li.gif) no-repeat left;
}



a.readon:hover {
/* Pfft..! */
color: #5F5F5F; text-decoration: underline;
font-weight: normal;
font-family:  Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
}





/** 
 * Mambo Styling for Contents
 * --------------------------
 * All the styling for contents are listed
 * below.
 */
 
.contentpane {
/* This is used mainly for the table that holds the SECTIONS such as News.
   This is when you create a link to a Section and when clicked on it, it will display
   "News" then some description (with image if you selected one) and then a list of 
   Category of News. Yes! That entire thing is contained in a table with this style */

background-color : #FFF;
}

.contentpaneopen { background-color : none; }
.contentpaneopen img { padding: 10px; }
.buttonheading img { padding: 2px; }
.contentheading {	
font-size        : 12px;
font-weight      : bold;
color: #993333;
padding-left: 0px;
padding-top: 0px;
padding-bottom: 15px;
text-decoration  : bold underline;
text-indent: 0px;
text-align: left;
background: url(../../images/window.gif) no-repeat left;
} 

.contentpagetitle {
/* Couldn't find where is this yet. Will update this part when I
get to it. Sorry. If you know, please email me the infos */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
color: #525252;
text-align:left;

}

.contentdescription {
/* When you create a link to a Section in the main menu and when clicked on it, it will display
   "News" then some description (with image if you selected one) and then a list of 
   Category of News. This style is used for formating the "DESCRIPTION" part of that page */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
color: #333;
text-align: left;
}

.contentdescription img { padding-right: 5px; }

table.contenttoc {
/* This is used to format the table of the Tables of Contents or "Jump to" 
   box when it is enabled in a multiple paged content or article */
color: #333;
background-color: #FFF;
border: 1px solid #666;
margin: 10px;
padding: 5px;
    }

table.contenttoc td {
/* the same as above, but this is used to format the td or
   table cells */
font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 8pt;
    font-weight: normal;
    text-align:left;
padding: 3px;
}

.content_rating {
/* used for styling the texts used for displaying 
   those "stars" for rating in an article */
font-weight: normal;
font-size: 8pt;
}

.content_vote {
/* used for those voting texts (the one with voting RADIO buttons) */
font-weight: normal;
font-size: 8pt;
}


/**
 * Mambo Sections Styles
 * ---------------------
 * Styling of sections tables 
 */

.sectiontableheader {
/* This is for styling the section table headers on a SECTION's page.
   An example would be those articles lists when you click on "News" or something?
   With a table header of "Date", "Item Title", "Author" and "Hits" ? That's the
   header that you will be controlling through this style */
background-color : #5F5F5F;
background-repeat: repeat;
padding: 0px;
color : #FFF;
font-weight : bold;
}

.sectiontableentry1, {
/* this is used when there's a whole list of data to provide and
   you need to create alternate colors for each row of data. This is
   the first color */
background-color: #FFF;
}

.sectiontableentry1 img, .sectiontableentry2 img { padding-right: 10px; padding-left: 5px; }

.sectiontableentry2 {
/* this is the second color for the row. So, the table generator,
   will alternate its style through sectionableentry1 and sectiontableentry2
   as it cycles through and outputs each row of data. Similar to forum's post
   listings */
background-color : #EFEFEF;
}





/**
 * Mambo Styles for Categories
 * ---------------------------
 * The following are the styling for "Category" items
 * generated from the Sections area
 */

.category {
/* this is to set the category Titles ( found on a SECTION's page
   where the Category lists are) styles */
color: #333; 
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px; 
font-weight: bold; 
text-decoration: none;
}

a.category:link, a.category:visited {
/* same as above, but to set the link format */
color: #7ba527; font-weight: bold;
}

a.category:hover {
/* same as above, but for links with mouse pointer over it */
color: #7ba527;
text-decoration: underline;
}




/**
 * Mambo Blog styling
 * ------------------
 * Not too sure where this is used yet. I tried the blog section
 * but it doesn't seem to use it. If you have info on this,
 * email me. I'll update this part.
 */
 
a.blogsection:link, a.blogsection:visited {
color: #909285; 
text-decoration: none; 
font-family:  Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
}

a.blogsection:hover {
color: #909285; 
text-decoration: underline;
font-size: 11px;
}




/**
 * Mambo Components Styles
 * -----------------------
 * These stylings are to format the way components title
 * is displayed
 */


.componentheading {
/* This is used for formatting the component's title
   when it is displayed on its own page on the frontend */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
color: #525252; 
text-align:left;
padding: 0 0 10px 0;
}


/**
 * Mambo Modules formatting
 * ------------------------
 * These stylings are to format the way modules are
 * displayed. It mainly deals with the format of its
 * table. I think this doesn't need too much explaining
 */

table.moduletable {
/* styling the module table */
margin: 0px 0px 0px 0px;
width: 100%;
}

table.moduletable th {
/* styling the module header, and the module titles */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #333;
text-align: left;
}

table.moduletable td {
/* well.. for formatting the table cells of the module table */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
}




/**
 * Mambo's Built-in Component's Syling
 * -----------------------------------
 * These stylings are used for Mambo's built-in components
 * such as newsfeeds, weblinks, contact, search and polls.
 * A commented subtitle will guide you which is for which
 */
 
 
 /*  Polls  */
 
.poll {
/* polls texts */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
line-height: 14px
}

.pollstableborder {
/* set the border properties of the polls voting table */
border: 1px solid #CCFF00;
}



/*  Weblinks */

a.weblinks:link, a.weblinks:visited {
/* well.. to format the link's titles under the "Weblinks" 
   section on the frontend */
color: #FFCC00; text-decoration: none; font-weight: normal;
font-family:  Arial, Verdana, Helvetica, sans-serif;
}

a.weblinks:hover {
/* same as above, but for link with mouseover */
color: #FFCC00; text-decoration: underline;
}



/*  Newsfeeds */

.newsfeedheading {
/* The newsfeed title. NOTE: This will not affect the newsfeed's news title! */
   font-family: Arial, Verdana, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: bold;
   color: #FF6600;
   }

.newsfeeddate {
/* yeah.. the date on the newsfeed */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 10px;
color: #FFFF99;
font-weight: normal;
}

.fase4rdf {
/* this is the body text of the newsfeed */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px; 
color: #FFFFFF; 
font-weight: normal;
}

a.fase4rdf:link {
/* links of the body text of the newsfeed */
font-size: 11px; 
font-weight: bold; 
color: #FFCC00;
text-decoration: none;
}

a.fase4rdf:hover {
/* links of the body text of the newsfeed when mouse points over it*/
font-size: 11px;
font-weight: bold; color: #FFCC00;
text-decoration: underline;
}


/* Search page */


table.searchintro {
/* This is for formatting the box with "Search Keyword: test returned 4 matches" box
   that appears after you have entered a search value. It appears on the mainbody
   with the search results  */
background-color: #FFF;
border: 1px solid #666;
}


/*  Contact's table settings  */

table.contact {
/* for formatting the entire "Contact" table which includes
   the name, address icons and form. Note this table DOES NOT 
   enclose the dropdown list for selecting the Department/person
   to contact */
background-color: #333333;
}

table.contact td.icons {
/* the name gave it away. This formats the <td> cells
   where the little icons sits next to the details (those addresses,
   phone number etc) */
background-color: #333333;
}

table.contact td.details {
/* this is for formatting the <td> cells where all the details sits.
   The details where addresses, phone number and additional info are */
background-color: #333333;
font-size: 11px;
font-family: Arial, Verdana, Helvetica, sans-serif;
}


.syndicate { padding-top: 10px; }

.moduletable_flash{
width:600px;
height: 302px;
background:url(../../../modules/js_flashrotator/jpg/image2.jpg) no-repeat;}



/* Gallery2 settings */

 require(dirname(__FILE__).'/../com_joomlalib/jlcoreapi.inc');
 JLCoreApi::import(JLApp);
 $appHandle = 'com_gallery2';
 $descShort = 'gallery2 bridge';
 $descLong = 'Gallery2 bridge component main handle.';
 JLApp::register($appHandle, $descShort, $descLong);

 $ret = JLCoreApi::import('JLLog', 1, 0);
 if(!$ret){
     print 'Non competable library';
 }



$jllog = new JLLog('jlexample');
 
 /* Find out where in the world Joomla.org is */
 $jlip = new JLIp('65.254.35.69', $jllog);
 if($str = $jlip->getErrorStr()) {
     echo $str;
 } else {
     $thedate = date('r', $jlip->whenupdated);
 
     /* Print attributes */
     echo "<u>Found</u>\n";
     echo "Joomla IP: $jlip->ip\n";
     echo "City: $jlip->city\n";
     echo "Country: $jlip->country\n";
     echo "Latitude: $jlip->latitude\n";
     echo "Longitude: $jlip->longitude\n";
     echo "Updated: $thedate\n";
 }

