- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
if ((int)($basket->summ/1000) > 999)
{
$price_all = substr_replace($basket->summ," ",1,0);
$price_all = substr_replace($price_all," ",5,0);
}
elseif ((int)($basket->summ/1000) > 99)
{
$price_all = substr_replace($basket->summ," ",3,0);
}
elseif ((int)($basket->summ/1000) > 9)
{
$price_all = substr_replace($basket->summ," ",2,0);
}
elseif ((int)($basket->summ/1000) < 9 && (int)($basket->summ/1000) > 0)
{
$price_all = substr_replace($basket->summ," ",1,0);
}
elseif ((int)($basket->summ/1000) == 0)
{
$price_all = $basket->summ;
}
dunmaksim 18.06.2014 13:10 # +3
3Doomer 18.06.2014 14:20 # 0
Keeper 18.06.2014 16:37 # 0
guest 24.06.2014 10:10 # −1