tpl_set_var('username', $record['username']);
 tpl_set_var('country', htmlspecialchars($record['country'], ENT_COMPAT, 'UTF-8'));
 tpl_set_var('registered', strftime("%d-%m-%Y", strtotime($record['date_created'])));
 tpl_set_var('email', strip_tags($record['email']));
 tpl_set_var('description', nl2br($record['description']));
 if ($record['is_active_flag']) {
     tpl_set_var('is_active_flags', '&nbsp;<a href="admin_users.php?userid=' . $user_id . '&amp;is_active_flag=1"><font color="#ff0000">' . tr('lock') . ' ' . tr('user_account') . '</font></a>&nbsp;<img src="' . $stylepath . '/images/blue/atten-red.png" align="top" alt="" />');
 } else {
     tpl_set_var('is_active_flags', '&nbsp;<a href="admin_users.php?userid=' . $user_id . '&amp;is_active_flag=1"><font color="#228b22">' . tr('unlock') . ' ' . tr('user_account') . '</font></a>&nbsp;<img src="' . $stylepath . '/images/blue/atten-green.png" align="bottom" alt="" />');
 }
 if (!$record['stat_ban']) {
     tpl_set_var('stat_ban', '&nbsp;<a href="admin_users.php?userid=' . $user_id . '&amp;stat_ban=1"><font color="#ff0000">' . tr('lock') . ' ' . tr('user_stats') . '</font></a>&nbsp;<img src="' . $stylepath . '/images/blue/atten-red.png" align="top" alt="" />');
 } else {
     tpl_set_var('stat_ban', '&nbsp;<a href="admin_users.php?userid=' . $user_id . '&amp;stat_ban=1"><font color="#228b22">' . tr('unlock') . ' ' . tr('user_stats') . '</font></a>&nbsp;<img src="' . $stylepath . '/images/blue/atten-green.png" align="top" alt="" />');
 }
 if ($user->getFoundGeocachesCount() < 10) {
     $ignoreFoundLimit = $user->isIngnoreGeocacheLimitWhileCreatingNewGeocache();
     if ($ignoreFoundLimit) {
         $translation = tr('ignoreFoundLimitRm');
     } else {
         $translation = tr('ignoreFoundLimitAdd');
     }
     $ignoreFoundLimitHtml = '<a href="admin_users.php?userid=' . $user_id . '&amp;ignoreFoundLimit=' . (int) (!$ignoreFoundLimit) . '"><font color="#ff0000">' . $translation . '</font></a><img src="' . $stylepath . '/images/blue/atten-red.png" align="top" alt="" />';
     tpl_set_var('ignoreFoundLimit', $ignoreFoundLimitHtml);
 } else {
     tpl_set_var('ignoreFoundLimit', 'n/d');
 }
 // force all caches to be verified - form
 $verify_all = $record['verify_all'];
 if ($verify_all == 0) {
     tpl_set_var('hide_flag', '<p><img src="tpl/stdstyle/images/blue/arrow2.png" alt="" align="middle" />&nbsp;&nbsp;<a href="admin_users.php?userid=' . $user_id . '&amp;verify_all=1"><font color="#ff0000">' . tr('admin_users_verify_all') . '</font></a>&nbsp;<img src="' . $stylepath . '/images/blue/atten-red.png" align="top" alt="" /></p>');