<?php
require_once 'core/system.php';

$ids = int($_GET['ids']);
$row = $dbc->query("SELECT * FROM `art_pet` WHERE `id`='".$ids."' LIMIT 1")->fetch_assoc();
head(''.$row['nik'].'');
if(!$row){
        header("Location: index.php");        exit;}
$evo = $dbc->query("SELECT * FROM `users` WHERE `id`='".$row['user_id']."' LIMIT 1")->fetch_assoc();

?><div class="lblue-panel"><div class="panel-inner"><table style="border-spacing: 0
0; width:100%; border-collapse:
collapse; table-layout: fixed;
display: table;"><tbody><tr><td style="width:38px; vertical-align:top;text-align:left; padding-
top:4px; padding-bottom:2px;">
<img width="32"height="32" src="
img/item_pet/<?=$row['img']?>.png" alt="."

border="0"></a>
</td><td valign="top" style="padding-bottom:3px;"><div><span
class="<?=$row['lite']?>">


<?=$row['nik']?></span></div><div class="minor"></span> <span

class=""><span

class=""><?=$class?></span><br></div></td></tr></tbody></table></div><div class="panel-inner"><div><span><div><img src="img/stat/AKulak.png
" alt="." width="12" height="12">
Сила: <strong class=""><?=$row['strong']?></strong>



</div>
<div>
<img src="

img/stat/hp.png" alt="."

width="12" height="12">
Живучесть: <strong
class=""><?=$row['hp']?></strong>
</div>
<div>
<img src="

images/icons/armor.png" alt="."
width="12" height="12">
Защита: <strong class=""><?=$row['prot']?></strong>

</div>
</span>
<div>

<?


if($row['mag']==1){
?><span class="iSuperior">Редкие Чары </span><img src="img/stat/hp.png">500 <img src="img/stat/AKulak.png">10 <img src="images/icons/armor.png">10</br><?}


if($row['mag']==2){

?><span class="iEpic">Эпические Чары </span><img src="img/stat/hp.png">1000 <img src="img/stat/AKulak.png">20 <img src="images/icons/armor.png">20</br><?}


if($row['mag']==3){

?><span class="iLegendary">Легендарные Чары </span><img src="img/stat/hp.png">1500 <img src="img/stat/AKulak.png">50 <img src="images/icons/armor.png">50</br><?}










?>
Владелец: <img src="img/class/<?=$evo['storona']?>/<?=$evo['pers']?>/pers.png" width="14" height="14" alt="*"><b><a href="pers.php?ank=<?=$evo['id']?>"<font color=green> <?=$evo['login']?></font></b></a></br>
Стоимость в лавке <img src="img/money/money.png"><?=$row['coin']?>
</div></div></div></div><?



foot();
?>
