Beispiel #1
0
         print "      to a number <br/> \n";
         print "      <span class='mk_tab_order_sms_number'>" . $sms_number . " </span><br/> \n";
         print "      <span class='mk_tab_order_sms_cost'>price " . $sms_price . "</span><br/> \n";
         print "    </div> \n";
         print "    TO obtain application mobiKAR number  <b>" . $_GET['product'] . "</b> containing the following\n";
     }
 }
 print "    <ul> \n";
 print " <!--\n";
 //print_r($product);
 print " -->\n";
 foreach ($product['songs'] as $song) {
     $title = utf8ToEntities($song['title']);
     $artist = utf8ToEntities($song['artist']);
     $music = utf8ToEntities($song['music']);
     $lyrics = utf8ToEntities($song['lyrics']);
     echo "<li>{$title}\n";
     echo "<ul>\n";
     echo "<li> " . $dict[$par_lang]['lab_artist'] . ": {$artist}</li>\n";
     echo "<li> " . $dict[$par_lang]['lab_music'] . ": {$music}</li>\n";
     echo "<li> " . $dict[$par_lang]['lab_lyrics'] . ": {$lyrics}</li>\n";
     echo "</ul>\n";
     echo "</li>\n";
 }
 print "    </ul> \n";
 //print ("    Koszt w &#x17c;etonach: $koszt.<br/>\n");
 if ("pl" == $par_lang) {
     print "    wyślij wiadomość SMS o treści " . $sms_code . " na numer " . $sms_number . ". <br/> \n";
     print "\tW zamian otrzymasz w zwrotnej wiadomości SMS kod, który należy wprowadzić na stronie <b>http://wap.mobikar.net</b><br/>\n";
     print "\tWprowadzenie kodu umożliwi Ci pobranie aplikacji mobiKAR wprost do Twojego telefonu.<br/>\n";
     print "\tKoszt wysłania wiadomości SMS na numer " . $sms_number . " wynosi " . $sms_price . ". <br/>\n";
Beispiel #2
0
    }
    $db->destroy();
}
$wap_title = "mobiKAR - kategorie";
include "add_head.php";
?>
<h1><?php 
echo $productName;
?>
</h1>
<h2>Kategorie</h2>
<ul>
	<?php 
$cid = -1;
echo '<li><a href="products.php' . $mySID . '&amp;tid=' . $tid . '&amp;cid=' . $cid . '">Nowo&#x15b;ci</a></li>' . "\n";
foreach ($categories as $category) {
    $cid = $category['id'];
    $name = utf8ToEntities($category['name']);
    echo '<li><a href="products.php' . $mySID . '&amp;tid=' . $tid . '&amp;cid=' . $cid . '">' . $name . '</a></li>' . "\n";
}
?>
</ul>
<h2>Przejd&#x17a; do:</h2>
<div>
	<a href='start.php<?php 
echo $mySID;
?>
'> Strona startowa </a>
</div>
<?php 
include "add_foot.php";
Beispiel #3
0
	<h1>Produkt o kodzie <?php 
    echo $id;
    ?>
</h1>
	<div>
		Koszt w &#x17c;etonach: <?php 
    echo $koszt;
    ?>
.
	</div>
	<h2>Zawarto&#x15b;&#x107;:</h2>
	<ul>
	<?php 
    foreach ($product['songs'] as $song) {
        $title = utf8ToEntities($song['title']);
        $artist = utf8ToEntities($song['artist']);
        echo "<li>{$title} - {$artist}</li>\n";
    }
    ?>
	</ul>
	<h2>Pobierz</h2>
	<div>
		Automatycznie dopasowana wersja dla Twojego telefonu
	</div>

	<form title="Pobierz" name="Pobierz" action="get.php" method="get">
		<fieldset>
			<input name="uid" value="<?php 
    echo $uid;
    ?>
" type="hidden"/>
Beispiel #4
0
include "add_head.php";
?>
<h1><?php 
echo $productName;
?>
</h1>
<h2><?php 
echo $categoryName;
?>
</h2>
<ul>
	<?php 
foreach ($products as $product) {
    $id = utf8ToEntities($product['id']);
    $title = utf8ToEntities($product['title']);
    $artist = utf8ToEntities($product['artist']);
    echo '<li><a href="product.php' . $mySID . '&amp;id=' . $id . '">' . $id . '. ' . $title . ' - ' . $artist . '</a></li>' . "\n";
}
?>
</ul>
<h2>Przejd&#x17a; do:</h2>
<div>
	<a href="categories.php<?php 
echo $mySID;
?>
&amp;tid=<?php 
echo $tid;
?>
"> Kategorie </a>
	<br/>
	<a href='start.php<?php