| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 
 |  
<?
session_start();
include('login_admin.php');
 if($ligne[0]=="oui")
 {
  session_register("login"); 
  header ("Location: administration.php");
  echo $login;
 }
 else
 {
  echo "<h3><div align='center'>Vous ne disposez pas des droits neccessaires pour consulter cette page.</div></h3>";
  echo "<h5><div align='center'><a href='home.php'>Retour</a></div></h5>";
 }
?>
<html>
<head>
 
<title>Phototheque_sp</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
 
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
 
</head>
 
<body>
<div id="page">
<p id="prelude">Administration</p>
<br>
	<div id="main">
<?php
include('connexion.php');
// Combien d'entrées dans jeux_vidéos ?
$retour = mysql_query("SELECT COUNT(*) AS nbre_entrees FROM images");
$donnees = mysql_fetch_array($retour);
?>
 
Il y a <?php echo $donnees['nbre_entrees']; ?> photos disponibles.
 
<?php
mysql_close(); // Déconnexion de MySQL
?>
<br>
		<div id="ad_photo">
 <br>
 <h3>Gerer<span class="Style5"> photos</span></h3>
<li><a href="ajout_photo.php">Ajouter une photo</a></li> <br>
<li><a href="modif_photo.php">Modifier une photo</a></li> <br>
<li><a href="suppr_photo.php">Supprimer une photo</a></li> <br>
 
		</div>
 
		<div id="ad_client">
 <br>
 <h3>Gerer compte client</h3>
<li><a href="ajout_client.php">
 
  Ajouter un compte client</a></li> 
<br>
<li><a href="modif_client.php">Modifier un compte client</a></li> <br>
<li><a href="suppr_client.php">Supprimer un compte client</a></li> <br>
 
		</div>
 
	</div>
 
</div>
</div> <!-- end #page -->
 
 
</body>
</html> | 
Partager