db=$db; if ($_SESSION['dostup']!=='a' && $_SESSION['dostup']!=='e')header( 'Location: /403/' ); unset($a); $a['id']=1; $db->get_val('zametka', $a, 'txt'); $txt=$db->result; $smarty -> assign( 'txt', $txt ); ?>