- 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
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
$navChain=array();
for($i = 0; $i < count($menu); $i++){
if (is_array($menu[$i]['subMenu'])) {
for($j = 0; $j < count($menu[$i]['subMenu']); $j++){
if (is_array($menu[$i]['subMenu'][$j]['subMenu'])) {
for($k = 0; $k < count($menu[$i]['subMenu'][$j]['subMenu']); $k++){
if (is_array($menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu'])) {
for($l = 0; $l < count($menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu']); $l++){
if (is_array($menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu'][$l]['subMenu'])) {
for($m = 0; $m < count($menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu'][$l]['subMenu']);$m++){
if ($menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu'][$l]['subMenu'][$m]['selected']=='1') {
$navChain[]=$menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu'][$l]['subMenu'][$m];
$menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu'][$l]['selected']=1;
$navChain[]=$menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu'][$l];
$menu[$i]['subMenu'][$j]['subMenu'][$k]['selected']=1;
$navChain[]=$menu[$i]['subMenu'][$j]['subMenu'][$k];
$menu[$i]['subMenu'][$j]['selected']=1;
$navChain[]=$menu[$i]['subMenu'][$j];
$menu[$i]['selected']=1;
$navChain[]=$menu[$i];
}
} // for
}
if ($menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu'][$l]['selected']=='1') {
$navChain[]=$menu[$i]['subMenu'][$j]['subMenu'][$k]['subMenu'][$l];
$menu[$i]['subMenu'][$j]['subMenu'][$k]['selected']=1;
$navChain[]=$menu[$i]['subMenu'][$j]['subMenu'][$k];
$menu[$i]['subMenu'][$j]['selected']=1;
$navChain[]=$menu[$i]['subMenu'][$j];
$menu[$i]['selected']=1;
$navChain[]=$menu[$i];
}
} // for
}
if ($menu[$i]['subMenu'][$j]['subMenu'][$k]['selected']=='1') {
$navChain[]=$menu[$i]['subMenu'][$j]['subMenu'][$k];
$menu[$i]['subMenu'][$j]['selected']=1;
$navChain[]=$menu[$i]['subMenu'][$j];
$menu[$i]['selected']=1;
$navChain[]=$menu[$i];
}
} // for
}
if ($menu[$i]['subMenu'][$j]['selected']=='1') {
$navChain[]=$menu[$i]['subMenu'][$j];
$menu[$i]['selected']=1;
$navChain[]=$menu[$i];
}
} // for
}
if ($menu[$i][selected] && empty($navChain)) {
$navChain[]=$menu[$i];
}
} // for
istem 09.04.2011 18:47 # 0
bugmenot 09.04.2011 18:48 # 0
espr 09.04.2011 18:58 # 0
guest 09.04.2011 19:05 # 0
byss 09.04.2011 19:12 # +3
da4ever 10.04.2011 15:54 # +4
Lure Of Chaos 10.04.2011 18:30 # 0
da4ever 10.04.2011 18:57 # 0
fullHD наше все.
Lure Of Chaos 10.04.2011 19:05 # 0
da4ever 10.04.2011 19:13 # +1
я с nokia 3310 пишу
Lure Of Chaos 10.04.2011 19:17 # 0
absolut 10.04.2011 20:35 # 0
а ещё была фраза : ДУППЕN3310
bugmenot 11.04.2011 00:35 # 0
da4ever 11.04.2011 01:52 # +1
bugmenot 11.04.2011 02:20 # +1
от чего, кстати? а, да, от широких кодов.
absolut 10.04.2011 20:37 # 0
da4ever 11.04.2011 00:02 # 0
absolut 11.04.2011 04:38 # 0
da4ever 11.04.2011 07:29 # 0
сначала придется завязать.
Lure Of Chaos 11.04.2011 10:03 # +2
Lure Of Chaos 09.04.2011 19:17 # 0
stuffort 09.04.2011 19:17 # 0
rO_ot 09.04.2011 20:22 # 0
nethak 11.04.2011 13:33 # −2
TarasB 11.04.2011 14:03 # 0
Lure Of Chaos 11.04.2011 23:22 # +1
SmackMyBitchUp 13.04.2011 20:37 # −1
навеяло
tranquillity 16.05.2011 18:33 # 0