-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
137 lines (105 loc) · 4.96 KB
/
index.php
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>ariAnteo: Il programma dei film all'aperto a Milano, estate 2010</title>
<!-- 960.gs -->
<link rel="stylesheet" href="reset.css" />
<link rel="stylesheet" href="text.css" />
<link rel="stylesheet" href="960.css" />
<!-- custom css -->
<link rel="stylesheet" href="ranteo.css" />
<!-- web fonts -->
<link rel="stylesheet" href="patagonia_regular/stylesheet.css" type="text/css" charset="utf-8">
<!-- js libs -->
<script src="prototype.s2.min.js"></script>
<!-- json database -->
<script src="conservatorio.js"></script>
<script src="umanitaria.js"></script>
<script src="portavenezia.js"></script>
<!-- google maps -->
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
<!-- js webapp -->
<script src="ranteo.js"></script>
<script>
//var today = "2010-07-15T03:00:00Z";
var today = "<?php echo date('c') ?>";
</script>
<!-- google analytics -->
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-342913-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div id="header" class="container_12"><div class="grid_6 push_3">
<h4>Il programma dei film all'aperto a Milano, estate 2010</h4>
<h1><a href="" id="clear_all">a<span class="rrred">r</span>iAnteo</a></h1>
<h2>Cerca un titolo, un regista o un attore</h2>
<form id="search_form" action="">
<input type="text" id="search" />
<div id="loading" style="display:none">...</div>
</form>
<h2>Oppure filtra per data</h2>
<?php
$mesi = array(1=>'gennaio',2=>'febbraio',3=>'marzo',4=>'aprile',5=>'maggio',6=>'giugno',
7=>'luglio',8=>'agosto',9=>'settembre',10=>'ottobre',11=>'novembre',12=>'dicembre');
$d = array(
'oggi'=>time(),
'domani'=>mktime(0,0,0,date("m"),date("d")+1,date("Y")),
'dopodomani'=>mktime(0,0,0,date("m"),date("d")+2,date("Y"))
);
$oggi = date('j',$d['oggi']) . ' ' . $mesi[date('n',$d['oggi'])];
$domani = date('j',$d['domani']) . ' ' . $mesi[date('n',$d['domani'])];
$dopodomani = date('j',$d['dopodomani']) . ' ' . $mesi[date('n',$d['dopodomani'])];
?>
<a class="filter_by_date filter_current" id=" <?php echo $oggi ?>" href="">Oggi</a>
<a class="filter_by_date filter_current" id=" <?php echo $domani ?>" href="">Domani</a>
<a class="filter_by_date filter_current" id=" <?php echo $dopodomani ?>" href="">Dopodomani</a>
<a class="filter_by_date filter_month" id="luglio" href="">Luglio </a>
<a class="filter_by_date filter_month" id="agosto" href="">Agosto</a>
<a class="filter_by_date filter_month" id="settembre" href="">Settembre</a>
<a class="filter_by_date filter_day" id="lun" href="">Lunedì</a>
<a class="filter_by_date filter_day" id="mar" href="">Martedì</a>
<a class="filter_by_date filter_day" id="mer" href="">Mercoledì</a>
<a class="filter_by_date filter_day" id="gio" href="">Giovedì</a>
<a class="filter_by_date filter_day" id="ven" href="">Venerdì</a>
<a class="filter_by_date filter_day" id="sab" href="">Sabato</a>
<a class="filter_by_date filter_day" id="dom" href="">Domenica</a>
</div></div>
<div id="content" class="container_12">
<div id="table_head" style="display:none">
<div id="map" class="grid_12">
<div id="map_canvas"></div>
</div>
<div class="grid_3 location">Data</div>
<div class="grid_3 location">
<div class="location_name">Conservatorio</div>
<a title="Clicca per la mappa" target="_blank" class="plus" rel="conservatorio"
href="http://maps.google.it/maps?q=Via+Conservatorio+12,+Milano">+</a>
</div>
<div class="grid_3 location">
<div class="location_name">Porta Venezia</div>
<a title="Clicca per la mappa" target="_blank" class="plus" rel="portavenezia"
href="http://maps.google.it/maps?q=Bastioni+di+Porta+Venezia+3,+Milano">+</a>
</div>
<div class="grid_3 location">
<div class="location_name">Umanitaria</div>
<a title="Clicca per la mappa" target="_blank" class="plus" rel="umanitaria"
href="http://maps.google.it/maps?q=Via+San+Barnaba+48,+Milano">+</a>
</div>
</div>
</div>
<div id="footer" class="container_12">
<div id="copy" class="grid_4 push_3">
© 2010 <a href="http://www.passengerseat.eu">Dhinus</a>
</div>
</div>
</body>
</html>