Viewing file: dettaglio_sala.php (5.43 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
include('include_dir.php');
include($percorsoLingua.'include/include.php');
$grafica=new Tgrafica(false,false);
$grafica->titolo='';
$grafica->keywords='';
$grafica->description='';
$grafica->codicePagina=costantiP::CP_AFFITTO;
$grafica->codiceBody='page1';
$pagina = isset($_GET['pagina'])?$_GET['pagina']:1;
$idProd = isset($_GET['id'])?$_GET['id']:1;
$grafica->paint();
unset($grafica);
function corpo_pagina()
{global $elencoConfigurazioniImmagini, $idProd;
$prodotto = estraiProdotto($idProd);
$immaginiProdotto = estraiImmaginiProdotto($idProd);
$idCat = $prodotto['id_categoria'];
?>
<!-- Content
============================================= -->
<section id="content">
<div class="content-wrap nobottompadding">
<div class="container clearfix bottommargin">
<div class="row clearfix">
<div class="col-md-9">
<div class="heading-block">
<h3><?echo $prodotto['titolo_prodotto_'.costantiP::LINGUA]?></h3>
</div>
</div>
<div class="col-md-3 text-right">
<a href="<?=costantiP::BASE_URL.costantiP::LINGUA?>/affitto.php">← <?echo traduci('','RITORNA_ELENCO_SALE')?></a>
</div>
</div> <!--close row-->
<div class="row clearfix">
<div class="col-md-6">
<?echo $prodotto['testo_'.costantiP::LINGUA]?>
<h4 class="nomargin"><?echo traduci('','CAPIENZA')?></h4>
<p><?echo $prodotto['capienza_'.costantiP::LINGUA]?></p>
<h4 class="nomargin"><?echo traduci('','UTILIZZO')?></h4>
<?echo $prodotto['utilizzo_'.costantiP::LINGUA]?>
<h4 class="nomargin"><?echo traduci('','DOTAZIONI')?></h4>
<?echo $prodotto['dotazioni_'.costantiP::LINGUA]?>
<h4 class="nomargin"><?echo traduci('','SERVIZI_AGGIUNTIVI')?></h4>
<?echo $prodotto['servizi2_'.costantiP::LINGUA]?>
</div>
<div class="col-md-6">
<!-- Portfolio Single Gallery
============================================= -->
<div class="col_full portfolio-single-image masonry-thumbs col-2" data-lightbox="gallery">
<?
// IMMAGINI AMBIENTE SE PRESENTI
if (count($immaginiProdotto)>=1)
{
foreach ($immaginiProdotto as $immagine)
{
echo '<a href="'.costantiP::BASE_URL.'archivio_img/img_o/'.$immagine['img'].'" data-lightbox="gallery-item"><img class="image_fade" src="'.costantiP::BASE_URL.'archivio_img/img_o/'.$immagine['img'].'" alt="Museo Mille Miglia"></a>';
}
}
?>
</div><!-- .portfolio-single-image end -->
</div>
</div>
</div> <!--container end-->
<div class="section nobottommargin">
<div class="container clearfix">
<div class="row clearfix">
<div class="col-md-12">
<div>
<div class="heading-block center">
<h3><?echo traduci('','RICHIESTA_INFORMAZIONI')?></h3>
</div>
<div class="contact-widget">
<div class="contact-form-result"></div>
<form class="nobottommargin" id="template-contactform" name="template-contactform" action="contatti_action.php" method="post">
<div class="form-process"></div>
<div class="col_one_third">
<label for="template-contactform-name"><?echo traduci('','NOME')?> <small>*</small></label>
<input type="text" id="template-contactform-name" name="template-contactform-name" value="" class="sm-form-control required" />
</div>
<div class="col_one_third">
<label for="template-contactform-email">Email <small>*</small></label>
<input type="email" id="template-contactform-email" name="template-contactform-email" value="" class="required email sm-form-control" />
</div>
<div class="col_one_third col_last">
<label for="template-contactform-phone"><?echo traduci('','TELEFONO')?></label>
<input type="text" id="template-contactform-phone" name="template-contactform-phone" value="" class="sm-form-control" />
</div>
<div class="clear"></div>
<div class="col_full">
<label for="template-contactform-message"><?echo traduci('','MESSAGGIO')?> <small>*</small></label>
<textarea class="required sm-form-control" id="template-contactform-message" name="template-contactform-message" rows="6" cols="30"></textarea>
</div>
<div class="col_full hidden">
<input type="text" id="template-contactform-botcheck" name="template-contactform-botcheck" value="" class="sm-form-control" />
</div>
<div class="col_full">
<button class="button nomargin" type="submit" id="template-contactform-submit" name="template-contactform-submit" value="submit"><?echo traduci('','INVIA_RICHIESTA')?></button>
</div>
<input type="hidden" id="template-contactform-subject" name="template-contactform-subject" value="Richiesta per <?echo $prodotto['titolo_prodotto_'.costantiP::LINGUA]?>" class="sm-form-control" />
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div> <!--content-wrap end-->
</section> <!--content end-->
<?
}
function HeaderAggiuntivi()
{
?>
<?
}
?>
|