1 Star 1 Fork 0

xy_god / xblog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
comments.php 524 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
<?php
@session_start();
require(dirname(__FILE__) . "/./lib/common.inc");
if (!isset($_GET['id'])) {
header("Location:./index.php");
exit();
}
$s_aid = $_GET['id'];
if (trim($s_aid) == '') {
header("Location:./index.php");
exit();
}
if(!isset($_SESSION['username'])){
$username = '';
} else {
$username = $_SESSION['username'];
}
$cur_theme = get_cur_theme();
$userip = get_client_ip();
$comments = get_comments_art($s_aid);
require(dirname(__FILE__) . "/./themes/" . $cur_theme . "/comments.theme.php");
?>
PHP
1
https://gitee.com/thesct/xblog.git
git@gitee.com:thesct/xblog.git
thesct
xblog
xblog
master

搜索帮助

14c37bed 8189591 565d56ea 8189591