.id
4136
.gutitle
spe_page_contact_page
.title
spe_page_contact_page
.file
.extension
.name
|/routinetype-subutility|
.user_id
7
.notes
.body
<var set = caller.set>




<var email = "steve@fentriss.com">
<var subject = "Message from your SmallerPage app">


<set orb="user" select="user.email" where="user.id = #site_user_id#" maxrows="1">
<setcrawl><var email = set.email></setcrawl>
</set>

<ensure variable="att.to" value="#email#">
<ensure variable="att.subject" value="#subject#">

<div style="width:320px;">
<if isdefined("post.iqtpi_contactform") AND post.iqtpi_contactform EQ 1 AND post_captcha_status EQ 1>

<if att.to EQ "">
<span style="font-family:Courier-New, Courier, Mono, Monospace">Developer: you must include the attribute "to=[valid email address]" when using &lt;iqtpi_contactform/&gt;</span>
<else>
<div style="display:none"><email from="aRobot@smallerpage.com" to="#att.to#" subject="#att.subject#">From #post.iqtpi_contactform_email#:

#post.iqtpi_contactform_message#

-----
VISITOR INFO
Browser String: #CGI.http_user_agent#

-----
sent from the contact form on your app,
#site_title#</email></div>
<h4>Thank you!</h4>
<p>Your message has been sent.</p>
<div>&nbsp;</div>
</if>

<else>

<style type="text/css">
.unit { overflow:visible; overflow-x:visible; overflow-y:visible; }
.unit input { font-size:1em; border-style:solid; border-width:1px; }
</style>

<postform>
<!---<input type="hidden" name="soBypassAllPost" value="1">--->

<if post_captcha_status EQ 2>

<div style="padding:1em; margin-bottom:1em; background:##FFFFAA;">
<h3>Oops!</h3>
<div style="display:none;"><small>&nbsp;</small></div>
<p>The text you typed did not match the text in the image. Please try again.</p>
</div>

<else>

<if set.body NEQ "">

<div style="margin-left:1em;"><small>
#escapeMarkup(set.body,1)#
</small></div>
<div>&nbsp;</div>
<h4>Send a Message:</h4>

</if>

</if>

<input type="hidden" name="iqtpi_contactform" value="1">
<div class="unit">
<label for="iqtpi_contactform_email">Your Email Address:</label>
<input type="text" name="iqtpi_contactform_email" value="<if isdefined("post.iqtpi_contactform_email")>#escapeMarkup(post.iqtpi_contactform_email)#</if>"
style="font-size:1em; border-style:solid; border-width:1px; display:block;">
</div>
<div>&nbsp;</div>
<div class="unit">
<label for="iqtpi_contactform_message">Your Message:</label>
<textarea name="iqtpi_contactform_message"
style="font-size:1em; width:100%; height:4em; border-style:solid; border-width:1px; display:block;"><if isdefined("post.iqtpi_contactform_message")>#escapeMarkup(post.iqtpi_contactform_message)#</if></textarea>
</div>
<div>&nbsp;</div>
<div class="unit">
<captcha chars="6" width="300" height="80">
(please type the text you see in the image)
</div>
<div>&nbsp;</div>
<div class="unit">
<input type="submit" value="Send Message" style="cursor:pointer;">
</div>
<div>&nbsp;</div>
</postform>

</if>
</div>
 
.sum_double
0.00
.producttype
.productincludes
.physical_unsignedint
0
.isprotected_unsignedint
0
.overridesiteheader_unsignedint
0