Subversion Repositories ALCASAR

Rev

Rev 1387 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1387 Rev 1416
Line 17... Line 17...
17
$error_pin = "";
17
$error_pin = "";
18
$error_time_account = "";
18
$error_time_account = "";
19
$error_nb_essais = "";
19
$error_nb_essais = "";
20
$error_time_perm = "";
20
$error_time_perm = "";
21
$error_num_alcasar = "";
21
$error_num_alcasar = "";
-
 
22
$country_filter="";
22
 
23
 
23
# Choice of language
24
# Choice of language
24
$Language = 'en';
25
$Language = 'en';
25
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
26
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
26
	$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
27
	$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
Line 62... Line 63...
62
	$l_num_num="Numéro";
63
	$l_num_num="Numéro";
63
	$l_num_raison="Raison";
64
	$l_num_raison="Raison";
64
	$l_num_expiration="Date d'expiration";
65
	$l_num_expiration="Date d'expiration";
65
	$l_num_action="Action";
66
	$l_num_action="Action";
66
	$l_num_exist="Un compte a été créé";
67
	$l_num_exist="Un compte a été créé";
67
	$l_num_flood="Le nombre d'essais maximum a été dépacé";
68
	$l_num_flood="Le nombre d'essais maximum a été dépassé";
68
	$l_num_unlock="Effacer";
69
	$l_num_unlock="Effacer";
-
 
70
	$l_country_enable="Activer";
-
 
71
	$l_country_disable="Désactiver";
69
	$l_service_status_img_ok="Démarré";
72
	$l_service_status_img_ok="Démarré";
70
	$l_service_status_img_ko="Arrété";
73
	$l_service_status_img_ko="Arrété";
71
	
74
	
72
	$l_conf_name="Configuration : ";
75
	$l_conf_name="Configuration : ";
73
	$l_current_connect = "Connexion";
76
	$l_current_connect = "Connexion";
Line 76... Line 79...
76
	$l_tab_last = "dernier";
79
	$l_tab_last = "dernier";
77
	$l_tab_next = "suivant";
80
	$l_tab_next = "suivant";
78
	$l_tab_prev = "précédent";
81
	$l_tab_prev = "précédent";
79
	$l_tab_search = "Recherche :";
82
	$l_tab_search = "Recherche :";
80
	$l_tab_pmenu = "Affiche la page _PAGE_ sur _PAGES_";
83
	$l_tab_pmenu = "Affiche la page _PAGE_ sur _PAGES_";
81
	$l_tab_info = "Montrer _MENU_ résultat par page";
84
	$l_tab_info = "Montrer _MENU_ résultats par page";
82
	$l_tab_infoempty = "Aucun résultat";
85
	$l_tab_infoempty = "Aucun résultat";
-
 
86
 
-
 
87
	$l_country_filter = "Filtrage en cours : ";
-
 
88
	$l_country_filtering = " Filtrage par pays";
-
 
89
	$l_country_filtering_plus = " Filtrage par pays avancé";
-
 
90
	$l_phone_ban = " Numéro de téléphone bloqués";
-
 
91
	$l_country_france_ena = "Autorise les numéros français";
-
 
92
	$l_country_ue_ena = "Autorise les numéros européens";
-
 
93
	$l_country_all_ena = "Autorise tous les pays";
-
 
94
	$l_country_advanced_ena = "Autorisation personnalisé";
-
 
95
	$l_advance = "Avancé";
