  -       Dcms 6.*.*  fobian aka Dozz.
:
--     
--    
--   7     
ICQ: 4726991
E-mail: zyk-007@mail.ru 
:
1.     base.sql
2.    /info.php   251   .
$fobian = mysql_fetch_array(mysql_query("SELECT * FROM `pets` WHERE `user_id` = '".$ank['id']."'"));
if (isset($fobian['user_id']) AND $fobian['pet_id'] >= 1) {
$ost = $realtime - $fobian['time'];
if ($ost > 604800) mysql_query("UPDATE `pets` SET `pet_id` = '0', `time` = '0' WHERE `user_id` = '".$ank['id']."'");
echo '<span style="float : right;"><img src="/pets/img/' . $fobian['pet_id'] . '.png" alt="" border="0"/></span>';
}
3.    sys/inc/umenu.php   
echo "<a href='/pets/pet.php'> </a><br />\n";
	
  =)


P.S 
      .   ^