'.$artist.' "'.$album.'" '.$w.' x '.$h.'

Use this code on your website:

<a href="'.$bannerLink.'" target="_blank"><img src="'.$bannerPath.''.$w.'x'.$h.'.gif"></a>


'; } ?> <?=$artist?> Contest
*/ ?>
E-Mail Address  
First Name  
Last Name  
City  
State  
Zip Code  
Gender  
Birth Date    
Subscribe To  

* Signing up will also add you to the E-Mail List
Contest closes

The E-mail Address you entered is not valid.
"; } if(strlen($firstname)<1){ $error .= "
  • Your First Name is required.
    "; } if(strlen($lastname)<1){ $error .= "
  • Your First Name is required.
    "; } if(strlen($city)<1){ $error .= "
  • Your City is required.
    "; } if(strlen($state)<1){ $error .= "
  • Your State is required.
    "; } if(strlen($zipcode)<4){ $error .= "
  • Your Zip Code is required.
    "; } if(strlen($birthmonth)<1 || strlen($birthday)<1 || strlen($birthyear)<1){ $error .= "
  • Your full Birthdate is required.
    "; } if(strlen($gender)<1){ $error .= "
  • Your Gender is required.
    "; } /* // MySpace if(strlen($myspace)<13){ $error .= "
  • You must provide the URL of your MySpace Profile in order to show that you have completed the required steps.
    "; } if(strlen($step)<1){ $error .= "
  • You must indicate which step you completed.
    "; } */ if(strlen($error)>1){ ?>


    Please go back and fix the following errors:
    ".$error; } else { //echo "Do submit validated info."; $now = date("YmdGm"); $then = $_SESSION['lastentered']; if( ($now - $then > 3) || ($then=="") ){ //echo "User hasn't posted for at least three minutes. Do post"; $_SESSION['lastentered'] = date("YmdGm"); $_SESSION['lastenteredE'] = date("F jS, Y, g:i a"); $thedate = date("Y-m-d"); $ip = $_SERVER['REMOTE_ADDR']; //$addLog = "$thedate,$email,$firstname,$lastname,$city,$state,$zipcode,$birthyear-$birthmonth-$birthday,$gender,$myspace,$step\r\n"; $addLog = "$thedate,$email,$firstname,$lastname,$city,$state,$zipcode,$birthyear-$birthmonth-$birthday,$gender\r\n"; $page = "./contest/contest.csv"; $fp = fopen( $page , "a" ); $fw = fwrite( $fp, $addLog); fclose( $fp ); /* // Append to email list CSV's if($subscribe1=="on"){ $page = "./contest/".$subscribe1csv; $fp = fopen( $page , "a" ); $fw = fwrite( $fp, $addLog); fclose( $fp ); } */ /* if($subscribe2=="on"){ $page = "./contest/".$subscribe2csv; $fp = fopen( $page , "a" ); $fw = fwrite( $fp, $addLog); fclose( $fp ); } */ // SEND CONFIRMATION EMAIL $body = "$firstname $lastname, this is a confirmation that you have entered the $artist \"$album\" contest. If you are a winner, we will inform you via email after the contest closes on $endDate. Thanks.\n\n"; $subject = "$artist - \"$album\" Contest"; $headers = "From: $fromEmail\r\n"; mail($email, $subject, $body, $headers); echo "
    "; echo "Thanks. You will receive a confirmation of your entry via email at the following address: $email"; echo "

    "; ?> Help Promote Kutless!

    Decorate your Myspace Profile with a Kutless "To Know That You're Alive" Theme!
    Use the Myspace Theme Generator now!


    Web Banners:
    If you run your own website or blog, you can display a banner on your site! The banner should link to this address: .

    "; } else { echo "
    "; echo "You already entered this contest on: ".$_SESSION['lastenteredE']; echo "
    "; } } } else { // Default view ?>