Merge branch 'develop' of http://git.dev.yoho.cn/web/yohood into develop
Showing
4 changed files
with
8 additions
and
8 deletions
@@ -22,14 +22,14 @@ class Controller_Brand extends Controller_Abstract | @@ -22,14 +22,14 @@ class Controller_Brand extends Controller_Abstract | ||
22 | $client = $this->_request->query('client', 0); | 22 | $client = $this->_request->query('client', 0); |
23 | if($client || $this->_platform != 'web') | 23 | if($client || $this->_platform != 'web') |
24 | { | 24 | { |
25 | - $signBrands = Facade_Brand::getSignBrand(); | 25 | + $yohobuyBrands = Facade_Brand::getYohobuyBrand(); |
26 | $yohobuyBrandId = '0'; | 26 | $yohobuyBrandId = '0'; |
27 | - foreach($signBrands as $signBrand) | 27 | + foreach($yohobuyBrands as $yohobuyBrand) |
28 | { | 28 | { |
29 | - $signBrand['brand_name'] = trim(strtolower($signBrand['brand_name'])); | ||
30 | - if(strtolower($info['name']) == $signBrand['brand_name']) | 29 | + $yohobuyBrand['brand_name'] = trim(strtolower($yohobuyBrand['brand_name'])); |
30 | + if(strtolower($info['name']) == $yohobuyBrand['brand_name']) | ||
31 | { | 31 | { |
32 | - $yohobuyBrandId = $signBrand['brand_id']; | 32 | + $yohobuyBrandId = $yohobuyBrand['brand_id']; |
33 | break; | 33 | break; |
34 | } | 34 | } |
35 | } | 35 | } |
@@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
17 | <li> | 17 | <li> |
18 | <a href="<?php echo $partner['url'];?>" title="<?php echo $partner['name'];?>" target="_blank"> | 18 | <a href="<?php echo $partner['url'];?>" title="<?php echo $partner['name'];?>" target="_blank"> |
19 | <div class="img-box"> | 19 | <div class="img-box"> |
20 | - <img src="<?php echo Lib_Images::getImageUrl($partner['pic'], 'source','fragmentimg'); ?>" alt=""> | 20 | + <img src="<?php echo Lib_Images::getImageUrl($partner['pic'], 'source','fragmentimg'); ?>" alt="" width="138" height="92"> |
21 | </div> | 21 | </div> |
22 | </a> | 22 | </a> |
23 | </li> | 23 | </li> |
@@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
17 | <li> | 17 | <li> |
18 | <a href="<?php echo $partner['url'];?>" title="<?php echo $partner['name'];?>" target="_blank"> | 18 | <a href="<?php echo $partner['url'];?>" title="<?php echo $partner['name'];?>" target="_blank"> |
19 | <div class="img-box"> | 19 | <div class="img-box"> |
20 | - <img src="<?php echo Lib_Images::getImageUrl($partner['pic'], 'source','fragmentimg'); ?>" alt=""> | 20 | + <img src="<?php echo Lib_Images::getImageUrl($partner['pic'], 'source','fragmentimg'); ?>" alt="" > |
21 | </div> | 21 | </div> |
22 | </a> | 22 | </a> |
23 | </li> | 23 | </li> |
@@ -65,7 +65,7 @@ | @@ -65,7 +65,7 @@ | ||
65 | $html.= <<<EOL | 65 | $html.= <<<EOL |
66 | <li> | 66 | <li> |
67 | <a href="{$partner['url']}" title="{$partner['name']}" target="_blank"> | 67 | <a href="{$partner['url']}" title="{$partner['name']}" target="_blank"> |
68 | - <img src="{$pic}" alt="" style="height:70px;width:70px;"/> | 68 | + <img src="{$pic}" alt="" style="width:70px;"/> |
69 | </a> | 69 | </a> |
70 | </li> | 70 | </li> |
71 | EOL; | 71 | EOL; |
-
Please register or login to post a comment