web/index.php
author hamidouk
Fri, 16 Dec 2011 11:46:21 +0100
changeset 7 a6496f95e0fc
parent 5 216bf65ed757
child 8 3e62fc730d8c
permissions -rw-r--r--
fixed a couple display bugs.
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">
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    16
  <img src="../crea/imgs/edition_2011.png" style="position: absolute; z-index: 3; margin-left: 12px;"></img>
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    17
      <div id="banner">      
7
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    18
      <a href=""><img src="../crea/imgs/enmi_logo.png"></img></a>
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    19
      <div style="clear: both;"></div>
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    20
  </div>
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    21
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    22
  <div id="inner_div">
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    23
      <div id="intro_title">
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    24
        Séminaire préparatoire "Economie et technologies de la confiance"
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    25
      </div>
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    26
      <div id="index_content">      
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    27
      <?php
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    28
        $lines = file("entretiens.txt");
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    29
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    30
        /* thank you php docs */
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    31
        foreach ($lines as $line_num => $line) {
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    32
          if ($line[0] == "#")
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    33
            continue;
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    34
          
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    35
          list($title, $stream_id, $thumbnail, $date) = explode(";", $line);
7
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    36
          if (strlen($title) >= 37) {            
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    37
            $title = substr($title, 0, 35) . "...";            
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    38
          }
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    39
          
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    40
          echo "<div class='thumb'>" .
7
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    41
               "<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
    42
               "<div class='title'>$title</div>" .
a6496f95e0fc fixed a couple display bugs.
hamidouk
parents: 5
diff changeset
    43
               "<div class='date'>$date</div>" .
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    44
               "</div>";
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    45
        }
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    46
      ?>      
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    47
      <div style="clear: both;"></div>
3
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    48
    </div>    
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    49
  </div>
3
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    50
  <div id="partners">    
5
216bf65ed757 style changes.
hamidouk
parents: 3
diff changeset
    51
    <a href="http://www.iri.centrepompidou.fr" target="_blank"><img src="../crea/imgs/iri_logo.png"></a>
3
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    52
    <a href="http://www.capdigital.com/" target="_blank"><img src="../crea/imgs/capd_logo.png"></a>
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    53
    <a href="http://www.ensci.com/" target="_blank"><img src="../crea/imgs/ensci_logo.png"></a>
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    54
    <a href="http://www.institut-telecom.fr/" target="_blank"><img src="../crea/imgs/institut_telecom_logo.png"></a>
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    55
    <a href="http://fing.org" target="_blank"><img src="../crea/imgs/fing_logo.png"></a>
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    56
    <a href="http://www.alcatel-lucent.com" target="_blank"><img src="../crea/imgs/alcatel_logo.png"></a>   
111a83349e90 changes to the branding.
hamidouk
parents: 0
diff changeset
    57
  </div>
0
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    58
  <div id="closing_div"></div>
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    59
</body>
d4dc097a6083 first import.
hamidouk
parents:
diff changeset
    60
</html>