Line | |
---|
1 | <?php
|
---|
2 | /************************************************************************/
|
---|
3 | /* Eleonline - Raccolta e diffusione dei dati elettorali */
|
---|
4 | /* by Luciano Apolito & Roberto Gigli */
|
---|
5 | /* http://www.eleonline.it */
|
---|
6 | /* info@eleonline.it luciano@aniene.net rgigli@libero.it */
|
---|
7 | /************************************************************************/
|
---|
8 | /* ultima modfifica: aggiunta rotazione 18 marzo 2009 */
|
---|
9 |
|
---|
10 | if (eregi("header.php",$PHP_SELF)) {
|
---|
11 | Header("Location: index.php");
|
---|
12 | die();
|
---|
13 | }
|
---|
14 |
|
---|
15 |
|
---|
16 | include("temi/$tema/index.php");
|
---|
17 | include("modules/Elezioni/language/lang-$lang.php");
|
---|
18 |
|
---|
19 |
|
---|
20 | function head() {
|
---|
21 | global $csv,$tema,$tour;
|
---|
22 | echo '
|
---|
23 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
---|
24 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">';
|
---|
25 | echo "<head>\n";
|
---|
26 | echo "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" />";
|
---|
27 | echo "<title>Eleonline - Elezioni on line</title>\n";
|
---|
28 | echo "<link rel=\"stylesheet\" href=\"temi/$tema/style.css\" type=\"text/css\" />\n\n\n";
|
---|
29 | include("inc/javascript.php"); # rotazione (18 marzo 2009) tema tour
|
---|
30 |
|
---|
31 | echo "\n\n\n</head>\n";
|
---|
32 | # rotazione per tema tour
|
---|
33 | if (isset($_SESSION['ruota'])){$csv=1; echo "<body onload=\"loadpage()\"";}
|
---|
34 | else echo "<body";
|
---|
35 | if (!$csv) echo " style=\"background-image: url(temi/$tema/images/sfondo.jpg); background-repeat:repeat-x;\"";
|
---|
36 | echo " >\n";
|
---|
37 | include("inc/authors.php");
|
---|
38 |
|
---|
39 | include_once("modules/Elezioni/funzioni.php");
|
---|
40 | if (!$csv)testata();
|
---|
41 |
|
---|
42 | }
|
---|
43 |
|
---|
44 | head();
|
---|
45 |
|
---|
46 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.