Esempio n. 1
0
/**
 * 
 * Affiche l'ensemble des balises d'une présentation de conférence
 *  
 * @param $conference doit être un objet de type Conference.
 */
function afficherDebutTag($conference)
{
    // affichage des attributs de l'évènement
    echo "<div class='titreSectionMultimedia'>";
    echo "<span class='typeContenuMultimedia'>" . $conference->getAttribut("type") . "</span>";
    echo "<span class='titreContenuMultimedia'>";
    echo $conference->getAttribut("titreConference");
    echo "</span>";
    //		echo('<span sctyle="background-color: #75BC29; color: white; font-size: 0.5em; float:right; margin-right: 20px; margin-top: 10px; padding-left: 1em; padding-right: 1em;">'.$conference->getTypeConference().'</span>');
    echo "</div>";
    //		echo('<img class="basSection" src="./images/basSection.png"/>');
    echo "<div class='resumeSection'>";
    echo "\t<div class='photoGauche'>";
    echo "\t\t<img src='" . getAliasURI() . "/images/portrait/" . $conference->getIcone() . "' />";
    echo "\t</div>";
    echo "\t<div class='presentationDroite'>";
    echo "\t\tAuteur : <span style='font-weight: normal;'>" . $conference->getAttribut("auteur") . "</span><br/>";
    echo "\t\tDate : <span style='font-weight: normal;'>" . $conference->getAttribut("date") . "</span><br/>";
    echo "\t\tOrateur extérieur : <span style='font-weight: normal;'>" . ucfirst($conference->getAttribut("invite")) . "</span><br/>";
    echo "\t\t<br/>";
    echo "\t</div>";
    echo "\t<div class='contenu'>";
    // vérification de la taille de la liste des fichiers dispo
    if (count($conference->getListeFichiers()) == 0) {
        echo "Les fichiers seront bientôt disponibles...";
    }
    // bouclage sur les fichiers de l'évenement
    echo '<table class="fichiersConference">';
    $i = 0;
    foreach ($conference->getListeFichiers() as $attributsFichier) {
        $lienRessource = getAliasURI() . $attributsFichier->getURI();
        if ($i % 2 == 0) {
            echo "<tr>";
        } else {
            echo "<tr class='impaire'>";
        }
        echo "<td style='width:80%'>" . $attributsFichier->getLibelle() . "&nbsp;</td>";
        echo "<td>";
        // 			echo("<object type=\"application/x-shockwave-flash\"
        // 					data=\"".getAliasURI()."/librairieWeb/dewplayer/dewplayer.swf?mp3=".$lienRessource."\"
        // 					width=\"200\"
        // 					height=\"20\"
        // 					top=\"20\"
        // 					id=\"dewplayer1\">");
        echo "<object type=\"application/x-shockwave-flash\"\n\t\t\t\t\tdata=\"" . getAliasURI() . "/librairieWeb/dewplayer/dewplayer.swf?mp3=" . getAliasURI() . "/lecture.php?lienDownload=" . $attributsFichier->getId() . "\"\n\t\t\t\t\twidth=\"200\"\n\t\t\t\t\theight=\"20\"\n\t\t\t\t\ttop=\"20\"\n\t\t\t\t\tid=\"dewplayer1\">";
        echo "<param name=\"wmode\" value=\"transparent\" />";
        echo "</object>";
        echo "</td>";
        echo "<td>";
        // 			$hrefDownload = getAliasURI()."/sonVideo/download.php?lienDownload=".$attributsFichier->getURI();
        $hrefDownload = getAliasURI() . "/download.php?lienDownload=" . $attributsFichier->getId();
        echo "<a href='" . $hrefDownload . "' class='lien'>Télécharger</a>";
        echo "</td>";
        echo "</tr>";
        $i++;
    }
    echo "</table>";
    echo "</br>";
    echo "<hr/>";
}
Esempio n. 2
0
function affichageActivites($journee)
{
    $lesActivites = $journee->getTableauActivites();
    foreach ($lesActivites as $activite) {
        if (strlen(trim($activite->getLibelle())) == 0) {
            continue;
        }
        echo "<div >&nbsp;";
        if ($activite->isImportant()) {
            echo "<img src='" . getAliasURI() . "/images/agendaAttention.png' />&nbsp;";
        } else {
            if ($activite->isInfo()) {
                echo "<img src='" . getAliasURI() . "/images/agendaInfo.png' />&nbsp;";
            } else {
                echo "<img src='" . getAliasURI() . "/images/vide.png' />&nbsp;";
            }
        }
        echo $activite->getLibelle();
        echo "</div><br/>";
    }
}
Esempio n. 3
0
gestionClassMenu(5);
?>
 href="informations.php">Informations</a>
			<a class=<?php 
gestionClassMenu(6);
?>
 href="ecouterEtVoir.php">Multimédia</a>
			<a class=<?php 
gestionClassMenu(7);
?>
 href="liens.php">Liens</a>
			
			<?php 
// gestion du menu 'Projet' s'il existe un projet en cours
$projetManager = getContexteUtilisateur()->getProjetManager();
if ($projetManager->unProjetEstEnCours()) {
    ?>
					<a class=<?php 
    gestionClassMenu(8);
    ?>
 href="projet.php"><img src="<?php 
    echo getAliasURI() . "/images/etoile.png";
    ?>
">&nbsp;Projet</a>
					<?php 
}
?>
			
			
		</div>
	</div>
Esempio n. 4
0
				<a class="lienImage" href="<?php 
echo getAliasURI();
?>
/images/carteLocalZoom.png" target="_blank">
					<img src="<?php 
echo getAliasURI();
?>
/images/carteLocal.png" style="width: 100%"/>
				</a>
				<br/>
				</div>				
			</div>
		</div>
		
<!--		<div style="text-align: center">-->
<!--			<img src="<?php 
echo getAliasURI();
?>
/images/plan.png" />-->
<!--			<br/>-->
<!--		</div>-->
		<br/><br/>
		<div style="clear: both"></div>
	</div>
	
	<?php 
include './include/_piedPage.php';
?>
	
</body>
</html>
Esempio n. 5
0
        }
        $i++;
    }
    return $urlImage;
}
?>
	<?php 
include_once '_ga.php';
?>

	
	
		<div class="enteteCommune">
			<!-- image de l'accueil (qui peut être différentes suivant la page où l'utilisateur se trouve -->	
			<img src="<?php 
echo getAliasURI() . gestionImageEntete();
?>
" />
		</div>
		
		<!-- Les différents menus accessibles -->
		<div class="menu" >
			<a class=<?php 
gestionClassMenu(0);
?>
 href="index.php">Accueil</a>
			<a class=<?php 
gestionClassMenu(1);
?>
 href="presentation.php">Pr&eacute;sentation</a>
			<a class=<?php