<?php require('class.database.php'); ?>
<html>
<head>
<style>
.offer{
height: 25%;
width: 50%;
margin-top: 10px;
margin-left: 25%
}
.image{
height: 100%;
width: 30%;
min-width: 250px;
float: left;
}
.content{
height: 100%;
width: 69.5%;
min-width: 450px;
float: left;
border: solid 0.1px black;
}
.price{
height: 100%;
width: 19.5%;
min-width: 100px;
border-left: 0.1px solid;
float: right;
border: solid 0.1px black;
}
.cena{
margin-left: 22%;
font-size: 30px;
}
.right{
float:right;
}
.test{
height: 100%;
width: 100%
}
</style>
</head>
<body>
<form action = "" method = "POST">
<input type = "submit" name = "lewo" value = "Pokaż poprzednie 3">
<input type = "submit" name = "prawo" value = "Pokaż następne 3">
</form>
<?php
$pdo = new Connect();
if(isset($_POST['prawo'])){
$pdo->Show(4);
} else if (isset($_POST['lewo'])){
$pdo->Show(0);
} else {
$pdo->Show(0);
}
?>
</body>
</html>
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}