debug
This commit is contained in:
parent
ce47b5b766
commit
2925084c7c
@ -72,7 +72,7 @@ class formAddPromotion extends Form{
|
||||
}
|
||||
|
||||
if (count($result) === 0) {
|
||||
$bd = new Pomotion_DAO("complucine");
|
||||
$bd = new Promotion_DAO("complucine");
|
||||
|
||||
//FALTARIA SUBIR LA IMAGEN
|
||||
$exist = $bd-> GetPromotion($code);
|
||||
|
@ -55,7 +55,7 @@ class formDeletePromotion extends Form{
|
||||
}
|
||||
|
||||
if (count($result) === 0) {
|
||||
$bd = new Pomotion_DAO("complucine");
|
||||
$bd = new Promotion_DAO("complucine");
|
||||
|
||||
//FALTARIA SUBIR LA IMAGEN
|
||||
$exist = $bd-> promotionData($id);
|
||||
|
@ -79,7 +79,7 @@ class formEditPromotion extends Form{
|
||||
}
|
||||
|
||||
if (count($result) === 0) {
|
||||
$bd = new Pomotion_DAO("complucine");
|
||||
$bd = new Promotion_DAO("complucine");
|
||||
|
||||
//FALTARIA SUBIR LA IMAGEN
|
||||
$exist = $bd-> promotionData($id);
|
||||
|
@ -42,7 +42,7 @@
|
||||
echo( $template->print_fimls());
|
||||
};
|
||||
break;
|
||||
case 'mp': require_once('manage_promotions.php');
|
||||
case 'mp':
|
||||
if(isset($_POST['edit_promotion'])) {
|
||||
$this->editPromotion();
|
||||
}
|
||||
@ -167,7 +167,7 @@
|
||||
$usernames = array();
|
||||
$email = array();
|
||||
$rol = array();
|
||||
|
||||
if(is_array($managers)){
|
||||
foreach($managers as $key => $value){
|
||||
$ids[$key] = $value->getId();
|
||||
$idscinemas[$key] = $value->getIdcinema();
|
||||
@ -175,6 +175,7 @@
|
||||
$email[$key] = $value->getEmail();
|
||||
$rol[$key] = $value->getRoll();
|
||||
}
|
||||
}
|
||||
echo "<div class='row'>
|
||||
<div class='column side'></div>
|
||||
<div class='column middle'>
|
||||
@ -191,6 +192,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
if(is_array($managers)){
|
||||
for($i = 0; $i < count($managers); $i++){
|
||||
echo '<tr>
|
||||
<td>'. $ids[$i] .'</td>
|
||||
@ -218,6 +220,7 @@
|
||||
</tr>
|
||||
';
|
||||
}
|
||||
}
|
||||
echo'</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user