-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.php
95 lines (81 loc) · 2.95 KB
/
demo.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
/**
* pje - PHP jquery UI editor
*
* @see https://github.com/coyote333666/pje The pje GitHub project
*
* @author Vincent Fortier <[email protected]>
* @copyright 2023 Vincent Fortier
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
require_once(FILE_HEADER);
echo('</head>');
echo('<body>');
?>
<div class='container'>
<br />
<h3 align='center'>DEMO pje - PHP Jquery UI Editor</h3><br />
<br />
<div class="col-9">
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon2"><i class="fa fa-search" aria-hidden="true"></i></span>
</div>
<input type="text" class="form-control" aria-label="Sizing example input"
aria-describedby="inputGroup-sizing-lg" placeholder="Search..." id="searchinput">
</div>
</div>
<div align='right' style='margin-bottom:5px;'>
<button type='button' name='add' id='add' class='btn btn-success btn-xs'>Add</button>
</div>
<div class='table-responsive' id='user_data'>
</div>
<div align='left' style='margin-bottom:5px;'>
Lines/page :
<select name='linesPerPage' class="lpp">
<option value='5'>5 lines</option>
<option value='10'>10 lines</option>
<option value='20'>20 lines</option>
<option value='50'>50 lines</option>
<option value='100'>100 lines</option>
<option value='500'>500 lines</option>
</select>
</div>
</div>
<div id="user_dialog" title="Add or Edit Data">
<form method="post" id="user_form">
<div class="form-group">
<label>Enter Column 1</label>
<input type="text" name="column_1" id="column_1" class="form-control" />
<span id="error_fcolumn_1" class="text-danger"></span>
</div>
<div class="form-group">
<label>Enter Column 2</label>
<input type="text" name="column_2" id="column_2" class="form-control" />
<span id="error_column_2" class="text-danger"></span>
</div>
<div class="form-group">
<label>Enter Column 3</label>
<input type="text" name="column_3" id="column_3" class="form-control" />
<span id="error_column_3" class="text-danger"></span>
</div>
<div class="form-group">
<input type="hidden" name="action" id="action" value="insert" />
<input type="hidden" name="hidden_id" id="hidden_id" />
<input type="submit" name="form_action" id="form_action" class="btn btn-info" value="Insert" />
</div>
</form>
</div>
<div id="action_alert" title="Action">
</div>
<div id="delete_confirmation" title="Confirmation">
<p>Are you sure you want to Delete this data?</p>
</div>
<?php
echo('</body>');
echo('</html>');
require(FILE_DEMO_EDITOR);
?>