Re : retrouver un contenu à modifier
à tous :
je pense que j'ai a priori un statut de manager sur le cms.
Voici le code complet du template si c'est ce que vous demandez :
ET ENCORE ET ENCORE MERCI
<?php
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$session = JFactory::getSession();
$itemId = JSite::getMenu()->getActive()->id ;
// ------------------------------ Langage uk ou fr
$doc = JFactory::getDocument();
$doc->setGenerator('');
$lang = $doc->language;
switch($lang){
case 'en-gb':
$lang = 'uk';
break;
case 'fr-fr':
$lang = 'fr';
break;
case 'de-de':
$lang = 'de';
break;
default :
$lang = 'fr';
break;
}
$session->set('lang',$lang);
// ------------------------------ Test accueil ou page interne
$menu = $app->getMenu();
if ($menu->getActive() == $menu->getDefault()) {
$front = true;
} else {
$front = false;
}
// ------------------------------ Récupération de l'id de catégorie
$db = & JFactory::getDBO();
if ($_GET['view'] == 'article') {
$query = "SELECT catid FROM joo_content WHERE id='" . $_GET['id'] . "'";
$db->setQuery($query);
$idcat = $db->loadResult();
}
if ($_GET['view'] == 'category') {
$idcat = $_GET['id'];
}
$query = "SELECT level FROM joo_categories WHERE id='" . $idcat . "'";
$db->setQuery($query);
$levelCat = $db->loadResult();
if($levelCat>1){
$query = "SELECT parent_id FROM joo_categories WHERE id='" . $idcat . "'";
$db->setQuery($query);
$idsubcat = $idcat;
$idcat = $db->loadResult();
} else {
unset($idsubcat);
}
$query = "SELECT title FROM joo_categories WHERE id='" . $idcat . "'";
$db->setQuery($query);
$nomcat = $db->loadResult();
// echo '<'.'?xml version="1.0" encoding="utf-8"?'.'>';
?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html dir="<?php echo $this->direction; ?>" >
<head>
<meta name="msvalidate.01" content="96E58025645C1AC1CD33630B974723AF" />
<!-- <meta name="Category" content="<?= $nomcat ?>" /> -->
<meta name="author" content="altimax" />
<script type="text/javascript">
var monSlideshow = [<?php
if($front){
$query = "SELECT * FROM tab_slideshow WHERE visible=1 ORDER BY ordre";
//echo $query;
} else {
//$query = "SELECT * FROM tab_slide WHERE visible=1 ORDER BY ordre";
$query = "SELECT * FROM tab_slide_options ";
$query .= "INNER JOIN tab_options ON tab_options.id=tab_slide_options.id_options ";
$query .= "LEFT JOIN tab_slide ON tab_slide.id=tab_slide_options.id_slide ";
$query .= "WHERE tab_slide.visible=1 AND tab_options.categorie=".$idcat;
}
$db->setQuery($query);
$slides = $db->loadAssocList();
if(!$slides){
$query = "SELECT * FROM tab_slide_options ";
$query .= "INNER JOIN tab_options ON tab_options.id=tab_slide_options.id_options ";
$query .= "LEFT JOIN tab_slide ON tab_slide.id=tab_slide_options.id_slide ";
$query .= "WHERE tab_slide.visible=1 AND tab_options.categorie=2";
}
$db->setQuery($query);
$slides = $db->loadAssocList();
$i = 0;
foreach($slides as $slide){
$i++;
if($i>1){echo',';}
echo "{image : 'http://www.radianaresort.com/images/files/".$slide['file_image']."', title : '".$slide['nom_ref']."', thumb : 'rien', url : 'rien'}";
}
?>]
</script>
<jdoc:include type="head" />
<link href="/templates/<?php echo $this->template; ?>/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<!-- <link rel="shortcut icon" href="favicon.ico" > -->
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/font-face.css" type="text/css" />
<!--
<link href='http://fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans:100,300,400,600,700' rel='stylesheet' type='text/css'>
-->
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/plugins/pickadate/themes/default.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/plugins/pickadate/themes/default.date.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/styles.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/editor.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/shadowbox.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/print.css" type="text/css" media="print" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/jquery.fancybox.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" type="text/css" media="screen" />
<? if(!$front){ ?>
<style type="text/css">
#supersized{height:450px;top:0px;position:absolute ;}
#supersized li{position:absolute;}
#sub_zero{height:450px;}
#z_content{top:450px;}
#bt_down,#slogan{display:none;}
#bullinfo{bottom:0px;}
#page{width:650px;}
</style>
<? } else { ?>
<style type="text/css">
.breadcrumbs{display:none;}
</style>
<? } ?>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/jquery.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/plugins/pickadate/picker.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/plugins/pickadate/picker.date.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/plugins/pickadate/legacy.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/supersized.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/jquery.easing.1.3.js"></script>
<?php if($front){echo '<script type="text/javascript">var front = true;</script>';}else{echo '<script type="text/javascript">var front = false;</script>';} ?>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/jquery.fancybox.pack.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/shadowbox.js"></script>
<script type="text/javascript" SRC='/templates/template/js/fbparam.js'></script>
<script type="text/javascript" SRC='/templates/template/js/fblib.js'></script>
<script type="text/javascript">
Shadowbox.init();
</script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/scripts.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51698883-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body onload='start();'>
<script>
var $buoop = {c:2};
function $buo_f(){
var e = document.createElement("script");
e.src = "//browser-update.org/update.js";
document.body.appendChild(e);
};
try {document.addEventListener("DOMContentLoaded", $buo_f,false)}
catch(e){window.attachEvent("onload", $buo_f)}
</script>
<div id="sub_zero">
<div id="supermask"></div>
<div id="supersize">
</div>
<div id="bt_slide_left"></div>
<div id="bt_slide_right"></div>
<div id="z_header">
<div id="h_left"></div>
<div id="h_right"></div>
<div id="header">
<div id="logo"><? if($front){ ?><h1><? } ?>
<a href="http://<?= $_SERVER['SERVER_NAME'] ?>">
<img src="templates/template/img/logo-radiana-resort.png" alt="montitre" />
</a>
<? if($front){ ?></h1><? } ?></div>
<div class="menu">
<ul>
<li class="mm2<? if($idcat==10){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB2') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm2" /></li>
<li class="mm3<? if($idcat==11){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB3') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm3" /></li>
<li class="mm4<? if($idcat==12){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB4') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm4" /></li>
<li class="mm1<? if($idcat==8){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB1') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm1" /></li>
<li class="mm6<? if($idcat==20){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB6') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm6" /></li>
<li class="mm5<? if($idcat==13){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB5') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm5" /></li>
</ul>
</div>
<div class="recherche">
<a class="lien_promos_et_actualites" href="<?= JRoute::_('index.php?Itemid=179'); ?>" title="<?= JText::_('PROMOS_ET_ACTUALITES'); ?>">
<?= JText::_('PROMOS_ET_ACTUALITES'); ?>
</a>
<ul class="lang-inline">
<li class="lang-active">
<a href="/en/">
<img src="/media/mod_falang/images/en.gif" alt="English (UK)" title="English (UK)" />
</a>
</li>
<li class="">
<a href="/fr/">
<img src="/media/mod_falang/images/fr.gif" alt="Français (FR)" title="Français (FR)" />
</a>
</li>
<li class="">
<a href="/de/">
<img src="/media/mod_falang/images/de.gif" alt="Deutsh (DE)" title="Deutsh (DE)" />
</a>
</li>
</ul>
<jdoc:include type="modules" name="rechercher" /></div>
</div>
<?php
if( $front == true )
$classe = "home";
else
$classe = "interne";
?>
<div class="push_moteur_home <?php echo $classe; ?>">
<?php if ($lang=="fr"){ ?>
<jdoc:include type="modules" name="moteur_resa" />
<?php } if ($lang=="uk"){ ?>
<jdoc:include type="modules" name="moteur_resa_en" />
<?php } if ($lang=="de"){ ?>
<jdoc:include type="modules" name="moteur_resa_en" />
<?php } ?>
</div>
</div>
<div id="slogan">
<?php
$i = 0;
foreach($slides as $slide){
?>
<div id="slidetxt<?= $i ?>" class="slidetxt">
<?php if($lang=='uk'){$ext = '_uk';}else if($lang=='de'){$ext = '_de';}else{$ext = '';} ?>
<div class="s1"><div class="start"></div><p><?= $slide['accroche_l1'.$ext] ?></p></div>
<div class="s2"><div class="start"></div><p><?= $slide['accroche_l2'.$ext] ?></p></div>
<div class="s3"><div class="start"></div><p><?= $slide['accroche_l3'.$ext] ?></p></div>
</div>
<? $i++;} ?>
</div>
<div id="z_footer">
<div id="footer">
<?php include_once('php/news_promos.php'); ?>
<div id="bt_down"></div>
</div>
</div>
</div>
<div id="z_content">
<div class="ombrage"></div>
<div id="content">
<? if(!$front){ ?>
<div class="menu">
<?php
$categories = array(8,10,11,12,13,20);
if(in_array($idcat,$categories)){
?>
<p class="titre_categorie"><strong><?= $nomcat ?></strong></p>
<? } ?>
<? if($idcat==8){ ?><jdoc:include type="modules" name="left_mm1" /><? } ?>
<? if($idcat==10){ ?><jdoc:include type="modules" name="left_mm2" /><? } ?>
<? if($idcat==11){ ?><jdoc:include type="modules" name="left_mm3" /><? } ?>
<? if($idcat==12){ ?><jdoc:include type="modules" name="left_mm4" /><? } ?>
<? if($idcat==20){ ?><jdoc:include type="modules" name="left_mm6" /><? } ?>
<? if($idcat==13){ ?><jdoc:include type="modules" name="left_mm5" /><? } ?>
<? if(in_array($idcat,$categories)){ ?><div class="bigfoot"></div><? } ?>
<?php if ($lang=="fr" && $itemId != 164){ ?>
<jdoc:include type="modules" name="moteur_resa" />
<?php } if ($lang=="uk" && $itemId != 164){ ?>
<jdoc:include type="modules" name="moteur_resa_en" />
<?php } if ($lang=="de" && $itemId != 164){ ?>
<jdoc:include type="modules" name="moteur_resa_en" />
<?php } ?>
<? if($_GET['Itemid']==139){ ?><a href="http://www.radiana.net/swf/chambres.html" rel="shadowbox;height=500;width=700" class="detail-chambres fancybox"><span><?php echo JText::_('DETAILCHAMBRES'); ?></span></a><? } ?>
<?php
//if($lang=='fr'){$contactPage = 'contact-reservations';}else{$contactPage = 'contact-reservations';}
?>
<?php if($idcat==8){ // SPA THERMAL ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact-odeslauzes<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } else if($idcat==10){ // HOTEL RESIDENCES ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } else if($idcat==9){ // LA LECHERE ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } else if($idcat==20){ // THERMES ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact-radiana-resort<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } else { // AUTRES ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } ?>
<!-- Réservation restaurant -->
<?php if($idcat == 11){
echo "<a id='logo_je_reserve' class='$lang' data-fancybox-type='iframe' href='https://module.lafourchette.com/fr_FR/module/33839-c2412' target='_blank' title='Je réserve'>
<img src='/templates/template/img/restaurant_icone_$lang.png' alt='Je réserve' />
</a>";
}
?>
<script>
jQuery("#logo_je_reserve").fancybox({
maxWidth : 550,
maxHeight : 650,
fitToView : false,
width : 550,
height : 650,
autoSize : 'auto',
closeClick : true,
openEffect : 'elastic',
closeEffect : 'elastic',
closeBtn: true
});
</script>
<!-- GALERIE PHOTOS -->
<?php if($lang == "fr"){ ?>
<div class="push"><a href="galerie-photos.html" title="Consulter la galerie photos"><img src="templates/template/img/galerie_photos.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php }else if($lang == "de"){ ?>
<div class="push"><a href="galerie-photos.html" title="Consulter la galerie photos"><img src="templates/template/img/photo_gallery_de.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php }else{ ?>
<div class="push"><a href="galerie-photos.html" title="Consulter la galerie photos"><img src="templates/template/img/photo_gallery.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } ?>
<?php if(empty($ext)){ ?>
<!--<div class="push"><a href="contact-reservations.html" title="Inscrivez-vous à la newsletter"><img src="templates/template/img/newsletter-subscription.png" alt="Inscrivez-vous à la newsletter" /></a></div>-->
<?php } else { ?>
<!--<div class="push"><a href="contact-reservations.html" title="Subscribe to newsletter"><img src="templates/template/img/newsletter-subscription<?//= $ext ?>.png" alt="Subscribe to newsletter" /></a></div>-->
<?php } ?>
</div>
<? } ?>
<div id="page">
<?php
/*
echo '<p>';
echo $idcat;
if($idsubcat){echo '/'.$idsubcat;}
echo '</p>';
*/
?>
<jdoc:include type="modules" name="ariane" />
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="menu_promos_et_actus" />
</div>
<div class="clear"></div>
</div>
<div id="zbf"><div id="bottom_footer">
<div id="bt_up"></div>
<div class="menu">
<div class="colonne_footer"><h2><?= JText::_('RUB2FT') ?></h2><jdoc:include type="modules" name="footer_mm2" /></div>
<div class="colonne_footer"><h2><?= JText::_('RUB3FT') ?></h2><jdoc:include type="modules" name="footer_mm3" /></div>
<div class="colonne_footer"><h2><?= JText::_('RUB4FT') ?></h2><jdoc:include type="modules" name="footer_mm4" /></div>
<div class="colonne_footer"><h2><?= JText::_('RUB1FT') ?></h2><jdoc:include type="modules" name="footer_mm1" /></div>
<?php /* <div class="colonne_footer"><h3><?= JText::_('RUB6FT') ?></h3><jdoc:include type="modules" name="footer_mm6" /></div> */ ?>
<div class="colonne_footer"><h2><?= JText::_('RUB5FT') ?></h2><jdoc:include type="modules" name="footer_mm5" /></div>
<div class="colonne_footer"><h2><?= JText::_('RUB6FT') ?></h2><jdoc:include type="modules" name="footer_mm6" /></div>
<div class="colonne_footer"><h2><?= JText::_('INFOS') ?></h2><jdoc:include type="modules" name="footer_mmPlus" /></div>
<div class="clear"><p> </p></div>
<div class="footer"><jdoc:include type="modules" name="menu_footer" /></div>
<div id="logo_lalechere">
<a href="http://www.lalechere.com" target="_blank" title="Thermes La Lechère"><img src="templates/template/img/logo-la-lechere.png" alt="Thermes La Lechère" /></a>
</div>
<!--
<div id="logo_valmorel">
<a href="http://www.valmorel.com/hiver/vacances/la-lechere-thermale.html" target="_blank" title="Valmorel"><img src="images/logo-valmorel.png" alt="Valmorel" /></a>
</div>
-->
</div>
<div class="clear"></div>
</div></div>
</div>
<a id="altimax" href="http://www.altimax.com" target="_blank" title="Réalisation Altimax"></a>
<?php
// echo $_GET['Itemid'];
?>
</body>
</html>
à tous :
je pense que j'ai a priori un statut de manager sur le cms.
Voici le code complet du template si c'est ce que vous demandez :
ET ENCORE ET ENCORE MERCI
<?php
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$session = JFactory::getSession();
$itemId = JSite::getMenu()->getActive()->id ;
// ------------------------------ Langage uk ou fr
$doc = JFactory::getDocument();
$doc->setGenerator('');
$lang = $doc->language;
switch($lang){
case 'en-gb':
$lang = 'uk';
break;
case 'fr-fr':
$lang = 'fr';
break;
case 'de-de':
$lang = 'de';
break;
default :
$lang = 'fr';
break;
}
$session->set('lang',$lang);
// ------------------------------ Test accueil ou page interne
$menu = $app->getMenu();
if ($menu->getActive() == $menu->getDefault()) {
$front = true;
} else {
$front = false;
}
// ------------------------------ Récupération de l'id de catégorie
$db = & JFactory::getDBO();
if ($_GET['view'] == 'article') {
$query = "SELECT catid FROM joo_content WHERE id='" . $_GET['id'] . "'";
$db->setQuery($query);
$idcat = $db->loadResult();
}
if ($_GET['view'] == 'category') {
$idcat = $_GET['id'];
}
$query = "SELECT level FROM joo_categories WHERE id='" . $idcat . "'";
$db->setQuery($query);
$levelCat = $db->loadResult();
if($levelCat>1){
$query = "SELECT parent_id FROM joo_categories WHERE id='" . $idcat . "'";
$db->setQuery($query);
$idsubcat = $idcat;
$idcat = $db->loadResult();
} else {
unset($idsubcat);
}
$query = "SELECT title FROM joo_categories WHERE id='" . $idcat . "'";
$db->setQuery($query);
$nomcat = $db->loadResult();
// echo '<'.'?xml version="1.0" encoding="utf-8"?'.'>';
?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html dir="<?php echo $this->direction; ?>" >
<head>
<meta name="msvalidate.01" content="96E58025645C1AC1CD33630B974723AF" />
<!-- <meta name="Category" content="<?= $nomcat ?>" /> -->
<meta name="author" content="altimax" />
<script type="text/javascript">
var monSlideshow = [<?php
if($front){
$query = "SELECT * FROM tab_slideshow WHERE visible=1 ORDER BY ordre";
//echo $query;
} else {
//$query = "SELECT * FROM tab_slide WHERE visible=1 ORDER BY ordre";
$query = "SELECT * FROM tab_slide_options ";
$query .= "INNER JOIN tab_options ON tab_options.id=tab_slide_options.id_options ";
$query .= "LEFT JOIN tab_slide ON tab_slide.id=tab_slide_options.id_slide ";
$query .= "WHERE tab_slide.visible=1 AND tab_options.categorie=".$idcat;
}
$db->setQuery($query);
$slides = $db->loadAssocList();
if(!$slides){
$query = "SELECT * FROM tab_slide_options ";
$query .= "INNER JOIN tab_options ON tab_options.id=tab_slide_options.id_options ";
$query .= "LEFT JOIN tab_slide ON tab_slide.id=tab_slide_options.id_slide ";
$query .= "WHERE tab_slide.visible=1 AND tab_options.categorie=2";
}
$db->setQuery($query);
$slides = $db->loadAssocList();
$i = 0;
foreach($slides as $slide){
$i++;
if($i>1){echo',';}
echo "{image : 'http://www.radianaresort.com/images/files/".$slide['file_image']."', title : '".$slide['nom_ref']."', thumb : 'rien', url : 'rien'}";
}
?>]
</script>
<jdoc:include type="head" />
<link href="/templates/<?php echo $this->template; ?>/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<!-- <link rel="shortcut icon" href="favicon.ico" > -->
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/font-face.css" type="text/css" />
<!--
<link href='http://fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans:100,300,400,600,700' rel='stylesheet' type='text/css'>
-->
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/plugins/pickadate/themes/default.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/plugins/pickadate/themes/default.date.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/styles.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/editor.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/shadowbox.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/print.css" type="text/css" media="print" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/jquery.fancybox.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" type="text/css" media="screen" />
<? if(!$front){ ?>
<style type="text/css">
#supersized{height:450px;top:0px;position:absolute ;}
#supersized li{position:absolute;}
#sub_zero{height:450px;}
#z_content{top:450px;}
#bt_down,#slogan{display:none;}
#bullinfo{bottom:0px;}
#page{width:650px;}
</style>
<? } else { ?>
<style type="text/css">
.breadcrumbs{display:none;}
</style>
<? } ?>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/jquery.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/plugins/pickadate/picker.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/plugins/pickadate/picker.date.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/plugins/pickadate/legacy.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/supersized.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/jquery.easing.1.3.js"></script>
<?php if($front){echo '<script type="text/javascript">var front = true;</script>';}else{echo '<script type="text/javascript">var front = false;</script>';} ?>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/jquery.fancybox.pack.js"></script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/shadowbox.js"></script>
<script type="text/javascript" SRC='/templates/template/js/fbparam.js'></script>
<script type="text/javascript" SRC='/templates/template/js/fblib.js'></script>
<script type="text/javascript">
Shadowbox.init();
</script>
<script src="<?= $this->baseurl ?>/templates/<?= $this->template ?>/js/scripts.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51698883-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body onload='start();'>
<script>
var $buoop = {c:2};
function $buo_f(){
var e = document.createElement("script");
e.src = "//browser-update.org/update.js";
document.body.appendChild(e);
};
try {document.addEventListener("DOMContentLoaded", $buo_f,false)}
catch(e){window.attachEvent("onload", $buo_f)}
</script>
<div id="sub_zero">
<div id="supermask"></div>
<div id="supersize">
</div>
<div id="bt_slide_left"></div>
<div id="bt_slide_right"></div>
<div id="z_header">
<div id="h_left"></div>
<div id="h_right"></div>
<div id="header">
<div id="logo"><? if($front){ ?><h1><? } ?>
<a href="http://<?= $_SERVER['SERVER_NAME'] ?>">
<img src="templates/template/img/logo-radiana-resort.png" alt="montitre" />
</a>
<? if($front){ ?></h1><? } ?></div>
<div class="menu">
<ul>
<li class="mm2<? if($idcat==10){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB2') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm2" /></li>
<li class="mm3<? if($idcat==11){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB3') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm3" /></li>
<li class="mm4<? if($idcat==12){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB4') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm4" /></li>
<li class="mm1<? if($idcat==8){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB1') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm1" /></li>
<li class="mm6<? if($idcat==20){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB6') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm6" /></li>
<li class="mm5<? if($idcat==13){echo ' active';} ?>"><span class="lien"><?= JText::_('RUB5') ?></span><span class="deco"></span><jdoc:include type="modules" name="mm5" /></li>
</ul>
</div>
<div class="recherche">
<a class="lien_promos_et_actualites" href="<?= JRoute::_('index.php?Itemid=179'); ?>" title="<?= JText::_('PROMOS_ET_ACTUALITES'); ?>">
<?= JText::_('PROMOS_ET_ACTUALITES'); ?>
</a>
<ul class="lang-inline">
<li class="lang-active">
<a href="/en/">
<img src="/media/mod_falang/images/en.gif" alt="English (UK)" title="English (UK)" />
</a>
</li>
<li class="">
<a href="/fr/">
<img src="/media/mod_falang/images/fr.gif" alt="Français (FR)" title="Français (FR)" />
</a>
</li>
<li class="">
<a href="/de/">
<img src="/media/mod_falang/images/de.gif" alt="Deutsh (DE)" title="Deutsh (DE)" />
</a>
</li>
</ul>
<jdoc:include type="modules" name="rechercher" /></div>
</div>
<?php
if( $front == true )
$classe = "home";
else
$classe = "interne";
?>
<div class="push_moteur_home <?php echo $classe; ?>">
<?php if ($lang=="fr"){ ?>
<jdoc:include type="modules" name="moteur_resa" />
<?php } if ($lang=="uk"){ ?>
<jdoc:include type="modules" name="moteur_resa_en" />
<?php } if ($lang=="de"){ ?>
<jdoc:include type="modules" name="moteur_resa_en" />
<?php } ?>
</div>
</div>
<div id="slogan">
<?php
$i = 0;
foreach($slides as $slide){
?>
<div id="slidetxt<?= $i ?>" class="slidetxt">
<?php if($lang=='uk'){$ext = '_uk';}else if($lang=='de'){$ext = '_de';}else{$ext = '';} ?>
<div class="s1"><div class="start"></div><p><?= $slide['accroche_l1'.$ext] ?></p></div>
<div class="s2"><div class="start"></div><p><?= $slide['accroche_l2'.$ext] ?></p></div>
<div class="s3"><div class="start"></div><p><?= $slide['accroche_l3'.$ext] ?></p></div>
</div>
<? $i++;} ?>
</div>
<div id="z_footer">
<div id="footer">
<?php include_once('php/news_promos.php'); ?>
<div id="bt_down"></div>
</div>
</div>
</div>
<div id="z_content">
<div class="ombrage"></div>
<div id="content">
<? if(!$front){ ?>
<div class="menu">
<?php
$categories = array(8,10,11,12,13,20);
if(in_array($idcat,$categories)){
?>
<p class="titre_categorie"><strong><?= $nomcat ?></strong></p>
<? } ?>
<? if($idcat==8){ ?><jdoc:include type="modules" name="left_mm1" /><? } ?>
<? if($idcat==10){ ?><jdoc:include type="modules" name="left_mm2" /><? } ?>
<? if($idcat==11){ ?><jdoc:include type="modules" name="left_mm3" /><? } ?>
<? if($idcat==12){ ?><jdoc:include type="modules" name="left_mm4" /><? } ?>
<? if($idcat==20){ ?><jdoc:include type="modules" name="left_mm6" /><? } ?>
<? if($idcat==13){ ?><jdoc:include type="modules" name="left_mm5" /><? } ?>
<? if(in_array($idcat,$categories)){ ?><div class="bigfoot"></div><? } ?>
<?php if ($lang=="fr" && $itemId != 164){ ?>
<jdoc:include type="modules" name="moteur_resa" />
<?php } if ($lang=="uk" && $itemId != 164){ ?>
<jdoc:include type="modules" name="moteur_resa_en" />
<?php } if ($lang=="de" && $itemId != 164){ ?>
<jdoc:include type="modules" name="moteur_resa_en" />
<?php } ?>
<? if($_GET['Itemid']==139){ ?><a href="http://www.radiana.net/swf/chambres.html" rel="shadowbox;height=500;width=700" class="detail-chambres fancybox"><span><?php echo JText::_('DETAILCHAMBRES'); ?></span></a><? } ?>
<?php
//if($lang=='fr'){$contactPage = 'contact-reservations';}else{$contactPage = 'contact-reservations';}
?>
<?php if($idcat==8){ // SPA THERMAL ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact-odeslauzes<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } else if($idcat==10){ // HOTEL RESIDENCES ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } else if($idcat==9){ // LA LECHERE ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } else if($idcat==20){ // THERMES ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact-radiana-resort<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } else { // AUTRES ?>
<div class="push"><a href="contact-reservations.html" title="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex"><img src="templates/template/img/contact<?= $ext ?>.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } ?>
<!-- Réservation restaurant -->
<?php if($idcat == 11){
echo "<a id='logo_je_reserve' class='$lang' data-fancybox-type='iframe' href='https://module.lafourchette.com/fr_FR/module/33839-c2412' target='_blank' title='Je réserve'>
<img src='/templates/template/img/restaurant_icone_$lang.png' alt='Je réserve' />
</a>";
}
?>
<script>
jQuery("#logo_je_reserve").fancybox({
maxWidth : 550,
maxHeight : 650,
fitToView : false,
width : 550,
height : 650,
autoSize : 'auto',
closeClick : true,
openEffect : 'elastic',
closeEffect : 'elastic',
closeBtn: true
});
</script>
<!-- GALERIE PHOTOS -->
<?php if($lang == "fr"){ ?>
<div class="push"><a href="galerie-photos.html" title="Consulter la galerie photos"><img src="templates/template/img/galerie_photos.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php }else if($lang == "de"){ ?>
<div class="push"><a href="galerie-photos.html" title="Consulter la galerie photos"><img src="templates/template/img/photo_gallery_de.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php }else{ ?>
<div class="push"><a href="galerie-photos.html" title="Consulter la galerie photos"><img src="templates/template/img/photo_gallery.png" alt="Contacter les Thermes de La lechères BP2 73261 Aigueblanche Cedex" /></a></div>
<?php } ?>
<?php if(empty($ext)){ ?>
<!--<div class="push"><a href="contact-reservations.html" title="Inscrivez-vous à la newsletter"><img src="templates/template/img/newsletter-subscription.png" alt="Inscrivez-vous à la newsletter" /></a></div>-->
<?php } else { ?>
<!--<div class="push"><a href="contact-reservations.html" title="Subscribe to newsletter"><img src="templates/template/img/newsletter-subscription<?//= $ext ?>.png" alt="Subscribe to newsletter" /></a></div>-->
<?php } ?>
</div>
<? } ?>
<div id="page">
<?php
/*
echo '<p>';
echo $idcat;
if($idsubcat){echo '/'.$idsubcat;}
echo '</p>';
*/
?>
<jdoc:include type="modules" name="ariane" />
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="menu_promos_et_actus" />
</div>
<div class="clear"></div>
</div>
<div id="zbf"><div id="bottom_footer">
<div id="bt_up"></div>
<div class="menu">
<div class="colonne_footer"><h2><?= JText::_('RUB2FT') ?></h2><jdoc:include type="modules" name="footer_mm2" /></div>
<div class="colonne_footer"><h2><?= JText::_('RUB3FT') ?></h2><jdoc:include type="modules" name="footer_mm3" /></div>
<div class="colonne_footer"><h2><?= JText::_('RUB4FT') ?></h2><jdoc:include type="modules" name="footer_mm4" /></div>
<div class="colonne_footer"><h2><?= JText::_('RUB1FT') ?></h2><jdoc:include type="modules" name="footer_mm1" /></div>
<?php /* <div class="colonne_footer"><h3><?= JText::_('RUB6FT') ?></h3><jdoc:include type="modules" name="footer_mm6" /></div> */ ?>
<div class="colonne_footer"><h2><?= JText::_('RUB5FT') ?></h2><jdoc:include type="modules" name="footer_mm5" /></div>
<div class="colonne_footer"><h2><?= JText::_('RUB6FT') ?></h2><jdoc:include type="modules" name="footer_mm6" /></div>
<div class="colonne_footer"><h2><?= JText::_('INFOS') ?></h2><jdoc:include type="modules" name="footer_mmPlus" /></div>
<div class="clear"><p> </p></div>
<div class="footer"><jdoc:include type="modules" name="menu_footer" /></div>
<div id="logo_lalechere">
<a href="http://www.lalechere.com" target="_blank" title="Thermes La Lechère"><img src="templates/template/img/logo-la-lechere.png" alt="Thermes La Lechère" /></a>
</div>
<!--
<div id="logo_valmorel">
<a href="http://www.valmorel.com/hiver/vacances/la-lechere-thermale.html" target="_blank" title="Valmorel"><img src="images/logo-valmorel.png" alt="Valmorel" /></a>
</div>
-->
</div>
<div class="clear"></div>
</div></div>
</div>
<a id="altimax" href="http://www.altimax.com" target="_blank" title="Réalisation Altimax"></a>
<?php
// echo $_GET['Itemid'];
?>
</body>
</html>
Commentaire