- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
switch ($size) {
case 'small':
if ($crop_thumbnail == 3 || $crop_thumbnail == 5 || $crop_thumbnail == 6 || $crop_thumbnail == 7 ) {
$crop = 1;
}
break;
case 'medium':
if ($crop_thumbnail == 2 || $crop_thumbnail == 4 || $crop_thumbnail == 5 || $crop_thumbnail == 7 ) {
$crop = 1;
}
break;
case 'large':
Default:
if ($crop_thumbnail == 1 || $crop_thumbnail == 4 || $crop_thumbnail == 6 || $crop_thumbnail == 7 ) {
$crop = 1;
}
break;
}
mrbig66 20.05.2011 15:52 # 0
Lure Of Chaos 20.05.2011 16:02 # +4
а) да, согласен
б) нет, согласен"
Govnocoder#0xFF 20.05.2011 16:20 # 0
guest 20.05.2011 16:31 # 0
guest 20.05.2011 16:33 # +2
guest 20.05.2011 16:36 # +1
7ion 20.05.2011 21:14 # 0
RaZeR 20.05.2011 20:25 # 0
guest 21.05.2011 12:17 # −2