`url_id` ASC", __FILE__, __LINE__);
// Do we have some URLs left?
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
// List all URLs
- $OUT = ''; $SW = 2;
+ $OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// "Translate"/add content
- $content['sw'] = $SW;
$content['url_registered'] = generateDateTime($content['url_registered'], 2);
// Load row template
$OUT .= loadTemplate('admin_unlock_surfbar_urls_row', true, $content);
-
- // Switch color
- $SW = 3 - $SW;
} // END - while
// Load main template