if (SQL_NUMROWS($result) > 0) {
while(list($id, $unix, $active, $ver, $name) = SQL_FETCHROW($result)) {
// Load theme in test mode
if (SQL_NUMROWS($result) > 0) {
while(list($id, $unix, $active, $ver, $name) = SQL_FETCHROW($result)) {
// Load theme in test mode