|
@@ -14,6 +14,7 @@ require_once(BASE_ROOT_PATH . '/helper/time_interval.php');
|
|
|
class brand_helper
|
|
|
{
|
|
|
static private $stInstance = null;
|
|
|
+
|
|
|
private $mBrandPageResult;
|
|
|
private $mTimeInterval;
|
|
|
private $mCountries;
|
|
@@ -56,6 +57,8 @@ class brand_helper
|
|
|
$this->mCountries = [];
|
|
|
$brands = [];
|
|
|
foreach ($items as $brand) {
|
|
|
+ Log::record($brand['brand_logo'],Log::DEBUG);
|
|
|
+
|
|
|
$image = UPLOAD_SITE_URL . $brand['brand_logo'];
|
|
|
$ret = getimagesize($image, $info);
|
|
|
if ($ret != false) {
|
|
@@ -64,7 +67,9 @@ class brand_helper
|
|
|
}
|
|
|
$brand_id = intval($brand['brand_id']);
|
|
|
$this->mCountries[$brand_id] = $brand['brand_country'];
|
|
|
+ Log::record($brand['$brand_id'] ."=>".$brand['brand_country'] ,Log::DEBUG);
|
|
|
}
|
|
|
+
|
|
|
$block = special_helper::format_grid_brands($brands);
|
|
|
wcache("brandex", array("brands" => serialize($brands), "block" => serialize($block)), $prefix);
|
|
|
|