virt2/api/code/m_admin_comments.php

5 lines
193 B
PHP

<?php
if ($_SESSION['dostup']!=='a' && $_SESSION['dostup']!=='e')header( 'Location: /403/' );
$a['public']=0;
$smarty -> assign( 'comments', $db -> get_massiv ( 'm_tovar_comment', $a));
?>