Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- ob_start();
- ?><HTML>
- <HEAD>
- <?php
- $id = '';
- require 'platnoscionlineoconfig.php';
- ?>
- <link rel=stylesheet href="stylefree.css" TYPE="text/css" media="screen"/>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="Description" content="Panel płatności SMS Minecraft" />
- <meta name="Keywords" content="Minecraft, sms, panel, minecraft, gry" />
- <title>Panel SMS</title>
- <style type="text/css">
- body {
- background:url('images/bg.jpg') left top no-repeat;
- color: #e0e0e0;
- font-family: Minecraft;
- }
- </style>
- </HEAD>
- <BODY>
- <?php
- include 'menu.php';
- ?>
- </div>
- <?
- if(intval($_GET['value_sms']) >0 && $_GET['sufiks_sms'] != NULL){
- ?>
- <div style="margin-top: 0px" class="contener">
- <div id="form"/>
- <form method="post" action="">
- <input type="hidden" name="check_code" value="1">
- <strong>Podaj kod SMS: </strong></br></br>
- <input name="value_sms" type="hidden" value="<? print $_GET['value_sms']?>">
- <input name ="sufiks_sms" type="hidden" value="<? print $_GET['sufiks_sms']?>">
- <input id="textfield" type="text" size="25" autocomplete="off" name="code" id="textfield" required pattern="[^<;()'.=,\-]{8}" placeholder="8 znakowy kod zwrotny." >
- </br></br>
- <strong>Nick gracza w Minecraft:</strong></br></br>
- <input id="textfield" type="text" size="25" autocomplete="off" name="nick" id="textfield" required pattern="[^<;()'.=,\-]+$" placeholder="Twoja nazwa gracza." >
- <br/></br>
- <div id="check">
- <input type="image" src="images/check1.png" onmouseover="this.src='images/check2.png'" onmouseout="this.src='images/check1.png'" value="Sprawdź!">
- </div>
- </form>
- </div>
- </div>
- <?
- }
- ?>
- <div class="contener2">
- <?php
- echo '<div id="sms" style="height: auto">';
- ?>
- </br>
- <?php
- if ( intval($_GET['value_sms']) == NULL ) {
- ?>
- <div id="menu" style="opacity: 1.0; font-size: 120%">
- Pamiętaj, aby skorzystać ze sklepu, musisz być zalogowany w grze.<BR>
- </div>
- <?
- if ( intval($_GET['value_sms']) == NULL ) {
- print '<BR>Dostępne usługi:';
- }
- ?>
- <TABLE width="320" align="center">
- <TR style="height: 2px;"><TD colspan="3" style="height: 2px;" colspan="2"><HR style="height: 2px; color: #444444;"></TD></TR>
- <?
- foreach($config_sms as $c){
- $suffiks = explode('.', $c['tresc']);
- ?>
- <TR>
- <TD align="left">
- <?
- if ($c['image']!='') {
- echo "<img src=\"".$c['image']."\">";
- }else{
- echo " ";
- }
- ?>
- </TD>
- <TD align="left">
- <?
- echo "<font style=\"color: yellow;\">".$c['opis']." </font>";
- ?>
- </TD>
- <TD align="left">
- <?
- echo "<a class=\"link2\" href=\"?value_sms=".$c['netto']."&sufiks_sms=".$suffiks[1]."\">wybieram</a> »<br/>";
- ?>
- </TD>
- </TR>
- <TR style="height: 2px;"><TD colspan="3" style="height: 2px;" colspan="2"><HR style="height: 2px; color: #444444;"></TD></TR>
- <?
- }
- ?>
- </TABLE>
- <?
- }else{
- ?>
- <div style="font-family: tahoma; font-size: 150%;">
- <?
- if ($_SESSION['komunikat'] != '') {
- print $_SESSION['komunikat'].'<BR><BR>';
- }
- $_SESSION['komunikat'] = '';
- ?>
- </div>
- <?
- if ($_SESSION['komunikat_tick'] == '') {
- foreach($config_sms as $c){
- $suffiks = explode('.', $c['tresc']);
- if (intval($_GET['value_sms']) == $c['netto'] && $_GET['sufiks_sms'] == $suffiks[1]) {
- print 'Aby uzyskać kod dostępu na <strong>'.$c['opis'].'</strong> <BR>';
- $cost_brutto = ($c['netto'] * (1+($vat/100)))/100 ;
- $cost_brutto = number_format($cost_brutto,2,',',' ');
- echo "wyślij SMS o treści<strong><span style=\"color: yellow\"> ".$c['tresc']."</span></strong> pod numer <strong>".$c['numer']."</strong>. <br/>
- <br/>
- Koszt wysłania SMSa wynosi <strong> ".$cost_brutto." zł</strong>. Otrzymany kod wpisz w formularz powyżej.<br/>
- \n";
- ?>
- <div id="menu" style="opacity: 1.0; font-size: 120%">
- Pamiętaj, aby skorzystać ze sklepu, musisz być zalogowany w grze.<BR>
- </div>
- <?
- print 'Aby się nie pomylić, możesz skorzystać z FOTOKODU do pobrania danych SMS.<BR> Zeskanuj telefonem komórkowym poniższy fotokod:<BR><BR>
- <img src="http://chart.apis.google.com/chart?cht=qr&chs=150x150&choe=UTF-8&chl=smsto:'.$c['numer'].':'.$c['tresc'].'">';
- print '<BR><BR>Właściciel serwisu: <a style="cursor:pointer;">'.$email_wlasciciela.'</a><BR>';
- }
- }
- }
- }
- ?>
- <?php
- if ($_SESSION['komunikat_tick'] == '') {
- print '</br>System płatności Premium SMS obsługuje firma <a class="link2" href="http://www.platnosci-online.pl" target="_blank">Płatności Online</a>.</br>
- Regulamin jest dostępny na stronie: <a class="link2" href="http://www.platnosci-online.pl/regulamin_sms.html" target="_blank">Regulamin SMS</a>.</br>
- <BR><a href="http://platnosci-online.pl" target="_blank"><img src="images/pay8.jpg" border="0" title="Płatności Premium SMS"></a><BR>
- <BR>
- Usługa działa w sieciach operatorów: Plus GSM, T-Mobile, Orange, Play.';
- print '</br></br>';
- }
- $_SESSION['komunikat_tick'] = '';
- ?>
- </div>
- </div>
- </br></br>
- </br></br>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment