uawdijnntqw1x1x1
IP : 3.138.119.136
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
__MACOSX
/
..
/
catalog.1
/
model
/
design
/
.
/
layout.php
/
/
<?php namespace Opencart\Catalog\Model\Design; class Layout extends \Opencart\System\Engine\Model { public function getLayout(string $route): int { $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "layout_route` WHERE '" . $this->db->escape($route) . "' LIKE `route` AND `store_id` = '" . (int)$this->config->get('config_store_id') . "' ORDER BY `route` DESC LIMIT 1"); if ($query->num_rows) { return (int)$query->row['layout_id']; } else { return 0; } } public function getModules(int $layout_id, string $position): array { $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "layout_module` WHERE `layout_id` = '" . (int)$layout_id . "' AND `position` = '" . $this->db->escape($position) . "' ORDER BY `sort_order`"); return $query->rows; } }
/home/sudancam/.trash/__MACOSX/../catalog.1/model/design/./layout.php