CMXX - Language selection
This commit is contained in:
@@ -108,7 +108,7 @@ $view .= ' <div style="margin-top: 30px;display: flex;align-items: center;align-
|
||||
foreach ($categories as $categorie){
|
||||
if ($categorie['parent_id'] == '0' && $categorie['status'] == 1 && $categorie['filter'] != 1){
|
||||
$weburl = url('index.php?page=products&category='.$categorie['rowID'].'');
|
||||
$view .= '<a href="'.$weburl.'">'.$categorie['name'].'</a>';
|
||||
$view .= '<a href="'.$weburl.'">'.(${$categorie['name']} ?? $categorie['name']).'</a>';
|
||||
}
|
||||
}
|
||||
$view .= '
|
||||
@@ -119,7 +119,7 @@ $view .= ' <div style="margin-top: 30px;display: flex;align-items: center;align-
|
||||
foreach ($categories as $categorie){
|
||||
if ($categorie['parent_id'] == $_GET['category'] && $categorie['status'] == 1 && $categorie['filter'] != 1){
|
||||
$weburl = url('index.php?page=productsnew&category='.$categorie['rowID'].'');
|
||||
$view .= '<a href="'.$weburl.'" style="color: #fff;background-color: #555555;font-size: 10px;">'.$categorie['name'].'</a>';
|
||||
$view .= '<a href="'.$weburl.'" style="color: #fff;background-color: #555555;font-size: 10px;">'.(${$categorie['name']} ?? $categorie['name']).'</a>';
|
||||
}
|
||||
}
|
||||
$view .= '</div>';
|
||||
|
||||
Reference in New Issue
Block a user