1 | <?php |
---|
2 | |
---|
3 | include ('var.php'); |
---|
4 | |
---|
5 | print "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"; |
---|
6 | print "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"fr\" lang=\"fr\">\n"; |
---|
7 | print " <head>\n"; |
---|
8 | print " <title>$SERVERNAME - Administration</title>\n"; |
---|
9 | print " <meta name=\"Author\" lang=\"fr\" content=\"Francois-Xavier ANDREU\">\n"; |
---|
10 | print " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-15\" />\n"; |
---|
11 | print " <meta http-equiv=\"Content-Style-Type\" content=\"text/css\" />\n"; |
---|
12 | print " <meta http-equiv=\"Content-Language\" content=\"fr\" />\n"; |
---|
13 | print " <link rel=\"stylesheet\" type=\"text/css\" href=\"renetcol.css\">\n"; |
---|
14 | print " <link rel=\"alternate stylesheet\" media=\"screen\" type=\"text/css\" title=\"autre\" href=\"renetcol2.css\" />\n"; |
---|
15 | print " <!--[if IE]>\n"; |
---|
16 | print " <style type=\"text/css\">\n"; |
---|
17 | print " html pre\n"; |
---|
18 | print " {\n"; |
---|
19 | print " width: 636px ;\n"; |
---|
20 | print " }\n"; |
---|
21 | print " </style>\n"; |
---|
22 | print " <![endif]-->\n"; |
---|
23 | print " </head>\n"; |
---|
24 | |
---|
25 | print " <body>\n"; |
---|
26 | print " <div id=\"conteneur\"> \n"; |
---|
27 | print " <h1 id=\"header\"><a href=\"index.php\" title=\"$SERVERNAME - Administration\"><span>RENETCOL</span></a></h1>\n"; |
---|
28 | |
---|
29 | print " <ul id=\"menu\">\n"; |
---|
30 | print " <li><a href=\"index.php?section=intro\">Accueil</a></li>\n"; |
---|
31 | print " <li><a href=\"index.php?section=live\">Collector</a></li>\n"; |
---|
32 | print " <li><a href=\"index.php?section=conf\">Configuration</a></li>\n"; |
---|
33 | print " <li><a href=\"index.php?section=data\">Data Mining</a></li>\n"; |
---|
34 | print " <li><a href=\"index.php?section=inf\"> ? </a></li>\n"; |
---|
35 | print " </ul>\n"; |
---|
36 | |
---|
37 | if ($section == "intro") { |
---|
38 | include ('menuintro.php'); |
---|
39 | print " <div id=\"contenu\">\n"; |
---|
40 | include ('introduction.php'); |
---|
41 | print " </div>\n"; |
---|
42 | } else if ($section == "res") { |
---|
43 | include ('menuintro.php'); |
---|
44 | include ('res.php'); |
---|
45 | } else if ($section == "live") { |
---|
46 | include ('./perf/menulive.php'); |
---|
47 | print " <div id=\"contenu\">\n"; |
---|
48 | include ('collector_live_intro.php'); |
---|
49 | print " </div>\n"; |
---|
50 | } else if ($section == "perf") { |
---|
51 | include ('./perf/menulive.php'); |
---|
52 | include ('./perf/perf.php'); |
---|
53 | } else if ($section == "perfcol") { |
---|
54 | include ('./perf/menulive.php'); |
---|
55 | include ('./perf/perfcol.php'); |
---|
56 | } else if ($section == "perfsys") { |
---|
57 | include ('./perf/menulive.php'); |
---|
58 | include ('./perf/perfsys.php'); |
---|
59 | } else if ($section == "log") { |
---|
60 | include ('./perf/menulive.php'); |
---|
61 | include ('./perf/log.php'); |
---|
62 | } else if ($section == "out") { |
---|
63 | include ('./perf/menulive.php'); |
---|
64 | include ('./perf/output.php'); |
---|
65 | } else if ($section == "tpl") { |
---|
66 | include ('./perf/menulive.php'); |
---|
67 | include ('./perf/tpl.php'); |
---|
68 | } else if ($section == "filters") { |
---|
69 | include ('./perf/menulive.php'); |
---|
70 | include ('./perf/filters.php'); |
---|
71 | } else if ($section == "conf") { |
---|
72 | include ('./conf/menuconf.php'); |
---|
73 | print " <div id=\"contenu\">\n"; |
---|
74 | print " <p> ICI texte d'introduction à la section Configuration </p>\n"; |
---|
75 | print " </div>\n"; |
---|
76 | } else if ($section == "confopt") { |
---|
77 | include ('./conf/menuconf.php'); |
---|
78 | include ('./conf/opt.php'); |
---|
79 | } else if ($section == "confrtr") { |
---|
80 | include ('./conf/menuconf.php'); |
---|
81 | include ('./conf/rtr.php'); |
---|
82 | } else if ($section == "confpref") { |
---|
83 | include ('./conf/menuconf.php'); |
---|
84 | include ('./conf/pref.php'); |
---|
85 | } else if ($section == "confprefv4") { |
---|
86 | include ('./conf/menuconf.php'); |
---|
87 | include ('./conf/prefv4.php'); |
---|
88 | } else if ($section == "confprefv6") { |
---|
89 | include ('./conf/menuconf.php'); |
---|
90 | include ('./conf/prefv6.php'); |
---|
91 | } else if ($section == "confbgpas") { |
---|
92 | include ('./conf/menuconf.php'); |
---|
93 | include ('./conf/bgpas.php'); |
---|
94 | } else if ($section == "confparam") { |
---|
95 | include ('./conf/menuconf.php'); |
---|
96 | include ('./conf/param.php'); |
---|
97 | } else if ($section == "data") { |
---|
98 | include ('./data/menudata.php'); |
---|
99 | print " <div id=\"contenu\">\n"; |
---|
100 | print " <p> ICI texte d'introduction à la section Data Mining </p>\n"; |
---|
101 | print " </div>\n"; |
---|
102 | } else if ($section == "datamatrix") { |
---|
103 | include ('./data/menudata.php'); |
---|
104 | include ('./data/datamatrix.php'); |
---|
105 | } else if ($section == "datamatgraph") { |
---|
106 | include ('./data/menudata.php'); |
---|
107 | include ('./data/datamatgraph.php'); |
---|
108 | } else if ($section == "inf") { |
---|
109 | include ('./inf/menuinf.php'); |
---|
110 | include ('./inf/inf.php'); |
---|
111 | } else if ($section == "infnotes") { |
---|
112 | include ('./inf/menuinf.php'); |
---|
113 | include ('./inf/notes.php'); |
---|
114 | } else if ($section == "infabout") { |
---|
115 | include ('./inf/menuinf.php'); |
---|
116 | include ('./inf/about.php'); |
---|
117 | } else { |
---|
118 | include ('menuintro.php'); |
---|
119 | print " <div id=\"contenu\">\n"; |
---|
120 | print " <p> Welcome to your RENETCOL administration WEB Site </p>\n"; |
---|
121 | print " </div>\n"; |
---|
122 | } |
---|
123 | |
---|
124 | |
---|
125 | |
---|
126 | print " <p id=\"footer\"><a href=\"http://renetcol.renater.fr\">RENETCOL</a> on $SERVERNAME</p>\n"; |
---|
127 | print " </div>\n"; |
---|
128 | print " </body>\n"; |
---|
129 | print "</html>\n"; |
---|
130 | |
---|
131 | |
---|
132 | ?> |
---|