<?php require_once 'init.php'; session_start(); if (!isset($_SESSION['user_id'])) { header('location: ' . $BASEURL . 'user/login'); exit; } $dal = new DataAccessLayer(); $schols = $dal->GetFinalScoring(0); foreach ($schols as $row) { print implode("\t", $row) . "\n"; }
<?php require_once 'init.php'; session_start(); if (!isset($_SESSION['user_id'])) { header('location: ' . $BASEURL . 'user/login'); exit; } $partial = $_GET['partial'] ? $_GET['partial'] : 0; $dal = new DataAccessLayer(); $schols = $dal->GetFinalScoring($partial); $rowstyleeven = 0; $ctr = 1; include "{$BASEDIR}/templates/header_review.php"; ?> <form method="post" action="<?php echo $BASEURL; ?> grid"> <h1>Applications</h1> <?php include "{$BASEDIR}/templates/admin_nav.php"; ?> <table style="width: 100%"> <tr> <th>counter</th> <th>id</th> <th>name</th> <th>email</th> <th>residence</th> <th>sex</th>