Subversion Repositories Sites.outils-naturalistes.fr

Rev

Rev 11 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 14
Line 30... Line 30...
30
 
30
 
31
$article="#ID_ARTICLE";
31
$article="#ID_ARTICLE";
32
$normal=false;
32
$normal=false;
33
switch ($article) {
33
switch ($article) {
34
   case 18: // Consultation.
34
   case 18: // Consultation.
-
 
35
        $_GET['vue']=2; 
-
 
36
   break;
-
 
37
   case 57: // Administrer fiches.
-
 
38
    $utilisateur = new Administrateur_bazar($GLOBALS['AUTH']);
-
 
39
    if($utilisateur->isSuperAdmin()) {
-
 
40
        $_GET['vue']=5; 
-
 
41
    }
-
 
42
    else {
-
 
43
        $normal=true;
35
		$_GET['vue']=2; 
44
    }
36
   break;
45
   break;
37
   case 34: // Saisir fiche.
46
   case 34: // Saisir fiche.
38
		$_GET['vue']=4; 
47
        $_GET['vue']=4; 
39
   break;
48
   break;
40
   default;
49
   default:
41
		$normal=true;
50
        $normal=true;
-
 
51
   break;
-
 
52
   
-
 
53
   print $article ;
42
   break;
54
   exit;
Line 43... Line 55...
43
}
55
}
Line 44... Line 56...
44
 
56
 
Line 60... Line 72...
60
<INCLURE{fond=include/header}{id_rubrique}>
72
<INCLURE{fond=include/header}{id_rubrique}>
Line 61... Line 73...
61
 
73
 
Line 62... Line 74...
62
<div id="principal">
74
<div id="principal">
63
 
75
 
64
 
76
 
65
	<INCLURE{fond=include/menu}{id_rubrique}{id_article}{mon_secteur=#ID_SECTEUR}>
77
    <INCLURE{fond=include/menu}{id_rubrique}{id_article}{mon_secteur=#ID_SECTEUR}>
66
	<div id="contenu" >
78
    <div id="contenu" >
67
		<?php
79
        <?php
68
		if (!$normal) {
80
        if (!$normal) {
69
		 // echo afficherContenuNavigation();
81
         // echo afficherContenuNavigation();
70
           echo $html;
82
           echo $html;
71
		}
83
        }
72
		else {
84
        else {
73
		?>
85
        ?>
74
		<div class="article" id="article#ID_ARTICLE">
86
        <div class="article" id="article#ID_ARTICLE">
75
		[<p><strong>(#CHAPO)</strong></p>]
87
        [<p><strong>(#CHAPO)</strong></p>]
76
		[(#TEXTE|paragrapher)]
88
        [(#TEXTE|paragrapher)]
77
		[<div class="ps">(#PS)</div>]
89
        [<div class="ps">(#PS)</div>]
78
		</div>
90
        </div>
79
		<?php
91
        <?php
80
		}
92
        }
81
		?>
93
        ?>
Line 82... Line 94...
82
	
94
    
Line 83... Line 95...
83
	</div>
95
    </div>