forked from syphon1c/dracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
delete_dracker_entry.php
executable file
·57 lines (45 loc) · 1.69 KB
/
delete_dracker_entry.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
<?php
/**
* Description of delete_dracker_entry.php
* version: 1.0
* package: Dracker - Track and Trace
* copyright: Copyright (C) 2013 Gareth Phillips. All rights reserved.
* license: GNU/GPL, see license.htm.
*
* This file is part of the Dracker project.
*
* Dracker is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, under version 3 of the License.
*
* Dracker is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Dracker. If not, see <http://www.gnu.org/licenses/>.
*
* @author GPhillips
**/
$include_allowed = true;
if(isset($_GET['refid'])) {
$refid=$_GET['refid'];
$logid=$_GET['logid'];
}
?>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="delDrackModalLabel">Remove Drack</h3></div>
<div class="well">
<form action="results.php?refid=<?echo $refid ?>" method="POST">
<p class="error-text">Are you sure you want to delete this specific Drack entry?</p>
<p class="error-text">This will remove only this specific instance!</p>
<div class="modal-footer">
<form action="results.php?refid=<?echo $refid ?>" method="POST">
<input type="hidden" value="<?echo $logid?>" id="logid" name="logid">
<button class="btn-flat gray" data-dismiss="modal" aria-hidden="true">Cancel</button>
<button class="btn-flat danger" >Delete</button>
</form>
</div>
</div>