You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

213 lines
6.4 KiB

  1. <h1>
  2. <?php echo _($localeYaml['mainheader'][$loc])?>
  3. </h1>
  4. <p>
  5. <?php echo _($localeYaml['mainheader_subtext_1'][$loc])?><BR>
  6. <?php echo _($localeYaml['mainheader_subtext_2'][$loc])?><BR><BR>
  7. <?php
  8. $ct = @file_get_contents( "./locale/$loc/h1.php");
  9. if ($ct==false)
  10. $ct = file_get_contents( "h1.php");
  11. echo $ct;
  12. ?>
  13. </p>
  14. <form data-kube="kaform" name="theform" id="theform" action="submit.php" method="POST">
  15. <fieldset> <legend><?php echo _($localeYaml['form_1_header'][$loc])?></legend>
  16. <div class="is-row">
  17. <div class="is-col">
  18. <input required type="input"
  19. size="32" id="projectid" name="project"
  20. placeholder="<?php echo _($localeYaml['form_1_placeholder_1'][$loc])?>" />
  21. </div>
  22. </div>
  23. <div class="is-row">
  24. <div class="is-col">
  25. <input required type="input" size="32"
  26. ` id="realname" name="realname" placeholder="<?php echo _($localeYaml['form_1_placeholder_2'][$loc])?>" />
  27. </div>
  28. <div class="is-col">
  29. <input type="input" size="32"
  30. ` id="wmdecontact" name="wmdecontact"
  31. placeholder="<?= _($localeYaml['form_1_placeholder_3'][$loc])?>" />
  32. </div>
  33. </div>
  34. <div class="is-row">
  35. <div class="is-col">
  36. <input type="tel" size="32"
  37. id="phone" name="phone"
  38. placeholder="<?= _($localeYaml['form_1_placeholder_4'][$loc])?>" />
  39. </div>
  40. <div class="is-col">
  41. </div>
  42. </div>
  43. <div class="is-row">
  44. <div class="is-col">
  45. <input required type="email" size="32" id="email"
  46. name="email" placeholder="<?= _($localeYaml['form_1_placeholder_5'][$loc])?>" />
  47. </div>
  48. <div class="is-col">
  49. </div>
  50. </div>
  51. <div class="is-row">
  52. <div class="is-col">
  53. <nav class="tabs" data-kube="tabs" data-equal="false">
  54. <a href="#bank-eu" class="is-active"><?=_($localeYaml['form_1_SEPA'][$loc])?></a>
  55. <a href="#bank-noneu"><?=_($localeYaml['form_1_noSEPA'][$loc])?></a>
  56. </nav>
  57. <section id="bank-eu">
  58. <div class="is-row">
  59. <div class="is-col">
  60. <input type="input" size="32" name="sepa_owner" placeholder="<?=_($localeYaml['form_1_SEPA_placeholder_1'][$loc])?>" />
  61. </div>
  62. <div class="is-col">
  63. </div>
  64. </div>
  65. <div class="is-row">
  66. <div class="is-col">
  67. <input type="input" size="32" id="iban" name="iban" placeholder="<?=_($localeYaml['form_1_SEPA_placeholder_2'][$loc])?>" />
  68. </div>
  69. <div class="is-col">
  70. <input type="input" size="32" id="bic" name="bic" placeholder="<?=_($localeYaml['form_1_SEPA_placeholder_3'][$loc])?>" />
  71. </div>
  72. </div>
  73. <textarea id="comments" name="comments" style="resize:none;" cols="32" rows="4"
  74. placeholder="<?=_($localeYaml['form_1_SEPA_placeholder_4'][$loc])?>"></textarea >
  75. </section>
  76. <section id="bank-noneu">
  77. <div class="is-row">
  78. <div class="is-col">
  79. <input type="input" size="32" name="non_sepa_owner" placeholder="<?=_("Kontoinhabende Person")?>" />
  80. </div>
  81. <div class="is-col">
  82. <input type="input" size="32" id="n_bic" name="n_bic" placeholder="<?=_("BIC/SWIFT*")?>" />
  83. </div>
  84. </div>
  85. <div class="is-row">
  86. <div class="is-col">
  87. <input type="input" size="32" id="n_iban" name="n_iban" placeholder="<?=_("Kontonummer*")?>" />
  88. </div>
  89. <div class="is-col">
  90. <input type="input" size="32" id="n_routing" name="n_routing" placeholder="<?=_("Routing Number")?>" />
  91. </div>
  92. </div>
  93. <input class="EU nonEU" type="input" size="32" id="n_bank" name="n_bankname" placeholder="<?="Name der Bank*"?>" />
  94. <textarea class="nonEU" name="n_bankaddress" id="n_bankaddress" style="resize:both;" cols="32" rows="4"
  95. placeholder="<?=_("Adresse der Bank (Stra&szlig;e und Hausnummer, Postleitzahl, Ort, Land)")?>"></textarea>
  96. <br>
  97. <textarea name="n_address" lang="de" class="nonEU" id="n_address" style="resize:both;" cols="32" rows="4"
  98. placeholder="<?=_("Deine Anschrift (Stra&szlig;e und Hausnummer, Postleitzahl, Ort, Land)*")?>"></textarea>
  99. <br>
  100. <textarea id="n_comments" name="n_comments"
  101. style="resize:both;" cols="32" rows="4"
  102. placeholder="<?=_("Weitere Anmerkungen, z.B. intermediäre Bank, Grund für abweichende kontoinhabende Person")?>"></textarea>
  103. </section>
  104. </div> <!-- i-col -->
  105. </div> <!-- is-row -->
  106. </fieldset>
  107. <fieldset id="fieldset2"> <legend><?=_("2. Erfasse deine Ausgaben")?></legend>
  108. <div class="is-row">
  109. <div class="is-col">
  110. <?=_("Währung:")?>
  111. </div>
  112. <div class="is-col">
  113. <select onchange="renumberTableRows()" name='currency' id="currency" >
  114. <option value="EUR">EUR</option>
  115. <option value="USD">USD</option>
  116. <option value="CHF">CHF</option>
  117. <option value="XBT">XBT</option>
  118. </select>
  119. </div>
  120. <div class="is-col">
  121. </div>
  122. </div>
  123. <table id="tabtab" class="is-responsive is-bordered is-striped">
  124. <thead>
  125. <tr>
  126. <th><?=_("Pos.")?></th>
  127. <th><?=_("Datum")?></th>
  128. <th><?=_("Beschreibung")?></th>
  129. <th><?=_("Betrag")?></th>
  130. <th><?=_("Währung")?></th>
  131. <th><?=_("Belege")?></th>
  132. <th><?=_("L&ouml;schen")?></th>
  133. </tr>
  134. </thead>
  135. <tbody id="tabbody">
  136. </tbody>
  137. </table>
  138. <div class="is-col">
  139. <button id="add_issue" type="button" onclick="addRow();"
  140. class="button is-green"><?=_("Ausgabe hinzuf&uuml;gen")?></button>
  141. </div>
  142. </fieldset>
  143. <br>
  144. <fieldset> <legend><?=_("3. Vorschuss und Sonstiges")?></legend>
  145. <div class="is-row">
  146. <div class="is-col valign="center"">
  147. <?=_("Ich habe bereits einen Vorschuss in folgender H&ouml;he erhalten:")?>
  148. </div>
  149. <div class="is-col">
  150. <input input name="advance" id="advance" type="text" placeholder="0,00 EUR"/>
  151. </div>
  152. </div>
  153. <div class="is-row">
  154. <div class="is-col valign="center"">
  155. <?=_("Hiermit bestätige ich die Vollständig- und Richtigkeit meiner Angaben:")?>*
  156. </div>
  157. <div class="is-col">
  158. <input id="agree" type="checkbox" />
  159. </div>
  160. </div>
  161. <div class="is-row">
  162. <div class="is-col">
  163. <button type="button" onclick="downloadDocument(false);"
  164. class="button is-orange"><?=_("Antrag herunterladen und später einreichen")?></button>
  165. </div>
  166. <div class="is-col">
  167. <button type="button" onclick="downloadDocument(true);"
  168. class="button is-green"><?=_("Antrag elektronisch direkt an WMDE schicken")?></button>
  169. </div>
  170. </div>
  171. </fieldset>
  172. <input type="hidden" id="banktype" name="banktype"/>
  173. <input type="hidden" id="sendmail" name="sendmail"/>
  174. </form>
  175. <?php