-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0_del_confirm.php
68 lines (60 loc) · 5.34 KB
/
0_del_confirm.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
require_once("./0_connect.php");
if ($database=="") require_once("./0_baseselector.php");
require_once("./0_connect_db.php");
require_once("./0_tables_sql_commun.php");
/* ########### GET ########### */
$arr = array("i", "h", "f", "e");
foreach ($arr as &$value) {
$$value= isset($_GET[$value]) ? htmlentities($_GET[$value]) : "" ;
}
$quick= ( isset($_GET["quick_page"]) ) ? "quick_page=".$_GET["quick_page"]."&quick_name=".$_GET["quick_name"]."&" : "";
/*
██╗ ██╗██╗███████╗████████╗ ██████╗ ██████╗ ██╗ ██████╗ ██╗ ██╗███████╗
██║ ██║██║██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗██║██╔═══██╗██║ ██║██╔════╝
███████║██║███████╗ ██║ ██║ ██║██████╔╝██║██║ ██║██║ ██║█████╗
██╔══██║██║╚════██║ ██║ ██║ ██║██╔══██╗██║██║▄▄ ██║██║ ██║██╔══╝
██║ ██║██║███████║ ██║ ╚██████╔╝██║ ██║██║╚██████╔╝╚██████╔╝███████╗
╚═╝ ╚═╝╚═╝╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚══▀▀═╝ ╚═════╝ ╚══════╝
*/
if ($h!="") {
echo "<form method=\"post\" action=\"?".$quick."i=".$i."\">";
echo "<p style=\"text-align:center\"><strong>Vous êtes sur le point de supprimer une entrée du journal. Attention, une fois confirmée, la suppression est définitive.</strong></p>";
echo "<p style=\"text-align:center\"><input name='del_h_confirm' value='Confirmer la suppression' type='submit'\"> <input name='del_h_confirm' value='Annuler' type='submit'\"></p>";
echo "<input value=\"".$h."\" name=\"h\" type=\"hidden\">\n";
echo "<input id=\"BASE\" name=\"BASE\" type=\"hidden\" value=\"$database\">";
echo "</form>";
}
/*
███████╗██╗ ██████╗██╗ ██╗██╗███████╗██████╗
██╔════╝██║██╔════╝██║ ██║██║██╔════╝██╔══██╗
█████╗ ██║██║ ███████║██║█████╗ ██████╔╝
██╔══╝ ██║██║ ██╔══██║██║██╔══╝ ██╔══██╗
██║ ██║╚██████╗██║ ██║██║███████╗██║ ██║
╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝╚══════╝╚═╝ ╚═╝
*/
if ($f!="") {
echo "<form method=\"post\" action=\"?".$quick."i=".$i."\">";
echo "<p style=\"text-align:center\"><strong>Vous êtes sur le point de supprimer un fichier. Attention, une fois confirmée, la suppression est définitive.</strong></p>";
echo "<p style=\"text-align:center\"><input name='del_f_confirm' value='Confirmer la suppression' type='submit'\"> <input name='del_f_confirm' value='Annuler' type='submit'\"></p>";
echo "<input value=\"".$f."\" name=\"f\" type=\"hidden\">\n";
echo "<input id=\"BASE\" name=\"BASE\" type=\"hidden\" value=\"$database\">";
echo "</form>";
}
/*
███████╗███╗ ██╗████████╗██████╗ ███████╗████████╗██╗███████╗███╗ ██╗
██╔════╝████╗ ██║╚══██╔══╝██╔══██╗██╔════╝╚══██╔══╝██║██╔════╝████╗ ██║
█████╗ ██╔██╗ ██║ ██║ ██████╔╝█████╗ ██║ ██║█████╗ ██╔██╗ ██║
██╔══╝ ██║╚██╗██║ ██║ ██╔══██╗██╔══╝ ██║ ██║██╔══╝ ██║╚██╗██║
███████╗██║ ╚████║ ██║ ██║ ██║███████╗ ██║ ██║███████╗██║ ╚████║
╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝
*/
if ($e!="") {
echo "<form method=\"post\" action=\"?".$quick."i=".$i."\">";
echo "<p style=\"text-align:center\"><strong>Vous êtes sur le point de supprimer un entretien. Attention, une fois confirmée, la suppression est définitive.</strong></p>";
echo "<p style=\"text-align:center\"><input name='del_e_confirm' value='Confirmer la suppression' type='submit'\"> <input name='del_e_confirm' value='Annuler' type='submit'\"></p>";
echo "<input value=\"".$e."\" name=\"e_del\" type=\"hidden\">\n";
echo "<input id=\"BASE\" name=\"BASE\" type=\"hidden\" value=\"$database\">";
echo "</form>";
}
?>