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