%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/alliance/domains/sedl.alnetis.fr/public_html/
Upload File :
Create Path :
Current File : /home/alliance/domains/sedl.alnetis.fr/public_html/a-gerer_lang.php

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

verif_co_admin();



//affichage du html
include("theme/html.php");
//affichage des metas
include("theme/meta.php");
echo "\n<title>Gestion des langues - ".$info_titresite."</title>\n";
//affichage du header
include("theme/header_admin.php");


?>

<div class="text_admin">
<h2>Langues</h2>
<?php
if(isset($_GET['msg']) && $_GET['msg']=="yes") {
	echo "<p class=\"infobloc\">Opération effectuée</p>";
}

/*$query = "SELECT id FROM categorie";
if($db->count($query) < 10)
{*/
	echo '<p><a href="admin/ajouter_langue.php" class="bouton">Créer une langue</a></p>';
/*}*/
?>
<ul class="adminlist">
<?php
$query="SELECT * FROM lang ORDER BY nom";
$langues=$db->select_arrays($query);

foreach ($langues as $unelangue):?>
	<li>
		<div style="background: #94CDFF;">
			<strong><?=$unelangue['nom']?></strong>
			<?if( $unelangue['id']!=1 && $unelangue['id']!=2): ?>
			&nbsp;<a href="admin/editer_langue.php?id=<?=$unelangue['id']?>">Modifier la langue</a>
			&nbsp;<a href="admin/suppr_langue.php?id=<?=$unelangue['id']?>" class="confirm">Supprimer la langue</a>
			<? endif; ?>
			
		</div>
	</li>

<?endforeach;?>
</ul>


</div>

<?

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

?>

Zerion Mini Shell 1.0