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.

316 lines
8.3 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"
  112. placeholder="<?=_("Weitere Anmerkungen z.B. intermediäre Bank, Grund für abweichende Kontoinhbende Person")?>">
  113. </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"
  136. placeholder="<?=_("Adresse der Bank (Stra&szlig;e und Hausnummer/Postleitzahl/Land)")?>"></textarea>
  137. <br>
  138. <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)
  139. "></textarea>
  140. <br>
  141. <!-- <input type="input" size="32" id="n_purpose" name="n_purpose" placeholder="Verwendungszweck" /> -->
  142. <textarea id="n_comments" name="n_comments"
  143. style="resize:both;" cols="32" rows="4" placeholder="Weitere Anmerkungen
  144. z.B. intermediäre Bank,
  145. Grund für abweichende kontoinhabende Person"></textarea>
  146. </section>
  147. <!-- <section id="bank-paypal">
  148. <input name="paypal" type="input" size="32"
  149. id="paypal" placeholder="Dein PayPal Account (paypal@example.com)" />
  150. </section> -->
  151. <!-- <section id="bank-bar">
  152. </section> -->
  153. </div> <!-- i-col -->
  154. </div> <!-- is-row -->
  155. </fieldset>
  156. </div>
  157. <div class="is-col ">
  158. <?php
  159. $ct = @file_get_contents( "./locale/$locale/h1.php");
  160. if ($ct==false)
  161. $ct = file_get_contents( "h1.php");
  162. echo $ct;
  163. ?>
  164. </div>
  165. </div> <!-- is row -->
  166. <br>
  167. <div class="is-row">
  168. <div class="is-col is-70">
  169. <fieldset id="fieldset2">
  170. <legend>2. Erfasse deine Ausgaben</legend>
  171. <div class="is-col is-70">
  172. Währung:
  173. </div>
  174. <div class="is-col is-20">
  175. <select onchange="renumberTableRows()" id="currency" >
  176. <option value="EUR">EUR</option>
  177. <option value="USD">USD</option>
  178. <option value="CHF">CHF</option>
  179. <option value="XBT">XBT</option>
  180. </select>`
  181. </div>
  182. <table id="tabtab" class="is-bordered is-striped">
  183. <thead>
  184. <tr>
  185. <th>Pos.</th>
  186. <th>Datum</th>
  187. <th>Beschreibung</th>
  188. <th>Betrag</th>
  189. <th>Währung</th>
  190. <th>Belege</th>
  191. <th>L&ouml;schen</th>
  192. </tr>
  193. </thead>
  194. <tbody id="tabbody">
  195. </tbody>
  196. </table>
  197. <div class="is-col">
  198. <button id="add_issue" type="button" onclick="addRow();"
  199. class="button is-green">Ausgabe hinzuf&uuml;gen</button>
  200. </div>
  201. </fieldset>
  202. <br>
  203. <fieldset>
  204. <legend>3. Vorschuss und Sonstiges</legend>
  205. <div class="is-row">
  206. <div class="is-col valign="center"">
  207. Ich habe bereits einen Vorschuss erhalten in
  208. H&ouml;he von:
  209. </div>
  210. <div class="is-col">
  211. <input input name="advance" id="advance" type="text" placeholder="0,00 EUR"/>
  212. </div>
  213. </div>
  214. <br>
  215. <div class="is-row">
  216. <div class="is-col valign="center"">
  217. Ich versichere, dass ich alle Angaben
  218. nach bestem Wissen und Gewissen gemacht habe:
  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/$locale/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>