mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-24 22:20:30 +02:00
Phase 1 (en cours)
This commit is contained in:
31
server_files/views/envoyer_video.php
Normal file
31
server_files/views/envoyer_video.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
require_once "header.php";
|
||||
|
||||
if ($has_error)
|
||||
echo "<h2>Erreur : $error_message</h2>";
|
||||
elseif (isset($new_video))
|
||||
echo "<h2>Votre vidéo a bien été envoyée !</h2>";
|
||||
?>
|
||||
|
||||
<form method="POST">
|
||||
<table style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 30%;">
|
||||
<label for="link">Lien de la vidéo :</label>
|
||||
</td>
|
||||
<td style="width: 70%;">
|
||||
<input style="width: 100%;" type="url" id="link" name="link" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input style="width: 100%;" type="submit" name="upload" value="Envoyer la vidéo" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<?php require_once "footer.php";
|
Reference in New Issue
Block a user