-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·524 lines (438 loc) · 20.3 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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
<?php
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
preg_match_all('/([a-z]{1,8}(-[a-z]{1,8})?)\s*(;\s*q\s*=\s*(1|0\.[0-9]+))?/i', $_SERVER['HTTP_ACCEPT_LANGUAGE'], $lang_parse);
if (count($lang_parse[1])){
$langs = array_combine($lang_parse[1], $lang_parse[4]);
foreach ($langs as $lang => $val){
if ($val === '') $langs[$lang] = 1;
}
//arsort($langs, SORT_NUMERIC);
}
$language = 'en';
foreach ($langs as $lang => $val){
if (strpos($lang,'fr')===0){
$language = 'fr';
break;
}
}
}
//if(is_null($language)){
// $language="en";
// }
include ("_include/php/parameters_$language.php");
?>
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if (IE 9)]><html class="no-js ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html lang="en-US"> <!--<![endif]-->
<head>
<link rel="SHORTCUT ICON" href="favicon.ico">
<!-- Meta Tags -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Matala'a | The eyes of the sun</title>
<meta name="description" content="Artist based in Noumea. Polynesian/maori inspired tattoo project, logo, album artwork, objects customization, you name it.." />
<meta name="keywords" content="matala'a,wallis,polynesie,tribal,polynesian,maori,moko,tattoo,tatau,tapa,polynesia,art,drawing,dessin,koru,graphic, design,kiri tuhi,Aotearoa,Samoa,Wallis,Tonga,Fidji">
<!-- Mobile Specifics -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="HandheldFriendly" content="true"/>
<meta name="MobileOptimized" content="320"/>
<!-- Mobile Internet Explorer ClearType Technology -->
<!--[if IEMobile]> <meta http-equiv="cleartype" content="on"> <![endif]-->
<!-- Bootstrap -->
<link href="_include/css/bootstrap.min.css" rel="stylesheet">
<!-- Main Style -->
<link href="_include/css/main.css" rel="stylesheet">
<!-- Supersized -->
<link href="_include/css/supersized.css" rel="stylesheet">
<link href="_include/css/supersized.shutter.css" rel="stylesheet">
<!-- FancyBox -->
<link href="_include/css/fancybox/jquery.fancybox.css" rel="stylesheet">
<!-- Font Icons -->
<link href="_include/css/fonts.css" rel="stylesheet">
<!-- Shortcodes -->
<link href="_include/css/shortcodes.css" rel="stylesheet">
<!-- Responsive -->
<link href="_include/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="_include/css/responsive.css" rel="stylesheet">
<!-- Supersized -->
<link href="_include/css/supersized.css" rel="stylesheet">
<link href="_include/css/supersized.shutter.css" rel="stylesheet">
<!-- Google Font -->
<link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,200,200italic,300,300italic,400italic,600,600italic,700,700italic,900' rel='stylesheet' type='text/css'>
<!-- Fav Icon -->
<link rel="shortcut icon" href="#">
<link rel="apple-touch-icon" href="#">
<link rel="apple-touch-icon" sizes="114x114" href="#">
<link rel="apple-touch-icon" sizes="72x72" href="#">
<link rel="apple-touch-icon" sizes="144x144" href="#">
<!-- Modernizr -->
<script src="_include/js/modernizr.js"></script>
<!-- Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-43712127-1', 'matalaa.com');
ga('send', 'pageview');
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'Insert Your Code']);
_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>
<!-- End Analytics -->
</head>
<body>
<!-- This section is for Splash Screen -->
<!--div class="ole">
<section id="jSplash">
<div id="circle"></div>
</section>
</div-->
<!-- End of Splash Screen -->
<!-- Homepage Slider -->
<!--div id="home-slider"-->
<!--div class="overlay"></div-->
<!--a id="nextsection2" href="#work">
<div class="slider-text"-->
<!--div id="slidecaption"></div-->
<!--/div>
</a>
<div class="control-nav">
<a id="prevslide" class="load-item"><i class="font-icon-arrow-simple-left"></i></a>
<a id="nextslide" class="load-item"><i class="font-icon-arrow-simple-right"></i></a>
<ul id="slide-list"></ul>
<a id="nextsection" href="#work"><i class="font-icon-arrow-simple-down"></i></a>
</div>
</div-->
<!-- End Homepage Slider -->
<!-- Header -->
<header>
<div class="sticky-nav">
<a id="mobile-nav" class="menu-nav" href="#menu-nav"></a>
<div id="logo">
<a id="goUp" href="#home-slider" data-toggle="tooltip" data-placement="bottom" title="Matala'a | The eyes of the sun"></a>
</div>
<div id="social-area">
<nav id="social">
<ul>
<li><font size="6">{</font></li>
<li><a href="https://www.facebook.com/matalaadesign" data-toggle="tooltip" data-placement="bottom" title="<?php echo $socialFB; ?>" target="_blank"><span class="font-icon-social-facebook"></span></a></li>
<li><a href="https://twitter.com/_matalaa_" data-toggle="tooltip" data-placement="bottom" title="twitter" target="_blank"><span class="font-icon-social-twitter"></span></a></li>
<li><a href="<?php echo $zazzle; ?>matalaa" data-toggle="tooltip" data-placement="bottom" title="<?php echo $socialZazzle; ?>" target="_blank"><span class="font-icon-social-zerply"></span></a></li>
<li><font size="6">}</font></li>
</ul>
</nav>
</div>
<nav id="menu">
<ul id="menu-nav">
<li class="current"><a href="#home-slider"><?php echo $menu1; ?></a></li>
<li><a href="#work"><?php echo $menu2; ?></a></li>
<li><a href="#shop"><?php echo $menu3; ?></a></li>
<li><a href="#contact"><?php echo $menu4; ?></a></li>
<li><a href="#instagram">INSTAGRAM</a></li>
</ul>
</nav>
<!--div id="flag">
<FORM method="POST" action="index.php">
<input id="flag" type="image" data-toggle="tooltip" title="français" src="_include/img/fr.jpg" name="lang" value="fr"/>
<input id="flag" type="image" data-toggle="tooltip" title="english" src="_include/img/en.jpg" name="lang" value="en"/>
<input id="flag" type="image" data-toggle="tooltip" title="fakauvea" src="_include/img/wf.jpg" name="lang" value="wf"/>
</FORM>
</div-->
</div>
</header>
<!-- End Header 한국어-->
<!--modal-->
<!--div id="modal" class="modalDialog">
<div>
<div class="modalContent">
<a href="" title="Close" class="close">X</a>
<a href="shopNC.html" ><img src="_include/img/shop/nc_tee2.png"/>
</a>
</div>
<div id="button" ><a href="shopNC.html" class="button" >Commander</a></div>
</div>
</div-->
<div id="home-slider" id="about" class="firstpage">
</div>
<!--ul class="content"><li class="content"-->
<!-- Our Work Section -->
<div id="work" class="pageb">
<div class="container">
<!-- Title Page -->
<div class="row">
<div class="span12">
<div class="title-page">
<h2 class="title"><?php echo $myWorkTitle; ?></h2>
<h3 class="title-description"><?php echo $myWorkDesc; ?></h3>
</div>
</div>
</div>
<!-- End Title Page -->
<!-- Portfolio Projects -->
<div class="row">
<!-- <div class="span3"> -->
<!-- Filter -->
<nav id="options" class="work-nav">
<ul id="filters" class="option-set" data-option-key="filter">
<li class="type-work"><?php echo $myWork_type; ?></li>
<!--li><a href="#filter" data-option-value="*" class="selected"><?php echo $myWork_all; ?></a></li-->
<li><a href="#filter" data-option-value=".logo" class="selected">logos</a></li>
<li><a href="#filter" data-option-value=".tattoo">tattoo designs</a></li>
<li><a href="#filter" data-option-value=".phone">phone case</a></li>
<li><a href="#filter" data-option-value=".sketch">sketches</a></li>
</ul>
</nav>
<!-- End Filter -->
<!-- </div> -->
<div class="span12">
<div class="row">
<section id="projects">
<ul id="thumbs">
<?php
//generated from a parameter file
$file_handle = fopen("_include/properties/listphotos.txt", "rb");
while (!feof($file_handle) ) {
$line_of_text = fgets($file_handle);
$parts = explode(';', $line_of_text);
$project_group = "$parts[0]";
$project_title = "$parts[1]";
$project_imageUrl = "$parts[2]";
$project_imageThumbUrl = "$parts[3]";
$project_description = "";//$parts[4]";
echo "
<!-- Item Project and Filter Name -->
<li class=\"item-thumbs span2 $project_group\">
<!-- Fancybox - Gallery Enabled - Title - Full Image -->
<a class=\"hover-wrap fancybox\" data-fancybox-group=\"$project_group\" title=\"$project_title\" href=\"$project_imageUrl\">
<span class=\"overlay-img\"></span>
<span class=\"overlay-img-thumb font-icon-plus\"></span>
</a>
<!-- Thumb Image and Description -->
<img src=\"$project_imageThumbUrl\" alt=\"$project_description\">
</li>
";
}
?>
</ul>
</section>
</div>
</div>
</div>
<!-- End Portfolio Projects -->
</div>
</div>
<!-- End Our Work Section -->
<!--/li><li class="content"-->
<!-- Shop Section -->
<div id="shop" class="page-alternate">
<div class="container">
<!-- Title Page -->
<div class="row">
<div class="span12">
<div class="title-page">
<h2bis class="title"><?php echo $shopTitle; ?></h2bis><br>
<h3bis class="title-description"><?php echo $shopeDesc; ?></h3bis>
<p><br/><?php echo $shopButton; ?><br/></p>
<span class="msg"><?php echo $shopeDesc2; ?></span>
</div>
</div>
</div>
<!-- End Title Page -->
<!-- Carousel -->
<div class="row">
<div id="myCarousel" class="carousel slide">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Carousel items -->
<div class="carousel-inner">
<div class="active item">
<a href="<?php echo $zazzle; ?>matalaa/gifts?cg=196852741159933128" target="_blank">
<img src="_include/img/slider-images/website_ipad.png">
</a>
</div>
<div class="item">
<a href="<?php echo $zazzle; ?>matalaa/gifts?cg=196687929279901308" target="_blank">
<img src="_include/img/slider-images/website_clothe.png">
</a>
</div>
<div class="item">
<a href="<?php echo $zazzle; ?>matalaa/gifts?cg=196635979569104900" target="_blank">
<img src="_include/img/slider-images/website_sleeve.png">
</a>
</div>
<div class="item">
<a href="<?php echo $zazzle; ?>matalaa/" target="_blank">
<img src="_include/img/slider-images/website_other.png">
</a>
</div>
<!-- fetch zazzle info -->
<?php
// configure Zazzle Store Builder display
$_GET['showPagination'] = 'false';
$_GET['showSorting'] = 'false';
$_GET['showProductDescription'] = 'true';
$_GET['showByLine'] = 'true';
$_GET['showProductTitle'] = 'true';
$_GET['showProductPrice'] = 'true';
$_GET['gridCellSize'] = 'huge';
$_GET['showHowMany'] = '100';
//include "_include/php/zstore.php";
?>
<!-- End Profile -->
</div>
<!-- Carousel nav -->
<a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#myCarousel" data-slide="next">›</a>
</div>
</div>
<!-- End People -->
</div>
</div>
<!-- End About Section -->
<!--/li><li class="content"-->
<!-- Contact Section -->
<div id="contact" class="page">
<div class="container">
<!-- Title Page -->
<div class="row">
<div class="span12">
<div class="title-page">
<h2 class="title"><?php echo $contactTitle; ?></h2>
<h3 class="title-description"><?php echo $contactDesc; ?></h3>
</div>
</div>
</div>
<!-- End Title Page -->
<!-- Contact Form -->
<div class="row">
<div class="span9">
<form id="contact-form" class="contact-form" action="#">
<p class="contact-name">
<input id="contact_name" type="text" placeholder="<?php echo $contact_name; ?>" value="" name="name" />
</p>
<p class="contact-email">
<input id="contact_email" type="text" placeholder="<?php echo $contact_address; ?>" value="" name="email" />
</p>
<p class="contact-message">
<textarea id="contact_message" placeholder="<?php echo $contact_msg; ?>" name="message" rows="15" cols="40"></textarea>
</p>
<p class="contact-submit">
<a id="contact-submit" class="submit" href="#"><?php echo $contact_button; ?></a>
</p>
<div id="response">
</div>
</form>
</div>
<div class="span3">
<div class="contact-details">
<h3><?php echo $contact_details; ?></h3>
<ul>
<li><span class="color-text"><?php echo $contact_email; ?>
</span></li>
<li>
<?php echo $contact_city; ?>
</li>
<li >
<div class="fb-like-box" data-href="https://www.facebook.com/matalaadesign" data-colorscheme="light" data-show-faces="false" data-header="false" data-stream="false" data-show-border="false"></div>
</li>
<li>
<a href="https://twitter.com/_matalaa_" class="twitter-follow-button" data-show-count="false">Follow @_matalaa_</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</li>
<li>
<style>.ig-b- { display: inline-block; }
.ig-b- img { visibility: hidden; }
.ig-b-:hover { background-position: 0 -60px; } .ig-b-:active { background-position: 0 -120px; }
.ig-b-v-24 { width: 137px; height: 24px; background: url(//badges.instagram.com/static/images/ig-badge-view-sprite-24.png) no-repeat 0 0; }
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
.ig-b-v-24 { background-image: url(//badges.instagram.com/static/images/[email protected]); background-size: 160px 178px; } }</style>
<a href="http://instagram.com/matalaapolynesianart?ref=badge" class="ig-b- ig-b-v-24"><img src="//badges.instagram.com/static/images/ig-badge-view-24.png" alt="Instagram" /></a>
</li>
</ul>
</div>
</div>
</div>
<!-- End Contact Form -->
</div>
</div>
<!-- End Contact Section -->
<div id="instagram" class="page-alternate">
<div class="container">
<!-- Title Page -->
<div class="row">
<div class="span12">
<div class="title-page">
<h2bis class="title">Instagram, </h2bis><br>
<h3bis class="title-description">follow <span class="color-text"><a href="http://instagram.com/matalaapolynesianart">@matalaapolynesianart</a></span> </h3bis>
<style>.ig-b- { display: inline-block; }
.ig-b- img { visibility: hidden; }
.ig-b-:hover { background-position: 0 -60px; } .ig-b-:active { background-position: 0 -120px; }
.ig-b-v-24 { width: 137px; height: 24px; background: url(//badges.instagram.com/static/images/ig-badge-view-sprite-24.png) no-repeat 0 0; }
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
.ig-b-v-24 { background-image: url(//badges.instagram.com/static/images/[email protected]); background-size: 160px 178px; } }</style>
<a href="http://instagram.com/matalaapolynesianart?ref=badge" class="ig-b- ig-b-v-24"><img src="//badges.instagram.com/static/images/ig-badge-view-24.png" alt="Instagram" /></a>
</div>
</div>
</div>
<!-- End Title Page -->
<!-- Carousel -->
<div class="row">
<!-- SnapWidget -->
<script src="http://snapwidget.com/js/snapwidget.js"></script>
<iframe src="http://snapwidget.com/in/?u=bWF0YWxhYXBvbHluZXNpYW5hcnR8aW58MTI1fDN8M3x8bm98NXxmYWRlT3V0fG9uU3RhcnR8eWVzfHllcw==&ve=080914" title="Instagram Widget" class="snapwidget-widget" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:100%;"></iframe>
</div>
</div>
</div>
<!--/li><li class="content"-->
<!--<div id="home-slider">
<div class="overlay"></div>
</div>
-->
<!-- Footer -->
<footer>
<p class="credits"><?php echo $footerTitle; ?></p>
</footer>
<!-- End Footer -->
<!--/li></ul-->
<!-- Back To Top -->
<a id="back-to-top" href="#">
<i class="font-icon-arrow-simple-up"></i>
</a>
<!-- End Back to Top -->
<!-- Js -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <!-- jQuery Core -->
<script src="_include/js/bootstrap.min.js"></script> <!-- Bootstrap -->
<script src="_include/js/supersized.3.2.7.min.js"></script> <!-- Slider -->
<script src="_include/js/waypoints.js"></script> <!-- WayPoints -->
<script src="_include/js/waypoints-sticky.js"></script> <!-- Waypoints for Header -->
<script src="_include/js/jquery.isotope.js"></script> <!-- Isotope Filter -->
<script src="_include/js/jquery.fancybox.pack.js"></script> <!-- Fancybox -->
<script src="_include/js/jquery.fancybox-media.js"></script> <!-- Fancybox for Media -->
<script src="_include/js/jquery.tweet.js"></script> <!-- Tweet -->
<script src="_include/js/plugins.js"></script> <!-- Contains: jPreloader, jQuery Easing, jQuery ScrollTo, jQuery One Page Navi -->
<script src="_include/js/main.js"></script> <!-- Default JS -->
<!-- End Js -->
<!-- SnapScroll Core Files -->
<script type="text/JavaScript" src="_include/js/dependencies/jquery.scroll_to.js"></script>
<script type="text/JavaScript" src="_include/js/jquery.snapscroll.js"></script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</body>
</html>