web/index.php
author hamidouk
Mon, 19 Dec 2011 17:26:45 +0100
changeset 29 5d56138abe95
parent 16 80360fde99e8
permissions -rw-r--r--
fixing another stupid bug.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
     2
<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
     3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
     4
<head>
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
     5
  <title>ENMI - entretiens préparatoires </title>
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
     6
  <link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow' rel='stylesheet' type='text/css'>
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
     7
  <link href="style.css" rel="stylesheet" type="text/css"> 
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
     8
  <script src="jquery.min.js" type="text/javascript"></script>
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
     9
  <script src="jquery.tools.min.js" type="text/javascript"></script>
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    10
  <script src="jquery-ui.js" type="text/javascript"></script>
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    11
</head>
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    12
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    13
<body>
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    14
  
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    15
  <div id="outer_div">
16
80360fde99e8 moved images to a subdir.
hamidouk
parents: 13
diff changeset
    16
  <img src="site_imgs/edition_2011.png" style="position: absolute; z-index: 3; margin-left: 12px;"></img>
8
3e62fc730d8c more integration.
hamidouk
parents: 7
diff changeset
    17
  <div id="banner">      
16
80360fde99e8 moved images to a subdir.
hamidouk
parents: 13
diff changeset
    18
  <a href=""><img src="site_imgs/enmi_logo.png"></img></a>
8
3e62fc730d8c more integration.
hamidouk
parents: 7
diff changeset
    19
  <ul class="menu">
3e62fc730d8c more integration.
hamidouk
parents: 7
diff changeset
    20
    <li class="menuUnderline"><a href="" class="menuText">Accueil</a></li>
13
8769a8877aeb "cms" changes.
hamidouk
parents: 8
diff changeset
    21
    <li class="menuUnderline"><a href="about.php" class="menuText">A propos</a></li>
8
3e62fc730d8c more integration.
hamidouk
parents: 7
diff changeset
    22
  </ul>
3e62fc730d8c more integration.
hamidouk
parents: 7
diff changeset
    23
  <div style="clear: both;"></div>
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    24
  </div>
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    25
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    26
  <div id="inner_div">
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    27
      <div id="intro_title">
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    28
        Séminaire préparatoire "Economie et technologies de la confiance"
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    29
      </div>
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    30
      <div id="index_content">      
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    31
      <?php
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    32
        $lines = file("entretiens.txt");
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    33
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    34
        /* thank you php docs */
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    35
        foreach ($lines as $line_num => $line) {
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    36
          if ($line[0] == "#")
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    37
            continue;
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    38
          
8
3e62fc730d8c more integration.
hamidouk
parents: 7
diff changeset
    39
          list($title, $author, $stream_id, $thumbnail, $date) = explode(";", $line);
7
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    40
          if (strlen($title) >= 37) {            
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    41
            $title = substr($title, 0, 35) . "...";            
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    42
          }
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    43
          
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    44
          echo "<div class='thumb'>" .
7
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    45
               "<a href='player.php?stream=$stream_id'><img class='thumbnail' src=$thumbnail alt='thumbnail'></img></a>" .
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    46
               "<div class='title'>$title</div>" .
8
3e62fc730d8c more integration.
hamidouk
parents: 7
diff changeset
    47
               "<div class='author'>par $author</div>" .
7
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    48
               "<div class='date'>$date</div>" .
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    49
               "</div>";
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    50
        }
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    51
      ?>      
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    52
      <div style="clear: both;"></div>
3
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    53
    </div>    
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    54
  </div>
3
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    55
  <div id="partners">    
16
80360fde99e8 moved images to a subdir.
hamidouk
parents: 13
diff changeset
    56
    <a href="http://www.iri.centrepompidou.fr" target="_blank"><img src="site_imgs/iri_logo.png"></a>
80360fde99e8 moved images to a subdir.
hamidouk
parents: 13
diff changeset
    57
    <a href="http://www.capdigital.com/" target="_blank"><img src="site_imgs/capd_logo.png"></a>
80360fde99e8 moved images to a subdir.
hamidouk
parents: 13
diff changeset
    58
    <a href="http://www.ensci.com/" target="_blank"><img src="site_imgs/ensci_logo.png"></a>
80360fde99e8 moved images to a subdir.
hamidouk
parents: 13
diff changeset
    59
    <a href="http://www.institut-telecom.fr/" target="_blank"><img src="site_imgs/institut_telecom_logo.png"></a>
80360fde99e8 moved images to a subdir.
hamidouk
parents: 13
diff changeset
    60
    <a href="http://fing.org" target="_blank"><img src="site_imgs/fing_logo.png"></a>
80360fde99e8 moved images to a subdir.
hamidouk
parents: 13
diff changeset
    61
    <a href="http://www.alcatel-lucent.com" target="_blank"><img src="site_imgs/alcatel_logo.png"></a>   
3
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    62
  </div>
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    63
  <div id="closing_div"></div>
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    64
</body>
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    65
</html>