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

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

    
    
$nps $db->prepare('select * from `nps` where `name` = ?');
    
$nps -> execute([Clean :: str($_GET['name'])]);
    
$nps $nps -> fetch(PDO :: FETCH_OBJ);
    
            if(!isset(
$nps->name)){
                
redirect('/game');
                exit;
            }
    
    
echo 
$template->render('game.nps', ['nps'   =>  $nps]);
Онлайн: 0
Реклама