medias.php 12.5 KB
Newer Older
1
<?php
 JosephK's avatar
i18n    
JosephK committed
2
require('i18n.php');
3
$page = 'medias';
4

5
6
include('header.php');
?>
7
<div id="medias" class="row">
8
9
10
11
    <div class="container ombre">
        <div class="col-xs-12">
        <h2><?php echo $t['medias']['subtitle'] ?></h2>
        <p><?php echo $t['medias']['intro'] ?></p>
12
        <div class="row">
 JosephK's avatar
JosephK committed
13
14
15
16
17
18
19
20
            <div class="col-sm-8 col-sm-offset-2">
                <div class="embed-responsive embed-responsive-4by3">
                    <iframe class="embed-responsive-item" title="Fresque Dégooglisons Internet" src="fresque" height="400">
                        <p>Votre navigateur ne permet pas l'utilisation d'iframes.</p>
                    </iframe>
                </div>
            </div>
        </div>
21
22
23
24
25
26
27
        <!-- Visuels-->
        <h2><?php echo $t['medias']['tabstitle'] ?></h2>
        <p><?php echo $t['medias']['tabsintro'] ?></p>

        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#cartes" aria-controls="cartes" role="tab" data-toggle="tab"><?php echo $t['medias']['t1'] ?></a></li>
            <li role="presentation"><a href="#dessins" aria-controls="dessins" role="tab" data-toggle="tab"><?php echo $t['medias']['t2'] ?></a></li>
28
            <li role="presentation"><a href="#dessins-peha" aria-controls="dessins-peha" role="tab" data-toggle="tab"><?php echo $t['medias']['t8'] ?></a></li>
 JosephK's avatar
JosephK committed
29
            <li role="presentation"><a href="#stickers" aria-controls="stickers" role="tab" data-toggle="tab"><?php echo $t['medias']['t7'] ?></a></li>
30
            <li role="presentation"><a href="#videos" aria-controls="videos" role="tab" data-toggle="tab"><?php echo $t['medias']['t3'] ?></a></li>
31
            <li role="presentation"><a href="#presentation" aria-controls="presentation" role="tab" data-toggle="tab"><?php echo $t['medias']['t6'] ?></a></li>
32
            <li role="presentation"><a href="#animations" aria-controls="animations" role="tab" data-toggle="tab"><?php echo $t['medias']['t5'] ?></a></li>
Pouhiou's avatar
Pouhiou committed
33
            <li role="infographie"><a href="#infographie" aria-controls="infographie" role="tab" data-toggle="tab"><?php echo $t['medias']['t9'] ?></a></li>
34
35
36
37
38
39
        </ul>

        <div class="tab-content">

            <!-- Cartes -->
            <div role="tabpanel" class="tab-pane active" id="cartes">
40
                <p><?php echo $t['medias']['t1intro'] ?></p>
 JosephK's avatar
JosephK committed
41
                <div class="row">
42
                <?php for ($i=1; $i<=3; $i++) { ?>
43
                <div class="col-sm-4">
44
45
                    <div class="thumbnail text-center">
                        <h3><?php echo $t['medias']['t1i'.$i.'txt'] ?></h3>
46
47
48
                        <img class="img-responsive" data-toggle="tooltip" data-placement="top"
                             title="<?php echo $t['medias']['tabssaveas'] ?>" alt=""
                             src="<?php echo $l['current'].$t['medias']['t1i'.$i.'url'] ?>" />
49
50
                        <p class="text-center"><?php echo $t['medias']['t1i'.$i.'desc'] ?></p>
                    </div>
51
                </div>
52
                <?php } ?>
53
                </div>
54
            </div>
55
            <!-- Dessins Gee-->
56
            <div role="tabpanel" class="tab-pane" id="dessins">
57
                <p><?php echo $t['medias']['t2intro'] ?></p>
58
                <div class="row">
59
60
61
62
63
64
65
66
                    <?php for ($i=1; $i<=6; $i++) { ?>
                    <div class="col-sm-4">
                        <div class="thumbnail text-center">
                            <h3><?php echo $t['medias']['t2i'.$i.'txt'] ?></h3>
                            <img class="img-responsive" data-toggle="tooltip" data-placement="top"
                                 title="<?php echo $t['medias']['tabssaveas'] ?>" alt=""
                                 src="<?php echo $l['current'].$t['medias']['t2i'.$i.'url'] ?>" />
                        </div>
67
                    </div>
 JosephK's avatar
JosephK committed
68
                    <?php } ?>
