Файловый менеджер - Редактировать - /home/asmplong/www/inc.real.php
Назад
<div class="realisations my-5"> <div class="container text-center"> <?php if($_SERVER['PHP_SELF'] == $path_self.'multi.php') { $sql = "SELECT * FROM ".$db_prefixe."ref WHERE categ = '".$id."' ORDER BY date DESC LIMIT 12"; ?> <h2>Les installations de "<?php echo strtolower($ref_title); ?>" de Domotec</h2> <p>Voici quelques exemples d'installations de <strong><?php echo strtolower($ref_title); ?></strong> réalisées par notre société, Domotec :</p> <?php } else { $sql = "SELECT * FROM ".$db_prefixe."ref ORDER BY date DESC LIMIT 12"; ?> <h2>Les installations de climatisation et chauffage de Domotec</h2> <p>Voici quelques illustrations de <strong>nos installations dans les domaines des énergies renouvelables</strong> (solaire photovoltaïque et thermique, pompes à chaleur...), des systèmes de chauffage et climatisation...</p> <?php } $req = mysqli_query($connect,$sql); if (mysqli_num_rows($req) == 0) { echo 'Pas de données pour le moment'; } else { echo '<div class="row slide-real pt-4">'; while($data_ref = mysqli_fetch_array($req)) { $id = $data_ref['id']; $titre = $data_ref['titre']; $clean_titre = Clean($titre); $description = $data_ref['description']; $description = Tronque($description,'140'); $categ = $data_ref['categ']; $req_categ = mysqli_query($connect,"SELECT multi_title FROM ".$db_prefixe."multi WHERE multi_id='".$categ."'"); $data_categ = mysqli_fetch_array($req_categ); $categ = Clean($data_categ['multi_title']); $photo = $data_ref['photo']; ?> <div class="col-lg-3 col-md-4 col-sm-6"> <div class="li_actu"> <a href="installation-<?php echo $categ.'/'.$clean_titre.'-'.$id.'.html'; ?>" title="Installation <?php echo $titre.' - Domotec'; ?>" class="actu_img fx-zoom"><img src="img/realisations/<?php echo $id.'/'.$photo; ?>" alt="<?php echo $categ; ?>" class="img-fluid" /></a> <div> <h3 class="titre-real-home"><a href="installation-<?php echo $categ.'/'.$clean_titre.'-'.$id.'.html'; ?>" title="Installation <?php echo $titre.' - Domotec'; ?>"><?php echo $titre ?></a></h3> </div> </div> </div> <?php } echo ' <button type="button" class="slick-prev">Previous</button> <button type="button" class="slick-next">Next</button> </div>'; } ?> <a href="realisations.html" title="Les réalisations de Domotec : vente et installation de climatisation à Aix en Provence" class="btn btn-bleu">Toutes nos réalisations</a> </div> </div>
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка