Bonjour à tous,
J'ai repris un code de l'intranet dont je dois mettre à jour dans ma mairie ou je suis stagiaire,le code ne provient pas de moi j'ai cette erreur lorsque j'appelle le script
Parse error: syntax error, unexpected $end in /var/www/html/accueil/accueil_news.php on line 572
je me suis documenter et j'ai lu que c'est du au manque d'une balise ou accolade mais je ne trouve pas je fais donc appelle à vous pour m'aider ou me conseiller comment trouver l'erreur voici le code:
Code php : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
 
<?php require_once('../Connections/intracreil.php'); ?>
<?php
mysql_select_db($database_intracreil, $intracreil);
$query_Rs_accueil = "SELECT * FROM accueil_news";
$Rs_accueil = mysql_query($query_Rs_accueil, $intracreil) or die(mysql_error());
$row_Rs_accueil = mysql_fetch_assoc($Rs_accueil);
$totalRows_Rs_accueil = mysql_num_rows($Rs_accueil);
 
$maxRows_Rs_news = $row_Rs_accueil['Nombre_news']; // Nombre de News à afficher
$limit_tab=$row_Rs_accueil['Nombre_news_tab'];
 
mysql_select_db($database_intracreil, $intracreil);
$query_Rs_news = "SELECT * FROM service_news WHERE etat = 1 And pageaccueil  = 1 ORDER BY Idnews DESC";
$Rs_news = mysql_query($query_Rs_news, $intracreil) or die(mysql_error());
$row_Rs_news = mysql_fetch_assoc($Rs_news);
 
if (isset($HTTP_GET_VARS['totalRows_Rs_news'])) {
  $totalRows_Rs_news = $HTTP_GET_VARS['totalRows_Rs_news'];
} else {
  $all_Rs_news = mysql_query($query_Rs_news);
  $totalRows_Rs_news = mysql_num_rows($all_Rs_news);
}
$totalPages_Rs_news = ceil($totalRows_Rs_news/$maxRows_Rs_news)-1;
 
mysql_select_db($database_intracreil, $intracreil);
$optimisation = "OPTIMIZE TABLE accueil_news , adoc_agent , adoc_categorie , adoc_documentation , adoc_numero , adoc_tmp , annu_agent , annu_ecole , annu_elus , annu_fax , annu_perso , annu_prenumeration , blibliotheque_categorie , blibliotheque_fichier , courrier_cheque , courrier_entrant , courrier_reponse , courrier_sortant , deliberation_admin , deliberation_commission , deliberation_depot , informatique_intervention , intra_acces , intra_admin , intra_membre , intra_service , liens_categorie , liens_liens , service_direction , service_module , service_news , service_service , upload_categorie , upload_service";
mysql_query($optimisation, $intracreil) or die(mysql_error());
 
mysql_select_db($database_intracreil, $intracreil);
$req = MYSQL_QUERY(" SELECT * FROM service_news WHERE etat=1 And pageaccueil  = 1 ORDER BY Idnews DESC LIMIT 0, $limit_tab ") or die(mysql_error());
$totalrow = MYSQL_NUM_ROWS($req);
 
 
 
 
require("../module/espace_doc/connexion/connexion.php");
mysql_select_db($database_espace_doc,$espace_doc);
$req0=mysql_query("select * from parametre ") or die (mysql_error());
$row=mysql_fetch_assoc($req0);
$limit=$row['nb_new_doc'];
$req1 = MYSQL_QUERY(" SELECT * FROM doc ORDER BY id_doc DESC LIMIT 0, $limit ") or die(mysql_error());
$res1 = MYSQL_NUM_ROWS($req1);
 
 
 
?>
<html>
<head>
 
<title></title>
 
<script language="JavaScript">
function AfficherCacher(mondiv) { //Cette fonction va permettre d'afficher ou de cacher le contenu des News dont l'ordre (nombre de News à afficher) est supérieur à $maxRows_Rs_news
  if (document.all)
  {
    document.all(mondiv).style.display=document.all(mondiv).style.display=='none'?"block":"none";
 }
  else
  {
    document.getElementById(mondiv).style.display=document.getElementById(mondiv).style.display=='none'?"block":"none";
  }
}
</script>
<style>
<!--
.m10,.m9,.m10b,.m9b {font-family:verdana;}
.m8,.m8b            {font-family:verdana;}
.m10,.m10b          {font-size:10pt;}
.m9,.m9b            {font-size:9pt;}
.m8,.m8b            {font-size:8pt;}
.m10b,.m9b,.m8b     {font-weight:bold;}
 
A:link    {text-decoration: none; color: black;}
A:visited {text-decoration: none; color: black;}
A:active  {text-decoration: none; color: red;}
A:hover   {text-decoration: underline; color: red;}
-->
</style>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>&nbsp;<br>
<table border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left" valign="top">
      <table border="0" cellpadding="0" cellspacing="0" width="462">
        <tr>
          <td width="13" valign="top" background="../images/centre_r2_c1.gif"><img name="centre_r1_c1" src="../images/center_r1_c1.gif" width="13" height="25" border="0" alt=""></td>
          <td height="25" valign="middle" background="../images/center_r1_c2.gif"></td>
          <td width="13" valign="top" background="../images/centre_r2_c4.gif"><img name="centre_r1_c4" src="../images/center_r1_c4.gif" width="13" height="25" border="0" alt=""></td>
          <td width="30">&nbsp;</td>
        </tr>
        <tr>
          <td background="../images/center_r2_c1.gif">&nbsp;</td>
          <td valign="top" background="../images/center_r2_c2.gif">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="../images/barre_centre_marron.gif" width="425" height="5"></td>
              </tr>
            </table>
 
 
            <!---------------------------------------------------------------------------------->
 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table border="0" cellpadding="0" cellspacing="0" width="425">
                    <tr>
                      <td><img src="../images/spacer.gif" width="12" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="402" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="10" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td><img name="cadre_espace_accueil_r1_c1" src="../images/cadre_espace_accueil_r1_c1.gif" width="12" height="19" border="0" alt=""></td>
                      <td background="../images/cadre_espace_accueil_r1_c2.gif" align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Les 
                      <?
                            if($limit_tab < $totalrow)
                                echo $limit_tab;
                            else
                                echo $totalrow ;
                     ?>
 
                      dernières brèves</strong></font></td>
                      <td><img name="cadre_espace_accueil_r1_c3" src="../images/cadre_espace_accueil_r1_c3.gif" width="10" height="19" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="19" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3" align="center" background="../images/cadre_espace_accueil_r2_c1.gif">
                        <table width="94%" border="0" cellspacing="0" cellpadding="0">
                          <tr><td align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;</font></td></tr>
                        </table>
                      </td>
                      <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3" align="center" background="../images/cadre_espace_accueil_r2_c1.gif">
                        <table width="94%" border="0" cellspacing="0" cellpadding="0">
                          <?php if( $totalrow > 0)  ?>
                          <tr>
                                  <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                               <?php 
 
                                  while($row=mysql_fetch_assoc($req))
                                  { 
                                    if( 50 < strlen($row['titre'])){ $row['titre'] = substr($row['titre'],0,50)."..."; } 
                                ?>
                                <tr>
                                  <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FF6600">
                                  <? echo $row['date'] ;?>&nbsp;
                                  <img src="http://www.developpez.net/forums/images/fle_noi.gif" border="0">
                                      <a href="consult_accueil.php?arg1=<? echo $row['Idnews']; ?>">
 
                                  <?php if(isset($row['titre'])) echo $row['titre']; ?></font></td>
                                  <!--<td rowspan="2" align="center" valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="../module/news/images/<?php echo $row_Rs_news['image']; ?>"></font></td>-->
                                </tr>
                                <?
                                  }
                                 ?>
                                <!--<tr>
                                  <td width="100%">
                                    <font size="1" face="Verdana, Arial, Helvetica, sans-serif">
                                    <?php if ($row_Rs_news['lien'] <> NULL) { // Show if recordset not empty ?>
                                    <br>Lien : <a href="<?php echo $row_Rs_news['lien']; ?>" target="_blank"><strong><?php echo $row_Rs_news['lien']; ?></strong></a><br>
                                    <?php } // Show if recordset not empty ?>
                                    </font>
                                  </td>
                                </tr>-->
                              </table>
                            </td>
                          </tr>
                          <!--<tr>
                            <td>
                              <div align="right">
                                <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><br>
                                  Paru le <?php echo $row_Rs_news['date']; ?> par <?php echo $row_Rs_news['auteur_nom']; ?>
                                </font>
                              </div>
                            </td>
                          </tr>-->
                        </table>
                      </td>
                      <td><img src="../images/spacer.gif" width="1" height="45" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3"><img name="cadre_espace_accueil_r3_c1" src="../images/cadre_espace_accueil_r3_c1.gif" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="8" border="0" alt=""></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td><img src="../images/barre_centre_marron.gif" width="425" height="5"></td>
              </tr>
            </table>
 
                  <!----------------------------------------------------------------------------------->
 
            <?php $compteur=0;
                  do { ?>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table border="0" cellpadding="0" cellspacing="0" width="425">
                    <tr>
                      <td><img src="../images/spacer.gif" width="12" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="402" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="10" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td><img name="cadre_espace_accueil_r1_c1" src="../images/cadre_espace_accueil_r1_c1.gif" width="12" height="19" border="0" alt=""></td>
                      <td background="../images/cadre_espace_accueil_r1_c2.gif"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong><?php echo $row_Rs_news['titre']; ?></strong></font></td>
                      <td><img name="cadre_espace_accueil_r1_c3" src="../images/cadre_espace_accueil_r1_c3.gif" width="10" height="19" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="19" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3" align="center" background="../images/cadre_espace_accueil_r2_c1.gif">
                        <table width="94%" border="0" cellspacing="0" cellpadding="0">
                          <tr><td align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;</font></td></tr>
                        </table>
                      </td>
                      <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3" align="center" background="../images/cadre_espace_accueil_r2_c1.gif">
                        <table width="94%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $row_Rs_news['texte']; ?></font></td>
 
 
                                  <td rowspan="2" align="center" valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
                                  <?//if( isset($row_Rs_news['image']){?>
                                  <img src="../module/news/images/<?php if( !empty($row_Rs_news['image']) ){echo $row_Rs_news['image'];}else{echo"spacer.gif";} ?>"></font>
                                  <?//}?>
                                  </td>
 
                                </tr>
                                <tr>
                                  <td width="100%">
                                    <font size="1" face="Verdana, Arial, Helvetica, sans-serif">
                                    <?php if ($row_Rs_news['lien'] <> NULL) { // Show if recordset not empty ?>
                                    <br>Lien : <a href="<?php echo $row_Rs_news['lien']; ?>" target="_blank"><strong><?php echo $row_Rs_news['lien']; ?></strong></a><br>
                                    <?php } // Show if recordset not empty ?>
                                    </font>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                          <tr>
                            <td>
                              <div align="right">
                                <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><br>
                                  Paru le <?php echo $row_Rs_news['date']; ?> par <?php echo $row_Rs_news['auteur_nom']; ?>
                                </font>
                              </div>
                            </td>
                          </tr>
                        </table>
                      </td>
                      <td><img src="../images/spacer.gif" width="1" height="45" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3"><img name="cadre_espace_accueil_r3_c1" src="../images/cadre_espace_accueil_r3_c1.gif" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="8" border="0" alt=""></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td><img src="../images/barre_centre_marron.gif" width="425" height="5"></td>
              </tr>
            </table>
            <?php     $compteur++;
                  } while (($row_Rs_news = mysql_fetch_assoc($Rs_news)) && ($compteur != $maxRows_Rs_news));
                  if ($compteur == $maxRows_Rs_news)
                  {
                    $compteur=0;
                    do {
                         ?>
           <!-- <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td>
                  <table border="0" cellpadding="0" cellspacing="0" width="425">
                    <tr>
                      <td><img src="../images/spacer.gif" width="12" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="402" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="10" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td><img name="cadre_espace_accueil_r1_c1" src="../images/cadre_espace_accueil_r1_c1.gif" width="12" height="19" border="0" alt=""></td>
                      <td background="../images/cadre_espace_accueil_r1_c2.gif"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong><?php echo $row_Rs_news['titre']; ?></strong></font></td>
                      <td><img name="cadre_espace_accueil_r1_c3" src="../images/cadre_espace_accueil_r1_c3.gif" width="10" height="19" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="19" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3" align="center" background="../images/cadre_espace_accueil_r2_c1.gif">
                        <table width="94%" border="0" cellspacing="0" cellpadding="0">
                          <tr><td align="right" oncontextmenu="return false" ondragstart="return false" onselectstart="return false" onClick="AfficherCacher('<?php echo $compteur; ?>'); return false;"><font style="cursor:pointer" size="1" face="Verdana, Arial, Helvetica, sans-serif">[Agrandir/R&eacute;duire]</font></td></tr>
                        </table>
                      </td>
                      <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3" align="center" background="../images/cadre_espace_accueil_r2_c1.gif">
                        <div id="<?php echo $compteur; ?>" style="display:none;">
                        <table width="94%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td>
                              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $row_Rs_news['texte']; ?></font></td>
                                  <td rowspan="2" align="center" valign="top"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="../module/news/images/<?php echo $row_Rs_news['image']; ?>"></font></td>
                                </tr>
                                <tr>
                                  <td width="100%">
                                    <font size="1" face="Verdana, Arial, Helvetica, sans-serif">
                                    <?php if ($row_Rs_news['lien'] <> NULL) { // S'il y a un lien on l'affiche sinon rien ?>
                                    <br>Lien : <a href="<?php echo $row_Rs_news['lien']; ?>" target="_blank"><strong><?php echo $row_Rs_news['lien']; ?></strong></a><br>
                                    <?php } ?>
                                    </font>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                          <tr>
                            <td>
                              <div align="right">
                                <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><br>
                                  Paru le <?php echo $row_Rs_news['date']; ?> par <?php echo $row_Rs_news['auteur_nom']; ?>
                                </font>
                              </div>
                            </td>
                          </tr>
                        </table>
                        </div>
                      </td>
                      <td><img src="../images/spacer.gif" width="1" height="0" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3"><img name="cadre_espace_accueil_r3_c1" src="../images/cadre_espace_accueil_r3_c1.gif" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="8" border="0" alt=""></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td><img src="../images/barre_centre_marron.gif" width="425" height="5"></td>
              </tr>
            </table>-->
            <?php     $compteur++;
                    } while ($row_Rs_news = mysql_fetch_assoc($Rs_news));
                  } ?>
 
                  <!---------------------------------------------------------------------------------->
 
 
 
 
 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table border="0" cellpadding="0" cellspacing="0" width="425">
                    <tr>
                      <td><img src="../images/spacer.gif" width="12" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="402" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="10" height="1" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td><img name="cadre_espace_accueil_r1_c1" src="../images/cadre_espace_accueil_r1_c1.gif" width="12" height="19" border="0" alt=""></td>
                      <td background="../images/cadre_espace_accueil_r1_c2.gif" align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Les 
                      <?
                            if ($limit < $res1)
                                echo $limit ;
                            else
                                echo $res1 ;
                      ?>
 
                      derniers documents  postés</strong></font></td>
                      <td><img name="cadre_espace_accueil_r1_c3" src="../images/cadre_espace_accueil_r1_c3.gif" width="10" height="19" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="19" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3" align="center" background="../images/cadre_espace_accueil_r2_c1.gif">
                        <table width="94%" border="0" cellspacing="0" cellpadding="0">
                          <tr><td align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;</font></td></tr>
                        </table>
                      </td>
                      <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3" align="center" background="../images/cadre_espace_accueil_r2_c1.gif">
                        <table width="94%" border="0" cellspacing="0" cellpadding="0">
 
                          <tr>
                            <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                               <?
                                    $i=0;
                                    WHILE($i!=$res1)
                                    {
                                    $id    = mysql_result($req1,$i,"id_doc");
                                    $titre = mysql_result($req1,$i,"titre_doc");
                                    $ss_cat= mysql_result($req1,$i,"ss_cat_doc");
                                    $date = mysql_result($req1,$i,"date_doc");
                                    $date=conv_date_fr($date);
                                    $auteur = mysql_result($req1,$i,"createur_doc");
                                    $format=mysql_result($req1,$i,"type_doc");
                                    $format=strtolower($format);
                                    $cat=mysql_result($req1,$i,"cat_doc");
 
                                ?>
                                <tr>
                                  <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FF6600">
                                  <? echo $date; ?>&nbsp;
                                  <img src="http://www.developpez.net/forums/images/fle_noi.gif" border="0">
                                  <a href="../module/espace_doc/consult_nouv.php?arg1=<? echo $id; ?>"><? echo $titre; ?>&nbsp; (<?echo $format;?>)</a></font></td>
 
                                </tr>
                                <?
                                    $i++;
                                  }
                                 ?>
 
                              </table>
                            </td>
                          </tr>
 
                        </table>
                      </td>
                      <td><img src="../images/spacer.gif" width="1" height="45" border="0" alt=""></td>
                    </tr>
                    <tr>
                      <td colspan="3"><img name="cadre_espace_accueil_r3_c1" src="../images/cadre_espace_accueil_r3_c1.gif" border="0" alt=""></td>
                      <td><img src="../images/spacer.gif" width="1" height="8" border="0" alt=""></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td><img src="../images/barre_centre_marron.gif" width="425" height="5"></td>
              </tr>
            </table>
 
                  <!----------------------------------------------------------------------------------->
          </td>
          <td background="../images/center_r2_c4.gif">&nbsp;</td>
          <td><img name="centre_r1_c5" src="../images/centre_r1_c5.gif" width="1" height="0" border="0" alt=""></td>
        </tr>
        <tr> 
          <td colspan="3" valign="top"><img src="../images/center_r3_c1.gif" alt="" name="centre_r3_c1" width="451" border="0"></td>
          <td>&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
 
 
<!--- ESPACES INTERNES -------------------------------------------------------------------------------->
 
<table border="0" valign="top" cellpadding="0" cellspacing="0">
  <tr align="center">
<td width="10">
</td>
        <td align="left" align="center"valign="top">
<! div align="center">
<! /div>
 
<a href="\\192.168.100.245\Espace Assemblees/" target="blank">
 
<img src="http://www.developpez.net/forums/images/bann/bann_assemblees_03.gif" alt="Espace Assemblées" name="Espace Assemblées" width="75 %" border="0">
</a><br>(Accès libre en consultation)<a href="smb://192.168.100.245/Espace Assemblees/" target="blank"> Lien Samba (Mac)
</a>
 
<br>&nbsp;<br>
 
<a href="\\192.168.100.245\Espace Politique de la ville" target="blank">
<img src="http://www.developpez.net/forums/images/espace_politique_de_la_ville.gif" alt="Espace Politique de la ville" name="Espace Poolitique de la ville" width="75 %" border="0">
</a><br><b>(Accès restreint)</b>
</a>
 
<br>&nbsp;<br>
 
 
<a href="\\192.168.100.245\Espace Communication interne" target="blank">
<img src="http://www.developpez.net/forums/images/espace_communication_interne.gif" alt="Espace Communication interne" name="Espace Communication interne" width="75 %" border="0">
</a><br>(Accès libre en consultation)<a href="smb://192.168.100.245/Espace Communication interne/" target="blank"> Lien Samba (Mac)
</a>
 
