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.

303 lines
7.9 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. <!doctype html>
  2. <?php
  3. $lang=$_GET['lang'];
  4. if ( !in_array ($lang, array('en_US'))){
  5. $locale = $lang;
  6. }
  7. else
  8. $locale = "de_DE";
  9. $locale = "en_US";
  10. $domain = "messages";
  11. setlocale(LC_MESSAGES, $locale);
  12. setlocale(LC_ALL, $locale);
  13. $results = putenv("LC_ALL=$locale");
  14. $results = bindtextdomain($domain,"./locale");
  15. ?>
  16. <html >
  17. <head>
  18. <title>Kostenerstattungsforumlar</title>
  19. <meta charset="utf-8">
  20. <meta name="viewport" content="width=device-width, initial-scale=1">
  21. <!-- Kube CSS -->
  22. <link rel="stylesheet" href="css/kube.min.css">
  23. <link rel="stylesheet" href="addons/kube-addons.min.css" />
  24. <link rel="stylesheet" href="master.css" />
  25. </head>
  26. <body>
  27. <div class="page is-container">
  28. <div class="main-sidebar">
  29. <img alt="wikimedia logo" src="Wikimedia_Deutschland-Logo.svg"/>
  30. </div>
  31. <div class="main-content">
  32. <h1>
  33. <?php echo _( "Antrag auf Kostenerstattung")?>
  34. </h1>
  35. <p>
  36. <?php echo _("Du möchtest dir Kosten erstatten lassen, welche im Rahmen deines Projektes entstanden sind?")?><BR>
  37. <?php echo _("Bitte fülle dieses Formular aus. Pflichtfelder sind mit einem * gekennzeichnet.")?>
  38. </p>
  39. <form data-kube="kaform" name="theform" id="theform" action="submit.php" method="POST">
  40. <div class="is-row">
  41. <div class="is-col is-70">
  42. <fieldset>
  43. <legend><?php echo _("1. Erfasse deine Stammdaten")?></legend>
  44. <div class="is-row">
  45. <div class="is-col">
  46. <input required type="input"
  47. size="32" id="projectid" name="project"
  48. placeholder="<?php echo _("Projekt/Zweck der Reise*")?>" />
  49. </div>
  50. </div>
  51. <br>
  52. <div class="is-row">
  53. <div class="is-col">
  54. <input required type="input" size="32"
  55. ` id="realname" name="realname" placeholder="<?php echo _("Dein Realname (Vorname Nachname)*")?>" />
  56. </div>
  57. <div class="is-col">
  58. <input type="input" size="32"
  59. ` id="wmdecontact" name="wmdecontact"
  60. placeholder="<?= _("Deine Ansprechperson bei Wikimedia")?>" />
  61. </div>
  62. </div>
  63. <br>
  64. <div class="is-row">
  65. <div class="is-col">
  66. <input type="tel" size="32"
  67. id="phone" name="phone"
  68. placeholder="<?= _("Deine Telefonnummer")?>" />
  69. </div>
  70. <div class="is-col">
  71. </div>
  72. </div>
  73. <br>
  74. <div class="is-row">
  75. <div class="is-col">
  76. <input required type="email" size="32" id="email"
  77. name="email" placeholder="<?= _("Deine E-Mail-Adresse*")?>" />
  78. </div>
  79. <div class="is-col">
  80. </div>
  81. </div>
  82. <br>
  83. <div class="is-row">
  84. <div class="is-col">
  85. <nav class="tabs" data-kube="tabs" data-equal="false">
  86. <a href="#bank-eu" class="is-active">Banküberweisung</a>
  87. <a href="#bank-noneu">Banküberweisung (Non-EU)</a>
  88. <!-- <a href="#bank-paypal">PayPal</a>
  89. <a href="#bank-bar">Barauszahlung</a>
  90. --> </nav>
  91. <section id="bank-eu">
  92. <div class="is-row">
  93. <div class="is-col">
  94. <input type="input" size="32" name="Owner" placeholder="Kontoinhabende Person" />
  95. </div>
  96. <div class="is-col">
  97. </div>
  98. </div>
  99. <br>
  100. <div class="is-row">
  101. <div class="is-col">
  102. <input type="input" size="32" id="iban" name="iban" placeholder="IBAN*" />
  103. </div>
  104. <div class="is-col">
  105. <input type="input" size="32" id="bic" name="bic" placeholder="BIC (wenn ausländische Bank)" />
  106. </div>
  107. </div>
  108. <br>
  109. <!-- <input type="input" size="32" id="purpose" name="purpose" placeholder="Verwendungszweck" /> -->
  110. <textarea id="comments" name="comments"
  111. style="resize:both;" cols="32" rows="4" placeholder="Weitere Anmerkungen
  112. z.B. intermediäre Bank,
  113. Grund für abweichende Kontoinhbende Person"></textarea>
  114. </section>
  115. <section id="bank-noneu">
  116. <div class="is-row">
  117. <div class="is-col">
  118. <input type="input" size="32" name="Owner" placeholder="Kontoinhabende Person" />
  119. </div>
  120. <div class="is-col">
  121. </div>
  122. </div>
  123. <br>
  124. <div class="is-row">
  125. <div class="is-col">
  126. <input type="input" size="32" id="n_iban" name="n_iban" placeholder="Kontonummer*" />
  127. </div>
  128. <div class="is-col">
  129. <input type="input" size="32" id="n_bic" name="n_bic" placeholder="BIC/SWIFT*" />
  130. </div>
  131. </div>
  132. <br>
  133. <input class="EU nonEU" type="input" size="32" id="n_bank" name="n_bankname" placeholder="Name der Bank*" />
  134. <br>
  135. <textarea class="nonEU" name="n_bankaddress" id="n_bankaddress" style="resize:both;" cols="32" rows="4" placeholder="Adresse der Bank (Stra&szlig;e und Hausnummer/Postleitzahl/Land)"></textarea>
  136. <br>
  137. <textarea name="n_address" lang="de" class="nonEU" id="n_address" style="resize:both;" cols="32" rows="4" placeholder="Deine Anschrift (Srta&szlig;e und Hausnummer/Postleitzahl/Land)
  138. "></textarea>
  139. <br>
  140. <!-- <input type="input" size="32" id="n_purpose" name="n_purpose" placeholder="Verwendungszweck" /> -->
  141. <textarea id="n_comments" name="n_comments"
  142. style="resize:both;" cols="32" rows="4" placeholder="Weitere Anmerkungen
  143. z.B. intermediäre Bank,
  144. Grund für abweichende kontoinhabende Person"></textarea>
  145. </section>
  146. <!-- <section id="bank-paypal">
  147. <input name="paypal" type="input" size="32"
  148. id="paypal" placeholder="Dein PayPal Account (paypal@example.com)" />
  149. </section> -->
  150. <!-- <section id="bank-bar">
  151. </section> -->
  152. </div> <!-- i-col -->
  153. </div> <!-- is-row -->
  154. </fieldset>
  155. </div>
  156. <div class="is-col ">
  157. <?php include "h1.php"; ?>
  158. </div>
  159. </div> <!-- is row -->
  160. <br>
  161. <div class="is-row">
  162. <div class="is-col is-70">
  163. <fieldset id="fieldset2">
  164. <legend>2. Erfasse deine Ausgaben</legend>
  165. <div class="is-col is-70">
  166. Währung:
  167. </div>
  168. <div class="is-col is-20">
  169. <select onchange="renumberTableRows()" id="currency" >
  170. <option value="EUR">EUR</option>
  171. <option value="USD">USD</option>
  172. <option value="CHF">CHF</option>
  173. <option value="XBT">XBT</option>
  174. </select>`
  175. </div>
  176. <table id="tabtab" class="is-bordered is-striped">
  177. <thead>
  178. <tr>
  179. <th>Pos.</th>
  180. <th>Datum</th>
  181. <th>Beschreibung</th>
  182. <th>Betrag</th>
  183. <th>Währung</th>
  184. <th>Belege</th>
  185. <th>L&ouml;schen</th>
  186. </tr>
  187. </thead>
  188. <tbody id="tabbody">
  189. </tbody>
  190. </table>
  191. <div class="is-col">
  192. <button id="add_issue" type="button" onclick="addRow();"
  193. class="button is-green">Ausgabe hinzuf&uuml;gen</button>
  194. </div>
  195. </fieldset>
  196. <br>
  197. <fieldset>
  198. <legend>3. Vorschuss und Sonstiges</legend>
  199. <div class="is-row">
  200. <div class="is-col valign="center"">
  201. Ich habe bereits einen Vorschuss erhalten in
  202. H&ouml;he von:
  203. </div>
  204. <div class="is-col">
  205. <input input name="advance" id="advance" type="text" placeholder="0,00 EUR"/>
  206. </div>
  207. </div>
  208. <br>
  209. <div class="is-row">
  210. <div class="is-col valign="center"">
  211. Ich versichere, dass ich alle Angaben
  212. nach bestem Wissen und Gewissen gemacht habe:
  213. </div>
  214. <div class="is-col">
  215. <input id="agree" type="checkbox" />
  216. </div>
  217. </div>
  218. </fieldset>
  219. <button type="button" onclick="downloadDocument(true);"
  220. class="button is-green">Antrag elektronisch direkt an WMDE schicken</button>
  221. <button type="button" onclick="downloadDocument(false);"
  222. class="button is-orange">Antrag herunterladen und später einreichen</button>
  223. </div>
  224. <div class="is-col">
  225. <?php include "h2.php"; ?>
  226. </div>
  227. </div>
  228. </div>
  229. </div>
  230. <input type="hidden" id="banktype" name="banktype"/>
  231. <input type="hidden" id="sendmail" name="sendmail"/>
  232. <!-- <input type="submit" style="display:none" name="submitButton" /> -->
  233. </form>
  234. <!-- Kube JS (optional if you are using Kube CSS only) -->
  235. <script src="js/kube.min.js"></script>
  236. <script src="addons/upload/kube.upload.min.js"></script>
  237. <script src="addons/kube-addons.min.js"></script>
  238. <script src="kaform.js"></script>
  239. <script src="iban.js/iban.js"></script>
  240. </div>
  241. </div>
  242. </body>
  243. </html>