core/api/modules/org/index.php

9 lines
191 B
PHP
Executable File

<?php
if ( $_SESSION['dostup']!='a' ) header( 'Location: /login/' );// && $dostup!='m'
$org=\DB::getAll('SELECT * FROM `org` ORDER BY `txt`');
$smarty -> assign( 'org', $org );
?>