<br>&nbsp;<br>
 
<a href="\\192.168.100.245\Espace Projets/" target="blank">
 
<img src="http://www.developpez.net/forums/images/espace_projets.gif" alt="Espace Projet" name="Espace Projet" width="75 %" border="0">
</a><br>(Accès libre en consultation)<a href="smb://192.168.100.245/Espace Projets/" target="blank"> Lien Samba (Mac)
</a>
 
<br>&nbsp;<br>
 
 
<a href="\\192.168.100.245\Espace Profil de poste/" target="blank">
<img src="http://www.developpez.net/forums/images/bann/bann_pdp.gif" alt="Espace Profils de poste" name="Espace Profils de poste" border="0" width="75 %">
</a><br>(Accès restreint)
 
<br>&nbsp;<br>
 
<a href="\\192.168.100.245/Espace Systemes d'Information/" target="blank">
<img src="http://www.developpez.net/forums/images/bann/bann_syst_info_1.gif" alt="Espace Systemes d'Information" width="75 %" border="0" name="Espace Systemes d'Information" border="0" width="75 %">
</a><br>(Accès libre en consultation) <a href="smb://192.168.100.245/Espace Systemes d'Information/" target="blank"> Lien Samba (Mac)
</a>
 
<br>&nbsp;<br>
<a href="\\192.168.100.245\Espace Developpement Durable" target="blank">
<img src="http://www.developpez.net/forums/images/bann/bann_dd_03.gif" alt="Espace Developpement Durable" name="Espace Developpement Durable" border="0" width="75 %">
</a><br>(Accès libre en consultation)<a href="smb://192.168.100.245/Espace Developpement Durable/" target="blank"> Lien Samba (Mac)
</a>
 
