- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
$payments = $CI->payment_method_model->getAll();
$payment = array();
$payment[null] = array();
$payment[null]['addr'] = " ";
$payment[null]['perc'] = " ";
$payment[null]['name'] = " ";
foreach($payments->result() as $item)
{
$payment[$item->id] = array();
$payment[$item->id]['addr'] = (json_decode($item->params,true));
$payment[$item->id]['perc'] = $item->fee;
$payment[$item->id]['name'] = $item->title;
}
No comments...
Поддержка этого проекта вызывает душевную боль... :(