...
|
...
|
@@ -83,18 +83,17 @@ |
|
|
</li>
|
|
|
EOL;
|
|
|
$groupLen ++;
|
|
|
if($groupLen>= 16)
|
|
|
if($groupLen>=16)
|
|
|
{
|
|
|
$templates[] ='<div class="box big-size clearfix"><h2>'.$type.'</h2><hr><ul class="clearfix">'.$html.'</ul></div>';
|
|
|
$html = '';
|
|
|
$groupLen = 0;
|
|
|
$groupNum = 0;
|
|
|
$type="";
|
|
|
}
|
|
|
}
|
|
|
if(!empty($html))
|
|
|
{
|
|
|
$templates[] ='<div class="box big-size clearfix"><h2>'.$type.'</h2><hr><ul class="clearfix">'.$html.'</ul></div>';
|
|
|
$templates[] ='<div class="box clearfix"><h2>'.$type.'</h2><hr><ul class="clearfix">'.$html.'</ul></div>';
|
|
|
$html = '';
|
|
|
}
|
|
|
$groupNum ++;
|
...
|
...
|
@@ -117,7 +116,7 @@ EOL; |
|
|
else
|
|
|
{
|
|
|
$temp = preg_replace('@<div class="(.*)">(.+)<\/div>@isU', "\\2", $temp);
|
|
|
$template .='<div class="box clearfix">'.$temp.'</div>';
|
|
|
$template .='<div class="box big-size clearfix">'.$temp.'</div>';
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
|