This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·250 lines (185 loc) · 10.5 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
<?php
#Filename based cache busting made easy
#http://heatherevens.me.uk/2013/07/01/filename-based-cache-busting-made-easy/
##################################################################################
function cachifyFileName($fileName)
{
if (file_exists($fileName))
{
$lastModified = filemtime($fileName);
$pathParts = pathinfo($fileName);
$fileName = $pathParts['dirname'].'/'.$pathParts['filename'].'.'.$lastModified.'.'.$pathParts['extensions'];
}
return $fileName;
}
?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8">
<!-- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> -->
<!-- TODO: Unique Page Titles - PHP -->
<!-- TODO: Generic META Data - PHP -->
<!-- TODO: Ask Client for Unique META Data- PHP -->
<title><?php echo $metaTitle; ?></title>
<?php if ($metaKeywords == "Meta Keywords") { ?>
<meta name="keywords" content="enter, your, keywords">
<?php } else { ?>
<meta name="keywords" content="<? echo $metaKeywords; ?>">
<?php } if ($metaDescription == "Meta Description") { ?>
<meta name="description" content="Enter a generic description here...">
<?php } else { ?>
<meta name="description" content="<? echo $metaDescription; ?>">
<?php } ?>
<meta name="Rating" content="General">
<meta name="robots" content="all">
<meta name="revisit-after" content="30 Days">
<meta name="author" content="Amasci Creative Limited | www.amasci.co.uk | [email protected] | 01908 668 665">
<meta name="dcterms.dateCopyrighted" content="© <?php echo date('Y'); ?>" />
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE">
<!-- Mobile Specific Meta Data
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS
================================================== -->
<!-- Main Styles -->
<!--[if ! lt IE 8]><!-->
<!--Stylesheets for browsers other than lower than Internet Explorer 8 -->
<link href="/assets/css/style.min.<?php echo filectime($_SERVER['DOCUMENT_ROOT'].'/assets/css/style.min.css'); ?>.css" rel="stylesheet" type="text/css" media="screen, projection">
<!--<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="/assets/css/universal-IE7.min.css" media="screen, projection">
<![endif]-->
<!-- JAVASCRIPTS
================================================== -->
<!-- JS Files via Fetch -->
<!--
START
Respond
A fast & lightweight Polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more)
HTML5 Shiv
The HTML5 Shiv enables use of HTML5 sectioning elements in legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9, Safari 4.x (and iPhone 3.x), and Firefox 3.x.
JQuery.min
The latest minified version of JQuery
END LIST OF FILES
-->
<script type="text/javascript" src="/assets/js/modernizr.min.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="/assets/js/respond.min.js"></script>
<![endif]-->
<!-- TODO: Google Analytics Code to be recreated from account and look into moving to the footer? -->
<!--GOOGLE ANALYTCIS-->
<!--END GOOGLE ANALYTCIS-->
<!-- Favicons
================================================== -->
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link rel="apple-touch-icon" href="/img/touch/apple-touch-icon-57x57-precomposed.png" />
<link rel="apple-touch-icon" href="/img/touch/apple-touch-icon-76x76-precomposed.png" sizes="60x60" />
<link rel="apple-touch-icon" href="/img/touch/apple-touch-icon-72x72-precomposed.png" sizes="72x72" />
<link rel="apple-touch-icon" href="/img/touch/apple-touch-icon-76x76-precomposed.png" sizes="76x76" />
<link rel="apple-touch-icon" href="/img/touch/apple-touch-icon-114x114-precomposed.png" sizes="114x114" />
<link rel="apple-touch-icon" href="/img/touch/apple-touch-icon-114x114-precomposed.png" sizes="120x120" />
<link rel="apple-touch-icon" href="/img/touch/apple-touch-icon-144x144-precomposed.png" sizes="144x144" />
<link rel="apple-touch-icon" href="/img/touch/apple-touch-icon-152x152-precomposed.png" sizes="152x152" />
<meta name="msapplication-TileImage" content="/img/touch/apple-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#333333">
<!-- Gridset App Temp Files
================================================== -->
<!--<link href="https://get.gridsetapp.com/21865/" rel="stylesheet" />
<script src="https://get.gridsetapp.com/21865/overlay/"></script>-->
</head>
<body>
<div class="wrapper">
<!--[if lt IE 8]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://whatbrowser.org/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<header role="banner">
<a href="/" title="Homepage"><img src="img/logo.png" alt="Logo" class="logo"></a>
</header>
<?php $current[$sectionNumber] = 'class="current"'; ?>
<nav id="nav" class="main-menu" role="navigation">
<ul>
<li><a href="#search" accesskey="1" tabindex="1" class="search-link icon-search m-hide t-hide d-show"><span>Search</span></a></li>
<li><a href="/" accesskey="2" tabindex="2" <?php echo $current[1] ?>>Home</a></li>
<li><a href="" accesskey="3" tabindex="3" <? echo $current[2] ?>>Item</a></li>
<li><a href="" accesskey="4" tabindex="4" <?php echo $current[3] ?>>Item</a></li>
<li><a href="" accesskey="5" tabindex="5" <?php echo $current[4] ?>>Item</a></li>
<li><a href="" accesskey="6" tabindex="6" <?php echo $current[5] ?>>Item</a></li>
<li><a href="" accesskey="7" tabindex="7" <?php echo $current[6] ?>>Contact</a></li>
</ul>
</nav>
<div class="container">
<main role="main">
<img src="/images/logo.svg" alt="Watfeilds Limited Logo" title="Watfeilds Limited Logo" class="logo">
<!--<img src="/images/logo.png" class="logo" alt="Watfeilds Limited Logo">-->
<h1 class="flush-bottom">Watfields Full Website Coming Soon</h1>
<h2>Precision Engineering Specialists in Sheffield and Yorkshire</h2>
<p>Watfields Ltd is a family run Precision Engineering company born out of genuine passion for production manufacturing and all that it entails. Our main services include Turning, milling, CAD drawing, reverse engineering, Material and product sourcing, Design and development, Project Management, Sub-contract work and machining only services. We are best suited to Job and batch production runs up to 1000 pieces however we are happy to quote on all prospective work.</p>
<p>Our aim is to grow our business internationally by providing quality products and services at great value, whilst meeting and exceeding customer expectations and by building positive, lasting relationships.</p>
<h2>Discuss Your Precision Engineering Requirements</h2>
<p class="contact"><span class="large"><i class="icon-phone"></i> 0114 433 30 13</span></p>
<p class="contact"><span class="large"><a href="mailto:[email protected]"><i class="icon-email"></i> [email protected]</a></span></p>
<p class="address"><i class="icon-address large"></i></p>
<p class="contact">Unit 6 Clayfield Road<br>
Platts Common Industrial Estate<br>
Hoyland<br>
Barnsley<br>
S74 9TL</p>
</main>
<aside role="complementary">
<!--<img src="images/main.jpg" alt="Watfields Example Engineering Images" class="img-center">-->
<h2>Get Updates</h2>
<p class="flush-bottom">Keep up to date with Watfields now and in the future. Simply fill in your details and we'll let you know when we launch our new site.</p>
<form action="http://amasci.createsend.com/t/y/s/cjlkud/" method="post" class="signup-form">
<p>
<label for="fieldName">Name</label><br />
<input id="fieldName" name="cm-name" type="text" placeholder="Full Name" />
<label for="fieldEmail">Email</label><br />
<input id="fieldEmail" name="cm-cjlkud-cjlkud" type="email" placeholder="Email Address" required />
<button type="submit" class="subscribe">Sign me up</button>
</p>
</form>
<p>
<a href="https://Twitter.com/watfields" title="Follow us on Twitter" target="_blank"><i class="icon-twitter icon-social twitter"></i></a>
<a href="http://www.facebook.com/watfields.ltd" title="Follow us on Facebook" target="_blank"><i class="icon-facebook icon-social facebook"></i></a>
</p>
</aside>
</div>
</div>
<footer role="contentinfo">
<div class="container">
<p>Watfields Limited are registered at Companies House England and Wales<br>
Company Registration Number. 08138894</p>
<p>Registered Address.13 Seymore Road, Aston, Sheffield, South Yorkshire, S26 2DG</p>
<p>All Content © Watfields Limited<br>
Website © <a href="http://www.amasci.co.uk" target="_blank" title="visit Amasci Creative Limited - Web Solutons, Graphic Design and much more." class="textFooterAmasci">Amasci Creative Limited, website design Milton Keynes</a> 2013</p>
</p>
</div>
</footer>
<!-- JAVASCRIPTS
================================================== -->
<!-- TODO: Replace JQuery with CDN and Local Fallback. Update Version number as required -->
<script type="text/javascript" src="/assets/js/jquery.min.js"></script>
<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/assets/js/jquery.min.js"><\/script>')</script>-->
<script type="text/javascript" src="/assets/js/savetheorphans.min.js"></script>
<script type="text/javascript" src="/assets/js/functions.min.js"></script>
<!--[if IE 7]>
<script>
$.fn.equalheight = function() { return this };
</script>
<![endif]-->
<!-- TODO: Google Analytics Code to be created from account -->
<!--GOOGLE ANALYTCIS-->
<!--END GOOGLE ANALYTCIS-->
<!-- TODO: REMOVE GRIDSET JS COMMENTS -->
<!-- Gridset App Temp Files
================================================== -->
<!-- <script src="https://get.gridsetapp.com/21997/overlay/"></script> -->
</body>
</html>