83
}
96
}
84
else {
97
else {
85
	$l_title = "Auto registration (SMS)";
98
	$l_title = "Auto registration (SMS)";
86
	$l_conf = "Configuration";
99
	$l_conf = "Configuration";
87
	$l_conf_actu = "Current configuration";
100
	$l_conf_actu = "Current configuration";
Line 120... Line 133...
120
	$l_num_expiration="Expiration date";
133
	$l_num_expiration="Expiration date";
121
	$l_num_action="Action";
134
	$l_num_action="Action";
122
	$l_num_exist="An account has been created";
135
	$l_num_exist="An account has been created";
123
	$l_num_flood="The number of try has been reached";
136
	$l_num_flood="The number of try has been reached";
124
	$l_num_unlock="Erase";
137
	$l_num_unlock="Erase";
-
 
138
	$l_country_enable="Enable";
-
 
139
	$l_country_disable="Disable";
125
	$l_service_status_img_ok="Running";
140
	$l_service_status_img_ok="Running";
126
	$l_service_status_img_ko="Stopped";
141
	$l_service_status_img_ko="Stopped";
127
	
142
	
128
	$l_conf_name="Configuration : ";
143
	$l_conf_name="Configuration : ";
129
	$l_current_connect = "Connection";
144
	$l_current_connect = "Connection";
Line 134... Line 149...
134
	$l_tab_prev = "previous";
149
	$l_tab_prev = "previous";
135
	$l_tab_search = "Search :";
150
	$l_tab_search = "Search :";
136
	$l_tab_pmenu = "Showing _PAGE_ to _PAGE_ of _PAGE_ entries :";
151
	$l_tab_pmenu = "Showing _PAGE_ to _PAGE_ of _PAGE_ entries :";
137
	$l_tab_info = "Show _MENU_ entries";
152
	$l_tab_info = "Show _MENU_ entries";
138
	$l_tab_infoempty = "No matching records found";
153
	$l_tab_infoempty = "No matching records found";
-
 
154
 
-
 
155
	$l_country_filter = "Current filtering : ";
-
 
156
	$l_country_filtering = " Country filtering";
-
 
157
	$l_country_filtering_plus = " Country filtering advanced";
-
 
158
	$l_phone_ban = " Phone Number banned";
-
 
159
	$l_country_france_ena = "Authorize the french numbers";
-
 
160
	$l_country_ue_ena = "Authorize european numbers";
-
 
161
	$l_country_all_ena = "Authorize all countries";
-
 
162
	$l_country_advanced_ena = "Advanced Authorization";
-
 
163
	$l_advance = "Advanced";
139
}
164
}
140
?>
165
?>
141
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
166
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
142
<HTML><!-- written by Rexy -->
167
<HTML><!-- written by Rexy -->
143
<head>
168
<head>
144
<META HTTP-EQUIV="Refresh" CONTENT="30">
169
<!--<META HTTP-EQUIV="Refresh" CONTENT="30">-->
145
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
170
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
146
<title>Auto enregistrement</title>
171
<title>Auto enregistrement</title>
147
<link rel="stylesheet" href="/css/style.css">
172
<link rel="stylesheet" href="/css/style.css">
148
<!-- DataTables CSS -->
173
<!-- DataTables CSS -->
149
<link rel="stylesheet" type="text/css" href="../../../css/jquery.dataTables.css">
174
<link rel="stylesheet" type="text/css" href="../../../css/jquery.dataTables.css">
150
<!-- jQuery -->
175
<!-- jQuery -->
151
<script type="text/javascript" charset="utf8" src="../../../js/jquery.js"></script>
176
<script type="text/javascript" charset="utf8" src="../../../js/jquery.js"></script>
152
<!-- DataTables -->
177
<!-- DataTables -->
153
<script type="text/javascript" charset="utf8" src="../../../js/jquery.dataTables.js"></script>
178
<script type="text/javascript" charset="utf8" src="../../../js/jquery.dataTables.js"></script>
154
<script type="text/javascript">
179
<script type="text/javascript">
-
 
180
function timedRefresh(timeoutPeriod) {
-
 
181
    var interval = setInterval(refreshPage, timeoutPeriod);
-
 
182
}
-
 
183
 
-
 
184
function refreshPage() {
-
 
185
    if ($("input[name=autoRefreshCheckboxes]").is(":checked")) {
-
 
186
        location.reload(true);
-
 
187
    }
-
 
188
}
-
 
189
 
