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.

315 lines
8.2 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
  158. $ct = @file_get_contents( "./locale/$locale/h1.php");
  159. if ($ct==false)
  160. $ct = file_get_contents( "h1.php");
  161. echo $ct;
  162. ?>
  163. </div>
  164. </div> <!-- is row -->
  165. <br>
  166. <div class="is-row">
  167. <div class="is-col is-70">
  168. <fieldset id="fieldset2">
  169. <legend>2. Erfasse deine Ausgaben</legend>
  170. <div class="is-col is-70">
  171. Währung:
  172. </div>
  173. <div class="is-col is-20">
  174. <select onchange="renumberTableRows()" id="currency" >
  175. <option value="EUR">EUR</option>
  176. <option value="USD">USD</option>
  177. <option value="CHF">CHF</option>
  178. <option value="XBT">XBT</option>
  179. </select>`
  180. </div>
  181. <table id="tabtab" class="is-bordered is-striped">
  182. <thead>
  183. <tr>
  184. <th>Pos.</th>
  185. <th>Datum</th>
  186. <th>Beschreibung</th>
  187. <th>Betrag</th>
  188. <th>Währung</th>
  189. <th>Belege</th>
  190. <th>L&ouml;schen</th>
  191. </tr>
  192. </thead>
  193. <tbody id="tabbody">
  194. </tbody>
  195. </table>
  196. <div class="is-col">
  197. <button id="add_issue" type="button" onclick="addRow();"
  198. class="button is-green">Ausgabe hinzuf&uuml;gen</button>
  199. </div>
  200. </fieldset>
  201. <br>
  202. <fieldset>
  203. <legend>3. Vorschuss und Sonstiges</legend>
  204. <div class="is-row">
  205. <div class="is-col valign="center"">
  206. Ich habe bereits einen Vorschuss erhalten in
  207. H&ouml;he von:
  208. </div>
  209. <div class="is-col">
  210. <input input name="advance" id="advance" type="text" placeholder="0,00 EUR"/>
  211. </div>
  212. </div>
  213. <br>
  214. <div class="is-row">
  215. <div class="is-col valign="center"">
  216. Ich versichere, dass ich alle Angaben
  217. nach bestem Wissen und Gewissen gemacht habe:
  218. </div>
  219. <div class="is-col">
  220. <input id="agree" type="checkbox" />
  221. </div>
  222. </div>
  223. </fieldset>
  224. <button type="button" onclick="downloadDocument(true);"
  225. class="button is-green">Antrag elektronisch direkt an WMDE schicken</button>
  226. <button type="button" onclick="downloadDocument(false);"
  227. class="button is-orange">Antrag herunterladen und später einreichen</button>
  228. </div>
  229. <div class="is-col">
  230. <?php
  231. $ct = @file_get_contents( "./locale/$locale/h2.php");
  232. if ($ct==false)
  233. $ct = file_get_contents( "h2.php");
  234. echo $ct;
  235. ?>
  236. </div>
  237. </div>
  238. </div>
  239. </div>
  240. <input type="hidden" id="banktype" name="banktype"/>
  241. <input type="hidden" id="sendmail" name="sendmail"/>
  242. <!-- <input type="submit" style="display:none" name="submitButton" /> -->
  243. </form>
  244. <!-- Kube JS (optional if you are using Kube CSS only) -->
  245. <script src="js/kube.min.js"></script>
  246. <script src="addons/upload/kube.upload.min.js"></script>
  247. <script src="addons/kube-addons.min.js"></script>
  248. <script src="kaform.js"></script>
  249. <script src="iban.js/iban.js"></script>
  250. </div>
  251. </div>
  252. </body>
  253. </html>