{literal} {/literal} {php} /* function button ($array, $value) { // current $current = ''; foreach ($array as $i => $row) { if ($row['callback_status_id'] == $value) { $current = $row; unset ($array[$i]); break; } } echo '
Ñòàòóñ | '; echo 'Äàòà | '; echo 'Ãîðîä | '; echo 'Òåë | '; echo 'Ñîîáùåíèå | '; echo 'Ìåíåäæåð | '; echo 'Âðåìÿ èçìåíåíèÿ | '; echo ''; echo ' |
---|---|---|---|---|---|---|---|
'; echo $this->_tpl_vars['mass']['model']->button ($this->_tpl_vars['mass']['status'], $callback['callback_status_id']); echo ' | '; echo ''.$callback['date_add'].' | '; echo ''.$callback['city'].' | '; echo ''.$callback['tel'].' | '; echo 'ïðî÷èòàòü | '; echo ''.$callback['username'].' | '; echo ''.$callback['date_edit'].' | '; echo '