155
$(document).ready( function () {
190
$(document).ready( function () {
-
 
191
 
156
    $('#table_id').DataTable({
192
    	$('#table_id').DataTable({
-
 
193
		"language": {
-
 
194
			"paginate": {
-
 
195
			"sFirst": "<?php echo $l_tab_first; ?>",
-
 
196
			"sLast": "<?php echo $l_tab_last; ?>",
-
 
197
			"sPrevious": "<?php echo $l_tab_prev; ?>",
-
 
198
			"sNext": "<?php echo $l_tab_next; ?>"
-
 
199
			},
-
 
200
            "lengthMenu": "<?php echo $l_tab_info; ?>",
-
 
201
            "zeroRecords": "<?php echo $l_tab_infoempty; ?>",
-
 
202
            "info": "<?php echo $l_tab_pmenu; ?>",
-
 
203
            "infoEmpty": "<?php echo $l_tab_infoempty; ?>",
-
 
204
			"sSearch": "<?php echo $l_tab_search; ?>"
-
 
205
        }
-
 
206
	});
-
 
207
 
-
 
208
	$('#table_country').DataTable({
157
		"language": {
209
		"language": {
158
			"paginate": {
210
			"paginate": {
159
			"sFirst": "<?php echo $l_tab_dirst; ?>",
211
			"sFirst": "<?php echo $l_tab_first; ?>",
160
			"sLast": "<?php echo $l_tab_last; ?>",
212
			"sLast": "<?php echo $l_tab_last; ?>",
161
			"sPrevious": "<?php echo $l_tab_prev; ?>",
213
			"sPrevious": "<?php echo $l_tab_prev; ?>",
162
			"sNext": "<?php echo $l_tab_next; ?>"
214
			"sNext": "<?php echo $l_tab_next; ?>"
163
			},
215
			},
164
            "lengthMenu": "<?php echo $l_tab_info; ?>",
216
            "lengthMenu": "<?php echo $l_tab_info; ?>",
Line 166... Line 218...
166
            "info": "<?php echo $l_tab_pmenu; ?>",
218
            "info": "<?php echo $l_tab_pmenu; ?>",
167
            "infoEmpty": "<?php echo $l_tab_infoempty; ?>",
219
            "infoEmpty": "<?php echo $l_tab_infoempty; ?>",
168
			"sSearch": "<?php echo $l_tab_search; ?>"
220
			"sSearch": "<?php echo $l_tab_search; ?>"
169
        }
221
        }
170
	});
222
	});
-
 
223
 
-
 
224
	$(".showhide-div_country").slideUp("slow");	
-
 
225
	$(".showhide-div_ban").slideUp("slow");
-
 
226
	$(".showhide-div_country_plus").slideUp("slow");
-
 
227
 
-
 
228
	$(".showhide-but_country").on("click", function(){
-
 
229
	    $(".showhide-div_country").slideToggle("slow");
-
 
230
	});
-
 
231
 
-
 
232
	$(".showhide-but_country_plus").on("click", function(){
-
 
233
	    $(".showhide-div_country_plus").slideToggle("slow");
-
 
234
	});
-
 
235
 
-
 
236
	$(".showhide-but_ban").on("click", function(){
-
 
237
	    $(".showhide-div_ban").slideToggle("slow");
-
 
238
	});
-
 
239
 
171
} );
240
} );
172
</script>
241
</script>
173
</head>
242
</head>
174
<body>
243
<body onload="JavaScript:timedRefresh(30000);">
175
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
244
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
176
<?php
245
<?php
177
echo "
246
echo "
178
	<tr>
247
	<tr>
179
		<th>$l_title</th>
248
		<th>$l_title</th>
Line 181... Line 250...
181
	<tr bgcolor=\"#FFCC66\">
250
	<tr bgcolor=\"#FFCC66\">
182
		<td><img src=\"/images/pix.gif\" width=\"1\" height=\"2\"></td>
251
		<td><img src=\"/images/pix.gif\" width=\"1\" height=\"2\"></td>
183
	</tr>
252
	</tr>
184
	</TABLE>
253
	</TABLE>
185
	<br />
254
	<br />
186
	$l_autorefresh	
255
	<input type='checkbox' checked='checked' name='autoRefreshCheckboxes' >".$l_autorefresh."</input>	
187
	";
256
	";
188
 
257
 
189
?>
258
?>
190
<center>
259
<center>
191
<br /><br />
260
<br /><br />
Line 547... Line 616...
547
 
616
 
548
		exec("sudo $script --unlock_num $numero");
617
		exec("sudo $script --unlock_num $numero");
549
		header('Location: autoregistration.php');
618
		header('Location: autoregistration.php');
550
	}
619
	}
551
 
620
 
-
 
621
	# Edition etat pays
-
 
622
	if(isset($_GET['country_select'])){
-
 
623
		$country=utf8_decode($_GET['country_select']);
-
 
624
		exec("sudo $script --change_country $country");
-
 
625
		exec("sudo $script --change_country_filter advance");
-
 
626
		header('Location: autoregistration.php');
-
 
627
	}
-
 
628
 
-
 
629
	if(isset($_GET['b_france_enable'])){
-
 
630
		exec("sudo $script --change_country_dis_all");
-
 
631
		exec("sudo $script --change_country France");
-
 
632
		exec("sudo $script --change_country_filter fr");
-
 
633
		header('Location: autoregistration.php');
-
 
634
	}
-
 
635
 
-
 
636
	if(isset($_GET['b_ue_enable'])){
-
 
637
		exec("sudo $script --change_country_dis_all");
-
 
638
		$array_ue = array("Allemagne","Autriche","Belgique","Bulgarie","Chypre","Croatie","Danemark","Espagne","Estonie","Finlande","France","Grece","Hongrie","Irlande","Italie","Lettonie","Lituanie","Luxembourg","Malte","Pays-Bas"," Pologne","Portugal","Republique Tcheque","Roumanie","Angleterre","Slovaquie","Slovenie","Suede");
-
 
639
		foreach ($array_ue as $pays){
-
 
640
			exec("sudo $script --change_country $pays");
-
 
641
		}
-
 
642
		
-
 
643
		exec("sudo $script --change_country_filter ue");
-
 
644
		header('Location: autoregistration.php');
-
 
645
	}
-
 
646
 
-
 
647
	if(isset($_GET["b_country_enable"])){
-
 
648
		exec("sudo $script --change_country_ena_all");		
-
 
649
		exec("sudo $script --change_country_filter all");
-
 
650
		header('Location: autoregistration.php');
-
 
651
	}
-
 
652
 
-
 
653
	if(isset($_GET["b_country_disable"])){
-
 
654
		exec("sudo $script --change_country_dis_all");
-
 
655
		header('Location: autoregistration.php');
-
 
656
	}
552
 
657
 
553
 
658
 
554
	#Si une clé 3g est plugué
659
	#Si une clé 3g est plugué
555
	echo "<form action=\"autoregistration.php\" methode=\"GET\">
660
	echo "<form action=\"autoregistration.php\" methode=\"GET\">
556
			
661
			
Line 618... Line 723...
618
		<tr><td colspan=\"4\"><font color=red><b>$error_time_perm</b></font></td></tr>
723
		<tr><td colspan=\"4\"><font color=red><b>$error_time_perm</b></font></td></tr>
619
		
724
		
620
		
725
		
621
		</tr>
726
		</tr>
622
		</table>
727
		</table>
623
		</form>";		
728
		</form>";
624
	
729
 
625
	
730
	
626
	require('/etc/freeradius-web/config.php');
731
	require('/etc/freeradius-web/config.php');
627
 
732
 
628
	if (is_file("../../../pass/sql/drivers/$config[sql_type]/functions.php"))
733
	if (is_file("../../../pass/sql/drivers/$config[sql_type]/functions.php"))
629
		include_once("../../../pass/sql/drivers/$config[sql_type]/functions.php");
734
		include_once("../../../pass/sql/drivers/$config[sql_type]/functions.php");
630
	else{
735
	else{
631
		echo "<b>Could not include SQL library</b>\n";
736
		echo "<b>Could not include SQL library</b>\n";
632
		exit();
737
		exit();
633
	}
738
	}	
634
 
-
 
635
 
739
 
636
	$con = mysqli_connect("$config[sql_server]","$config[sql_username]","$config[sql_password]","gammu");
740
	$con = mysqli_connect("$config[sql_server]","$config[sql_username]","$config[sql_password]","gammu");
637
 
741
 
638
	if(mysqli_connect_errno())
742
	if(mysqli_connect_errno())
639
	{
743
	{
640
		echo "Fail to connect to $config[sql_type]" . mysqli_connect_error();
744
		echo "Fail to connect to $config[sql_type]" . mysqli_connect_error();
641
	}
745
	}
642
 
746
 
-
 
747
 
643
	$result = mysqli_query($con, "SELECT * FROM SMS_ban_perm");
