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.

319 lines
8.5 KiB

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