summary refs log tree commit diff stats
path: root/pages/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/admin.php')
-rwxr-xr-xpages/admin.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/pages/admin.php b/pages/admin.php index ca7a7fa..90b3d29 100755 --- a/pages/admin.php +++ b/pages/admin.php
@@ -604,8 +604,15 @@ if (isLoggedIn())
604 $i=0; 604 $i=0;
605 while ($getpending3[$i] = mysql_fetch_array($getpending2)) 605 while ($getpending3[$i] = mysql_fetch_array($getpending2))
606 { 606 {
607 $template->adds_block('QUOTE', array( 'ID' => $getpending3[$i]['id'], 607 if ($i % 2 == 1)
608 'TEXT' => $getpending3[$i]['quote'])); 608 {
609 $template->adds_block('QUOTE', array( 'ID' => $getpending3[$i]['id'],
610 'TEXT' => nl2br($getpending3[$i]['quote']),
611 'EVEN' => 'even'));
612 } else {
613 $template->adds_block('QUOTE', array( 'ID' => $getpending3[$i]['id'],
614 'TEXT' => nl2br($getpending3[$i]['quote'])));
615 }
609 $i++; 616 $i++;
610 } 617 }
611 } else if ($_GET['page'] == 'actionPendingQuotes') 618 } else if ($_GET['page'] == 'actionPendingQuotes')