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
| {"result":true,"message":"Sweepstakes registration sucessfully submitted","data":{"html":"\t \t\n\t\t \t<div class=\"main-t notext\"><\/div>\n\t\t\t<div class=\"main-bg\">\n\t\t\t\t<div class=\"box\">\n\t\t\t\t\t<p><strong>Thank you for entering our sweepstakes.<\/strong><\/p>\n\t\t\t\t\t<p>You will be contacted if you are a winner.<\/p>\n\t\t\t\t\t<p>In the meantime, tell a friend about the Renew Your Home sweepstakes<\/p>\n\t\t\t\t\t<p>and you will be entered in our weekly drawing to win a $25 Starbucks gift card!<\/p>\n\t\t\t\t\t<p class=\"share-this\">\n\t\t\t\t\t\t<span class='st_twitter' st_title=\"I just entered to win $10,000 in windows and doors from Renewal by Andersen. Enter for your chance to win here!\"><\/span>\n\t\t\t\t\t\t<span class='st_facebook' ><\/span>\n\t\t\t\t\t\t<span class='st_yahoo' ><\/span>\n\t\t\t\t\t\t<span class='st_gbuzz' ><\/span>\n\t\t\t\t\t\t<span class='st_email' ><\/span>\n\t\t\t\t\t\t<span class='st_sharethis' ><\/span>\n\t\t\t\t\t<\/p>\n\t\t\t\t\t<p class=\"nav\" |
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
| function displayAjaxMessage(message) | |
| { | |
| $("#login-form-message").html(message); | |
| $("#login-form-message").show(); | |
| } | |
| $("#login-form").submit(function(event) | |
| { | |
| // stop the contact form from submitting normally | |
| event.preventDefault(); |
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
| $(document).ready(function() | |
| { | |
| function displayAjaxMessage(message) | |
| { | |
| $("#newsletter-form-message").html(message); | |
| $("#newsletter-form-message").show(); | |
| } | |
| $("#newsletter-form").submit(function(event) | |
| { |
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
| function events_by_state($state) | |
| { | |
| $events = $this->get_data(); | |
| $results = array_filter( $events , function( $v ) { | |
| if(strtolower($v['state']) == strtolower($state)) | |
| return $v; | |
| }); |
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
| select | |
| r.id as user_id, r.first_name, r.last_name, r.address, r.city, r.state, r.zip, r.country, r.phone, r.email, e.title as celebration, d.name as destination, c.name as celebration_theme, e.ship_name, e.story, e.likes, e.status, e.potential_winner, e.princess_produced, e.image1, e.image2, e.image3, e.image4, e.image4, e.image5, e.video, e.video_thumb, r.created_at as date_registered | |
| from | |
| destination d | |
| left join | |
| entries e on d.id = e.destination | |
| left join | |
| registrations r on e.reg_id = r.id | |
| left join | |
| celebrations c on e.celebration_theme = c.id; |
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/ | |
| Alaska | |
| Honeymoon //celebration | |
| First_name_id | |
| image.jpg | |
| image2.jpg | |
| video.mp4 |
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 ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| /** | |
| * ExpressionEngine - by EllisLab | |
| * | |
| * @package ExpressionEngine | |
| * @author ExpressionEngine Dev Team | |
| * @copyright Copyright (c) 2003 - 2011, EllisLab, Inc. | |
| * @license http://expressionengine.com/user_guide/license.html | |
| * @link http://expressionengine.com |
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
| $(document).ready(function() | |
| { | |
| function displayAjaxMessage(message) | |
| { | |
| $("#ajax-message").html(message); | |
| $("#ajax-message").show(); | |
| $("#newsletter-form").hide(); | |
| } | |
| $("#newsletter-form").submit(function(event) |
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
| {exp:plugin_name} | |
| <a href="{plugin_url}">{plugin_title}</a> | |
| {/exp:plugin_name} |
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
| if( $drop_down && !$online_only ) | |
| { | |
| if( apc_exists('subject_drop_down' . $term_code) ) { return apc_fetch('subject_drop_down' . $term_code); } | |
| } | |
| elseif( $drop_down && $online_only ) | |
| { | |
| if( apc_exists('online_subject_drop_down' . $term_code) ) { return apc_fetch('online_subject_drop_down' . $term_code); } | |
| } |