| 10 | | $tmp = $html->link($val['Discussion']['title'], '/users/entry/'. $cU['User']['username'] . '/'.$val['Discussion']['id']) . '<br />'; |
| 11 | | $tmp .= $val['Comment']['created'].' <b>'.$val['Comment']['username'].' wrote:</b><br />'; |
| 12 | | $tmp .= $html->para(null, $val['Comment']['comment']); |
| 13 | | $tmp .= $gags->confirmDel($val['Comment']['id'], 'Comment'); |
| 14 | | echo $html->div(null, $tmp); |
| | 10 | $st = ( $val['Discussion']['status'] == 1 ) ? 'Published' : 'Non published'; |
| | 11 | $tmp = $html->link($val['News']['title'], '/news/view/'.$val['News']['id']) . '<br />'; |
| | 12 | $tmp .= $val['Discussion']['created'].' <b>'.$val['Discussion']['username'].' wrote:</b><br />'; |
| | 13 | $tmp .= $html->para(null, $val['Discussion']['comment']); |
| | 14 | $tmp .= $html->para(null, $html->link($st, '/admin/discussions/change/'.$val['Discussion']['id'].'/'.$val['Discussion']['status'])); |
| | 15 | $tmp .= $gags->confirmDel($val['Discussion']['id'], 'Discussion'); |
| | 16 | echo $html->div('grayblock', $tmp); |