69
70
71
72
73
74
75
76
77
78
                    <div class="col-sm-8 col-sm-offset-2">
                        <div class="thumbnail text-center">
                            <h3><?php echo $t['medias']['t5i6txt'] ?></h3>
                            <video controls="controls" width="540" height="360">
                                <source src="<?php echo $l['current'].$t['medias']['t5i6url'] ?>.webm" type="video/webm" />
                                <source src="<?php echo $l['current'].$t['medias']['t5i6url'] ?>.mp4" type="video/mp4" />
                            </video>
                            <pre>&lt;video controls="controls" width="540" height="360"&gt;&lt;source src="<?php echo $l['DIo'].'/'.$t['medias']['t5i6url'] ?>.webm" type="video/webm" /&gt;&lt;source src="<?php echo $l['DIo'].'/'.$t['medias']['t5i6url'] ?>.mp4" type="video/mp4"&gt;&lt;/video&gt;</pre>
                        </div>
                    </div>
 JosephK's avatar
JosephK committed
79
80
                </div>
            </div>
81
82
83
84
            <!-- Dessins Péhä-->
            <div role="tabpanel" class="tab-pane" id="dessins-peha">
                <p><?php echo $t['medias']['t8intro'] ?></p>
                <div class="row">
 JosephK's avatar
JosephK committed
85
                    <div class="col-sm-8 col-sm-offset-2">
86
87
88
                        <div class="thumbnail text-center">
                            <h3><?php echo $t['medias']['t8i5txt'] ?></h3>
                            <img class="img-responsive" data-toggle="tooltip" data-placement="top"
89
90
                                 title="<?php echo $t['medias']['tabssaveas'] ?>" alt=""
                                 src="<?php echo $l['current'].$t['medias']['t8i5url'] ?>" />
91
                            </div>
 JosephK's avatar
JosephK committed
92
                    </div>
93
94
95
96
97
98
                    <?php for ($i=1; $i<=4; $i++) { ?>
                    <div class="col-sm-6">
                        <div class="thumbnail text-center">
                            <h3><?php echo $t['medias']['t8i'.$i.'txt'] ?></h3>
                            <img class="img-responsive" data-toggle="tooltip" data-placement="top"
                                 title="<?php echo $t['medias']['tabssaveas'] ?>" alt=""
 JosephK's avatar
JosephK committed
99
                                 src="<?php echo $l['current'].$t['medias']['t8i'.$i.'url'] ?>" />
100
101
102
103
104
                        </div>
                    </div>
                    <?php } ?>
                </div>
            </div>
 JosephK's avatar
JosephK committed
105
106
107
108
109
110
111
            <!-- Stickers -->
            <div role="tabpanel" class="tab-pane" id="stickers">
                <div class="row">
                    <?php for ($i=1; $i<=6; $i++) { ?>
                    <div class="col-sm-4">
                        <div class="thumbnail text-center">
                            <h3><?php echo $t['medias']['t7i'.$i.'txt'] ?></h3>
josephk's avatar
josephk committed
112
                            <a href="<?php echo $l['current'].str_replace('.png', '.svg', $t['medias']['t7i'.$i.'url']) ?>"><img class="img-responsive" data-toggle="tooltip" data-placement="top"
 JosephK's avatar
JosephK committed
113
                                 title="<?php echo $t['medias']['tabssaveas'] ?>" alt=""
josephk's avatar
josephk committed
114
                                 src="<?php echo $l['current'].$t['medias']['t7i'.$i.'url'] ?>" /></a>
 JosephK's avatar
JosephK committed
115
116
117
                            <p class="text-center"><?php echo $t['medias']['t7i'.$i.'desc'] ?></p>
                        </div>
                    </div>
118
                    <?php } ?>
