equal
deleted
inserted
replaced
13 <body> |
13 <body> |
14 |
14 |
15 <div id="outer_div"> |
15 <div id="outer_div"> |
16 <img src="../crea/imgs/edition_2011.png" style="position: absolute; z-index: 3; margin-left: 12px;"></img> |
16 <img src="../crea/imgs/edition_2011.png" style="position: absolute; z-index: 3; margin-left: 12px;"></img> |
17 <div id="banner"> |
17 <div id="banner"> |
18 <img src="../crea/imgs/enmi_logo.png" style="margin-left: 51px; float: left;"></img> |
18 <a href=""><img src="../crea/imgs/enmi_logo.png"></img></a> |
19 <div style="clear: both;"></div> |
19 <div style="clear: both;"></div> |
20 </div> |
20 </div> |
21 |
21 |
22 <div id="inner_div"> |
22 <div id="inner_div"> |
23 <div id="intro_title"> |
23 <div id="intro_title"> |
31 foreach ($lines as $line_num => $line) { |
31 foreach ($lines as $line_num => $line) { |
32 if ($line[0] == "#") |
32 if ($line[0] == "#") |
33 continue; |
33 continue; |
34 |
34 |
35 list($title, $stream_id, $thumbnail, $date) = explode(";", $line); |
35 list($title, $stream_id, $thumbnail, $date) = explode(";", $line); |
|
36 if (strlen($title) >= 37) { |
|
37 $title = substr($title, 0, 35) . "..."; |
|
38 } |
|
39 |
36 echo "<div class='thumb'>" . |
40 echo "<div class='thumb'>" . |
37 "<img class='thumbnail' src=$thumbnail alt='thumbnail'></img>" . |
41 "<a href='player.php?stream=$stream_id'><img class='thumbnail' src=$thumbnail alt='thumbnail'></img></a>" . |
38 "<a href='player.php?stream=$stream_id'>$title</a><br>$date" . |
42 "<div class='title'>$title</div>" . |
|
43 "<div class='date'>$date</div>" . |
39 "</div>"; |
44 "</div>"; |
40 } |
45 } |
41 ?> |
46 ?> |
42 <div style="clear: both;"></div> |
47 <div style="clear: both;"></div> |
43 </div> |
48 </div> |