| 
					
				 | 
			
			
				@@ -31,8 +31,13 @@ class Create 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $result['cover_center'] = $cover;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        $max = 15;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        # 内容最大值
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $content_max = 15;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        # 章节最大值
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $parent_page_max = 12;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        # 子章节最大值
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $page_max = 4;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if ($info) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $result['page_id'] = $info['page_id'];
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $page = Dever::db('collection/page')->find($info['page_id']);
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -44,11 +49,11 @@ class Create 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $result['parent_page_id'] = $page['page_id'];
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if ($info['reorder'] >= $max) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $result['reorder'] = $info['reorder'] = 1;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                $max = 4;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if ($page['reorder'] >= $max) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if ($page['reorder'] >= $page_max) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     $parent_page = Dever::db('collection/page')->find($result['parent_page_id']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if ($parent_page['reorder'] >= $max) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if ($parent_page['reorder'] >= $parent_page_max) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         $result['parent_page_reorder'] = 1;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         $times = Dever::db('collection/times')->find($page['times_id']);
 
			 |