Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html>
<head>
{$headerinclude}
<title>{$mybb->settings['bbname']} - Sklep</title>
<script type="text/javascript">
<!--
  function WybranaOpcja(val){
        var test = document.getElementById('test');
        if(val == 1){
            test.innerHTML = '<br /><br />Aby doładować swoje konto za pomocą SMS wyślij SMS pod wybrany numer o podanej treści następnie wpisz w poniższe pole kod który otrzymasz w SMS zwrotnym <br /><table border="0"><tr><td>Koszt SMS</td><td>Kod SMS</td><td>Numer SMS</td><td>Kwota doładowania</td></tr><tr><td>0.5 zł (0.62 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">7055</td><td>0.3 zł</td></tr><tr><td>1 zł (1.23 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">7155</td><td>0.6 zł</td></tr><tr><td>2 zł (2.46 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">7255</td><td>1.2 zł</td></tr><tr><td>3 zł (3.69 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">7355</td><td>1.8 zł</td></tr><tr><td>4 zł (4.92 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">7455</td><td>2.4 zł</td></tr><tr><td>5 zł (6.15 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">7555</td><td>3 zł</td></tr><tr><td>6 zł (7.38 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">7655</td><td>3.6 zł</td></tr><tr><td>9 zł (11.07 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">7955</td><td>5.4 zł</td></tr><tr><td>10 zł (12.3 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">91055</td><td>6 zł</td></tr><tr><td>11 zł (13.53 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">91155</td><td>6.6 zł</td></tr><tr><td>14 zł (17.22 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">91455</td><td>8.4 zł</td></tr><tr><td>19 zł (23.37 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">91955</td><td>11.4 zł</td></tr><tr><td>20 zł (24.6 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">92055</td><td>12 zł</td></tr><tr><td>25 zł (30.75 zł brutto)</td><td style="color:#0A64FF;">HPAY.FH</td><td style="color:#FF0000;">92555</td><td>15.5 zł</td></tr></table><br />Kod z sms:<br><input type="text" style="border: 1px solid RGB(50, 50, 50); background-color: RGB(100, 100, 100); color: RGB(200, 200, 200);" name="cod"/><br><input type="submit" name="dupa" style="color: #e5e5e5; background-color: RGB(50, 50, 50); border: 1px solid RGB(10, 10, 10);" value="Doładuj" />';
        }
        else { // Twój else spowoduje, że po ponownym wybraniu pustej opcji będziesz miał to samo jak po wybraniu "coś"
            test.innerHTML = '<br /><br />Od wszystkich wpłat paysafecard pobiera prowizję 15%, dlatego twoja wpłata zostanie potrącona o prowizję dla PaySafeCard.<br />Kwota doładowania:<br><input type="text" style="border: 1px solid RGB(50, 50, 50); background-color: RGB(100, 100, 100); color: RGB(200, 200, 200);" name="kwota"/><br>Kod z karty PaySafe:<br><input type="text" style="border: 1px solid RGB(50, 50, 50); background-color: RGB(100, 100, 100); color: RGB(200, 200, 200);" name="cod"/><br><input type="submit" name="dupa" style="color: #e5e5e5; background-color: RGB(50, 50, 50); border: 1px solid RGB(10, 10, 10);" value="Doładuj" />';
        }
    }
// -->
</script>
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="trow2 post_content ">
<!--dadada-->
<table width="100%" border="0" align="center">
<tr>
<td width="180" valign="top">
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
    <tr>
        <td class="tcat">
            <div class="float_right"><img src="images/infinity/collapse.gif" id="modcpforums_img" class="expander" alt="[-]" title="[-]" /></div>
            <div><span class="smalltext"><strong>Menu</strong></span></div>
        </td>
    </tr>
    {$menu}
</table>
</td>
<!-- end: modcp_nav -->
<td valign="top">
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tr>
<td class="thead" align="center" colspan="3" width="10%">
Sposób płatności<br />
<form action="" method="POST">
<select id="payment" name="payment" onchange="WybranaOpcja(this.value)">
<option value=""></option>
<option value="1">SMS</option>
<option value="2">PaySafe</option>
</select>
</td>
<td class="thead" align="center" colspan="3" width="80">
Aby zakupić wirtualną gotówkę na swoje konto wybierz z lewej strony sposób płatności 
<div id="test"></div>
</td>
</form>
{$txtdol}
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--dsdad-->
</td>
</tr>
</table>
{$footer}
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers