Authored by tmq

bug

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