748
	# Country table
644
 
749
 
645
?>
750
?>
-
 
751
 
-
 
752
	<div style="border-radius: 5px; background: #BDBDBD; margin-top: 15px;">
-
 
753
		 <span class="showhide-but_country"><?php echo "<strong>$l_country_filtering<strong>" ?><img src="/images/down2.gif" width="15" height="15"></span>
-
 
754
 
646
	<table id="table_id" class="display">
755
		<div class="showhide-div_country">
647
		<thead>
756
		<br />
-
 
757
			<table width=100% style="background: #BDBDBD;">
648
			<tr>
758
			<tr>
-
 
759
				<?php 
649
				<th><b><font color="black"><?php echo $l_num_num; ?></font></b></th>
760
					$result_country_filter = mysqli_query($con, "SELECT id FROM SMS_country WHERE name = 'FILTRAGE'");
650
				<th><b><font color="black"><?php echo $l_num_raison; ?></font></b></th>
761
					$row = mysqli_fetch_array($result_country_filter);
-
 
762
 
-
 
763
					if($row['id'] == "advance") {
651
				<th><b><font color="black"><?php echo $l_num_expiration; ?></font></b></th>
764
						$country_filter = $l_country_advanced_ena;
-
 
765
					} elseif($row['id'] == "ue") {
-
 
766
						$country_filter = $l_country_ue_ena;
-
 
767
					} elseif($row['id'] == "fr") {
652
				<th><b><font color="black">Action</font></b></th>
768
						$country_filter = $l_country_france_ena;
-
 
769
					} elseif($row['id'] == "all") {
-
 
770
						$country_filter = $l_country_all_ena;
-
 
771
					} else {
-
 
772
						$country_filter = "Err.";
-
 
773
					}
-
 
774
				?>
-
 
775
				<td colspan="3" align="center"><strong><?php echo $l_country_filter; ?></strong><font size="3" color="red"><?php echo $country_filter; ?></font></td>
653
			</tr>
776
			</tr>
654
		</thead>
-
 
655
		<tbody>
-
 
656
	<?php 
-
 
657
	while($row = mysqli_fetch_array($result))
-
 
658
	{
-
 
659
		echo "	
-
 
660
			<tr>
777
			<tr>
661
			<form action=\"autoregistration.php\" methode=\"POST\">
778
				<form action="autoregistration.php" methode="POST">
662
			<td>
-
 
663
				<input type=\"hidden\" name=\"num_select\" value=\"" .$row['SenderNumber']."\">	
779
					<td align="center" width=33%><button type="submit" name="b_france_enable"><?php echo "$l_country_france_ena" ?></button></td>
664
				".$row['SenderNumber']."
-
 
665
			</td>";
-
 
666
		
-
 
667
		if($row['Perm']=='0')
-
 
668
		{
-
 
669
			echo "<td>$l_num_exist</td>";
-
 
670
		}
-
 
671
		if($row['Perm']=='1')
-
 
672
		{
-
 
673
			echo "<td>$l_num_flood</td>";
-
 
674
		}
-
 
675
		echo "	<td>" . $row['Expiration']. "</td>
780
					<td align="center" width=34%><button type="submit" name="b_ue_enable"><?php echo "$l_country_ue_ena" ?></button></td>
676
				<td>
-
 
677
					<input type='submit' value='".$l_num_unlock."'>
781
					<td align="center" width=33%><button type="submit" name="b_country_enable"><?php echo "$l_country_all_ena" ?></button></td>
678
				</td>
-
 
679
				</form>
782
				</form>
680
			</tr>
783
			</tr>	
-
 
784
			</table>
-
 
785
			<div style="border-radius: 5px; background: #D8D8D8; margin: 15px;">
-
 
786
			<span class="showhide-but_country_plus"><?php echo "<strong>$l_country_filtering_plus<strong>" ?> <img src="/images/down2.gif" width="15" height="15"></span>
-
 
787
				<div class="showhide-div_country_plus">
-
 
788
				<table id="table_country" class="display">
-
 
789
					<thead>
-
 
790
						<tr>
-
 
791
							<th><b><font color="black">Pays</font></b></th>
-
 
792
							<th><b><font color="black">code</font></b></th>
-
 
793
							<th><b><font color="black">Etat</font></b></th>
-
 
794
						</tr>
-
 
795
					</thead>
-
 
796
					<tbody>
-
 
797
						<?php 
-
 
798
 
-
 
799
						$result_country = mysqli_query($con, "SELECT * FROM SMS_country WHERE name != 'FILTRAGE'");
-
 
800
						while($row = mysqli_fetch_array($result_country))
-
 
801
						{
-
 
802
						echo "	
-
 
803
						<tr>
-
 
804
						<form action=\"autoregistration.php\" methode=\"POST\">
-
 
805
						<td>
-
 
806
							<input type=\"hidden\" name=\"country_select\" value=\"" .$row['name']."\">	
-
 
807
							".$row['name']."
-
 
808
						</td>
-
 
809
						<td>".$row['id']."</td>
681
			";
810
						";
682
	}
811
			
-
 
812
						if($row['status']=='0')
-
 
813
						{
-
 
814
							echo "<td><input type='image' src=\"/images/state_error.gif\" width=\"15\" height=\"15\"></td>";
-
 
815
						}
-
 
816
						if($row['status']=='1')
-
 
817
						{
-
 
818
							echo "<td><input type='image' src=\"/images/state_ok.gif\" width=\"15\" height=\"15\"></td>";
-
 
819
						}
-
 
820
						echo "	</form>
-
 
821
							</tr>
-
 
822
							";
-
 
823
						}
