- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
if ($sub_sub_sub_sub_category_id !== null) {
if ($this->core->countUrl > 5) {
header('Location: /404/');
}
foreach ($categories[$category_id][$sub_category_id][$sub_sub_category_id][$sub_sub_sub_category_id][$sub_sub_sub_sub_category_id] as $k1 => $v1) {
if ($k1 !== 0) {
foreach ($v1 as $k2 => $v2) {
if ($k2 !== 0) {
if ($this->core->translit($v2[0]) == $sub_sub_sub_category) {
$sub_sub_sub_sub_sub_category_id = $k1;
$sub_sub_sub_sub_sub_sub_category_id = $k2;
break;
}
}
}
}
}
$this->core->title($categories[$category_id][$sub_category_id][$sub_sub_category_id][$sub_sub_sub_category_id][$sub_sub_sub_sub_category_id][$sub_sub_sub_sub_sub_category_id][$sub_sub_sub_sub_sub_sub_category_id][0]);
$bread_crumbs[] = array(
'text' => $categories[$category_id][$sub_category_id][$sub_sub_category_id][$sub_sub_sub_category_id][$sub_sub_sub_sub_category_id][$sub_sub_sub_sub_sub_category_id][$sub_sub_sub_sub_sub_sub_category_id][0],
'url' => $location['alias'] . '/' . $this->core->translit($categories[$category_id][0]) . '/' . $this->core->translit($categories[$category_id][$sub_category_id][$sub_sub_category_id][0]) . '/' . $this->core->translit($categories[$category_id][$sub_category_id][$sub_sub_category_id][$sub_sub_sub_category_id][$sub_sub_sub_sub_category_id][0]) . '/' . $this->core->translit($categories[$category_id][$sub_category_id][$sub_sub_category_id][$sub_sub_sub_category_id][$sub_sub_sub_sub_category_id][$sub_sub_sub_sub_sub_category_id][$sub_sub_sub_sub_sub_sub_category_id][0])
);
$query_add = "
AND (`market_item`.`category_key` = '" . $category_id . "')
AND `market_item`.`param` REGEXP '(\"" . $sub_sub_sub_sub_category_id . "\")'
";
$vip_query_add = "
AND `market_item`.`category_key` = '" . $category_id . "'
";
}
Fike 16.02.2015 21:27 # +3
bormand 16.02.2015 21:33 # 0
1024-- 16.02.2015 21:37 # +1
bormand 16.02.2015 21:40 # +1
wvxvw 16.02.2015 22:00 # +4
wvxvw 16.02.2015 22:02 # 0
Stallman 16.02.2015 23:11 # +4
Анонимус 17.02.2015 03:56 # +5
Если я буду составлять текст вакансии для ПХП программиста, можно я воспользуюсь Вашим определением?
guesto 23.05.2016 01:36 # +1
inkanus-gray 23.05.2016 01:46 # +1
http://govnokod.ru/17452#comment261798
http://govnokod.ru/18930#comment302399
https://vk.com/fikey
https://pic.twitter.com/uKpb8QvqX0
Деанон, травля!
SemaReal 08.03.2018 16:18 # 0
3.14159265 17.02.2015 19:32 # 0
Кому лень мотать самое вкусное:
$this->core->translit($categories[$category_id][$sub_category_id][$sub_sub_category_id][$sub_sub_sub_category_id][$sub_sub_sub_sub_category_id][$sub_sub_sub_sub_sub_category_id][$sub_sub_sub_sub_sub_sub_category_id][0]
kegdan 17.02.2015 20:19 # +1
argamidon 18.02.2015 15:50 # 0
kegdan 18.02.2015 18:45 # +4
argamidon 18.02.2015 23:15 # 0
Fike 18.02.2015 23:24 # +3
3_dar 23.05.2016 18:15 # 0
guesto 24.05.2016 11:52 # 0