This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ($site->getOffer()->type == 'whitepaper'): ?>% a<h3>Fill out this form to obtain our% a<?php $offerName = $site->getOffer()->name; ?> % a<?php echo ($offerName == 'Transition PartnersProgram' || $offerName == 'Built by Advisors, for Advisors' || $offerName == 'Moving Beyond The Numbers') ? 'brochure' : 'white paper'; ?>, % a<em><?php echo $site->getOffer()->CTAName(); ?></em></h3>% a<?php elseif ($site->offer_id == 39 || $site->offer_id == 40): ?>% a<h3>Fill out this form to obtain our video, <em><?php echo $site->getOffer()->name; ?>% a<?php elseif($site->getOffer()->type == 'webinar'): ?></em></h3>% a<h3>Fill out this form to obtain our webinar, <em><?php echo $site->getOffer()->name; ?></em></h3> % a<?php elseif($site->getOffer()->type == 'flash_drive'): ?>% a<h3>Fill out this form to obtain your complimentary flash drive.</h3>% a<?php endif;?>% a<?php echo $form->render(); ?>% a<li class="submit">% a <input type="image" id="submit" class="submit" src="/_images/submit-bg.gif" width="50" height= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Question% a attr_accessor :key, :answers% a % a def initialize(session, key)% a self.key = key% a @answers = session[:answers] ||= {}% a end% a % a def save_answer% a # save answer logic% a end% a % a def get_results% a # get results logic% a end% a % a class << self% a def find(session, key = nil)% a keys = [ :one, :two, :three, :four, :five, :six, :seven ]% a key = key.to_s.downcase.strip.to_sym% a % a if(keys.include?(key))% a Question.new(session, key)% a else% a nil% a end% a end% a end% aend% a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/bin" | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function |
NewerOlder