-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsettings_network.php
More file actions
executable file
·59 lines (53 loc) · 1.71 KB
/
settings_network.php
File metadata and controls
executable file
·59 lines (53 loc) · 1.71 KB
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
<script>
$.post("allthefunctions.php",
{
'funct': "get_wifi_address",
'param': ""
},
function(data, status){
// alert(data);
if(data != "\"\"")
$("#wifi_address").html(data.replace(/['"]+/g, ''));
});
$.post("allthefunctions.php",
{
'funct': "get_ethernet_address",
'param': ""
},
function(data, status){
// alert(data);
if(data != "\"\"")
$("#ethernet_address").html(data.replace(/['"]+/g, ''));
});
$.post("allthefunctions.php",
{
'funct': "get_wifi_list",
'param': ""
},
function(data, status){
// alert(data);
if(data != "\"\"")
$("#wifi_list").html(data.replace(/['"]+/g, ''));
});
</script>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h3>Network Settings</h3>
<div class="clearfix"></div>
</div>
<div class="x_content">
<ul>
<h2><strong>IP Addresses</strong></h2>
<li>Ethernet address : <strong><span id="ethernet_address">No ethernet address</span></strong></li>
<li>WiFi address : <strong><span id="wifi_address">No WiFi address</span></strong></li>
</ul>
<span id="wifi_list"></span>
</div>
</div>
</div>
<br />
<br />
<br />
</div>