| 
					
				 | 
			
			
				@@ -14,7 +14,7 @@ class Vote extends Base 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public function submit() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        $this->check_user(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //$this->check_user(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $source_table = Dever::input('type'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $source_id = Dever::input('id'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //$ip = Dever::ip(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -23,6 +23,7 @@ class Vote extends Base 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $data = Dever::load('comment/vote-one', array('option_info_id' => $this->data['info']['id'], 'option_source_table' => $source_table, 'option_source_id' => $source_id, 'option_uid' => $uid)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if ($data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Dever::alert('已赞过'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $id = $data['id']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $update['set_cdate'] = time(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $update['where_id'] = $id; 
			 |