wmdeit_kaform/form.php

240 lines
7.4 KiB
PHP
Raw Normal View History

2021-09-13 07:03:07 +00:00
<h1>
<?php echo $localeYaml['mainheader'][$loc]?>
2021-09-13 07:03:07 +00:00
</h1>
<p>
<?php echo $localeYaml['mainheader_subtext_1'][$loc]?><BR>
<?php echo $localeYaml['mainheader_subtext_2'][$loc]?><BR><BR>
2021-11-03 08:41:55 +00:00
<?php
$ct = @file_get_contents( "./locale/$loc/h1.php");
2021-11-03 08:41:55 +00:00
if ($ct==false)
$ct = file_get_contents( "h1.php");
echo $ct;
?>
2021-09-13 07:03:07 +00:00
</p>
<form data-kube="kaform" name="theform" id="theform" action="submit.php" method="POST">
<fieldset> <legend><?php echo $localeYaml['form_1_header'][$loc]?></legend>
2021-09-13 07:03:07 +00:00
<div class="is-row">
<div class="is-col">
<input required type="input"
size="32" id="projectid" name="project"
placeholder="<?php echo $localeYaml['form_1_placeholder_1'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
</div>
<div class="is-row">
2021-09-13 07:03:07 +00:00
<div class="is-col">
<input required type="input" size="32"
` id="realname" name="realname" placeholder="<?php echo $localeYaml['form_1_placeholder_2'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
<input type="input" size="32"
` id="wmdecontact" name="wmdecontact"
placeholder="<?= $localeYaml['form_1_placeholder_3'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
</div>
<div class="is-row">
<div class="is-col">
<input type="tel" size="32"
id="phone" name="phone"
placeholder="<?= $localeYaml['form_1_placeholder_4'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
</div>
</div>
<div class="is-row">
<div class="is-col">
<input required type="email" size="32" id="email"
name="email" placeholder="<?= $localeYaml['form_1_placeholder_5'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
</div>
</div>
<div class="is-row">
<div class="is-col">
<nav class="tabs" data-kube="tabs" data-equal="false">
<a href="#bank-eu" class="is-active"><?=$localeYaml['form_1_SEPA'][$loc]?></a>
<a href="#bank-noneu"><?=$localeYaml['form_1_noSEPA'][$loc]?></a>
2021-09-13 07:03:07 +00:00
</nav>
<section id="bank-eu">
<div class="is-row">
<div class="is-col">
<input type="input" size="32" name="sepa_owner" placeholder="<?=$localeYaml['form_1_SEPA_placeholder_1'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
</div>
</div>
<div class="is-row">
<div class="is-col">
<input type="input" size="32" id="iban" name="iban" placeholder="<?=$localeYaml['form_1_SEPA_placeholder_2'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
<input type="input" size="32" id="bic" name="bic" placeholder="<?=$localeYaml['form_1_SEPA_placeholder_3'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
</div>
<textarea id="comments" name="comments" style="resize:none;" cols="32" rows="4"
placeholder="<?=$localeYaml['form_1_SEPA_placeholder_4'][$loc]?>"></textarea >
2021-09-13 07:03:07 +00:00
</section>
<section id="bank-noneu">
<div class="is-row">
<div class="is-col">
<input type="input" size="32" name="non_sepa_owner" placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_1'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
<input type="input" size="32" id="n_bic" name="n_bic" placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_2'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
</div>
<div class="is-row">
<div class="is-col">
<input type="input" size="32" id="n_iban" name="n_iban" placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_3'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
<input type="input" size="32" id="n_routing" name="n_routing" placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_4'][$loc]?>" />
2021-09-13 07:03:07 +00:00
</div>
</div>
<input class="EU nonEU" type="input" size="32" id="n_bank" name="n_bankname" placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_5'][$loc]?>" />
2021-09-13 07:03:07 +00:00
<textarea class="nonEU" name="n_bankaddress" id="n_bankaddress" style="resize:both;" cols="32" rows="4"
placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_6'][$loc]?>"></textarea>
2021-09-13 07:03:07 +00:00
<br>
<textarea name="n_address" lang="de" class="nonEU" id="n_address" style="resize:both;" cols="32" rows="4"
placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_7'][$loc]?>"></textarea>
2021-09-13 07:03:07 +00:00
<br>
<textarea id="n_comments" name="n_comments"
style="resize:both;" cols="32" rows="4"
placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_8'][$loc]?>"></textarea>
2021-09-13 07:03:07 +00:00
</section>
</div> <!-- i-col -->
</div> <!-- is-row -->
</fieldset>
<fieldset id="fieldset2"> <legend><?=$localeYaml['form_2_header'][$loc]?></legend>
2021-09-13 07:03:07 +00:00
<div class="is-row">
<div class="is-col">
<?=$localeYaml['form_2_currency'][$loc]?>
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
2021-12-17 10:19:24 +00:00
<select onchange="renumberTableRows()" name='currency' id="currency" >
<option value="EUR">EUR</option>
<option value="CHF">CHF</option>
<option value="GBP">GBP</option>
<option value="USD">USD</option>
<option value="AUD">AUD</option>
<option value="BGN">BGN</option>
<option value="BRL">BRL</option>
<option value="CAD">CAD</option>
<option value="CNY">CNY</option>
<option value="CZK">CZK</option>
<option value="DKK">DKK</option>
<option value="HKD">HKD</option>
<option value="HUF">HUF</option>
<option value="IDR">IDR</option>
<option value="ILS">ILS</option>
<option value="INR">INR</option>
<option value="ISK">ISK</option>
<option value="JPY">JPY</option>
<option value="KRW">KRW</option>
<option value="MXN">MXN</option>
<option value="MYR">MYR</option>
<option value="NOK">NOK</option>
<option value="NZD">NZD</option>
<option value="PHP">PHP</option>
<option value="PLN">PLN</option>
<option value="RON">RON</option>
<option value="SEK">SEK</option>
<option value="SGD">SGD</option>
<option value="THB">THB</option>
<option value="TRY">TRY</option>
<option value="ZAR">ZAR</option>
2021-10-26 07:26:31 +00:00
</select>
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
</div>
</div>
<table id="tabtab" class="is-responsive is-bordered is-striped">
<thead>
<tr>
<th><?=$localeYaml['form_2_table_1'][$loc]?></th>
<th><?=$localeYaml['form_2_table_2'][$loc]?></th>
<th><?=$localeYaml['form_2_table_3'][$loc]?></th>
<th><?=$localeYaml['form_2_table_4'][$loc]?></th>
<th><?=$localeYaml['form_2_table_5'][$loc]?></th>
<th><?=$localeYaml['form_2_table_6'][$loc]?></th>
<th><?=$localeYaml['form_2_table_7'][$loc]?></th>
2021-09-13 07:03:07 +00:00
</tr>
</thead>
<tbody id="tabbody">
</tbody>
</table>
<div class="is-col">
<button id="add_issue" type="button" onclick="addRow();"
class="button is-green"><?=$localeYaml['form_2_button'][$loc]?></button>
2021-09-13 07:03:07 +00:00
</div>
</fieldset>
<br>
<fieldset> <legend><?=$localeYaml['form_3_header'][$loc]?></legend>
2021-09-13 07:03:07 +00:00
<div class="is-row">
<div class="is-col valign="center"">
<?=$localeYaml['form_3_subtext_1'][$loc]?>
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
<input input name="advance" id="advance" type="text" placeholder="0,00 EUR"/>
</div>
</div>
<div class="is-row">
<div class="is-col valign="center"">
<?=$localeYaml['form_3_subtext_2'][$loc]?>*
2021-09-13 07:03:07 +00:00
</div>
<div class="is-col">
<input id="agree" type="checkbox" />
</div>
</div>
<div class="is-row">
2021-12-11 10:41:32 +00:00
<div class="is-col">
<button type="button" onclick="downloadDocument(false);"
class="button is-orange"><?=$localeYaml['form_3_button_1'][$loc]?></button>
2021-12-11 10:41:32 +00:00
</div>
2021-09-13 07:03:07 +00:00
<div class="is-col">
<button type="button" onclick="downloadDocument(true);"
class="button is-green"><?=$localeYaml['form_3_button_2'][$loc]?></button>
2021-09-13 07:03:07 +00:00
</div>
</div>
</fieldset>
<input type="hidden" id="banktype" name="banktype"/>
<input type="hidden" id="sendmail" name="sendmail"/>
</form>
<?php