119
                </div>
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
            </div>
            <!-- Vidéos -->
            <div role="tabpanel" class="tab-pane" id="videos">
                <p><?php echo $t['medias']['t3intro'] ?></p>
                <div class="row">
                    <div class="col-md-6">
                        <h3><?php echo $t['medias']['t3v1txt'] ?></h3>
                        <video poster="<?php echo $t['medias']['t3v1img'] ?>"
                               controls="controls" width="540" height="360"
                               class="img-responsive">
                            <source src="<?php echo $t['medias']['t3v1webm'] ?>" type="video/webm" />
                            <source src="<?php echo $t['medias']['t3v1mp4'] ?>" type="video/mp4" />
                        </video>
                        <pre>&lt;video poster="<?php echo $t['medias']['t3v1img'] ?>" controls="controls" width="540" height="360"&gt;&lt;source src="<?php echo $t['medias']['t3v1webm'] ?>" type="video/webm" /&gt;&lt;source src="<?php echo $t['medias']['t3v1mp4'] ?>" type="video/mp4"&gt;&lt;/video&gt;</pre>
                   </div>
                   <div class="col-md-6">
                        <h3><?php echo $t['medias']['t3v2txt'] ?></h3>
                        <video poster="<?php echo $t['medias']['t3v2img'] ?>"
                               controls="controls" width="540" height="360"
                               class="img-responsive">
                            <source src="<?php echo $t['medias']['t3v2webm'] ?>" type="video/webm" />
                            <source src="<?php echo $t['medias']['t3v2mp4'] ?>" type="video/mp4" />
                        </video>
                        <pre>&lt;video poster="<?php echo $t['medias']['t3v2img'] ?>" controls="controls" width="540" height="360"&gt;&lt;source src="<?php echo $t['medias']['t3v2webm'] ?>" type="video/webm" /&gt;&lt;source src="<?php echo $t['medias']['t3v2mp4'] ?>" type="video/mp4"&gt;&lt;/video&gt;</pre>
                   </div>
               </div>
            </div>
147
148
149
150
151
152
153
154
155
156
157
158
            <!-- Présentation -->
            <div role="tabpanel" class="tab-pane" id="presentation">
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1">
                        <div class="text-center">
                            <h3><?php echo $t['medias']['t6'] ?></h3>
                            <iframe src="<?php echo $l['DIo'].'/'.$t['medias']['t6url'] ?>" width="800" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
                            <pre>&lt;iframe src="<?php echo $l['DIo'].'/'.$t['medias']['t6url'] ?>" width="800" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"&gt;&lt;/iframe&gt;</pre>
                        </div>
                    </div>
                </div>
            </div>
Pouhiou's avatar
Pouhiou committed
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
            <!-- Infographie G Dorne -->
            <div role="tabpanel" class="tab-pane" id="infographie">
                <p><?php echo $t['medias']['t9intro'] ?></p>
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1">
                        <div class="thumbnail text-center">
                            <h3><?php echo $t['medias']['t9i1txt'] ?></h3>
                            <p><a href="<?php echo $t['medias']['t9i2url'] ?>"><?php echo $t['medias']['t9i2txt'] ?></a></p>
                            <img class="img-responsive" data-toggle="tooltip" data-placement="top"
                                 title="<?php echo $t['medias']['tabssaveas'] ?>" alt=""
                                 src="<?php echo $l['current'].$t['medias']['t9i1url'] ?>" />
                        </div>
                    </div>
                </div>
            </div>     
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204

        <!-- Revue de web-->
        <h2><?php echo $t['medias']['presstitle'] ?></h2>
        <p><?php echo $t['medias']['pressintro'] ?></p>
        <div class="col-sm-8 col-sm-offset-2 well">
            <table class="table">
                <thead>
                    <tr>
                        <th><?php echo $t['medias']['pressth1'] ?></th>
                        <th><?php echo $t['medias']['pressth2'] ?></th>
                        <th><?php echo $t['medias']['pressth3'] ?></th>
                    </tr>
                </thead>
                <tbody>
                <?php foreach ($t['medias']['presslist'] as $v) {
                    echo '
                    <tr>
                        <td>'.$v[0].'</td>
                        <td>'.$v[1].'</td>
                        <td><a href="'.$v[2].'">'.$v[3].'</a></td>
                    </tr>';
                }?>
                </tbody>
            </table>
        </div>
        <div class="row">
            <h2 class="col-xs-12"><?php echo $t['medias']['framatitle'] ?></h2>
            <div class="col-sm-8">
                <?php echo $t['medias']['framalist'] ?>

                <p class="text-center">
 JosephK's avatar
JosephK committed
205
206
                    <img src="<?php echo $l['current'] ?>img/biglogo.png" alt="" style="width:220px; margin:10px 30px"/>
                    <img src="<?php echo $l['current'] ?>img/biglogo-noir.png" alt="" style="width:220px; margin:10px 30px"/>
207
208
209
210
211
212
213
214
215
216
                </p>
            </div>

            <div class="col-sm-4 well">
                <p><?php echo $t['medias']['framap1'] ?></p>
                <p><?php echo $t['medias']['framap2'] ?></p>
                <p><?php echo $t['medias']['framap3'] ?></p>
            </div>
        </div>

217
218
<?php
include('footer.php')
Pierre-Yves Gosset's avatar
Pierre-Yves Gosset committed
219
?>