setDbDefs('test', array('id' => SQL_DEF_INT, 'num_access' => SQL_DEF_INT));
$num_access = $db->querySingleAssoc('test', array('id' => $user['id']));
if ($num_access)
$db->update('test', array('num_access' => ++$num_access['num_access']), array('id' => $user['id']));
else
$db->insert('test', array('num_access' => $num_access['num_access']=1, 'id' => $user['id']));
// Content
$c = _t('access', $num_access['num_access']).'
';*/
#$c = var_export($user,true);
$c = "
";
$_REQUEST['mid'] = 1;
$menu = new AchMenu($_REQUEST['mid'],$user['lang']);
$c .= ach_render_menu($menu);
$c .= " |
"; /*for($i=0;$i<15;$i++) { $c .= ach_render_box_done("Bejeweled"); }*/ #if($menu->isSelected()) { $cat = new AchCategory($menu->getCat(),1,$user['lang']); #} #else { # $cat = new AchSummary(12,$user['lang']); #} $c .= ach_render_category($cat); $c .= " |