<?xml version="1.0" encoding="UTF-8"?>
<document>
 <LimeSurveyDocType>Survey</LimeSurveyDocType>
 <DBVersion>182</DBVersion>
 <languages>
  <language>en</language>
 </languages>
 <defaultvalues>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>sqid</fieldname>
   <fieldname>language</fieldname>
   <fieldname>specialtype</fieldname>
   <fieldname>defaultvalue</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[164]]></qid>
    <scale_id><![CDATA[0]]></scale_id>
    <sqid><![CDATA[0]]></sqid>
    <language><![CDATA[en]]></language>
    <specialtype/>
    <defaultvalue><![CDATA[10:30]]></defaultvalue>
   </row>
   <row>
    <qid><![CDATA[165]]></qid>
    <scale_id><![CDATA[0]]></scale_id>
    <sqid><![CDATA[0]]></sqid>
    <language><![CDATA[en]]></language>
    <specialtype/>
    <defaultvalue><![CDATA[11:30]]></defaultvalue>
   </row>
  </rows>
 </defaultvalues>
 <groups>
  <fields>
   <fieldname>gid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>group_name</fieldname>
   <fieldname>group_order</fieldname>
   <fieldname>description</fieldname>
   <fieldname>language</fieldname>
   <fieldname>randomization_group</fieldname>
   <fieldname>grelevance</fieldname>
  </fields>
  <rows>
   <row>
    <gid><![CDATA[29]]></gid>
    <sid><![CDATA[399574]]></sid>
    <group_name><![CDATA[Group 1]]></group_name>
    <group_order><![CDATA[0]]></group_order>
    <description/>
    <language><![CDATA[en]]></language>
    <randomization_group/>
    <grelevance/>
   </row>
   <row>
    <gid><![CDATA[35]]></gid>
    <sid><![CDATA[399574]]></sid>
    <group_name><![CDATA[null]]></group_name>
    <group_order><![CDATA[1]]></group_order>
    <description/>
    <language><![CDATA[en]]></language>
    <randomization_group/>
    <grelevance/>
   </row>
  </rows>
 </groups>
 <questions>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>parent_qid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>type</fieldname>
   <fieldname>title</fieldname>
   <fieldname>question</fieldname>
   <fieldname>preg</fieldname>
   <fieldname>help</fieldname>
   <fieldname>other</fieldname>
   <fieldname>mandatory</fieldname>
   <fieldname>question_order</fieldname>
   <fieldname>language</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>same_default</fieldname>
   <fieldname>relevance</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[163]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[399574]]></sid>
    <gid><![CDATA[29]]></gid>
    <type><![CDATA[D]]></type>
    <title><![CDATA[oneoffdate]]></title>
    <question><![CDATA[Choose a date]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[0]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
   </row>
   <row>
    <qid><![CDATA[164]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[399574]]></sid>
    <gid><![CDATA[35]]></gid>
    <type><![CDATA[S]]></type>
    <title><![CDATA[starttime]]></title>
    <question><![CDATA[Start time]]></question>
    <preg><![CDATA[/^([01]?[0-9]|2[0-3]):(00|15|30|45)$/]]></preg>
    <help><![CDATA[Please use 24hr format, (eg: 09:30).<br />
Bookings can be made on the quarter hours. <br />
(:00, :15, :30 or :45)<br />
Times you book are times you have access to the space.
]]></help>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[0]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
   </row>
   <row>
    <qid><![CDATA[165]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[399574]]></sid>
    <gid><![CDATA[35]]></gid>
    <type><![CDATA[S]]></type>
    <title><![CDATA[endtime]]></title>
    <question><![CDATA[End time]]></question>
    <preg><![CDATA[/^([01]?[0-9]|2[0-3]):(00|15|30|45)$/]]></preg>
    <help><![CDATA[Please use 24hr format, (eg: 09:30).<br />
Bookings can be made on the quarter hours. <br/>
(:00, :15, :30 or :45)<br/>
Times you book are times you have access to the space - please make sure you have enough time to tidy up.<br/>
]]></help>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
   </row>
   <row>
    <qid><![CDATA[200]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[399574]]></sid>
    <gid><![CDATA[29]]></gid>
    <type><![CDATA[X]]></type>
    <title><![CDATA[oneoffavailability]]></title>
    <question><![CDATA[My real aim is to load that link into an iframe<br/>
<iframe height="250" scrolling="yes" src="http://www.woodhousecommunitycentre.com/availability/day.php?year={date('Y',strtotime(oneoffdate))}&month={date('m',strtotime(oneoffdate))}&day={date('d',strtotime(oneoffdate))}&area=3" width="99.5%"><p>Your browser does not support iframes.</p></iframe>]]></question>
    <preg/>
    <help><![CDATA[but that does exactly the same thing, it's just more difficult to see what it's doing.]]></help>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[3]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[((!is_empty(oneoffdate)))]]></relevance>
   </row>
   <row>
    <qid><![CDATA[201]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[399574]]></sid>
    <gid><![CDATA[35]]></gid>
    <type><![CDATA[X]]></type>
    <title><![CDATA[duration]]></title>
    <question><![CDATA[STR TEST Date: {strtotime(oneoffdate)}<br/>
STR TEST Start time: {starttime} becomes {strtotime(starttime)}<br/>
STR TEST End time:  {endtime} becomes {date('U',strtotime(endtime))}<br/>
<i>Duration: {(strtotime(endtime)-strtotime(starttime))/60/60} hours</i>

]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[2]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(!is_empty(starttime) && !is_empty(endtime) && 2<1)]]></relevance>
   </row>
   <row>
    <qid><![CDATA[237]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[399574]]></sid>
    <gid><![CDATA[29]]></gid>
    <type><![CDATA[X]]></type>
    <title><![CDATA[availcode]]></title>
    <question><![CDATA[(lt)a href="http://www.woodhousecommunitycentre.com/availability/day.php?year={date('Y',strtotime(oneoffdate))}&month={date('m',strtotime(oneoffdate))}&day={date('d',strtotime(oneoffdate))}&area=3"(gt) LINK(lt)/a(gt) ]]></question>
    <preg/>
    <help><![CDATA[This is the contents of the &lt;a&gt; tag that I want to load dynamically from Q1. The variables match the elements of the date.]]></help>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[((!is_empty(oneoffdate)))]]></relevance>
   </row>
   <row>
    <qid><![CDATA[238]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[399574]]></sid>
    <gid><![CDATA[29]]></gid>
    <type><![CDATA[X]]></type>
    <title><![CDATA[availlink]]></title>
    <question><![CDATA[<a href="http://www.woodhousecommunitycentre.com/availability/day.php?year={date('Y',strtotime(oneoffdate))}&month={date('m',strtotime(oneoffdate))}&day={date('d',strtotime(oneoffdate))}&area=3"><h2>LINK</h2></a>]]></question>
    <preg/>
    <help><![CDATA[BUT as soon as I complete the tag with &lt; and &gt;, the date elements are replaced with:<br/>
<i>.../availability/day.php?year=&lt;span id="LEMtailor_Q_238_64"&gt;1970&lt;/span&gt;&month=&lt;span id="LEMtailor_Q_238_65"&gt;01&lt;/span&gt;&day=&lt;span id="LEMtailor_Q_238_66"&gt;01&lt;/span&gt;&area=3</i><br/>

Hover over the link to check.<br/>
I'm NOT using the HTML editor, because I know that can mess up tags.
]]></help>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[2]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[((!is_empty(oneoffdate)))]]></relevance>
   </row>
  </rows>
 </questions>
 <question_attributes>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>attribute</fieldname>
   <fieldname>value</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[163]]></qid>
    <attribute><![CDATA[statistics_showgraph]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
  </rows>
 </question_attributes>
 <surveys>
  <fields>
   <fieldname>sid</fieldname>
   <fieldname>admin</fieldname>
   <fieldname>expires</fieldname>
   <fieldname>startdate</fieldname>
   <fieldname>adminemail</fieldname>
   <fieldname>anonymized</fieldname>
   <fieldname>faxto</fieldname>
   <fieldname>format</fieldname>
   <fieldname>savetimings</fieldname>
   <fieldname>template</fieldname>
   <fieldname>language</fieldname>
   <fieldname>additional_languages</fieldname>
   <fieldname>datestamp</fieldname>
   <fieldname>usecookie</fieldname>
   <fieldname>allowregister</fieldname>
   <fieldname>allowsave</fieldname>
   <fieldname>autonumber_start</fieldname>
   <fieldname>autoredirect</fieldname>
   <fieldname>allowprev</fieldname>
   <fieldname>printanswers</fieldname>
   <fieldname>ipaddr</fieldname>
   <fieldname>refurl</fieldname>
   <fieldname>publicstatistics</fieldname>
   <fieldname>publicgraphs</fieldname>
   <fieldname>listpublic</fieldname>
   <fieldname>htmlemail</fieldname>
   <fieldname>sendconfirmation</fieldname>
   <fieldname>tokenanswerspersistence</fieldname>
   <fieldname>assessments</fieldname>
   <fieldname>usecaptcha</fieldname>
   <fieldname>usetokens</fieldname>
   <fieldname>bounce_email</fieldname>
   <fieldname>attributedescriptions</fieldname>
   <fieldname>emailresponseto</fieldname>
   <fieldname>emailnotificationto</fieldname>
   <fieldname>tokenlength</fieldname>
   <fieldname>showxquestions</fieldname>
   <fieldname>showgroupinfo</fieldname>
   <fieldname>shownoanswer</fieldname>
   <fieldname>showqnumcode</fieldname>
   <fieldname>bouncetime</fieldname>
   <fieldname>bounceprocessing</fieldname>
   <fieldname>bounceaccounttype</fieldname>
   <fieldname>bounceaccounthost</fieldname>
   <fieldname>bounceaccountpass</fieldname>
   <fieldname>bounceaccountencryption</fieldname>
   <fieldname>bounceaccountuser</fieldname>
   <fieldname>showwelcome</fieldname>
   <fieldname>showprogress</fieldname>
   <fieldname>questionindex</fieldname>
   <fieldname>navigationdelay</fieldname>
   <fieldname>nokeyboard</fieldname>
   <fieldname>alloweditaftercompletion</fieldname>
   <fieldname>googleanalyticsstyle</fieldname>
   <fieldname>googleanalyticsapikey</fieldname>
  </fields>
  <rows>
   <row>
    <sid><![CDATA[399574]]></sid>
    <admin><![CDATA[Administrator]]></admin>
    <adminemail><![CDATA[admin+lime@oblongleeds.org.uk]]></adminemail>
    <anonymized><![CDATA[N]]></anonymized>
    <faxto/>
    <format><![CDATA[G]]></format>
    <savetimings><![CDATA[N]]></savetimings>
    <template><![CDATA[default]]></template>
    <language><![CDATA[en]]></language>
    <additional_languages/>
    <datestamp><![CDATA[N]]></datestamp>
    <usecookie><![CDATA[N]]></usecookie>
    <allowregister><![CDATA[N]]></allowregister>
    <allowsave><![CDATA[Y]]></allowsave>
    <autonumber_start><![CDATA[0]]></autonumber_start>
    <autoredirect><![CDATA[N]]></autoredirect>
    <allowprev><![CDATA[Y]]></allowprev>
    <printanswers><![CDATA[Y]]></printanswers>
    <ipaddr><![CDATA[N]]></ipaddr>
    <refurl><![CDATA[N]]></refurl>
    <publicstatistics><![CDATA[N]]></publicstatistics>
    <publicgraphs><![CDATA[N]]></publicgraphs>
    <listpublic><![CDATA[N]]></listpublic>
    <htmlemail><![CDATA[Y]]></htmlemail>
    <sendconfirmation><![CDATA[Y]]></sendconfirmation>
    <tokenanswerspersistence><![CDATA[N]]></tokenanswerspersistence>
    <assessments><![CDATA[N]]></assessments>
    <usecaptcha><![CDATA[S]]></usecaptcha>
    <usetokens><![CDATA[N]]></usetokens>
    <bounce_email><![CDATA[admin+lime@oblongleeds.org.uk]]></bounce_email>
    <attributedescriptions><![CDATA[[]]]></attributedescriptions>
    <emailresponseto/>
    <emailnotificationto/>
    <tokenlength><![CDATA[15]]></tokenlength>
    <showxquestions><![CDATA[N]]></showxquestions>
    <showgroupinfo><![CDATA[B]]></showgroupinfo>
    <shownoanswer><![CDATA[Y]]></shownoanswer>
    <showqnumcode><![CDATA[N]]></showqnumcode>
    <bounceprocessing><![CDATA[N]]></bounceprocessing>
    <showwelcome><![CDATA[N]]></showwelcome>
    <showprogress><![CDATA[Y]]></showprogress>
    <questionindex><![CDATA[0]]></questionindex>
    <navigationdelay><![CDATA[0]]></navigationdelay>
    <nokeyboard><![CDATA[N]]></nokeyboard>
    <alloweditaftercompletion><![CDATA[N]]></alloweditaftercompletion>
    <googleanalyticsstyle><![CDATA[0]]></googleanalyticsstyle>
    <googleanalyticsapikey/>
   </row>
  </rows>
 </surveys>
 <surveys_languagesettings>
  <fields>
   <fieldname>surveyls_survey_id</fieldname>
   <fieldname>surveyls_language</fieldname>
   <fieldname>surveyls_title</fieldname>
   <fieldname>surveyls_description</fieldname>
   <fieldname>surveyls_welcometext</fieldname>
   <fieldname>surveyls_endtext</fieldname>
   <fieldname>surveyls_url</fieldname>
   <fieldname>surveyls_urldescription</fieldname>
   <fieldname>surveyls_email_invite_subj</fieldname>
   <fieldname>surveyls_email_invite</fieldname>
   <fieldname>surveyls_email_remind_subj</fieldname>
   <fieldname>surveyls_email_remind</fieldname>
   <fieldname>surveyls_email_register_subj</fieldname>
   <fieldname>surveyls_email_register</fieldname>
   <fieldname>surveyls_email_confirm_subj</fieldname>
   <fieldname>surveyls_email_confirm</fieldname>
   <fieldname>surveyls_dateformat</fieldname>
   <fieldname>surveyls_attributecaptions</fieldname>
   <fieldname>email_admin_notification_subj</fieldname>
   <fieldname>email_admin_notification</fieldname>
   <fieldname>email_admin_responses_subj</fieldname>
   <fieldname>email_admin_responses</fieldname>
   <fieldname>surveyls_numberformat</fieldname>
   <fieldname>attachments</fieldname>
  </fields>
  <rows>
   <row>
    <surveyls_survey_id><![CDATA[399574]]></surveyls_survey_id>
    <surveyls_language><![CDATA[en]]></surveyls_language>
    <surveyls_title><![CDATA[EM html test]]></surveyls_title>
    <surveyls_description/>
    <surveyls_welcometext><![CDATA[<span and="" at="" available="" booking="" broucher="" centre.="" community="" data-sheets-userformat="[null,null,9089,[null,0],null,null,null,null,null,null,1,4,0,null,null,null,12]" data-sheets-value="[null,2," details="" for="" further="" hire="" in="" interest="" of="" our="" photos="" please="" room="" see="" style="font-size:120%;font-family:arial,sans,sans-serif;" thank="" woodhouse="" you="" your="">Thank you for your interest in booking at Woodhouse Community Centre. Please see our Room Hire Broucher for photos and further details of available rooms.</span>]]></surveyls_welcometext>
    <surveyls_endtext><![CDATA[<p>
	Thank you for booking at Woodhouse Community Centre.</p>
<p>
	Your booking is only confirmed once you have received your booking confirmation email, which may specify the need for a deposit. If you haven&#39;t heard from us in 2 working days please <a href="http://www.woodhousecommunitycentre.com/contact">get in touch</a>.<span class="Apple-tab-span" style="white-space: pre;"> </span></p>
<p>
	Thanks for your support in making us a thriving community hub.<span class="Apple-tab-span" style="white-space: pre;"> </span></p>
]]></surveyls_endtext>
    <surveyls_url><![CDATA[http://www.woodhousecommunitycentre.com/whatson]]></surveyls_url>
    <surveyls_urldescription><![CDATA[What's on at Woodhouse Community Centre]]></surveyls_urldescription>
    <surveyls_email_invite_subj><![CDATA[Invitation to participate in a survey]]></surveyls_email_invite_subj>
    <surveyls_email_invite><![CDATA[Dear {FIRSTNAME},<br />
<br />
you have been invited to participate in a survey.<br />
<br />
The survey is titled:<br />
"{SURVEYNAME}"<br />
<br />
"{SURVEYDESCRIPTION}"<br />
<br />
To participate, please click on the link below.<br />
<br />
Sincerely,<br />
<br />
{ADMINNAME} ({ADMINEMAIL})<br />
<br />
----------------------------------------------<br />
Click here to do the survey:<br />
{SURVEYURL}<br />
<br />
If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />
{OPTOUTURL}<br />
<br />
If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:<br />
{OPTINURL}]]></surveyls_email_invite>
    <surveyls_email_remind_subj><![CDATA[Reminder to participate in a survey]]></surveyls_email_remind_subj>
    <surveyls_email_remind><![CDATA[Dear {FIRSTNAME},<br />
<br />
Recently we invited you to participate in a survey.<br />
<br />
We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.<br />
<br />
The survey is titled:<br />
"{SURVEYNAME}"<br />
<br />
"{SURVEYDESCRIPTION}"<br />
<br />
To participate, please click on the link below.<br />
<br />
Sincerely,<br />
<br />
{ADMINNAME} ({ADMINEMAIL})<br />
<br />
----------------------------------------------<br />
Click here to do the survey:<br />
{SURVEYURL}<br />
<br />
If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />
{OPTOUTURL}]]></surveyls_email_remind>
    <surveyls_email_register_subj><![CDATA[Survey registration confirmation]]></surveyls_email_register_subj>
    <surveyls_email_register><![CDATA[Dear {FIRSTNAME},<br />
<br />
You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.<br />
<br />
To complete this survey, click on the following URL:<br />
<br />
{SURVEYURL}<br />
<br />
If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.]]></surveyls_email_register>
    <surveyls_email_confirm_subj><![CDATA[Confirmation of your participation in our survey]]></surveyls_email_confirm_subj>
    <surveyls_email_confirm><![CDATA[Dear {FIRSTNAME},<br />
<br />
this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.<br />
<br />
If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.<br />
<br />
Sincerely,<br />
<br />
{ADMINNAME}]]></surveyls_email_confirm>
    <surveyls_dateformat><![CDATA[2]]></surveyls_dateformat>
    <email_admin_notification_subj><![CDATA[Response submission for survey {SURVEYNAME}]]></email_admin_notification_subj>
    <email_admin_notification><![CDATA[Hello,<br />
<br />
A new response was submitted for your survey '{SURVEYNAME}'.<br />
<br />
Click the following link to reload the survey:<br />
{RELOADURL}<br />
<br />
Click the following link to see the individual response:<br />
{VIEWRESPONSEURL}<br />
<br />
Click the following link to edit the individual response:<br />
{EDITRESPONSEURL}<br />
<br />
View statistics by clicking here:<br />
{STATISTICSURL}]]></email_admin_notification>
    <email_admin_responses_subj><![CDATA[Response submission for survey {SURVEYNAME} with results]]></email_admin_responses_subj>
    <email_admin_responses><![CDATA[Hello,<br />
<br />
A new response was submitted for your survey '{SURVEYNAME}'.<br />
<br />
Click the following link to reload the survey:<br />
{RELOADURL}<br />
<br />
Click the following link to see the individual response:<br />
{VIEWRESPONSEURL}<br />
<br />
Click the following link to edit the individual response:<br />
{EDITRESPONSEURL}<br />
<br />
View statistics by clicking here:<br />
{STATISTICSURL}<br />
<br />
<br />
The following answers were given by the participant:<br />
{ANSWERTABLE}]]></email_admin_responses>
    <surveyls_numberformat><![CDATA[0]]></surveyls_numberformat>
   </row>
  </rows>
 </surveys_languagesettings>
</document>
