-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
168 lines (126 loc) · 6.63 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
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
<?php
$baseUrl = 'http://';
$origin = str_replace('index.php', '', $_SERVER['PHP_SELF']);
$baseUrl = $baseUrl.$_SERVER['SERVER_NAME'].$origin;
?>
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Les Bohémiens</title>
<base href="<?php echo $baseUrl ?>" />
<meta name="author" content="Giuseppe Angri, Francesco Luigi La Marca">
<link type="text/plain" rel="author" href="<?php echo $baseUrl ?>humans.txt" />
<!-- Bootstrap CSS -->
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/custom.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBdThfPJCWB0XXENvzwHNI5YSGicMboub8">
</script>
</head>
<body ng-controller="MainController as MainCtrl">
<div class="topbar" ng-class="{ 'topbar-animation' : firstOpen, 'submenu-animation' : show_submenu }">
<object id="logo" class="logo" ng-class="{ 'vertical-align' : MainCtrl.isMobile() }" type="image/svg+xml" data="media/lesbohemiensNero.svg"></object>
<div class="menu-div text-center noselect hidden-xs hidden-sm" ng-if="!MainCtrl.isMobile()">
<ul class="menu">
<li ng-repeat="entry in menu">
<span ng-if="entry.submenu" ng-click="MainCtrl.showSubMenu(entry.submenu)">{{ entry.name }}</span>
<a href="{{entry.url}}" ng-if="!entry.submenu">{{ entry.name }}</a>
</li>
</ul>
</div>
<div ng-if="MainCtrl.isMobile()" ng-click="MainCtrl.showMenu()" style="width: 100%;
position: absolute;
height: 44px;
top: 0;">
<span class="show-menu glyphicon glyphicon-menu-hamburger pull-left visible-xs visible-sm" ></span>
</div>
</div>
<div class="topbar submenu" ng-if="show_submenu">
<div class="menu-div vertical-align text-center hidden-xs hidden-sm" ng-class="{ 'submenu-change' : !submenu_change }">
<ul class="menu">
<li ng-repeat="entry in submenu">
<a href="{{entry.url}}" ng-click="MainCtrl.clickMenu(entry.url)">{{ entry.name }}</a>
</li>
</ul>
</div>
</div>
<div class="animate-menu menu-mobile visible-xs visible-sm text-center" ng-if="menu_mobile" style="width: 100%;">
<ul style="width: 100%;">
<div ng-repeat="entry in menu" >
<div style="width: 100%; position: relative;">
<li style="width: 100%;">
<span ng-if="entry.submenu" ng-click="MainCtrl.showSubMenuMobile(entry)" style="width: 100%; display: block;">{{ entry.name }}</span>
<a href="{{entry.url}}" ng-if="!entry.submenu" ng-click="MainCtrl.clickMenu(entry.url)" style="width: 100%; display: block;">{{ entry.name }}</a>
<span ng-if="entry.submenu && !show_submenu_mobile[entry.name]" class="glyphicon glyphicon-menu-down pull-right" style="font-size: large; right: 5%; position: absolute;
top: 50%;
transform: translateY(-50%);" ng-click="MainCtrl.showSubMenuMobile(entry)"></span>
<span ng-if="entry.submenu && show_submenu_mobile[entry.name]" class="glyphicon glyphicon-menu-up pull-right" style="font-size: large; right: 5%; position: absolute;
top: 50%;
transform: translateY(-50%);" ng-click="MainCtrl.showSubMenuMobile(entry)"></span>
</li>
</div>
<div class="submenu" ng-if="show_submenu_mobile[entry.name]" style="width: 100%;">
<li ng-repeat="subentry in entry.submenu" style="width: 100%;">
<a href="{{subentry.url}}" ng-click="MainCtrl.clickMenu(subentry.url)" style="width: 100%; display: block;">{{ subentry.name }}</a>
</li>
</div>
</div>
</ul>
</div>
<loading />
<div ng-if='!menu_mobile' class="main" ng-view autoscroll="true"></div>
<div ng-if='!menu_mobile' class="footer container-full-w">
<p class="left-foot">COPYRIGHT © Les Bohémiens All rights reserved</p>
<p class="right-foot">
<a href="home">Home</a>
<span style="font-size: smaller;"> • </span>
<a href="man/ss16">Man</a>
<span style="font-size: smaller;"> • </span>
<a href="woman/ss16">Woman</a>
<span style="font-size: smaller;"> • </span>
<a href="storelocator">Store Locator</a>
<span style="font-size: smaller;"> • </span>
<a href="mailto:[email protected]">Contact Us</a></p>
</div>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-resource/angular-resource.min.js"></script>
<script src="bower_components/angular-route/angular-route.min.js"></script>
<script src="bower_components/angular-animate/angular-animate.min.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.min.js"></script>
<script src="bower_components/angular-i18n/angular-locale_it-it.js"></script>
<script src="bower_components/angular-media-queries/match-media.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap.min.js"></script>
<script src="js/app.module.js"></script>
<script src="js/core/core.module.js"></script>
<script src="js/core/core.config.js"></script>
<script src="js/directives/fullscreen.directive.js"></script>
<script src="js/directives/loading.directive.js"></script>
<script src="js/directives/onviewport.directive.js"></script>
<script src="js/main/main.module.js"></script>
<script src="js/main/main.controller.js"></script>
<script src="js/home/home.module.js"></script>
<script src="js/home/home.controller.js"></script>
<script src="js/aboutus/aboutus.module.js"></script>
<script src="js/aboutus/aboutus.controller.js"></script>
<script src="js/man/man.module.js"></script>
<script src="js/man/man.controller.js"></script>
<script src="js/woman/woman.module.js"></script>
<script src="js/woman/woman.controller.js"></script>
<script src="js/italia/italia.module.js"></script>
<script src="js/italia/italia.factory.js"></script>
<script src="js/storelocator/storelocator.module.js"></script>
<script src="js/storelocator/storelocator.controller.js"></script>
<script src="js/contactus/contact.module.js"></script>
<script src="js/contactus/contact.controller.js"></script>
</body>
</html>