- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
foreach ($shops as $shop) {
if($merch["id"] == $shop["id_user"]){
switch ($shop["weekday"]){
case 0: if($shop["status"] == 1) $temp[$shop["weekday"]]["done"] += 1;$temp[$shop["weekday"]]["total"] += 1;break;
case 1: if($shop["status"] == 1) $temp[$shop["weekday"]]["done"] += 1;$temp[$shop["weekday"]]["total"] += 1;break;
case 2: if($shop["status"] == 1) $temp[$shop["weekday"]]["done"] += 1;$temp[$shop["weekday"]]["total"] += 1;break;
case 3: if($shop["status"] == 1) $temp[$shop["weekday"]]["done"] += 1;$temp[$shop["weekday"]]["total"] += 1;break;
case 4: if($shop["status"] == 1) $temp[$shop["weekday"]]["done"] += 1;$temp[$shop["weekday"]]["total"] += 1;break;
case 5: if($shop["status"] == 1) $temp[$shop["weekday"]]["done"] += 1;$temp[$shop["weekday"]]["total"] += 1;break;
case 6: if($shop["status"] == 1) $temp[$shop["weekday"]]["done"] += 1;$temp[$shop["weekday"]]["total"] += 1;break;
}
}
}
Коммерческий продукт.
FUUU~~~
Lure Of Chaos 29.10.2011 14:30 # 0
это пять баллов!
KirAmp 29.10.2011 14:41 # 0
Lure Of Chaos 29.10.2011 14:43 # +1
Dummy00001 29.10.2011 16:48 # +3
guest8 09.04.2019 11:51 # −999