$this->assign('local', $local);
return $this->fetch('index');
}
public function detail(){
$id = Request::param('id');
$liquid = new model\Liquid();
$cateSql = new model\LiquidCate();
$list = $liquid ->where(['trash'=> 1,'is_show'=>1,'id'=>$id]) ->order(['sort','id desc'])-> find();
$img = $list -> liquidImg() -> find();
$cate = $list -> liquidCate() -> find();
$seo = $list -> liquidSeo() -> find();
$list['cate'] = $cate['cate_name'];
$list['img'] = $img['img'];
$list['alt'] = $img['alt'];
$list['title'] = $seo['title'];
$list['keywords'] = $seo['keywords'];
$list['description'] = $seo['description'];
$list['tag'] = $seo['tag'];
REDIRECT_REDIRECT_UNIQUE_ID | ZgYN5wKTfXaDXBuwubhRSQAAAB4 |
REDIRECT_REDIRECT_PHPRC | /home/kqtttk7q5tmt/others |
REDIRECT_REDIRECT_STATUS | 200 |
REDIRECT_UNIQUE_ID | ZgYN5wKTfXaDXBuwubhRSQAAAB4 |
REDIRECT_PHPRC | /home/kqtttk7q5tmt/others |
REDIRECT_HANDLER | php-cgi |
REDIRECT_STATUS | 200 |
UNIQUE_ID | ZgYN5wKTfXaDXBuwubhRSQAAAB4 |
PHPRC | /home/kqtttk7q5tmt/others |
HTTP_X_FORWARDED_FOR | 54.163.62.42 |
HTTP_X_REAL_IP | 116.255.186.75 |
HTTP_HOST | anallerg.com |
HTTP_CONNECTION | close |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_X_FORWARDED_PROTO | http |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
PATH | /sbin:/usr/sbin:/bin:/usr/bin |
SERVER_SIGNATURE | <address>Apache Server at anallerg.com Port 80</address> |
SERVER_SOFTWARE | Apache |
SERVER_NAME | anallerg.com |
SERVER_ADDR | 127.0.0.1 |
SERVER_PORT | 80 |
REMOTE_ADDR | 54.163.62.42 |
DOCUMENT_ROOT | /home/kqtttk7q5tmt/wwwroot |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | /php-run-as-cgi |
CONTEXT_DOCUMENT_ROOT | /usr/php7.2/bin |
SERVER_ADMIN | webmaster@kqtt |
SCRIPT_FILENAME | /home/kqtttk7q5tmt/wwwroot/index.php |
REMOTE_PORT | 43560 |
REDIRECT_URL | /index.php |
REDIRECT_QUERY_STRING | s=liquid_detail/19.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.0 |
REQUEST_METHOD | GET |
QUERY_STRING | s=liquid_detail/19.html |
REQUEST_URI | /liquid_detail/19.html |
SCRIPT_NAME | /index.php |
ORIG_SCRIPT_FILENAME | /usr/php7.2/bin/php-cgi |
ORIG_PATH_INFO | /index.php |
ORIG_PATH_TRANSLATED | /home/kqtttk7q5tmt/wwwroot/index.php |
ORIG_SCRIPT_NAME | /php-run-as-cgi/php-cgi |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711672807.8854 |
REQUEST_TIME | 1711672807 |