<var C = GLOBAL.Def.Style.color>
<if isDefined("get.s2") AND get.s2 EQ "thanks">
<!--- pic --->
<tag.spf_picdiv src="http://#this_domain#/file:/image-songnite_logo?&picwidth=240" w="240" h="240"
style="float:left;">
</tag.spf_picdiv>
<!--- text --->
<div style="margin-left:260px;">
<h3>Thank You For Your Submission</h3>
<div style="width:420px;">
<p>
Thanks for applying to SongNite! A SongNite representative will contact
you within five business days. We look forward to speaking with you!
</p>
<p>
<a href="http://#this_domain#/#get.s1#">Apply Again</a>
|
<a href="http://#this_domain#/"><b>Back to SongNite</b></a>
</p>
</div>
</div>
<BREAK>
</if>
<!--- pic --->
<tag.spf_picdiv src="http://#this_domain#/file:/image-songnite_logo?&picwidth=240" w="240" h="240"
style="float:left;">
</tag.spf_picdiv>
<!--- text --->
<div style="margin-left:260px;">
<var _post_status = 0>
<var _post_message = "">
<if isDefined("POST.artist_form") AND POST.artist_form EQ 1>
<!--- validate... --->
<if POST.artist_email EQ "" OR isValidEmail(POST.artist_email) NEQ 1>
<var _post_status = 2>
<var _post_message = _post_message & "Please enter a valid email address.">
</if>
<if POST.artist_phone EQ "" OR reFind("[0-9]{10}",reReplace(POST.artist_phone,"[^0-9]","","all") EQ 0)>
<var _post_status = 2>
<var _post_message = _post_message & "Please enter a valid phone number, with area code.">
</if>
<if POST.legal_name EQ "" OR listLen(POST.legal_name," ") LT 2>
<var _post_status = 2>
<var _post_message = _post_message & "Please enter your real first and last name.">
</if>
<if trim(POST.artist_name) EQ "">
<var _post_status = 2>
<var _post_message = _post_message & "Please enter your artist name.">
</if>
<if _post_status EQ 0>
<if trim(POST.first_song_title) EQ "">
<var _post_status = 2>
<var _post_message = _post_message & "Please enter the title of your first song.">
</if>
<if trim(POST.first_song_isexplicit) NEQ 0>
<var _post_status = 2>
<var _post_message = _post_message & "Your first song may not contain explicit lyrics. Please submit a different song.">
</if>
<if trim(POST.first_song_isexplicit) NEQ 0>
<var _post_status = 2>
<var _post_message = _post_message & "Your must be able to play a one-minute version of your first song. Please consider revising this song choice.">
</if>
<if trim(POST.first_song_performance) EQ "">
<var _post_status = 2>
<var _post_message = _post_message & "Please specify a performance option for your first song.">
</if>
<if trim(POST.second_song_title) EQ "">
<var _post_status = 2>
<var _post_message = _post_message & "Please enter the title of your second song.">
</if>
<if trim(POST.second_song_isexplicit) NEQ 0>
<var _post_status = 2>
<var _post_message = _post_message & "Your second song may not contain explicit lyrics. Please submit a different song.">
</if>
<if trim(POST.second_song_isexplicit) NEQ 0>
<var _post_status = 2>
<var _post_message = _post_message & "Your must be able to play a one-minute version of your second song. Please consider revising this song choice.">
</if>
<if trim(POST.second_song_performance) EQ "">
<var _post_status = 2>
<var _post_message = _post_message & "Please specify a performance option for your second song.">
</if>
</if>
<if _post_status EQ 0>
<if post_captcha_status EQ 2>
<var _post_status = 2>
<var _post_message = _post_message & "You did not type the text in the ""human test"" image properly. Please try again.">
</if>
</if>
<!--- yay! --->
<if _post_status EQ 0>
<var _post_status = 1>
</if>
<if _post_status EQ 1>
<!--- send email --->
<email from="steve" to="artist_submissions@songnite.com" bcc="steve@fentriss.com,eric@solidsound.net" subject="Submission by #escapeMarkup(POST.legal_name)#">BEGIN ARTIST SUBMISSION:
Email: #escapeMarkup(POST.artist_email)#
Phone: #escapeMarkup(POST.artist_phone)#
Real Name: #escapeMarkup(POST.legal_name)#
Artist Name: #escapeMarkup(POST.artist_name)#
Band Name: #escapeMarkup(POST.band_name)#
Web Links: #escapeMarkup(POST.web_links)#
-- First Song --
Title: #escapeMarkup(POST.first_song_title)#
Performance: #escapeMarkup(POST.first_song_performance)#
-- Second Song --
Title: #escapeMarkup(POST.second_song_title)#
Performance: #escapeMarkup(POST.second_song_performance)#
:END ARTIST SUBMISSION
----
CGI:
#serializeJSON(cgi)#</email>
<!--- redirect --->
<if return NEQ "pants">
<goto url="http://#this_domain#/#get.s1#/thanks">
<BREAK>
</if>
</if>
</if>
<if _post_status EQ 0>
<h3>Appear Live on SongNite</h3>
<div>
<p>
Have you written at least <b>two songs</b> that you can perform?
Do you want to win a recording package for one of your songs?
Do you have what it takes to appear live before SongNite's
gigantic, adoring audience?
</p>
<p>
SongNite is currently accepting artist applications for upcoming shows. Please
fill out the artist application form (below) to submit your application.
</p>
</div>
</if>
<div> </div>
<tag.unit_css>
<style type="text/css">
.unit_left { padding-top:5px; }
</style>
<if _post_status GT 0>
<div style="padding:7px; border:2px solid #C.ter#; border-radius:7px; margin-bottom:7px;">
<h4 style="margin:7px; margin-top:2px; margin-bottom:1em; border-bottom:1px solid #C.g2#; padding-bottom:3px;">Please Try Again</h4>
<div style="margin:7px; margin-top:0px; margin-right:2em;">
#_post_message#
</div>
</div>
<div> </div>
</if>
<h3>Artist Application Form</h3>
<div><postform>
<div style="margin-left:1em; padding:7px; border:1px solid #C.g4#; border-radius:7px; margin-bottom:7px;">
<h4 style="margin:7px; margin-top:2px; margin-bottom:1em; border-bottom:1px solid #C.g2#; padding-bottom:3px;">Basic Information:</h4>
<div class="unit">
<div class="unit_left">
Your Email:
</div>
<div class="unit_right">
<ensure variable="POST.artist_email" value="">
<input type="text" name="artist_email" value="#escapeDoubleQuotes(escapeMarkup(POST.artist_email))#">
<small><small><div style="color:#C.g3#; padding:3px;">
An email where you can be reached reliably
</div></small></small>
</div>
</div>
<div class="unit">
<div class="unit_left">
Your Phone:
</div>
<div class="unit_right">
<ensure variable="POST.artist_phone" value="">
<input type="text" name="artist_phone" value="#escapeDoubleQuotes(escapeMarkup(POST.artist_phone))#">
<small><small><div style="color:#C.g3#; padding:3px;">
A phone number that we can call during business hours
</div></small></small>
</div>
</div>
<div class="unit">
<div class="unit_left">
Your Real Name:
</div>
<div class="unit_right">
<ensure variable="POST.legal_name" value="">
<input type="text" name="legal_name" value="#escapeDoubleQuotes(escapeMarkup(POST.legal_name))#">
<small><small><div style="color:#C.g3#; padding:3px;">
The name your mother calls you, ex. "David Grohl"
</div></small></small>
</div>
</div>
<div class="unit">
<div class="unit_left">
Your Stage Name:
</div>
<div class="unit_right">
<ensure variable="POST.artist_name" value="">
<input type="text" name="artist_name" value="#escapeDoubleQuotes(escapeMarkup(POST.artist_name))#">
<small><small><div style="color:#C.g3#; padding:3px;">
The name your fans call you, ex. "Dave Grohl"
</div></small></small>
</div>
</div>
<div class="unit">
<div class="unit_left">
Your Group:
</div>
<div class="unit_right">
<ensure variable="POST.band_name" value="">
<input type="text" name="band_name" value="#escapeDoubleQuotes(escapeMarkup(POST.band_name))#">
<small><small><div style="color:#C.g3#; padding:3px;">
If you are appearing on behalf
of a band or musical group, type the name of your group.
Solo artists can skip this one.
</div></small></small>
</div>
</div>
<div class="unit">
<div class="unit_left">
Web Links:
</div>
<div class="unit_right">
<ensure variable="POST.web_links" value="">
<textarea name="web_links" style="height:4em; width:80%;">#escapeMarkup(POST.web_links)#</textarea>
<small><small><div style="color:#C.g3#; padding:3px;">
Do you have any web pages for your music? Tell us!
</div></small></small>
</div>
</div>
</div>
<loop list="First,Second" index="x">
<div style="margin-left:1em; padding:7px; border:1px solid #C.g4#; border-radius:7px; margin-bottom:7px;">
<h4 style="margin:7px; margin-top:2px; margin-bottom:1em; border-bottom:1px solid #C.g2#; padding-bottom:3px;">#x# Song:</h4>
<div class="unit">
<div class="unit_left">
Song Title:
</div>
<div class="unit_right">
<ensure variable="POST.#x#_song_title" value="">
<input type="text" name="#x#_song_title" value="#escapeDoubleQuotes(escapeMarkup(evaluate('POST.#x#_song_title')))#">
</div>
</div>
<div class="unit">
<div class="unit_left">
Details:
</div>
<div class="unit_right">
<small><div>
<ensure variable="POST.#x#_song_isexplicit" value="">
<select name="#x#_song_isexplicit" style="display:block; margin-bottom:3px;">
<option value="">(select)</option>
<option value="0"<if evaluate('POST.#x#_song_isexplicit') EQ 0> selected</if>>This song has clean lyrics (required)</option>
<option value="1"<if evaluate('POST.#x#_song_isexplicit') EQ 1> selected</if>>This song has explicit lyrics</option>
</select>
<ensure variable="POST.#x#_song_istoolong" value="">
<select name="#x#_song_istoolong">
<option value="">(select)</option>
<option value="0"<if evaluate('POST.#x#_song_istoolong') EQ 0> selected</if>>I can perform a one-minute version of this song (required)</option>
<option value="1"<if evaluate('POST.#x#_song_istoolong') EQ 1> selected</if>>I can't keep it short no matter how hard I try</option>
</select>
</div></small>
</div>
</div>
<div class="unit">
<div class="unit_left">
Song Performance:
</div>
<div class="unit_right">
<ensure variable="POST.#x#_song_performance" value="">
<select name="#x#_song_performance">
<option value="">(select)</option>
<option value="guitar_and_voice"<if evaluate('POST.#x#_song_performance') EQ "guitar_and_voice"> selected</if>>I will sing and play guitar</option>
<option value="piano_and_voice"<if evaluate('POST.#x#_song_performance') EQ "piano_and_voice"> selected</if>>I will sing and play piano</option>
<option value="just_voice"<if evaluate('POST.#x#_song_performance') EQ "just_voice"> selected</if>>I will sing with no accompaniment</option>
<option value="voice_with_demo"<if evaluate('POST.#x#_song_performance') EQ "voice_with_demo"> selected</if>>I will sing along with a demo track</option>
</select>
</div>
</div>
</div>
</loop>
<div style="margin-left:1em; padding:7px; border:1px solid #C.g4#; border-radius:7px; margin-bottom:7px;">
<h4 style="margin:7px; margin-top:2px; margin-bottom:1em; border-bottom:1px solid #C.g2#; padding-bottom:3px;">One More Thing</h4>
<div class="unit">
<div class="unit_left">
Human Test:
</div>
<div class="unit_right">
<div style="padding:3px; padding-left:0px;">
<captcha chars="6" width="260" height="70">
</div>
<small><small><div style="color:#C.g3#; padding:3px;">
Please enter the text you see
in the image.
</div></small></small>
</div>
</div>
<div class="unit">
<div class="unit_left">
</div>
<div class="unit_right">
<input type="submit" class="spf_btn" value="Submit Application" style="cursor:pointer;">
</div>
</div>
</div>
<input type="hidden" name="artist_form" value="1" style="display:none;">
</postform></div>
</div>
<div style="clear:both;">