Newer
Older
ournorth2021 / views / evidencias.php
LuisOlaya on 8 Apr 2021 1 KB primer
<?php
    if($_SESSION['id_user'] == "" ){
        echo '
			<script>
				window.location = "/login"
			</script>
        ';
    }

    $id = $pagina[1];

    $queryAgenda = mysqli_query($connect,"SELECT * FROM Agenda WHERE id = '".$id."' ");
    $dataAgenda = mysqli_fetch_array($queryAgenda);
 
?>


<div class="container" style="max-width: 1000px;">

	<div class="row" style="margin-top: 25px">
		
        <!-- PLAYER -->
        <div class="col-md-12" align="center" style="transition: 1s all;">
            <div style="color: #fff; font-size: 16px; padding: 15px; font-weight: bold"><?php echo $dataAgenda["actividad"];?></div>
            <div>
                <video width="100%" controls autoplay=""><source src="<?php echo $dataAgenda["evidencias"];?>" type="video/mp4"></video>
		    </div>
        </div>

</div>


<style>
    .btn-outline-light{
        width: 90%; 
        max-width: 300px;
        margin-bottom: 13px;
    }
    .pregunta{
        padding: 20px 0px;
    }
</style>