{addjs file="jquery1.4.4.js" order=60} {addjs file="http://app.stlmag.com/admin/sites/all/libraries/hgb/fc_templates/cart/js/fc_cookie_settings.js" order=60} {addjs file="http://app.stlmag.com/admin/sites/all/libraries/hgb/fc_templates/cart/js/fc_hgb_includes.js" order=61} {addjs file="http://platform.twitter.com/widgets.js"} {addjs file="http://app.stlmag.com/admin/sites/all/libraries/hgb/fc_templates/cart/js/bbq.js" order=62} {addcss file="http://app.stlmag.com/admin/sites/all/libraries/hgb/fc_templates/cart/css/colorbox/1.3.15/style1/colorbox.css" order=63} {addcss file="hgb.css" order=64} {addcss file="clearfix.css" order=65} {addinternaljs position="header"}{literal} Event.observe(window, 'load', function() { jQuery('#email').focus(function() { if (jQuery(this).val() == 'Enter your email address' || jQuery(this).val() == "Please enter a valid email") { jQuery(this).val(''); } }).blur(function() { if (jQuery(this).val() == '') { jQuery(this).val('Enter your email address'); } }); jQuery("#hgb-signup").submit(function(e){ var dataString = jQuery(this).serialize(); jQuery('#email').val('Sending... please wait...'); jQuery.getJSON('http://app.stlmag.com/api/email_signup_handler.php?callback=?', { "key" : 'mmAJUb49prNGzVga1EuqHcuvrCkVVn', "sent_data": dataString }, function(received_data) { jQuery('#email').val(received_data.message); } ); e.preventDefault(); }); }); {/literal}{/addinternaljs}{php} $page = 'recent'; {/php}
{php} $includeFile = file_get_contents('http://app.stlmag.com/api/deals_header_inc.php'); echo $includeFile; $includeFile = file_get_contents('http://app.stlmag.com/api/deals_recent_body_inc.php?page=' . $page); echo $includeFile; {/php}