#!/usr/bin/perl --
#!C:/Web_Applications/perl/bin/perl

#Modified 02/06/10 - changed names of sports portfolio and bio .pl
#Modified 05/08/10 - changes to menu and perl path
#Modified 07/01/11 - added Google stats and made text area same width as rest of the site.
#modified 27/04/12 - remove google analytics for cookie law complience
#Modified 10/08/13 - Copyright year is now a variable
#Modified 06/12/13 - to pick up new database following migarion/upgrade of hosting.
#Modified 21/04/15 - viewport & other mobile-friendly mods
#Modified 31/07/15 - allow for cookie mods

#This will display the introduction to the Exhibition page. 

use DBI;

use CGI qw (:standard);
use CGI::Carp qw(fatalsToBrowser);

use Time::gmtime;
$ct = gmtime();
$realyear = $ct->year + 1900;

my ($cgi) = new CGI;

print $cgi->header;





#To select a title based upon the catgory of the image
$page_title="title_exhibition.gif";



print "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
print"<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
print"<head>\n";
print"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n";
print"<title>speed ice skating racing photography commercial sport exhibition</title>\n";
print"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n";
print"<link rel=\"stylesheet\" media=\"(max-width: 640px)\" href=\"/global-max-640px.css\" rel=\"stylesheet\" type=\"text/css\" />\n";
print"<link rel=\"stylesheet\" media=\"(min-width: 640px)\" href=\"/global.css\" rel=\"stylesheet\" type=\"text/css\" />\n";

print"<link rel=\"icon\" type=\"image/gif\" href=\"http://www.peterhatter.com/sports_photography.gif\"/>\n";

print"<script type=\"text/javascript\">
function myF() {
	if (screen.width < 500) {
		document.getElementById(\"title\").width=\"80\";
		document.getElementById(\"twitter_logo\").width=\"30\";
		document.getElementById(\"fb_logo\").width=\"30\";
	}
}
</script>\n";

my ($page_title);


#To select a title based upon the catgory of the image
$page_title="/title_exhibition.gif";

print"<!--Cookie compliance code from https://silktide.com/tools/cookie-consent/download/-->

<!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
<script type=\"text/javascript\">
    window.cookieconsent_options = {\"message\":\"This website uses cookies to ensure you get the best experience on our website\",\"dismiss\":\"Got it!\",\"learnMore\":\"More info\",\"link\":\"http://www.peterhatter.com/cgi-bin/privacy_policy.pl\",\"theme\":\"dark-top\"};
</script>

<script type=\"text/javascript\" src=\"//s3.amazonaws.com/cc.silktide.com/cookieconsent.latest.min.js\"></script>
<!-- End Cookie Consent plugin -->\n";

print"</head>\n";
print"<body>\n";
print"<div class=\"body\">\n";
print"<div class=\"banner\">\n";
print"<div class = \"page_title\">\n";
print"<img src = \"$page_title\" width=\"230\" alt = \"Exhibition\" id =\"title\" onload=\"myF()\">\n";
print"</div>\n";
print"</div>\n";


print"<div class=\"new_mainNav\">\n";
print"  	<ul>\n";
print"  	 	<li><a href=javascript:history.back();>back</a></li>\n";
print"    		<li><a href=\"/index.html\">home</a></li>\n";
print"		<li><a href=\"/cgi-bin/sports_photography_portfolio.pl\">sport folio</a></li>\n";
#print"		<li><a href=\"/cgi-bin/non_sport_portfolio.pl\">non-sport folio</a></li>\n";
print"		<li><a href=\"/cgi-bin/rates.pl\">rates</a></li>\n";
#print"		<li><a href=\"/cgi-bin/category_search.pl?category=general\">general</a></li>\n";
print"    		<li><a href=\"/cgi-bin/contact.pl\">contact</a></li>\n";
print"		<li><a href=\"/nottingham_commercial_photographer_bio.html\">bio</a></li>\n";
print"	</ul>\n";
print"</div>\n";


print"<div class=\"legal_centre\">\n";
#print"<p><h2>The Exhibition</h2><p>\n";
print"<br><br><p>An introduction.<p>\n";
print"<p>This is a collection of images I have taken at the Nottingham Ice Racing Club training nights as part of a personal project.\n";
print"\n";
print"The club have very generously allowed me access to shoot during their one hour of ice time on a Tuesday evening.\n";

print"<br><br><br>About the images.<br>\n";
print"<br>I have always found Speed Skating to be exciting and photogenic but the images I have seen didn't explore the sport other than to capture a racing moment.  Of course these are great action shots but the challange for me was to come back with images that gave a fresh look at the sport and the people that take part.<br>I made some suggestions to the club who very kindly listened to all of my requests \n";
print" and were most accomodating, allowing me to shoot from some very unusual angles.\n\n\n";
print" I hope that I have been able to do justice to the grace, power, speed and effort these athletes put into their Tuesday night training session.\n\n\n";
print" I would like to thank Peter and Amanda Worth and all of the skaters for putting up with me whilst they trained.\n";
print"<br>";
print"<br> To  enter the gallery and view the images <a href=\"/cgi-bin/exhibition_display.pl\">click here.</a></li>\n";

print"</div>\n";

#print"<div class=\"legal_right\">\n";
#print"</div>\n";
		
#print"<div class=\"footer_2\">\n";
#print"	<p>&copy; 2008-".$realyear." Peter Hatter. All photography and design by Peter Hatter</p>\n";
#print"</div>\n";

print"<div class=\"bottom_of_page\">
<br/>
<a href=\"/index.html\">Home </a>
<a href=\"legal.pl\">Legal   </a>
<a href=\"privacy_policy.pl\">   Privacy</a>
<p>© 2015 Peter Hatter Photography Ltd. All rights reserved.</p>
<a href=\"http://www.twitter.com/peterhatter\"><img src=\"/Twitter_logo_blue.jpg\" id=\"twitter_logo\" onload=\"myF()\" width=\"60\"></a>
</div>\n";

print"<div class=\"preload\">&nbsp;</div>\n";
print"</div>\n";
print"</body>\n";
print"</html>\n";


# To finish off here now.

$DBI::err == 0;




