function tooltip_dae_demander($id_projet) { global $db; $query = "select dae_demander.carte, CONCAT(demploi.nom,' ',demploi.prenom) as nom,CONCAT('upload/demploi/',YEAR(demploi.datdem),'/',demploi.id,'/',demploi.photo) as photo from dae_demander,demploi where dae_demander.carte = demploi.id and dae_demander.id_projet = {$id_projet}"; if (!$db->Query($query)) { $db->Kill($db->Error()); } $countrow = $db->RowCount(); if ($countrow == 0) { $output = " Pas de données"; } else { $output = '<table>'; while (!$db->EndOfSeek()) { $row = $db->Row(); $carte = $row->carte; $nom = $row->nom; $link = "#"; $photo = file_exists($row->photo) ? criimg($row->photo, 30, 30, 'png', $row->nom . ' (' . $row->carte . ')') : '<img src="img/user-thumb.png" width="30" height="30" style="border:" title="' . $row->nom . ' (' . $row->carte . ')" >'; $output .= "<tr> <td><a href=\"{$link}\">{$photo}</a></td><td><a href=\"{$link}\"><span class=\" tooltipsterlink \">{$nom} ({$carte})</span></td></tr>"; } $output .= "</table>"; } return $output; }
?> </em> </a></li> <!-- ################################################################################################ --> <ul class="nospace listing"> <?php while (!$db->EndOfSeek()) { $row = $db->Row(); ?> <li class="clear"> <div class="imgl borderedbox"> <?php echo criimg('upload/contenu/image/' . $row->img, 120, 120, 'png', $row->titre, 'pull-left img-polaroid', 'S'); ?> </div> <p class="nospace btmspace-15" ><a href="#" style="color:#F31712;"><?php echo $row->titre; ?> </a></p> <p>«<?php echo limitmot($row->content, 15); ?> ...»</p> <p class="right"><a href="compres-<?php echo $row->id . '-' . fl($row->titre);
$index = 0; ?> <?php while (!$db->EndOfSeek()) { $row = $db->Row(); ?> </br> <div id="act"> <div class="act thumbnail span12 div2"> <a href="news-<?php echo $row->id . '-' . fl($row->titre); ?> .html" class="acttitl"> <?php echo criimg('upload/news/' . $row->img, 80, 80, 'png', $row->titre, 'pull-left img-polaroid', 'S'); ?> <h4 class=""><?php echo limitmot($row->titre, 8); ?> ...</h4> <p class="text-info"> <?php echo limitmot($row->content, 30); ?> ... </p> </a> </br> </br> <div class="span11"> <small class="pull-left ">Par: <?php echo $row->autor . ' le ' . $row->dat; ?>
//Open the current directory if ($files = scandir($h, 1)) { $entry = $files[0]; if ($entry != '.' && $entry != '..') { $imagefile = 'upload/album/' . $row->id . '/' . $entry; } } ?> <li class="span4"><a href="photoshow-<?php echo $row->id; ?> .html" class="thumbnail"><?php echo criimg($imagefile, 200, 150, 'png', limitmot($row->titre, 6), ''); ?> </a></li> <?php } ?> </ul> <?php } ?> </div>
<li class="one_quarter <?php echo $first; ?> "> <a class="group4" data-lightbox-gallery="gallery1" href="upload/album/<?php echo $id; ?> /<?php echo $fichier; ?> " title="<?php echo delaccent($title); ?> "><?php echo criimg($imagefile, 213, 213, 'png', delaccent($title), 'borderedbox'); ?> </a></li> <?php $f++; } } closedir($dossier); } ?> </ul> </article> </figure> </div> <!-- ################################################################################################ -->
echo criimg('upload/page/' . $array['img'], 220, 220, 'png', $array['titre'], 'imgr borderedbox'); ?> <?php //Image Supplementaires $sqlimg = "SELECT id,titr" . LANG . " as titre,img,yimg,ximg from image where typ=1 and art=" . tg('id') . " and titr" . LANG . " IS NOT NULL "; if (!$db->Query($sqlimg)) { $db->Kill('ERROR IMAGE'); } if ($db->RowCount() > 0) { while (!$db->EndOfSeek()) { $row = $db->Row(); //$class= str_replace(".","",strrchr($row->img,'.')); echo criimg('upload/page/page_55', $row->ximg, $row->yimg, 'png', $row->titre, 'imgr borderedbox'); ?> <?php } } ?> <div class="comcont"> <p><?php echo $array['content']; ?> </p>
<!-- NAVIGATOR --> <div class="navigator-content"> <div class="navigator-wrapper"> <ul class="navigator-wrap-inner"> <?php global $db; if (!$db->Query("SELECT titr" . LANG . " as titre ,cont" . LANG . " as conten, id,img,app from news where slider=1 and titr" . LANG . " IS NOT NULL and flash = 0 order by id DESC limit 0,3")) { $db->Kill('Error5'); } while (!$db->EndOfSeek()) { $row = $db->Row(); ?> <li> <div> <?php echo criimg('upload/news/' . $row->img, 60, 40, 'png', $row->titre, "", "B"); ?> <h5> <?php echo $row->titre; ?> </h5> </div> </li> <?php } ?> </ul> </div>
<!-- MAIN CONTENT --> <div class="main-slider-content" > <ul class="sliders-wrap-inner"> <?php while (!$db->EndOfSeek()) { $row = $db->Row(); ?> <li> <a href="<?php echo LANG . '-news-' . $row->id . '-' . fl($row->titre); ?> .html"> <?php echo criimg('upload/news/' . $row->img, 382, 245, 'png', $row->titre, "", "B"); ?> </a> <div class="slider-description"> <div class="description-wrapper"> <h4><?php echo $row->titre; ?> </h4> <a class="readmore" href="<?php echo LANG . '-news-' . $row->id . '-' . fl($row->titre); ?>
?> <li class="one_quarter <?php echo $first; ?> "> <a class="group4" data-lightbox-gallery="gallery1" href="photo-<?php echo $row->id; ?> .html" title="<?php echo delaccent($row->titre); ?> "><?php echo criimg($imagefile, 213, 213, 'png', delaccent($row->titre), 'borderedbox'); ?> </a></li> <?php $f++; } } $pagination->render(); ?> </ul> </article> </figure> </div> <!-- ################################################################################################ --> <!-- ################################################################################################ -->