Skip to content

Instantly share code, notes, and snippets.

@qizwiz
Created September 27, 2011 20:18
Show Gist options
  • Save qizwiz/1246106 to your computer and use it in GitHub Desktop.
Save qizwiz/1246106 to your computer and use it in GitHub Desktop.
<?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="13" alt="Submit" tabindex="110"/>% a</li>% a</ol>% a</fieldset>% a</form>% a<div class="confidential">All information is confidential.</div> % a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment