manager update
This commit is contained in:
parent
624778cd7a
commit
b278c82228
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
include_once('../dao.php');
|
||||
$template = new Template();
|
||||
$prefix = $template->get_prefix();
|
||||
include_once($prefix.'assets/php/dao.php');
|
||||
include_once('manager.php');
|
||||
|
||||
class Manager_DAO extends DAO {
|
||||
|
@ -21,7 +21,7 @@
|
||||
$usernames = array();
|
||||
$email = array();
|
||||
$rol = array();
|
||||
|
||||
if(is_array($managers)){
|
||||
foreach($managers as $key => $value){
|
||||
$ids[$key] = $value->getId();
|
||||
$idscinemas[$key] = $value->getIdcinema();
|
||||
@ -29,7 +29,7 @@
|
||||
$email[$key] = $value->getEmail();
|
||||
$rol[$key] = $value->getRoll();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
echo "<div class='row'>
|
||||
<div class='column side'></div>
|
||||
@ -47,6 +47,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
if(is_array($managers)){
|
||||
for($i = 0; $i < count($managers); $i++){
|
||||
echo '<tr>
|
||||
<td>'. $ids[$i] .'</td>
|
||||
@ -77,6 +78,7 @@
|
||||
</tr>
|
||||
';
|
||||
}
|
||||
}
|
||||
echo'</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user