Your IP : 216.73.216.162


Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/
Upload File :
Current File : /home/x/b/o/xbodynamge/namtation/wp-content/action_complete_seance.php.tar

home/xbodynamge/crosstraining/reservation/admin/action_complete_seance.php000060400000001203151120271160023327 0ustar00<?php
include_once('init.inc.php');

if ($_POST['type']=="creer"){


try {
    
    $transactDB = new PDO("mysql:host=".$DB_server.";dbname=".$DB_dbname, $DB_login, $DB_pass);
    $transactDB->beginTransaction();
	

    $transactDB->query("insert into reservation".$DB_prefixtable."seance_complete (salle, date, heure_debut, heure_fin, type_seance, complet) value ('".$_POST['salle']."', '".$_POST['date']."',  '".$_POST['heure_debut']."',  '".$_POST['heure_fin']."',  '".$_POST['type_seance']."', 1)");
    
    
    $transactDB->commit();
} catch (Exception $e) {
    $transactDB->rollback();
}

header('Location: page_client.php'); 
}


?>
home/xbodynamge/www/reservation/admin/action_complete_seance.php000060400000001203151124017540021272 0ustar00<?php
include_once('init.inc.php');

if ($_POST['type']=="creer"){


try {
    
    $transactDB = new PDO("mysql:host=".$DB_server.";dbname=".$DB_dbname, $DB_login, $DB_pass);
    $transactDB->beginTransaction();
	

    $transactDB->query("insert into reservation".$DB_prefixtable."seance_complete (salle, date, heure_debut, heure_fin, type_seance, complet) value ('".$_POST['salle']."', '".$_POST['date']."',  '".$_POST['heure_debut']."',  '".$_POST['heure_fin']."',  '".$_POST['type_seance']."', 1)");
    
    
    $transactDB->commit();
} catch (Exception $e) {
    $transactDB->rollback();
}

header('Location: page_client.php'); 
}


?>
home/xbodynamge/namtation/reservation/admin/action_complete_seance.php000060400000001203151146500600022436 0ustar00<?php
include_once('init.inc.php');

if ($_POST['type']=="creer"){


try {
    
    $transactDB = new PDO("mysql:host=".$DB_server.";dbname=".$DB_dbname, $DB_login, $DB_pass);
    $transactDB->beginTransaction();
	

    $transactDB->query("insert into reservation".$DB_prefixtable."seance_complete (salle, date, heure_debut, heure_fin, type_seance, complet) value ('".$_POST['salle']."', '".$_POST['date']."',  '".$_POST['heure_debut']."',  '".$_POST['heure_fin']."',  '".$_POST['type_seance']."', 1)");
    
    
    $transactDB->commit();
} catch (Exception $e) {
    $transactDB->rollback();
}

header('Location: page_client.php'); 
}


?>