<?php
!function_exists('readover') && exit('Forbidden');

if (!$_POST['wind_action']) {
	global $printmsgpwd,$tplpath;
	$GLOBALS['tplpath'] = 'wind';
	Showmsg('forumpw_needpwd','forumpwd');
} else {
	if ($this->foruminfo['password'] == md5($_POST['wind_password']) && $groupid != 'guest'){
		/**
		* ²»Í¬°æ¿é²»Í¬ÃÜÂë
		*/
		Cookie("pwdcheck[$this->fid]", $this->foruminfo['password']);
	} elseif ($groupid == 'guest') {
		Showmsg('forumpw_guest');
	} else {
		Showmsg('forumpw_pwd_error');
	}
}
?>