radius server在linux下的源码

源代码在线查看: user_new.php3

软件大小: 2156 K
上传用户: liuhong22008
关键词: radius server linux 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

								if ($show == 1){					header("Location: user_admin.php3?login=$login");					exit;				}				require('../conf/config.php3');				require('../lib/attrshow.php3');				require('../lib/defaults.php3');								if ($config[general_lib_type] == 'sql' && $config[sql_use_operators] == 'true'){					$colspan=2;					$show_ops=1;				}else{					$show_ops = 0;					$colspan=1;				}								?>																New user creation page																												include("password_generator.jsc");				?>																																																																			User Preferences for new user 																																   								if ($create == 1){					if (is_file("../lib/$config[general_lib_type]/user_info.php3"))						include("../lib/$config[general_lib_type]/user_info.php3");					if ($user_exists != "no"){						echo 				The username $login already exists in the user database				EOM;					}					else{						if (is_file("../lib/$config[general_lib_type]/create_user.php3"))							include("../lib/$config[general_lib_type]/create_user.php3");						require("../lib/defaults.php3");						if (is_file("../lib/$config[general_lib_type]/user_info.php3"))							include("../lib/$config[general_lib_type]/user_info.php3");					}				}				?>				   				      				      														echo 																	Username																																								Password																											EOM;					if ($config[general_lib_type] == 'sql'){						if (isset($member_groups))							$selected[$member_groups[0]] = 'selected';						echo 																	Group																EOM;						foreach ($member_groups as $group)							echo "$group\n";										echo 																					EOM;					}					if ($config[general_lib_type] == 'ldap' ||					($config[general_lib_type] == 'sql' && $config[sql_use_user_info_table] == 'true')){						echo 																	Name (First Name Surname)																																								Mail																																								Department																																								Home Phone																																								Work Phone																																								Mobile Phone																											EOM;					}					foreach($show_attrs as $key => $desc){						$name = $attrmap["$key"];						if ($name == 'none')							continue;						$oper_name = $name . '_op';						$val = ($item_vals["$key"][0] != "") ? $item_vals["$key"][0] : $default_vals["$key"][0];						print 												$desc								EOM;										if ($show_ops)							print 												=				:=				+=				==				!=				>				>=				<				<=				=~				!~																EOM;										print 																				EOM;					}				?>																																																																	

相关资源