1669天 博客通用头像 Edwiin

本人熟练掌握linux,windows的开关机,擅长nfs,samba,ftp,dhcp,bind,apache,mail等各项服务的安装与卸载,精通shell,mysql,iptables,selinux等单词的拼写,了解虚拟化,存储,集群等相关汉字的书写。

NULL模板加密悬浮可见问题

发布于 / 0 条评论 / Edwiin

functions.php:
$cookiepwd = isset($_COOKIE['em_logpwd_'.$logid]) ? addslashes(trim($_COOKIE['em_logpwd_'.$logid])) : '';
		if (!empty($password) && $cookiepwd != $password) {
            $log_content = '[该文章已设置加密,请阅读全文输入密码访问]';
        }

log_list.php、log_list_1.php、log_list_2.php:
$cookiePassword = isset($_COOKIE['em_logpwd_' . $value['gid']]) ? addslashes(trim($_COOKIE['em_logpwd_' . $value['gid']])) : '';
	if (!empty($value['password']) && $cookiePassword != $value['password']) {
		$value['content'] = '[该文章已设置加密,请点击标题输入密码访问]';
	}

Press Space to start