`id`=%s
LIMIT 1",
array(
- postRequestElement('subj'),
+ postRequestElement('subject'),
postRequestElement('text'),
postRequestElement('url'),
bigintval(postRequestElement('id')),
$OUT = ''; $SW = 2;
while ($content = SQL_FETCHARRAY($result)) {
// Prepare data for the row template
- // @TODO Rewritings: subj->subject in template
$content = array(
- 'sw' => $SW,
- 'id' => $content['id'],
- 'subj' => $content['subject'],
+ 'sw' => $SW,
+ 'id' => $content['id'],
+ 'subject' => $content['subject'],
'userid' => generateUserProfileLink($content['sender']),
- 'pay' => getPaymentTitlePrice($content['payment_id']),
- 'cat' => getCategory($content['cat_id']),
+ 'pay' => getPaymentTitlePrice($content['payment_id']),
+ 'cat' => getCategory($content['cat_id']),
);
// Load row template and switch colors