Guest User

Untitled

a guest
Nov 12th, 2013
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.80 KB | None | 0 0
  1. <?php
  2.     session_start();
  3.     ?>
  4.     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5.  
  6.     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
  7.  
  8.     <head>
  9.  
  10.      <meta http-equiv="content-type" content="text/html; charset=UTF-8" />    <link rel="stylesheet" href="style.css" />   
  11.      <title>SPECIATION</title>
  12.    
  13.     </head>
  14.     <body>
  15.  
  16.  
  17.     <?php
  18.     /* si le membre est connecte*/
  19.     if(isset ($_SESSION['id']))
  20.     {
  21.     if( $_SESSION['id']!="" || $_SESSION['pseudo']!="")
  22.     {
  23.     ?>
  24.     <a href="loginout.php">Deconnexion</a><br />
  25.     <?php
  26.     }
  27.     }
  28.     else
  29.     {
  30.     ?>
  31.     <a href="login.php">Connexion</a><br />
  32.     <a href="inscription.php">Inscription</a><br />
  33.     <?php
  34.     }
  35.     ?>
Advertisement
Add Comment
Please, Sign In to add comment