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
    
  
  
    
  | // Pop Labels | |
| $(function() { | |
| var onClass = "on"; | |
| var showClass = "show"; | |
| $("input, textarea").bind("checkval", function() { | |
| var label = $(this).prev("label"); | |
| if (this.value !== "") { | |
| label.addClass(showClass); | |
| } else { | 
  
    
      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
    
  
  
    
  | viagra | |
| cialis | |
| sex | |
| sex* | |
| kardashian | |
| porn | |
| nude | |
| celebrities | |
| oops | |
| insurance | 
  
    
      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
    
  
  
    
  | // Pass a jquery file input object and get the filename | |
| function $getFilename($input) { | |
| var filename = $input.val().split('\\').pop(); | |
| return filename; | |
| } | 
  
    
      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
    
  
  
    
  | {modifiers} | |
| {modifier_options} | |
| {option_name} | |
| {option_sku} | |
| {option_track_stock} | |
| {option_stock_level} | |
| {option_min_order_qty} | |
| {/modifiers_options} | |
| {/modifiers} | 
  
    
      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 | |
| $to = 'name@domain.com'; | |
| $subject = 'This is a test subject'; | |
| $message = 'Hello Message'; | |
| $headers = 'From: Test Email' . "\r\n" . | |
| 'Reply-To: noreply@domain.com' . "\r\n" . | |
| 'X-Mailer: PHP/' . phpversion(); | |
| mail($to, $subject, $message, $headers); | 
  
    
      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 | |
| date_default_timezone_set("America/New_York"); // Dont use server localized timezone | |
| $day = date('w'); // How many days into the current week we currently are (ex: Fri=5) | |
| $week_start = date('m-d-Y', strtotime('-'.$day.' days')); // Today minus $(day) days = first day of the week | |
| $week_end = date('m-d-Y', strtotime('+'.(6-$day).' days')); // Today plus (days in week - ($day) days) = last weekday | |
| echo ('day: '.$day.'<br/>'); | |
| echo ('week start: ' . $week_start . '<br/>'); | 
  
    
      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
    
  
  
    
  | $config['ce_image_document_root'] = '/usr/home/site_username/www/'; | |
| //remove the extra '/~site_username' from the source | |
| $config['ce_image_src_regex'] = array( '/~site_username' => '' ); | |
| //after the image is manipulated, replace the first '/' | |
| //with the extra '/~site_username/' so it works with the URL | |
| $config['ce_image_made_regex'] = array( '^/' => '/~site_username/' ); | 
NewerOlder