vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit 9248fa38a807f2d530d662b1c423de0f139e8d4d
parent 94d44a433181d2ef96d41d4548f2c1670f0e9530
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Fri,  2 Jan 2015 13:07:17 -0500

deleted old stuff at as/

	deleted:    as/as-ps.jpg
	deleted:    as/as2.jpg
	deleted:    as/index.html
	deleted:    as/reg-error.html
	deleted:    as/reg-handler.php
	deleted:    as/registered.html
	deleted:    as/req-error.html
	deleted:    as/req-sent.html
	deleted:    as/reqsht-handler.php

Diffstat:
as/as-ps.jpg | 0
as/as2.jpg | 0
as/index.html | 587-------------------------------------------------------------------------------
as/reg-error.html | 68--------------------------------------------------------------------
as/reg-handler.php | 57---------------------------------------------------------
as/registered.html | 66------------------------------------------------------------------
as/req-error.html | 68--------------------------------------------------------------------
as/req-sent.html | 67-------------------------------------------------------------------
as/reqsht-handler.php | 58----------------------------------------------------------
9 files changed, 0 insertions(+), 971 deletions(-)

diff --git a/as/as-ps.jpg b/as/as-ps.jpg Binary files differ. diff --git a/as/as2.jpg b/as/as2.jpg Binary files differ. diff --git a/as/index.html b/as/index.html @@ -1,587 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta name="description" content="Apertures and Shutters, a Chennai based start-up, offers Basic and Advanced Photography classes with extensive theory, guided outdoor and review sessions."> - <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen"> - <link href="/css/bootstrap-lightbox.min.css" rel="stylesheet" media="screen"> - <link href="/css/jui/jquery-ui-1.10.3.custom.min.css" rel="stylesheet" media="screen"> - <link href="/css/custom.css" rel="stylesheet" media="screen"> - <title> A&amp;S &middot; Basic and Advanced Photography classes</title> -</head> -<body> - <div class="container-fluid"> - <div class="navbar navbar-inverse"> - <div class="navbar-inner"> - <a class="brand" href="/">Vishwa Manoharan Photography</a> - <ul class="nav pull-right"> - <li><a href="/">Home</a></li> - <li><a href="/gallery/"> Gallery </a></li> - <li class="active"><a href="#"> Apertures & Shutters</a></li> - <li><a href="/bio/"> Bio </a></li> - <li><a href="/contact/"> Contact </a></li> - </ul> - </div> - </div> - </div> - - <div class="container-fluid"> <!-- AS container start --> - <div class="row-fluid"> <!-- AS row start --> - <div class="span6"> <!-- AS-PC column start --> - <h1 class="text-center"> - Photography Classes - </h1> - <p> - '<strong>Apertures and Shutters</strong>' is my start up, - offering <strong>Basic and Advanced Weekend Photography - Classes</strong>. With extensive theory, guided outdoor and - review sessions, a complete enlightenment in photography is - assured. I strongly believe that Photography is an Art, not - merely technical settings and hence the classes will be - taught in a practical and dynamic manner. </p> - - <div class="row-fluid"> <!-- AS-PC course row start --> - <div class="span12"> <!-- AS-PC course column start --> - <div class="accordion" id="pc-level1"> <!-- AS-PC accordion start --> - <div class="accordion-group"> <!-- AS-PC Level 1 accordion start --> - <div class="accordion-heading"> - <h2> Level 1 - Basic Photography Course </h2> - <p><a class="accordion-toggle" data-toggle="collapse" - data-parent="#pc-level1" href="#pc-level1-det"> - <span class="label label-info">See Course Details</span> - </a></p> - </div> - <div id="pc-level1-det" class="accordion-body collapse"> - <div class="accordion-inner"> - <dl> - <dt> - <span class="label label-inverse"> - <i class="icon-calendar icon-white"></i> - Duration - </span> - </dt> - <dd> - 4 Weekends. Post completion of course, - continued support through periodical online - reviews and photo-walks. - </dd> - <dt> - <span class="label label-inverse"> - <i class="icon-time icon-white"></i> - Time - </span> - </dt> - <dd> - Saturday 5pm &rArr; 7pm - </dd> - <dd> - Sunday 10am &rArr; 12pm - </dd> - <dt> - <span class="label label-inverse"> - <i class="icon-shopping-cart icon-white"></i> - Course Fee - </span> - </dt> - <dd> - <span class="WebRupee"> - Rs - </span> - 3000 + Taxes - </dd> - - <dt> - <span class="label label-inverse"> - <i class="icon-tasks icon-white"></i> - Eligibility - </span> - </dt> - <dd> - A never ending thirst for photography. <br /> - Possession of a camera is a must, preferably a DSLR. - </dd> - - <dt> - <span class="label label-inverse"> - <i class="icon-book icon-white"></i> - Syllabus - </span> - </dt> - <dd> - <ul> - <li>The 'Art Of Seeing' The World Around You</li> - <li>What To Shoot? Why To Shoot? </li> - <li>Knowing Your Camera </li> - <li>Types Of Lenses And Their Uses </li> - <li>The Exposure Triangle - Aperture, Shutter and ISO</li> - <li>Shooting Modes, Metering Modes, Autofocus Types, White Balance, etc </li> - <li>Exposure Compensation </li> - <li>How To Create A Photograph</li> - <li>Golden Rules Of Composition</li> - <li>Understanding Light</li> - <li>Filters And Their Uses</li> - <li>How To Click Beautiful Landscape And Nature Pictures</li> - <li>How To Click People</li> - <li>How To Take Creative Photographs</li> - <li>Photographing The Night And Other Long Exposure Techniques</li> - <li>Basic Photoshop Correction</li> - </ul> - </dd> - </dl> - - <p class="text-center"> - <a class="btn btn-inverse btn-large" href="#reg-level1" role="button" data-toggle="modal"> - <i class="icon-chevron-right icon-white"></i> - Register Now - </a> - </p> - - <!-- Registration Level 1 Modal start --> - <div id="reg-level1" class="modal hide fade" tabindex="-1" - role="dialog" aria-labelledby="RegisterLevel1" aria-hidden="true"> - <div class="modal-header"> - <h3 id="RegisterLevel1">Photography Class Registration - Level 1 </h3> - </div> - <div class="modal-body"> - - <form class="form-horizontal" id="reg-form-level1" method="POST" action="/as/reg-handler.php"> - <fieldset> - <div class="control-group"> - <label class="control-label" for="name-l1">Name</label> - <div class="controls"> - <input type="text" id="name-l1" name="name" placeholder="Spock" required> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="email-l1">Email</label> - <div class="controls"> - <input type="email" id="email-l1" name="email" placeholder="spock@cyb.org" required> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="phone-l1">Phone Number</label> - <div class="controls"> - <input type="tel" id="phone-l1" name="phone" placeholder="31-4159-2653"> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="blurb-l1"> Tell us about yourself </label> - <div class="controls"> - <textarea id="blurb-l1" name="blurb" rows="3" - placeholder="Blurb" required></textarea> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="humantest-l1"> What is 100 + 1 ?</label> - <div class="controls"> - <input type="text" id="humantest-l1" name="humantest" - placeholder="Prove that you're not a bot." required> - </div> - </div> - - <div class="control-group"> - <div class="controls"> - <button class="btn btn-inverse" type="submit" - name="submit" value="submit-l1" - form="reg-form-level1" aria-hidden="true"> - <i class="icon-cog icon-white"></i> - Register - </button> - </div> - </div> - - </fieldset> - </form> - </div> - </div> <!-- end Registration Level 1 Modal --> - </div> - </div> - </div> <!-- end AS-PC Level 1 accordion --> - - <div class="accordion-group"> <!-- AS-PC Level 2 accordion start --> - <div class="accordion-heading"> - <h2>Level 2 - Advanced Photography Course</h2> - <p> - <a class="accordion-toggle" data-toggle="collapse" - data-parent="#pc-level2" href="#pc-level2-det"> - <span class="label label-info">See Course Details</span> - </a></p> - </div> - <div id="pc-level2-det" class="accordion-body collapse"> - <div class="accordion-inner"> - <dl> - <dt> - <span class="label label-inverse"> - <i class="icon-calendar icon-white"></i> - Duration - </span> - </dt> - <dd> - 8 Weekends - </dd> - - <dt> - <span class="label label-inverse"> - <i class="icon-shopping-cart icon-white"></i> - Course Fee - </span> - </dt> - <dd> - <span class="WebRupee"> - Rs - </span> - 6000 + Taxes - </dd> - - <dt> - <span class="label label-inverse"> - <i class="icon-tasks icon-white"></i> - Eligibility - </span> - </dt> - <dd> - <strong>Level 1</strong> completion in A&amp;S or any equivalent course. <br /> - Possession of a DSLR is a must. - </dd> - - <dt> - <span class="label label-inverse"> - <i class="icon-book icon-white"></i> - Syllabus - </span> - </dt> - <dd> - <ul> - <li> Lighting Foundation - <li> Types of Lighting </li> - <li> Lighting for Still Life - Strobist Session </li> - <li> Portrait and Fashion - Studio Session </li> - <li> Portrait - Strobist Session </li> - <li> Light Mixing </li> - <li> Macro Photography in Depth </li> - <li> HDR, Panoramas, Time Lapses, etc. </li> - <li> Shooting in RAW </li> - <li> All relevant Post Processing </li> - </ul> - </dd> - </dl> - - <p class="text-center"> - <a class="btn btn-inverse btn-large" href="#reg-level2" role="button" data-toggle="modal"> - <i class="icon-chevron-right icon-white"></i> - Register Now - </a> - </p> - - <!-- Registration Level 2 Modal start --> - <div id="reg-level2" class="modal hide fade" tabindex="-1" - role="dialog" aria-labelledby="RegisterLevel2" aria-hidden="true"> - - <div class="modal-header"> - <h3 id="RegisterLevel2">Photography Class Registration - Level 2</h3> - </div> - - <div class="modal-body"> - - <div class="alert alert-info"> - <strong>Note:</strong> Level 2 Batch 3 is - scheduled for March 2015. Register to be - notified one month prior to commencement of - classes. - </div> - - <form class="form-horizontal" id="reg-form-level2" method="POST" action="/as/reg-handler.php"> - <fieldset> - - <div class="control-group"> - <label class="control-label" for="name-l2">Name</label> - <div class="controls"> - <input type="text" id="name-l2" name="name" placeholder="Spock" required> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="email-l2">Email</label> - <div class="controls"> - <input type="email" id="email-l2" name="email" placeholder="spock@cyb.org" required> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="phone-l2">Phone Number</label> - <div class="controls"> - <input type="tel" id="phone-l2" name="phone" placeholder="31-4159-2653"> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="blurb-l2"> Tell us about yourself </label> - <div class="controls"> - <textarea id="blurb-l2" name="blurb" rows="3" - placeholder="Blurb" required></textarea> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="humantest-l2"> What is 100 + 1 ?</label> - <div class="controls"> - <input type="text" id="humantest-l2" - name="humantest" placeholder="Prove that you're not a bot." required> - </div> - </div> - - <div class="control-group"> - <div class="controls"> - <button class="btn btn-inverse" type="submit" - name="submit" value="submit-l2" - form="reg-form-level2" aria-hidden="true"> - <i class="icon-cog icon-white"></i> - Register - </button> - </div> - </div> - </fieldset> - </form> - </div> - </div> <!-- end Registration Level 2 Modal --> - </div> - </div> - </div> <!-- end AS-PC Level 2 accordion --> - </div> <!-- end AS-PC accordion --> - </div> <!-- end AS-PC course column --> - </div> <!-- end AS-PC course row --> - - <div class="row-fluid"> <!-- img row start --> - <div class="span12"> - <img src="/as/as2.jpg" class="img-polaroid" alt="[ Vishwa with his Students ]"/> - </div> - </div> <!-- end img row --> - - </div> <!-- end AS-PC column --> - - <div class="span6"> <!-- AS-PS column start --> - <h1 class="text-center"> - Photography Services - </h1> - <div class="row-fluid"> <!-- AS-PS row start --> - <div class="offset1 span6"> <!-- AS-PS services column start --> - <dl> - <dt class="more-bottom-margin"> - <span class="label label-inverse"> - <i class="icon-briefcase icon-white"></i> - Services - </span> - </dt> - <dd> - <ul class="spacious"> - <li>Kids Portraitures</li> - <li>Single, Couple & Family Portraitures</li> - <li>Model Portfolio</li> - <li>Fashion: Advertising</li> - <li>Food/Product: Advertising</li> - </ul> - </dd> - </dl> - - <p class="text-center"> - <a class="btn btn-inverse btn-large" href="#req-shoot" role="button" data-toggle="modal"> - <i class="icon-chevron-right icon-white"></i> - Request Shoot - </a> - </p> - <!-- Request Shoot Modal start --> - <div id="req-shoot" class="modal hide fade" tabindex="-1" - role="dialog" aria-labelledby="RequestShoot" aria-hidden="true"> - - <div class="modal-header"> - <h3 id="RequestShoot"> - Services - Request a Shoot - </h3> - </div> - <div class="modal-body"> - <form class="form-horizontal" id="reqshoot-form" method="POST" action="/as/reqsht-handler.php"> - <fieldset> - - <div class="control-group"> - <label class="control-label" for="name-rs">Name</label> - <div class="controls"> - <input type="text" id="name-rs" name="name" placeholder="Spock" required> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="email-rs">Email</label> - <div class="controls"> - <input type="email" id="email-rs" name="email" placeholder="spock@cyb.org" required> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="phone-rs">Phone Number</label> - <div class="controls"> - <input type="tel" id="phone-rs" name="phone" placeholder="31-4159-2653"> - </div> - </div> - - <div class="control-group"> - <label class="control-label"> Type of Shoot </label> - <div class="controls"> - <label class="radio"> - <input type="radio" name="shoot_type" id="k_portraitures" - value="Kids Portraitures" - required> - Kids Portraitures - </label> - <label class="radio"> - <input type="radio" name="shoot_type" id="portraitures" - value="Single, Couple & Family Portraitures" - required> - Single, Couple & Family Portraitures - </label> - <label class="radio"> - <input type="radio" name="shoot_type" id="portfolio" - value="Model Portfolio" - required> - Model Portfolio - </label> - <label class="radio"> - <input type="radio" name="shoot_type" id="f_advertising" - value="Model Portfolio" - required> - Fashion: Advertising - </label> - <label class="radio"> - <input type="radio" name="shoot_type" id="fp_advertising" - value="Food/Product: Advertising" - required> - Food/Product: Advertising - </label> - <label class="radio"> - <input type="radio" name="shoot_type" id="Other" - value="Other" - required> - Other - </label> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="shoot-date-rs"> - Date of Shoot - </label> - <div class="controls"> - <input type="text" id="shoot-date-rs" name="shoot_date" - placeholder="Format: MM/DD/YYYY" required> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="other-details"> - Anything else - </label> - <div class="controls"> - <textarea id="other-details" name="other_details" - placeholder="Specify other details you wish to add." ></textarea> - </div> - </div> - - <div class="control-group"> - <label class="control-label" for="humantest-rs"> What is 98 + 1 ?</label> - <div class="controls"> - <input type="text" id="humantest-rs" name="humantest" - placeholder="Prove that you're not a bot." required> - </div> - </div> - - <div class="control-group"> - <div class="controls"> - <button class="btn btn-inverse" type="submit" - name="submit" value="submit-l1" - form="reqshoot-form" aria-hidden="true"> - <i class="icon-cog icon-white"></i> - Request - </button> - </div> - </div> - - </fieldset> - </form> - </div> - </div> <!-- end Request Shoot Modal end --> - </div> <!-- end AS-PS services column --> - - <div class="span4"> <!-- AS-PS img column --> - <img src="/as/as-ps.jpg" class="img-polaroid" alt="[ Vishwamano Tall Camera ]"> - </div> <!-- AS-PS img column --> - - </div> <!-- end AS-PS row --> - </div> <!-- end AS-PS column --> - </div> <!-- end AS row --> - </div> <!-- end AS container --> - - <!-- start share buttons --> - <div class="container-fluid"> - <div class="row-fluid"> - <div class="span12"> - <p class="text-center"> - <!-- G+ --> - <a target="_blank" - href="https://plus.google.com/share?url=http%3A%2F%2Fvishwano.com%2Fas"> - <img class="share-botton" src="/img/gplus.png" alt="[ G+ Share Button ]"/> - </a> - <!-- G+ end --> - - <!-- Twitter --> - <a target="_blank" - href="https://twitter.com/share?url=http%3A%2F%2Fvishwamano.com%2Fas"> - <img class="share-botton" src="/img/twitter.png" alt="[ Twitter Share Button ]" /> - </a> - <!-- Twitter end--> - - <!-- Facebook --> - <a target="_blank" - href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fvishwamano.com%2Fas"> - <img class="share-botton" src="/img/fb.png" alt="[ Facebook Share Button ]" /> - </a> - <!-- Facebook end --> - </p> - </div> - </div> - </div> - <!-- end share buttons --> - - <footer class="footer"> - <div class="container-fluid"> - <p> - Copyright &copy; 2013 - <a href="http://vishwamano.com/" property="cc:attributionName" - rel="cc:attributionURL"> - Vishwa Manoharan. - </a> - <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US"> - <img alt="Creative Commons License" style="border-width:0" src="/img/cc.png" /> - </a> - </p> - <ul class="footer-links"> - <li class="muted"> &middot; </li> - <li> <a href="/colophon/"> Colophon </a> </li> - <li class="muted"> &middot; </li> - </ul> - </div> - </footer> - <script src="/js/jquery-1.10.0.min.js"></script> - <script src="/js/jquery-ui-1.10.3.custom.min.js"></script> - <script src="/js/bootstrap.min.js"></script> - <script src="/js/bootstrap-lightbox.min.js"></script> - <script> - $(function() { - $( "#shoot-date-rs").datepicker(); - }); - </script> -</body> -</html> diff --git a/as/reg-error.html b/as/reg-error.html @@ -1,68 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <title> Message Handler - Vishwa Manoharan Photography </title> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen"> - <link href="/css/bootstrap-lightbox.min.css" rel="stylesheet" media="screen"> - <link href="/css/custom.css" rel="stylesheet" media="screen"> -</head> -<body> - <div class="container-fluid"> - <div class="navbar navbar-inverse"> - <div class="navbar-inner"> - <a class="brand" href="/">Vishwa Manoharan Photography</a> - <ul class="nav pull-right"> - <li><a href="/">Home</a></li> - <li><a href="/gallery/"> Gallery </a></li> - <li><a href="/as/"> Apertures & Shutters</a></li> - <li><a href="/bio/"> Bio </a></li> - <li><a href="/contact/"> Contact </a></li> - </ul> - </div> - </div> - </div> - - <div class="container-fluid"> - <div class="row-fluid"> - <div class="offset3 span6"> - <div class="alert alert-error"> - <strong>Registration Error!</strong> You've either failed - the human test or you've not filled the fields properly. - </div> - <p class="text-center"> - <a class="btn btn-mini btn-inverse" href="/as/"> - <i class="icon-chevron-left icon-white"></i> - Back - </a> - </p> - </div> - - </div> - </div> - - <footer class="footer"> - <div class="container-fluid"> - <p> - Copyright &copy; 2013 - <a href="http://vishwamano.com/" property="cc:attributionName" - rel="cc:attributionURL"> - Vishwa Manoharan. - </a> - <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US"> - <img alt="Creative Commons License" style="border-width:0" src="/img/cc.png" /> - </a> - </p> - <ul class="footer-links"> - <li class="muted"> &middot; </li> - <li> <a href="/colophon/"> Colophon </a> </li> - <li class="muted"> &middot; </li> - </ul> - </div> - </footer> - <script src="/js/jquery-1.10.0.min.js"></script> - <script src="/js/bootstrap.min.js"></script> - <script src="/js/bootstrap-lightbox.min.js"></script> -</body> -</html> diff --git a/as/reg-handler.php b/as/reg-handler.php @@ -1,57 +0,0 @@ -<?php - -/** - * - * Wrote with help from HTML Form Guide <http://www.html-form-guide.com/contact-form> - * - */ - -$myemail = 'vishwa91photography@gmail.com'; - -$name = $_POST['name']; -$email_address = $_POST['email']; -$phone = $_POST['phone']; -$blurb = $_POST['blurb']; -$humantest = $_POST['humantest']; -$submit = $_POST['submit']; - -$humantest_answer= "101"; - -if(strcmp($humantest, $humantest_answer)==0) -{ - if(empty($name) || - empty($email_address) || - empty($blurb)) { - // redirect to the mesg-error page - header('Location: /as/reg-error.html'); - return; - } - - if(strcmp($submit, "submit-l1") == 0) { - $course = "Basic Level 1"; - }else { - $course = "Advanced Level 2"; - } - - $to = $myemail; - $email_subject = "[VishaMano.com] A&S ". $course. " Registration from $name"; - - $email_body = "$name <$email_address> has registered for the A&S ". $course. " Weekend Photography Course. \n\n". - "About $name:\n\n $blurb"; - - if(!empty($phone)) { - $email_body .= "\n\n $name can be buzzed at $phone"; - } - - $headers = "From: no-reply@vishwamano.com\n"; - $headers .= "Reply-To: $email_address"; - - mail($to,$email_subject,$email_body,$headers); - //redirect to mesg-sent page - header('Location: /as/registered.html'); -} -else { - // redirect to the mesg-error page - header('Location: /as/reg-error.html'); -} -?> diff --git a/as/registered.html b/as/registered.html @@ -1,66 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen"> - <link href="/css/bootstrap-lightbox.min.css" rel="stylesheet" media="screen"> - <link href="/css/custom.css" rel="stylesheet" media="screen"> - <title> Vishwa Manoharan Photography </title> -</head> -<body> - <div class="container-fluid"> - <div class="navbar navbar-inverse"> - <div class="navbar-inner"> - <a class="brand" href="/">Vishwa Manoharan Photography</a> - <ul class="nav pull-right"> - <li><a href="/">Home</a></li> - <li><a href="/gallery/"> Gallery </a></li> - <li><a href="/as/"> Apertures & Shutters</a></li> - <li><a href="/bio/"> Bio </a></li> - <li><a href="/contact/"> Contact </a></li> - </ul> - </div> - </div> - </div> - - <div class="container-fluid"> - <div class="row-fluid"> - <div class="offset3 span6"> - <div class="alert alert-success"> - <strong>Thank you for registering!</strong> Vishwa Manoharan will get back to you soon. - </div> - <p class="text-center"> - <a class="btn btn-mini btn-inverse" href="/"> - <i class="icon-home icon-white"></i> - Home - </a> - </p> - </div> - </div> - </div> - - <footer class="footer"> - <div class="container-fluid"> - <p> - Copyright &copy; 2013 - <a href="http://vishwamano.com/" property="cc:attributionName" - rel="cc:attributionURL"> - Vishwa Manoharan. - </a> - <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US"> - <img alt="Creative Commons License" style="border-width:0" src="/img/cc.png" /> - </a> - </p> - <ul class="footer-links"> - <li class="muted"> &middot; </li> - <li> <a href="/colophon/"> Colophon </a> </li> - <li class="muted"> &middot; </li> - </ul> - </div> - </footer> - <script src="/js/jquery-1.10.0.min.js"></script> - <script src="/js/bootstrap.min.js"></script> - <script src="/js/bootstrap-lightbox.min.js"></script> -</body> -</html> diff --git a/as/req-error.html b/as/req-error.html @@ -1,68 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <title> Message Handler - Vishwa Manoharan Photography </title> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen"> - <link href="/css/bootstrap-lightbox.min.css" rel="stylesheet" media="screen"> - <link href="/css/custom.css" rel="stylesheet" media="screen"> -</head> -<body> - <div class="container-fluid"> - <div class="navbar navbar-inverse"> - <div class="navbar-inner"> - <a class="brand" href="/">Vishwa Manoharan Photography</a> - <ul class="nav pull-right"> - <li><a href="/">Home</a></li> - <li><a href="/gallery/"> Gallery </a></li> - <li><a href="/as/"> Apertures & Shutters</a></li> - <li><a href="/bio/"> Bio </a></li> - <li><a href="/contact/"> Contact </a></li> - </ul> - </div> - </div> - </div> - - <div class="container-fluid"> - <div class="row-fluid"> - <div class="offset3 span6"> - <div class="alert alert-error"> - <strong>Photo Request Error!</strong> You've either failed - the human test or you've not filled the fields properly. - </div> - <p class="text-center"> - <a class="btn btn-mini btn-inverse" href="/as/"> - <i class="icon-chevron-left icon-white"></i> - Back - </a> - </p> - </div> - - </div> - </div> - - <footer class="footer"> - <div class="container-fluid"> - <p> - Copyright &copy; 2013 - <a href="http://vishwamano.com/" property="cc:attributionName" - rel="cc:attributionURL"> - Vishwa Manoharan. - </a> - <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US"> - <img alt="Creative Commons License" style="border-width:0" src="/img/cc.png" /> - </a> - </p> - <ul class="footer-links"> - <li class="muted"> &middot; </li> - <li> <a href="/colophon/"> Colophon </a> </li> - <li class="muted"> &middot; </li> - </ul> - </div> - </footer> - <script src="/js/jquery-1.10.0.min.js"></script> - <script src="/js/bootstrap.min.js"></script> - <script src="/js/bootstrap-lightbox.min.js"></script> -</body> -</html> diff --git a/as/req-sent.html b/as/req-sent.html @@ -1,67 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen"> - <link href="/css/bootstrap-lightbox.min.css" rel="stylesheet" media="screen"> - <link href="/css/custom.css" rel="stylesheet" media="screen"> - <title> Vishwa Manoharan Photography </title> -</head> -<body> - <div class="container-fluid"> - <div class="navbar navbar-inverse"> - <div class="navbar-inner"> - <a class="brand" href="/">Vishwa Manoharan Photography</a> - <ul class="nav pull-right"> - <li><a href="/">Home</a></li> - <li><a href="/gallery/"> Gallery </a></li> - <li><a href="/as/"> Apertures & Shutters</a></li> - <li><a href="/bio/"> Bio </a></li> - <li><a href="/contact/"> Contact </a></li> - </ul> - </div> - </div> - </div> - - <div class="container-fluid"> - <div class="row-fluid"> - <div class="offset3 span6"> - <div class="alert alert-success"> - <strong>Photo Shoot Requested</strong> - Vishwa Manoharan will get back to you soon. - </div> - <p class="text-center"> - <a class="btn btn-mini btn-inverse" href="/"> - <i class="icon-home icon-white"></i> - Home - </a> - </p> - </div> - </div> - </div> - - <footer class="footer"> - <div class="container-fluid"> - <p> - Copyright &copy; 2013 - <a href="http://vishwamano.com/" property="cc:attributionName" - rel="cc:attributionURL"> - Vishwa Manoharan. - </a> - <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US"> - <img alt="Creative Commons License" style="border-width:0" src="/img/cc.png" /> - </a> - </p> - <ul class="footer-links"> - <li class="muted"> &middot; </li> - <li> <a href="/colophon/"> Colophon </a> </li> - <li class="muted"> &middot; </li> - </ul> - </div> - </footer> - <script src="/js/jquery-1.10.0.min.js"></script> - <script src="/js/bootstrap.min.js"></script> - <script src="/js/bootstrap-lightbox.min.js"></script> -</body> -</html> diff --git a/as/reqsht-handler.php b/as/reqsht-handler.php @@ -1,58 +0,0 @@ -<?php - -/** - * - * Wrote with help from HTML Form Guide <http://www.html-form-guide.com/contact-form> - * - */ - -$myemail = 'vishwa91photography@gmail.com'; - -$name = $_POST['name']; -$email_address = $_POST['email']; -$phone = $_POST['phone']; -$shoot_t = $_POST['shoot_type']; -$shoot_date = $_POST['shoot_date']; -$other_details = $_POST['other_details']; -$humantest = $_POST['humantest']; -$submit = $_POST['submit']; - -$humantest_answer= "99"; - -if(strcmp($humantest, $humantest_answer)==0) -{ - if(empty($name) || - empty($email_address) || - empty($shoot_t) || - empty($shoot_date)){ - // redirect to the mesg-error page - header('Location: /as/req-error.html'); - return; - } - - $to = $myemail; - $email_subject = "[VishaMano.com] A&S Shoot Request from $name"; - - $email_body = "$name <$email_address> has requested for a A&S Photo Shoot on $shoot_date. \n\n". - "Type of Shoot: $shoot_t"; - - if(!empty($other_details)) { - $email_body .= "\n\nOther Details: $other_details"; - } - - if(!empty($phone)) { - $email_body .= "\n\n$name can be buzzed at $phone"; - } - - $headers = "From: no-reply@vishwamano.com\n"; - $headers .= "Reply-To: $email_address"; - - mail($to,$email_subject,$email_body,$headers); - //redirect to mesg-sent page - header('Location: /as/req-sent.html'); -} -else { - // redirect to the mesg-error page - header('Location: /as/req-error.html'); -} -?>