<?php 
class chatClassAction extends ActionNot{
	
	public function initAction()
	{
		$this->mweblogin(0, true);
	}
	
	public function defaultAction()
	{
		$type 	= $this->get('type');
		$uid  	= $this->get('uid');
		$db 	= m('reim');
		$arr 	= $db->getreceinfor($type, $uid);
		if(!isset($arr['name']))exit('error');
		$this->title = $arr['name'];
		if(isset($arr['utotal']))$this->title.='('.$arr['utotal'].')';
		$this->assign('arr', $arr);
	}
}