ÿØÿà JFIF ` ` ÿþxØ
| Server IP : 109.234.164.53 / Your IP : 216.73.216.110 Web Server : Apache System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64 User : computer3 ( 1098) PHP Version : 7.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/computer3/litsolide.com/ODLDDD_2/cp-admin/ |
Upload File : |
<?php
include_once('includes/header.php');
if(isset($_POST['submit']))
{
$requete = $bdd->prepare('INSERT INTO ' . $GLOBALS['db_table']['full_slideshows'] . ' (name) VALUE (:name)');
$requete->execute(array('name' => $_POST['name']));
echo '<script>';
echo 'window.location = "./full_slideshows.php"';
echo '</script>';
}
?>
<div class="container">
<div class="row">
<div class="span12">
<div class="page-header">
<h1>Ajout Full Slideshows
<div class="pull-right">
<a href="full_slideshows.php" class="btn btn-primary"><i class="icon-arrow-left"></i> Retour</a>
</div>
</h1>
</div>
</div>
</div>
<form action="add_full_slideshow.php" method="POST" enctype="multipart/form-data">
<div class="well general" style="margin-top:0">
<div class="control-group">
<label class="control-label" for="name">Titre :</label>
<input name="name" id="name" required type="text">
</div>
</div>
<div class="form-actions">
<div class="btn-group">
<button name="submit" type="submit" class="btn btn-success"><i class="icon-ok"></i> Enregistrer</button>
</div>
</div>
</form>
</div>
<?php
include_once('includes/footer.php');
?>