Authored by tmq

bug

... ... @@ -43,7 +43,7 @@
<a href="javascript:;" target="_blank">潮流嘉年华</a>
</li>
</ul>
<a class="contact-btn" href="/default/contactus">contact</a>
<a class="current" href="/default/contactus" style="float:right">CONTACT</a>
</div>
<?php
$_ctx = Framework_YHttpRequest::instance();
... ...
... ... @@ -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>';
}
}
... ...