11 lines
268 B
PHP
11 lines
268 B
PHP
|
<?php
|
||
|
|
||
|
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 );
|
||
|
//узнаем количество обращений
|
||
|
|
||
|
?>
|