В index.php:
if(isset($_GET['Pet'])){include_once 'inc/Pet/index.php';}
if(isset($_GET['ShopPet'])){include_once 'inc/Pet/ShopPet.php';}
if(isset($_GET['RatingPet'])){include_once 'inc/Pet/RatingPet.php';}
Запросы в базу:
CREATE TABLE IF NOT EXISTS `Grey_Pet` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) NOT NULL,
  `id_pet` bigint(255) NOT NULL,
  `rating` int(100) NOT NULL,
  `water` int(100) NOT NULL,
  `corm` int(100) NOT NULL,
  `level` int(100) NOT NULL,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='Таблица питомцев @pavelgrey' AUTO_INCREMENT=15 ;
ALTER TABLE `kolhoz_user` ADD `pet` INT(11); 
На крон файл Cron24441.php раз в сутки.
