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.

209 lines
6.5 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="<?=$localeYaml['form_1_noSEPA_placeholder_1'][$loc]?>" />
  80. </div>
  81. <div class="is-col">
  82. <input type="input" size="32" id="n_bic" name="n_bic" placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_2'][$loc]?>" />
  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="<?=$localeYaml['form_1_noSEPA_placeholder_3'][$loc]?>" />
  88. </div>
  89. <div class="is-col">
  90. <input type="input" size="32" id="n_routing" name="n_routing" placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_4'][$loc]?>" />
  91. </div>
  92. </div>
  93. <input class="EU nonEU" type="input" size="32" id="n_bank" name="n_bankname" placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_5'][$loc]?>" />
  94. <textarea class="nonEU" name="n_bankaddress" id="n_bankaddress" style="resize:both;" cols="32" rows="4"
  95. placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_6'][$loc]?>"></textarea>
  96. <br>
  97. <textarea name="n_address" lang="de" class="nonEU" id="n_address" style="resize:both;" cols="32" rows="4"
  98. placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_7'][$loc]?>"></textarea>
  99. <br>
  100. <textarea id="n_comments" name="n_comments"
  101. style="resize:both;" cols="32" rows="4"
  102. placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_8'][$loc]?>"></textarea>
  103. </section>
  104. </div> <!-- i-col -->
  105. </div> <!-- is-row -->
  106. </fieldset>
  107. <fieldset id="fieldset2"> <legend><?=$localeYaml['form_2_header'][$loc]?></legend>
  108. <div class="is-row">
  109. <div class="is-col">
  110. <?=$localeYaml['form_2_currency'][$loc]?>
  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><?=$localeYaml['form_2_table_1'][$loc]?></th>
  127. <th><?=$localeYaml['form_2_table_2'][$loc]?></th>
  128. <th><?=$localeYaml['form_2_table_3'][$loc]?></th>
  129. <th><?=$localeYaml['form_2_table_4'][$loc]?></th>
  130. <th><?=$localeYaml['form_2_table_5'][$loc]?></th>
  131. <th><?=$localeYaml['form_2_table_6'][$loc]?></th>
  132. <th><?=$localeYaml['form_2_table_7'][$loc]?></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"><?=$localeYaml['form_2_button'][$loc]?></button>
  141. </div>
  142. </fieldset>
  143. <br>
  144. <fieldset> <legend><?=$localeYaml['form_3_header'][$loc]?></legend>
  145. <div class="is-row">
  146. <div class="is-col valign="center"">
  147. <?=$localeYaml['form_3_subtext_1'][$loc]?>
  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. <?=$localeYaml['form_3_subtext_2'][$loc]?>*
  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"><?=$localeYaml['form_3_button_1'][$loc]?></button>
  165. </div>
  166. <div class="is-col">
  167. <button type="button" onclick="downloadDocument(true);"
  168. class="button is-green"><?=$localeYaml['form_3_button_2'][$loc]?></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