新的radius程序

源代码在线查看: user_admin.html.php3

软件大小: 3083 K
上传用户: tswccyt
关键词: radius 程序
下载地址: 免注册下载 普通下载 VIP

相关代码

												echo 				user information for $cn																				EOM;				if ($logged_now)					print 													var start;					var our_time;										function startcounter() 					{						var start_date = new Date();						start = start_date.getTime();						our_time = $lastlog_session_time_jvs;						showcounter();					}									function showcounter ()					{						var now_date = new Date();						var diff = now_date.getTime() - start + our_time;													var hours = parseInt(diff / 3600000);						if(isNaN(hours)) hours = 0;													var minutes = parseInt((diff % 3600000) / 60000);						if(isNaN(minutes)) minutes = 0;													var seconds = parseInt(((diff % 3600000) % 60000) / 1000);						if(isNaN(seconds)) seconds = 0;													var timeValue = " " ;						timeValue += ((hours < 10) ? "0" : "") + hours;						timeValue += ((minutes < 10) ? ":0" : ":") + minutes;						timeValue += ((seconds < 10) ? ":0" : ":") + seconds;												document.online.status.value = timeValue;						setTimeout("showcounter()", 1000);					}					//-->								EOM;								print 																																EOM;								include("../html/user_toolbar.html.php3");								print 																																																			Connection Status for $login ($cn) 																																									EOM;				if ($logged_now){					print 															User is online since										$lastlog_time															Connection Duration																									EOM;					require('../html/user_admin_userinfo.html.php3');								}else if ($not_known)  print 										This user has never connected					-									EOM;				else{					print 										User is not online now					-															Last Connection Time										$lastlog_time															Online Time										$lastlog_session_time									EOM;					require('../html/user_admin_userinfo.html.php3');				}								print 										Allowed Session										$msg															Usefull User Description										$descr																											EOM;								if (is_file("../lib/$config[general_lib_type]/password_check.php3"))					include("../lib/$config[general_lib_type]/password_check.php3");								echo 																																			Subscription Analysis 																																						-monthlyweeklydailyper session					limit$monthly_limit$weekly_limit$daily_limit$session_limit					used$monthly_used$weekly_used$daily_used$lastlog_session_time														lign=top>					daydaily limitused					sunday$daily_limit$used[0]					monday$daily_limit$used[1]					tuesday$daily_limit$used[2]					wednesday$daily_limit$used[3]					thursday$daily_limit$used[4]					friday$daily_limit$used[5]					saturday$daily_limit$used[6]																																												Account Status For The Last 7 Days 																																						Connections					$tot_conns					Online time					$tot_time					Failed Logins					$tot_badlogins					Upload					$tot_input					Download					$tot_output					Average Time					$avg_time					Average Upload					$avg_input					Average Download					$avg_output																							EOM;								if ($user_info){					echo 																															Personal Information																																																name															$cn														EOM;					if ($config[general_prefered_lang] != 'en'){						echo 															name ($config[general_prefered_lang_name])															$cn_lang														EOM;					}					echo 															department															$ou														EOM;					if ($config[general_prefered_lang] != 'en'){						echo 															department ($config[general_prefered_lang_name])															$ou_lang														EOM;					}					echo 															title															$title														EOM;					if ($config[general_prefered_lang] != 'en'){						echo 															title ($config[general_prefered_lang_name])															$title_lang														EOM;					}					echo 															address															$address														EOM;					if ($config[general_prefered_lang] != 'en'){						echo 															address ($config[general_prefered_lang_name])															$address_lang														EOM;					}					echo 															home address															$homeaddress														EOM;					if ($config[general_prefered_lang] != 'en'){						echo 															home address ($config[general_prefered_lang_name])															$homeaddress_lang														EOM;					}					echo 															phone															$telephonenumber																									home phone															$homephone																									mobile															$mobile																									fax															$fax																									home page															$url																									e-mail															$mail																									e-mail alias															$mailalt																																EOM;				}				?>																									if ($logged_now)					print 									startcounter();								EOM;				?>																			

相关资源