Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/admin/wszystkie.php
<?php
include('config.php');
$obj = new Admin();
if(isset($_GET['remove'])){
    $obj->UsunZBazy($_GET['remove']);
    header('location: kupione.php');
}
if(isset($_GET['status']) and isset($_GET['id'])){
    $obj->zmienStatus();
    header('location: wszystkie.php#row'.str_replace('id','',$_GET['id']));
}

include('header.php');
include('menu.php');?>
<div style="border:2px solid silver;border-radius:10px;padding:20px;margin:20px auto;width:1000px;" class="ajax">
            
            <h2>Lista klientów</h2>
            <table width="100%" style="font-size:12px;background:#C0C0FF;box-shadow:1px 1px 5px #333;border-radius:5px 5px 0px 0px" cellpadding="5"><tr><th>lp.</th><th>Dane kupującego</th><th>Nick allegro</th><th>Adres dostawy</th><th>Produkt</th><th width="150">Status</th><th>Data</th><th>&nbsp;</th></tr><tr><th>&nbsp;</th><th><input name="s_imie" class="s_imie"></th><th><input name="s_nick" class="s_nick"></th><th><input name="s_adres" class="s_adres"></th><th><input name="s_produkt" class="s_produkt"></th><th width="150"><select class="s_status"><option value="">wszystkie</option><option value="1">nie zrealizowane</option><option value="2">do druku</option><option value="3">zrobione</option></select></th><th><input name="s_data" class="s_data" style="width:70px"></th><th>&nbsp;</th></tr></table><br><br>
            <div class="result"><?$obj->Wypisz();?></div>        
            
</div>
       
</body>
</html>