%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/alliance/domains/congress-intercultural.eu/public_html/
Upload File :
Create Path :
Current File : /home/alliance/domains/congress-intercultural.eu/public_html/a-liste_lang.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/Barre.php");

verif_co_admin();
$barre = new Barre;

$db = new BaseOps;

//affichage du html
include("theme/html.php");
//affichage des metas
include("theme/meta.php");
echo "\n<title>".$trad->t('List of language','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('List of language','admin',$lang->getlang())?></h2>
<?php
if(isset($_GET['msg']) && $_GET['msg']=="yes") {
	echo "<p class=\"infobloc\">Opération effectuée</p>";
}
?>
<p><a href="admin/ajouter_lang.php" class="bouton"><?=$trad->t('Add language','admin',$lang->getlang())?></a></p>

<ul class="adminlist">
<?php

$query = "SELECT * FROM lang ORDER BY nom";
if($db->isres($query))
{
	$result = $db->q($query);
	while( $data = mysql_fetch_assoc($result)) {
?>
	<li><div style="background: #295970; color: #fff !important;"><a href="admin/modifier_lang.php?id=<?php echo $data['id']; ?>" style="color: #fff !important;"><?php echo $data['nom']; ?></a></div></li>
<?php
	
	}
}
?>
</ul>

</div>

<?

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

?>

Zerion Mini Shell 1.0