public function SPItem($id = false, $style_sd = false)
 {
     global $bd_names, $site_ways;
     parent::View($style_sd);
     $this->base_dir = MCR_ROOT . 'instruments/sp2/skins/';
     $this->base_url = 'instruments/sp2/skins/';
     $this->base_name = 'sp_nc';
     $this->db_likes = $bd_names['likes'];
     $this->db = $bd_names['sp_skins'];
     $this->db_bad_skins = $bd_names['sp_bad_skins'];
     $this->db_ratio = $bd_names['sp_skins_ratio'];
     $this->id = !$id ? (int) $id : false;
     $result = BD("SELECT `id`, `name`, `fname`, `fsize`, `dislikes`, `likes`, `ratio`, `gender`, `downloads`  FROM `{$this->db}` WHERE `id`='" . TextBase::SQLSafe($id) . "'");
     if (mysql_num_rows($result) != 1) {
         $this->id = false;
         return false;
     }
     $line = mysql_fetch_array($result, MYSQL_NUM);
     $this->id = (int) $line[0];
     $this->name = $line[1];
     $this->fname = $line[2];
     $this->fsize = $line[3];
     $this->dislikes = (int) $line[4];
     $this->likes = (int) $line[5];
     $this->ratio = (int) $line[6];
     $this->gender = (int) $line[7];
     $this->downloads = (int) $line[8];
 }