KOKINIO - MANAGER
Edit File: bb567195ddc70bf9f4fb57554b11b7fc
<div id="testigo" class="block"> <div class="block-title"> <div class="block-options pull-right"> <a onclick="socialRedes.closeTestigo(this)" class="btn btn-alt btn-sm btn-default" data-toggle="tooltip" title="" data-original-title="Delete"><i class="fa fa-times"></i></a> </div> <h2> <strong>Testigo</strong> </h2> </div> <?php if(isset($objTestigo)): ?> <?php foreach( $objTestigo as $val => $value ): ?> <div class="row"> <div class="col-sm-4 block-section text-center"> <h4 class="sub-header"><?php echo Helper::mark($value->actors->name,$objFind['busqueda']); ?></h4> <?php if($value->ext == 'jpg' | $value->ext == 'png' ): ?> <img src=' <?php echo e(URL::to("/").str_replace("/var/www/Electoral","",$value->path)); ?>' class="img-responsive" alt="image"> <h4 class="sub-header"></h4> <label class="group">Opciones </label> <div class="btn-group btn-group-sm"> <a href="javascript:void(0)" class="btn btn-alt btn-sm btn-default dropdown-toggle enable-tooltip" data-toggle="dropdown" title="" data-original-title="Options" aria-expanded="false"><span class="caret"></span></a> <ul class="dropdown-menu dropdown-custom dropdown-menu-right"> <li> <a href="<?php echo e(URL::to("/").str_replace("/var/www/Electoral","",$value->path)); ?>" download="Testigo.jpg"><i class="fa fa-picture-o pull-right"></i>Descargar JPG</a> <a href="<?php echo e(URL::to("/").str_replace("/var/www/Electoral","",$value->path)); ?>" download="Testigo.png"><i class="fa fa-picture-o pull-right"></i>Descargar PNG</a> </li> </ul> </div> <?php elseif($value->ext == 'mp4'): ?> <video class="col-md-12 col-sm-4 group" src=" <?php echo e(URL::to("/").str_replace("/var/www/Electoral","",$value->path)); ?>" controls autoplay ></video> <h4 class="sub-header"></h4> <label class="group">Opciones </label> <div class="btn-group btn-group-sm"> <a href="javascript:void(0)" class="btn btn-alt btn-sm btn-default dropdown-toggle enable-tooltip" data-toggle="dropdown" title="" data-original-title="Options" aria-expanded="false"><span class="caret"></span></a> <ul class="dropdown-menu dropdown-custom dropdown-menu-right"> <li> <a href="<?php echo e(URL::to("/").str_replace("/var/www/Electoral","",$value->path)); ?>" download="Video.mp4"><i class="fa fa-picture-o pull-right"></i>Descargar MP4</a> <a href="<?php echo e(URL::to("/").str_replace("/var/www/Electoral","",$value->path)); ?>" download="Video.wma"><i class="fa fa-picture-o pull-right"></i>Descargar WMA</a> </li> </ul> </div> <?php endif; ?> </div> <div class="col-sm-4 block-section text-center"> <?php if($sqlactors != []): ?> <h4 class="sub-header">Actores Relacionados y Calificación</h4> <table class="table table-vcenter table-striped"> <?php foreach($sqlactors as $score): ?> <tr> <td> <span><?php echo e($score->name); ?><span> </td> <td> <span style="color:<?php echo e(Helper::colorCal($score->score)); ?>"><?php echo e(Helper::determinaCals($score->score)); ?></span> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <?php if($instituciones != []): ?> <h4 class="sub-header">Instituciones Relacionadas y Calificación</h4> <table class="table table-vcenter table-striped"> <?php foreach($instituciones as $score): ?> <tr> <td> <span><?php echo e($score->name); ?><span> </td> <td> <span style="color:<?php echo e(Helper::colorCal($score->score)); ?>"><?php echo e(Helper::determinaCals($score->score)); ?></span> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <?php if($value->tags != []): ?> <h4 class="sub-header">Tags Relacionados</h4> <table class="table table-vcenter table-striped"> <tr> <?php foreach($value->tags as $tags): ?> <td><span class="btn btn-sm btn-primary" data-palabra="<?php echo e($objFind['busqueda']); ?>" onclick="socialRedes.searchTag(this)" ><?php echo Helper::mark($tags->name,$objFind['busqueda']); ?><span></td> <?php endforeach; ?> </tr> </table> <?php endif; ?> </div> <div class="col-sm-4 block-section text-center"> <h4 class="sub-header">Descripción</h4> <div class="block"> <h6>Fecha: <strong><?php echo e($value->date_event); ?></strong></h6> <span> <?php echo Helper::mark($value->description,$objFind['busqueda']); ?> </span> </div> </div> </div> <?php endforeach; ?> <?php else: ?> <h2>Error al Cargar el Testigo</h2> </div> <?php endif; ?>