vishwamano

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

commit 8b047b78d3c193f47c7bfd0457f1e26976dde733
parent b99690cb62dde97f593738801c67bf52c1979570
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Tue, 22 Mar 2016 00:12:02 -0400

updated /workshops/

 - Removed Level 1 and 2.
 - Changed title.
 - Changed page heading.

A&S is now vm's past.

Diffstat:
themes/bs3/templates/as.tpl | 127+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
workshops/index.php | 172+++++++++++++------------------------------------------------------------------
2 files changed, 154 insertions(+), 145 deletions(-)

diff --git a/themes/bs3/templates/as.tpl b/themes/bs3/templates/as.tpl @@ -0,0 +1,127 @@ +{include file='header.tpl'} + +<div class="container-fluid"> <!-- top container start --> + <article class="vm-workshops"> + {if isset($pc_msg)} + <div id="pc-alert-box" class="row"> + <div class="col-sm-offset-1 col-sm-10"> + <div class="alert alert-{$pc_msg.type}" role="alert"> + <p>{$pc_msg.content}</p> + </div> + </div> + </div> + {/if} + + <div class="row text-center margin-bottom"> + <h1>{$pc_title}</h1> + </div> + + <div class="row"> <!-- pc row start --> + <div id="pc-first-column" class="col-sm-offset-1 col-sm-5"> <!-- pc column start --> + {$pc_intro} + + <hr class="visible-xs hr-long" /> + </div> <!-- pc column end --> + + <div id="pc-second-column" class="margin-top col-sm-5"> <!-- pc static images column start --> + + <div id="vm-testimonials" class="row"> + <div class="col-sm-offset-3 col-sm-6 col-xs-12"> + <a href="/workshops/testimonials/" + class="btn btn-primary btn-lg btn-block margin-bottom workshop-btn-lg"> + Testimonials + </a> + </div> + </div> + + <img id="vm-loading-img" class="img-responsive" + src="/themes/bs3/img/loading-vm.gif" alt="[ Loading... ]"> + <div class="students-grid" style="visibility: hidden;"> + {foreach $wg_imgs_info.imgs as $img} + <img class="img-responsive margin-top" + src="{$wg_imgs_info.path}/{$img}" alt="[ static image - {$img} ]"> + {/foreach} + </div> + + <aside class="equipment-partner text-center"> <!-- start of equipment partner content --> + <h2>Equipment Partner</h2> + <a href="https://facebook.com/profile.php?id=287147924751841&amp;tsid=0.451601832639426&amp;source=typeahead"> + <img class="img-responsive center-block" src="/themes/bs3/img/equipment-partner.jpg" + alt="[ Equipment Partner Logo ]"> + </a> + </aside> <!-- end of equipment partner content --> + + </div> <!-- pc static images column end --> + + </div> <!-- pc row end --> + </article> + {include file='aside.tpl'} +</div> <!-- top container end --> + +{include file='js.tpl'} +<script type="text/javascript"> +$(document).ready(setupPhotoGrid) + +function setupPhotoGrid() { + var layout_spec = '222222'; + $('.students-grid').photosetGrid({ + highresLinks: true, + gutter: '5px', + layout: layout_spec, + rel: 'category', + onInit: function(){}, + onComplete: function(){ + $('img').remove('#vm-loading-img'); + $('.students-grid').attr('style', ''); + $('.students-grid a').colorbox({ + photo: true, + scalePhotos: true, + maxHeight:'90%', + maxWidth:'90%' + }); + } + }); +} +</script> +<script> +function adjustHRLine() { + var screenWidth = $(window).width(); + if(screenWidth < 768) { + $('.hr-long').css('width', $(window).width() - 20); + $('.vm-workshops h1').css('padding-right', 0); + }else { + $('.hr-long').css('width', ($('#pc-first-column').width() + + $('#pc-second-column').width())); + $('.vm-workshops h1').css('padding-right', '2.3em'); + } +} +$(document).ready(adjustHRLine); +$(window).resize(adjustHRLine); +</script> +<script> +function adjustTable() { + var screenWidth = $(window).width(); + if(screenWidth < 768) { + $('.vm-workshops table').css('width', '100%'); + }else { + $('.vm-workshops table').css('width', '100%'); + } +} +$(document).ready(adjustTable); +$(window).resize(adjustTable); +</script> +<script> + function photos_after_desc() { + screen_size = $(window).width(); + if(screen_size <= 767) { + $(".students-grid").insertBefore("#pc-section"); + $(".equipment-partner").insertBefore("#pc-section"); + } else { + $(".students-grid").insertAfter("#vm-testimonials"); + $(".equipment-partner").insertAfter(".students-grid"); + } + } + $(document).ready(photos_after_desc); + $(window).resize(photos_after_desc); +</script> +{include file='footer.tpl'} diff --git a/workshops/index.php b/workshops/index.php @@ -31,147 +31,37 @@ if(isset($_POST['submit'])) { } -$title = 'Vishwa Mano Photography Workshops'; +$title = 'Vishwa Mano - Apertures &amp; Shutters'; $meta_keywords = 'Basic, Advanced, Photography, Workshop, Course, Class, Chennai, Amateur, Beginner, Academy, Institute, Fashion, Product, Nature, Wildlife'; $meta_desc = 'Learn to See, Compose, Control and Click! Basic and Advanced Photography Workshops in Chennai by Nature and Wildlife Photographer, Vishwa Mano.'; -$pc_title = "Photography Workshops"; +$pc_title = "Apertures &amp; Shutters"; $pc_intro = " -<p> A Chennai based nature and wildlife photographer, Vishwa offers training -in basic and advanced photography for budding photographers.</p> - -<p>'<strong>Apertures &amp; Shutters</strong>' is his start up, which -provides a congenial atmosphere to learn photography. A&amp;S is equipped -with a classroom cum studio floor, lighting equipment and an editing -room. It is stocked with the latest photography journals and +<p>A Chennai based nature and wildlife photographer, Vishwa offered +training in basic and advanced photography for budding +photographers. He has trained over 160 people from December 2012 to +March 2016.</p> + +<p>'<strong>Apertures &amp; Shutters</strong>' was his start up, which +provided a congenial atmosphere to learn photography. A&amp;S was +equipped with a classroom cum studio floor, lighting equipment and an +editing room. It was stocked with the latest photography journals and books.</p> -"; -$classes = array(); - -$level_1 = array('Duration' => array('road', - '<p>2 Weekends. (2 Outdoor + 4 Classroom - Sessions, each 3 Hours).</p> - - <p>Online feedback and - periodical meet-ups post - completion of the workshop.</p>'), - 'Schedule' => array('time', - '<p>No new workshops are scheduled for 2016.</p>'), - 'Course Fee' => array('tag', '<p><span class="WebRupee"> - Rs - </span> - 4,000/- (Inclusive of taxes)</p>'), - 'Discounts' => array('gift', '<p>Get - <span class="WebRupee"> - Rs - </span>500/- - Discount Coupon, - by purchasing at - <a href="https://facebook.com/profile.php?id=287147924751841&amp;tsid=0.451601832639426&amp;source=typeahead"> - <strong>Chennai Cameras</strong></a>.</p>'), - 'Certificate' => array('certificate', '<p>A certificate of completion will be awarded - to all students in the last - session of the workshop.</p>'), - 'Payment' => array('info-sign', ' - <p>Payment can be made through an online transfer or in person at the - studio. Details will be sent upon registration.</p> - - <p>There is a maximum limit of 12 students per batch. Seats are confirmed upon - payment and allocated on a first come first serve basis.</p>'), - 'Venue' => array('map-marker', - '<p>Door No. 40 (C Block, 1st Floor),<br /> - Lakshmi Apartments,<br /> - 14 Athreyapuram Main Road,<br /> - Choolaimedu,<br /> - Chennai - 600094</p>'), - 'Syllabus' => array('book', ' <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>Lightroom Editing</li> - </ul>'), - ); - - -$l1_notice = 'Classes starts on <strong>19<sup>th</sup> March 2016</strong>'; - -$classes['Level 1 - Basics of Photography Workshop '] = $level_1; - - -$level_2 = array('Duration' => array('road', '<p>4 Weekends (8 Sessions)</p> - - <p>Saturday: 2pm - 6pm</p> - <p>Sunday: 9am - 1pm</p>'), - 'Schedule' => array('time', - '<p>No new workshops are scheduled for 2016.</p>'), - 'Course Fee' => array('tag', '<p><span class="WebRupee"> - Rs - </span> - 10,000 (Inclusive of taxes)</p>'), - 'Discounts' => array('gift', '<p>Get - <span class="WebRupee">Rs</span>1,000/- - Discount Coupon, - by purchasing any camera - equipment at - <a href="https://facebook.com/profile.php?id=287147924751841&amp;tsid=0.451601832639426&amp;source=typeahead"> - <strong>Chennai Cameras</strong> - </a>.</p> - - <p>All Level 1 Students of Vishwa Mano Photography - Workshop can avail <span class="WebRupee">Rs</span>2,000/- - Off.</p> - - <p>Please note that multiple offers cannot be clubbed. - Terms & Conditions apply.</p>'), - 'Certificate' => array('certificate', '<p>A certificate of completion will be awarded - to all students in the last - session of the workshop.</p>'), - 'Payments' => array('info-sign', ' - <p>Payment can be made through an online transfer or in person at the - studio. Details will be sent upon registration.</p> - - <p>Complete payment must be made before the commencement of the course.</p> - - <p>There is a maximum limit of 12 students per batch. Seats are allocated on - a first come first serve basis upon full payment.</p>'), - 'Venue' => array('map-marker', - '<p>Door No. 40 (C Block, 1st Floor),<br /> - Lakshmi Apartments,<br /> - 14 Athreyapuram Main Road,<br /> - Choolaimedu,<br /> - Chennai - 600094</p>'), - 'Syllabus' => array('book', '<ul> - <li>Lighting Foundation</li> - <li>Studio Lighting Techniques</li> - <li>Portrait Photography</li> - <li>Product Photography</li> - <li>Strobist Techniques</li> - <li>Light Mixing</li> - <li>Editing - Lightroom</li> - <li>Editing - Photoshop</li> - <li>Editing - Special Plugins</li> - <li>Review and Assessment</li> - </ul>') - ); - -$l2_notice = 'Classes starts on <strong>2<sup>nd</sup> April 2016</strong>'; - -$classes['Level 2 - Advanced Photography Workshop'] = $level_2; - -$notices = array($l1_notice, $l2_notice); +<p>A&amp;S was formally ended in March 2016. No new workshops will be +conducted. However, the students of A&amp;S enjoy regular photography +support and photo reviews. A&amp;S has an active online forum, where +new techniques are shared, photos critiqued and photo trips +planned.</p> + +<p>Vishwa will always cherish this phase of his life. The three years +spent teaching photography has empowered him and has also changed his +perspectives about photography. It was always a two way +learning. Moreover, the friendships earned in this journey will last a +life time. The testimonials Vishwa received from his students and the +photos clicked over three years will forever be displayed in this page +as a fond memory.</p> +"; # workshop gallery $wg_img_dir = $abs_path . '/images/workshops/gallery/'; @@ -180,18 +70,10 @@ $wg_imgs = get_images($wg_img_dir); $wg_imgs_info = array('imgs' => $wg_imgs, 'path' => '/images/workshops/gallery'); -# testimonials -$testimonials = array('Some One' => 'Whataaa class! loved it', - 'Some other' => 'Chancey Ila muche.', - 'Another' => 'Dhool!'); - -$smarty->assign('testimonials', $testimonials); $smarty->assign('pc_title', $pc_title); $smarty->assign('pc_intro', $pc_intro); -$smarty->assign('classes', $classes); -$smarty->assign('notices', $notices); $smarty->assign('wg_imgs_info', $wg_imgs_info); $smarty->assign('title', $title); $smarty->assign('meta_keywords', $meta_keywords); $smarty->assign('meta_description', $meta_desc); -$smarty->display('p-classes.tpl');- \ No newline at end of file +$smarty->display('as.tpl');+ \ No newline at end of file