📄 comment.php
字号:
<?php
require './include/common.inc.php';
$action = trim($action) ? $action : '';
if($action != 'ajaxcheckcode')
{
if(!$M['ischecklogin']) {if(!$_userid) showmessage('璇峰厛鐧婚檰鍚庡湪鍙戣〃',$MODULE['member']['url'].'login.php?forward='.urlencode(URL));}
}
$head['keywords'] = $PHPCMS['keywords'];
$head['description'] = $PHPCMS['description'];
require_once PHPCMS_ROOT.'/include/form.class.php';
require_once MOD_ROOT.'/include/comment.class.php';
$comments = new comment();
switch ( $action )
{
case 'vote':
$count = $comments->ajaxupdate($field, $id);
echo ' '.$LANG[$field].'('.$count[$field].')';
break;
case 'add':
$url = "?keyid=$keyid&verify=$verify";
$content = new_htmlspecialchars($contenttext);
$content = trim($content);
if(strlen($content) >= 1000) showmessage('鍐呭
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -