Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • e5f2b87c6bf263fb04fca17aa46f36d2595b5b6e
  • master par défaut protégée
  • rust-playlist-sync
  • rust
  • fix-qt-deprecated-qvariant-type
  • fix-mpris-qtwindow-race-condition
  • rust-appimage-wayland
  • windows-build-rebased
  • v2.5 protégée
  • v2.4 protégée
  • v2.3-1 protégée
  • v2.3 protégée
  • v2.2 protégée
  • v2.1 protégée
  • v2.0 protégée
  • v1.8-3 protégée
  • v1.8-2 protégée
  • v1.8-1 protégée
  • v1.8 protégée
  • v1.7 protégée
  • v1.6 protégée
  • v1.5 protégée
  • v1.4 protégée
  • v1.3 protégée
  • v1.2 protégée
  • v1.1 protégée
  • v1.0 protégée
27 résultats

CMakeLists.txt

Blame
  • accueil.php 3,53 Kio
    <?php
    require_once"fonction.php";
    $bdd=bdd();
    ?>
    
    <!DOCTYPE html>
    <html lang="en">
    <head>
      <title>Com-Ensiie</title>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <link rel="stylesheet" href="./bootstrap/css/bootstrap.css">
      <script src="./bootstrap/js/jquery.min.js"></script>
      <script src="./bootstrap/js/bootstrap.min.js"></script>
    </head>
    <body>
      <div class="container-fluid">
      <div class="jumbotron">
          <h1><span style="color: white">Com-Ensiie</span></h1>
          <?php
          if(isset($_SESSION['id']))
          {
            $pseudo = $_SESSION['pseudo'];
          ?>
          <div>
           <button type="button" class="btn btn-success btn-right" onclick="location.href='./deconnexion.php'" >Deconnexion</button>
           <button type="button" class="btn btn-success btn-right" onclick="location.href='./edit.php'" >Edit</button>
           <label for="hello"><?php echo "Bonjour, $pseudo";?></label>
          </div>
          <?php
          }
          else
          {
          ?>
            </div>
            <button type="button" class="btn btn-success btn-right" onclick="location.href='./login.php'" >Log In</button>
            <button type="button" class="btn btn-success btn-right" onclick="location.href='./register.php'">Register</button>
            </div>
          <?php
          }
          ?>
    
        <nav class="navbar navbar-inverse">
          <div class="navbar-header">
            <a class="navbar-brand" href="accueil.php">Com-Ensiie</a>
          </div>
            <ul class="nav navbar-nav">
              <li class="dropdown active"><a class="dropdown-toggle" data-toggle="dropdown" href="./topiclist.php">Commercial <span class="caret"></span></a>
                <ul class="dropdown-menu">
                  <li><a id="cat" href="./topiclist.php">Multimédia</a></li>
                  <li><a id="cat" href="./topiclist.php">Vêtement</a></li>
                  <li><a id="cat" href="./topiclist.php">Animal</a></li>
                  <li><a id="cat" href="./topiclist.php">Autre</a></li>
                </ul>
              </li>
            </ul>
        </nav>
    </div>
    
    
    
    <div class="container-fluid text-center">    
      <div class="row content">
        <div class="col-sm-2 sidenav">
          <p><a href="#">Link</a></p>
          <p><a href="#">Link</a></p>
          <p><a href="#">Link</a></p>
        </div>
      
        <div class="col-lg-8 text-left"> 
          <table id="tableAccueil">
                <col width="50%">
                <col width="50%">
                <tbody>
                <tr  class="accueil">
                  <td>
                    <a href="./topiclist.php">
                      <img src="./img/Multimedia.jpg" alt="Multimedia" style="width:180px;height:120px">
                      <p id="mPic">Multimédia</p>
                    </a>
                  </td>
                  <td>
                    <a href="./topiclist.php">
                      <img src="./img/vetement.png" alt="Vetement" style="width:180px;height:120px">
                      <p id="vPic">Vêtement</p>
                    </a>
                  </td>
                </tr>
                <tr class="accueil">
                  <td>
                    <a href="./topiclist.php">
                      <img src="./img/animal.jpg" alt="Multimedia" style="width:150px;height:120px">
                      <p id="aPic">Animal</p>
                    </a>
                  </td>
                  <td>
                    <a href="./topiclist.php">
                      <img src="./img/autre.png" alt="Autre" style="width:180px;height:120px">
                      <p id="oPic">Autre</p>
                    </a>
                  </td>
                </tr>
                </tbody>
          </table>
        </div>
      
        
      </div>   
      <div class="footer">
    
      </div>
    </div>
    </body>
    </html>