<?xml version="1.0" encoding="ISO-8859-1"?><dictionary>
<item key="dtml" type="string"><![CDATA[<!-- BO bodyContentZMSCustom_serviceForm -->

<dtml-if "REQUEST.get('btn','')=='Absenden'">
 <dtml-try>
  <dtml-call "REQUEST.set('msg',[])">
  <dtml-if el_email>
   <dtml-call "msg.append('From: '+el_email+'\n')">
  <dtml-else>
   <dtml-call "msg.append('From: '+getObjProperty('recipient',REQUEST)+'\n')">
  </dtml-if>
  <dtml-call "msg.append('To: '+getObjProperty('recipient',REQUEST)+'\n')">
  <dtml-call "msg.append('Subject: ['+getDocumentElement().getTitle(REQUEST)+']: '+el_subject+'\n')">
  <dtml-call "msg.append('\n')">
  <dtml-call "msg.append('--------------------\n')">
  <dtml-call "msg.append('Amount'+'\t'+'Topic'+'\n')">
  <dtml-call "msg.append('--------------------\n')">
  <dtml-call "msg.append(el_message+'\n')">
  <dtml-in "string_list(getObjProperty('topics',REQUEST))">
   <dtml-let i=sequence-index>
    <dtml-if "REQUEST.get('el_amount%i'%i,0)">
     <dtml-call "msg.append(_.str(REQUEST.get('el_amount%i'%i,0)) + '\t' + _.str(REQUEST.get('el_topics%i'%i,'')) + '\n')">
    </dtml-if>
   </dtml-let>
  </dtml-in>
  <dtml-call "msg.append('--------------------\n')">
  <dtml-call "msg.append('Name: '+el_surname+', '+el_givenname+'\n')">
  <dtml-call "msg.append('Postal Address: '+el_streetno+'\n')">
  <dtml-call "msg.append('Postal Code/City: '+el_zip+' '+el_city+'\n')">
  <dtml-call "msg.append('e-Mail: '+el_email+'\n')">
  <dtml-call "msg.append('\n')">
  <dtml-call "MailHost.send(''.join(msg))">
  <p style="color:red">Danke für die Nachricht.</p>
 <dtml-except>
  <p style="color:red">Fehler. Ihre Nachricht konnte nicht gesendet werden.</p>
 </dtml-try>

<dtml-else>

<script language="JavaScript">
<!--//
  function disallowBlank(el, title) {
    if (el.value.length==0) {
      alert('>'+title+'< muss einen Wert haben!');
      el.select();
      el.focus();
      return false;
    }
    return true;
  }
  function formSubmit(fm) 
  {
    return disallowBlank(fm.el_givenname,'First name') &&
           disallowBlank(fm.el_surname,'Last name');
  }
//-->
</script>

<form method="post" onsubmit="return formSubmit(this);">
<table>
<dtml-if "getObjProperty('topics',REQUEST)">
<tr valign="top" class="secndColorLight0">
 <td><b>Meine Bestellung</b>&nbsp;&nbsp;</td>
 <td>
  <dtml-in "string_list(getObjProperty('topics',REQUEST))">
   <dtml-let i=sequence-index>
    <input type="text" name="el_amount<dtml-var i>:int" size="3" value="0">
    <input type="hidden" name="el_topics<dtml-var i>" value="<dtml-var sequence-item>"> 
    <dtml-var sequence-item><br>
   </dtml-let>
  </dtml-in>
 </td>
</tr>
</dtml-if>
<tr valign="top">
 <td colspan="2"><br /><b>Meine Nachricht</b> 
 <dtml-if "getObjProperty('topics',REQUEST)">
 (bei Bedarf):
 </dtml-if>
</tr>
<tr valign="top">
 <td>Betreff</td>
 <td><input type="text" name="el_subject" size="45" style="width:350px"></td>
</tr>
<tr valign="top">
 <td>Nachricht</td>
 <td><textarea cols="50" rows="10" name="el_message" wrap="on" style="width:350px"></textarea></td>
</tr>

<tr valign="top">
 <td><b>Meine Daten:</b></td>
 <td>
  <select name="el_title">
   <option value="">--- Anrede wählen ---</option>
   <option value="Frau">Frau</option>
   <option value="Herr">Herr</option>
  </select>
 </td>
</tr>
<tr valign="top">
 <td>Vorname&nbsp;<sup style="color:red">*</sup></td>
 <td><input type="text" name="el_givenname" value="" size="30"></td>
</tr>
<tr valign="top">
 <td>Nachname&nbsp;<sup style="color:red">*</sup></td>
 <td><input type="text" name="el_surname" value="" size="30"></td>
</tr>
<tr valign="top">
 <td>Postanschrift</td>
 <td><input type="text" name="el_streetno" value="" size="30"></td>
</tr>
<tr valign="top">
 <td>PLZ/Stadt</td>
 <td><input type="text" name="el_zip" value="" size="6"><input type="text" name="el_city" value="" size="22"></td>
</tr>
<tr valign="top">
 <td>e-Mail</td>
 <td><input type="text" name="el_email" value="" size="30"></td>
</tr>
<tr valign="top">
 <td colspan="2" align="center">
  <hr size="1">
  <input type="submit" name="btn" value="Absenden">
  <input type="reset" name="btn" value="Abbrechen">
 <td>
</tr>
</table>
</form>
</dtml-if>

<dtml-var bodyContent_PagePost>

<!-- EO bodyContentZMSCustom_serviceForm -->]]></item>
<item key="enabled" type="int"><![CDATA[1]]></item>
<item key="key" type="string"><![CDATA[serviceForm]]></item>
<item key="value" type="dictionary"><dictionary>
<item key="__obj_attrs__" type="dictionary"><list>
<item type="dictionary"><dictionary>
<item key="custom" type="string"></item>
<item key="id" type="string"><![CDATA[titlealt]]></item>
<item key="keys" type="dictionary"><list>
</list>
</item>
<item key="mandatory" type="int"><![CDATA[1]]></item>
<item key="multilang" type="int"><![CDATA[1]]></item>
<item key="name" type="string"><![CDATA[Shorttitle]]></item>
<item key="repetitive" type="int"><![CDATA[0]]></item>
<item key="type" type="string"><![CDATA[string]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom" type="string"></item>
<item key="id" type="string"><![CDATA[title]]></item>
<item key="keys" type="dictionary"><list>
</list>
</item>
<item key="mandatory" type="int"><![CDATA[1]]></item>
<item key="multilang" type="int"><![CDATA[1]]></item>
<item key="name" type="string"><![CDATA[Title]]></item>
<item key="repetitive" type="int"><![CDATA[0]]></item>
<item key="type" type="string"><![CDATA[string]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom" type="string"></item>
<item key="id" type="string"><![CDATA[attr_dc_description]]></item>
<item key="keys" type="dictionary"><list>
</list>
</item>
<item key="mandatory" type="int"><![CDATA[0]]></item>
<item key="multilang" type="int"><![CDATA[1]]></item>
<item key="name" type="string"><![CDATA[Description]]></item>
<item key="repetitive" type="int"><![CDATA[0]]></item>
<item key="type" type="string"><![CDATA[text]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom" type="string"></item>
<item key="id" type="string"><![CDATA[recipient]]></item>
<item key="keys" type="dictionary"><list>
</list>
</item>
<item key="mandatory" type="int"><![CDATA[1]]></item>
<item key="multilang" type="int"><![CDATA[1]]></item>
<item key="name" type="string"><![CDATA[Recipient]]></item>
<item key="repetitive" type="int"><![CDATA[0]]></item>
<item key="type" type="string"><![CDATA[string]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom" type="string"></item>
<item key="id" type="string"><![CDATA[topics]]></item>
<item key="keys" type="dictionary"><list>
</list>
</item>
<item key="mandatory" type="int"><![CDATA[0]]></item>
<item key="multilang" type="int"><![CDATA[1]]></item>
<item key="name" type="string"><![CDATA[Topics]]></item>
<item key="repetitive" type="int"><![CDATA[0]]></item>
<item key="type" type="string"><![CDATA[text]]></item>
</dictionary>
</item>
</list>
</item>
<item key="acquired" type="int"><![CDATA[0]]></item>
<item key="name" type="string"><![CDATA[Service-Formular]]></item>
<item key="type" type="string"><![CDATA[ZMSObject]]></item>
</dictionary>
</item>
</dictionary>
