Вход Регистрация
Файл: wenr.online/app/user/bag.php
Строк: 2
<?php

if (!$user->isAuth()) {
    
redirect('/');
    exit;
}

    
$all $db->prepare('select * from `catBag` order by `id`');
    
$all -> execute();

echo 
$template->render('user.bag',
                                [
'all'  =>  $all->fetchAll()]    
                                    );
Онлайн: 2
Реклама