| 
					
				 | 
			
			
				@@ -6,6 +6,18 @@ use Dever; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 class Manage
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public function getAgreementData()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $data = Dever::db('setting/agreement')->select();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if ($data) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $config = Dever::db('setting/agreement')->config['config_type'];
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            foreach ($data as $k => $v) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                $data[$k]['name'] = $config[$v['type']];
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return $data;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public function showSource($id)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $url = 'http://daili.churenyiliao.com/pages/dailishang/apply/apply/';
 
			 |