if (!SQL_HASZERONUMS($result)) {
if (isFormSent()) {
// Make mail editable...
- $result = SQL_QUERY_ESC("SELECT `id`, `sender` AS `userid`, `subject`, `text`, `url` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT
+ `id`, `sender` AS `userid`, `subject`, `text`, `url`
+FROM
+ `{?_MYSQL_PREFIX?}_pool`
+WHERE
+ `id`=%s
+LIMIT 1",
array(bigintval(postRequestParameter('id'))), __FILE__, __LINE__);
// Fetch row
<a href="{%pipe,generateFrametesterUrl=$content[url]%}" target="_blank">{--ADMIN_TEST_URL--}</a>
</td>
<td class="{%template,ColorSwitch%} top right" align="center">
- <span class="notice" title="{%pipe,getCategory=$content[cat_id]%}">$content[cat_link]</span>
+ <span class="notice" title="{%pipe,getCategory=$content[cat_id]%}">$content[cat_id]</span>
</td>
<td class="{%template,ColorSwitch%} top right" align="center">
- <span class="notice" title="{%pipe,getPaymentTitlePrice=$content[payment_id]%}">$content[pay_link]</span>
+ <span class="notice" title="{%pipe,getPaymentTitlePrice=$content[payment_id]%}">$content[payment_id]</span>
</td>
<td class="{%template,ColorSwitch%} top right" align="center">
$content[timestamp]