Current Path : /home/sudancam/.trash/catalog.2/model/design/ |
Current File : /home/sudancam/.trash/catalog.2/model/design/theme.php |
<?php class ModelDesignTheme extends Model { public function getTheme($route, $theme) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "theme WHERE store_id = '" . (int)$this->config->get('config_store_id') . "' AND theme = '" . $this->db->escape($theme) . "' AND route = '" . $this->db->escape($route) . "'"); return $query->row; } }