|
@@ -83,18 +83,17 @@ |
|
@@ -83,18 +83,17 @@ |
83
|
</li>
|
83
|
</li>
|
84
|
EOL;
|
84
|
EOL;
|
85
|
$groupLen ++;
|
85
|
$groupLen ++;
|
86
|
- if($groupLen>= 16)
|
86
|
+ if($groupLen>=16)
|
87
|
{
|
87
|
{
|
88
|
$templates[] ='<div class="box big-size clearfix"><h2>'.$type.'</h2><hr><ul class="clearfix">'.$html.'</ul></div>';
|
88
|
$templates[] ='<div class="box big-size clearfix"><h2>'.$type.'</h2><hr><ul class="clearfix">'.$html.'</ul></div>';
|
89
|
$html = '';
|
89
|
$html = '';
|
90
|
$groupLen = 0;
|
90
|
$groupLen = 0;
|
91
|
$groupNum = 0;
|
91
|
$groupNum = 0;
|
92
|
- $type="";
|
|
|
93
|
}
|
92
|
}
|
94
|
}
|
93
|
}
|
95
|
if(!empty($html))
|
94
|
if(!empty($html))
|
96
|
{
|
95
|
{
|
97
|
- $templates[] ='<div class="box big-size clearfix"><h2>'.$type.'</h2><hr><ul class="clearfix">'.$html.'</ul></div>';
|
96
|
+ $templates[] ='<div class="box clearfix"><h2>'.$type.'</h2><hr><ul class="clearfix">'.$html.'</ul></div>';
|
98
|
$html = '';
|
97
|
$html = '';
|
99
|
}
|
98
|
}
|
100
|
$groupNum ++;
|
99
|
$groupNum ++;
|
|
@@ -117,7 +116,7 @@ EOL; |
|
@@ -117,7 +116,7 @@ EOL; |
117
|
else
|
116
|
else
|
118
|
{
|
117
|
{
|
119
|
$temp = preg_replace('@<div class="(.*)">(.+)<\/div>@isU', "\\2", $temp);
|
118
|
$temp = preg_replace('@<div class="(.*)">(.+)<\/div>@isU', "\\2", $temp);
|
120
|
- $template .='<div class="box clearfix">'.$temp.'</div>';
|
119
|
+ $template .='<div class="box big-size clearfix">'.$temp.'</div>';
|
121
|
}
|
120
|
}
|
122
|
|
121
|
|
123
|
}
|
122
|
}
|