<br>&nbsp;<br>
 
<a href="\\192.168.100.245\Espace TABLEAUX DE BORD/" target="blank">
<img src="http://www.developpez.net/forums/images/bann/bann_tabor_fi_03.gif" alt="Espace Tableaux de Bord Finances" name="Espace Tableaux de Bord Finances" border="0" width="75 %">
</a><br>(Accès restreint)
 
<br>&nbsp;<br>
 
<a href="\\192.168.100.245\Espace TABLEAUX DE BORD RH" target="blank">
<img src="http://www.developpez.net/forums/images/bann/bann_tabor_rh_03.gif" alt="Espace Tableaux de Bord RH" name="Espace Tableaux de Bord RH" border="0" width="75 %">
</a><br>(Accès restreint)
 
<br>&nbsp;<br>
 
<a href="\\192.168.100.245\Espace NOUVELLE CHARTE GRAPHIQUE" target="blank">
<img src="http://www.developpez.net/forums/images/bann/bann_charte_graphique_03.gif" alt="Espace charte graphique" name="Espace charte graphique" border="0" width="75 %">
</a><br>(Accès libre en consultation)<a href="smb://192.168.100.245/Espace nouvelle charte graphique/" target="blank"> Lien Samba (Mac)
</a>
 
<br>&nbsp;<br>
 
<a href="\\192.168.100.245\Espace Projet Intranet" target="blank">
<img src="http://www.developpez.net/forums/images/bann/bann_intranet_03.png" alt="Espace Projet Intranet" name="Espace projet intranet" border="0" width="75 %">
</a><br>(Accès restreint pour les référents du groupe de travail)
</td>
 
 
<! colonne 3>
 
<! td width="10">&nbsp;<! /td>
 
<! td  valign="top">
 
<! ici futur contenu>
 
<! /td>
 
<! /tr>
<! /table>
 
</body>
</html>
 
<?php
mysql_free_result($Rs_news);
mysql_free_result($Rs_accueil);
mysql_free_result($req);
mysql_free_result($req1);
?>
cordialement merci à vous.