-
 
824
						?>
-
 
825
					</tbody>
-
 
826
				</table>
-
 
827
				</div>
-
 
828
			</div>
-
 
829
		</div>	
-
 
830
	</div>
-
 
831
<?php 
-
 
832
	$result = mysqli_query($con, "SELECT * FROM SMS_ban_perm");
-
 
833
 
683
	?>
834
?>
-
 
835
 
-
 
836
<div style="border-radius: 5px; background: #BDBDBD; margin-top: 15px;">
-
 
837
		<span class="showhide-but_ban"><?php echo "<strong>$l_phone_ban</strong>" ?><img src="/images/down2.gif" width="15" height="15"></span>
-
 
838
 
-
 
839
		<div class="showhide-div_ban">
-
 
840
	
-
 
841
			<table id="table_id" class="display">
-
 
842
				<thead>
-
 
843
					<tr>
-
 
844
						<th><b><font color="black"><?php echo $l_num_num; ?></font></b></th>
-
 
845
						<th><b><font color="black"><?php echo $l_num_raison; ?></font></b></th>
-
 
846
						<th><b><font color="black"><?php echo $l_num_expiration; ?></font></b></th>
-
 
847
						<th><b><font color="black">Action</font></b></th>
-
 
848
					</tr>
-
 
849
				</thead>
-
 
850
				<tbody>
-
 
851
					<?php 
-
 
852
					while($row = mysqli_fetch_array($result))
-
 
853
					{
-
 
854
					echo "	
-
 
855
						<tr>
-
 
856
						<form action=\"autoregistration.php\" methode=\"POST\">
-
 
857
						<td>
-
 
858
							<input type=\"hidden\" name=\"num_select\" value=\"" .$row['SenderNumber']."\">	
-
 
859
							".$row['SenderNumber']."
-
 
860
						</td>";
-
 
861
		
-
 
862
					if($row['Perm']=='0')
-
 
863
					{
-
 
864
						echo "<td>$l_num_exist</td>";
-
 
865
					}
-
 
866
					if($row['Perm']=='1')
-
 
867
					{
-
 
868
						echo "<td>$l_num_flood</td>";
-
 
869
					}
-
 
870
					echo "	<td>" . $row['Expiration']. "</td>
-
 
871
							<td>
-
 
872
								<input type='submit' value='".$l_num_unlock."'>
-
 
873
							</td>
-
 
874
							</form>
-
 
875
						</tr>
-
 
876
						";
-
 
877
					}
-
 
878
					?>
684
		</tbody>
879
				</tbody>
685
	</table>
880
			</table>
-
 
881
		</div>
-
 
882
	</div>
686
<?php
883
<?php
687
	mysqli_close($con);
884
	mysqli_close($con);
688
	}
885
	}
689
?>
886
?>
690
</html>
887
</html>