Subversion Repositories ALCASAR

Rev

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

Rev 2274 Rev 2276
Line 185... Line 185...
185
				echo " ";
185
				echo " ";
186
				echo "<TD>";		
186
				echo "<TD>";		
187
				echo "<FORM action='".$_SERVER['PHP_SELF']."' method=POST>";
187
				echo "<FORM action='".$_SERVER['PHP_SELF']."' method=POST>";
188
				# Dissociate user (... or other) who is not connected yet
188
				# Dissociate user (... or other) who is not connected yet
189
				echo "<INPUT type='hidden' name='mac_addr' value='$detail[0]'>";
189
				echo "<INPUT type='hidden' name='mac_addr' value='$detail[0]'>";
-
 
190
				exec ("grep $detail[0] /usr/local/etc/alcasar-ethers-info", $mac_in_ether_file);
190
				if (empty($mac_in_ether_file[0]))
191
				if (empty($mac_in_ether_file[1]))
191
				{
192
				{
192
					echo "<INPUT type='submit' name='action' value='$l_dissociate'>"; // Dissociate only MAC not in ether file (dhcp)
193
					echo "<INPUT type='submit' name='action' value='$l_dissociate'>"; // Dissociate only MAC not in ether file (dhcp)
193
				}
194
				}
194
				echo "<INPUT type=submit name='action' value='$l_connect'>"; // Enable temporarily @MAC access
195
				echo "<INPUT type=submit name='action' value='$l_connect'>"; // Enable temporarily @MAC access
195
				echo "</FORM></TD>";
196
				echo "</FORM></TD>";