新的radius程序
源代码在线查看: user_admin.html.php3
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; ?>
|
相关资源 |
|
-
新的radius程序
-
用C#编写的一个新的打印程序
-
一种新的人脸识别算法程序
-
这是一个较新的伪随机数生成程序,是用汇编语言编写的,不错
-
GEP(基因表达式程序设计)是一种新的演化算法
-
这是一个生成全排列的程序,采用最小变化算法,相邻两个序列之间只有两个数的次序不同,每交换两个数,便形成一个新的序列,速度非常快.
-
石子归并问题:在一个圆形操场的四周摆放着N堆石子(N<= 100),现要将石子有次序地合并成一堆.规定每次只能选取相邻的两堆合并成新的一堆,并将新的一堆的石子数,记为该次合并的得分.编一程序,由
-
一个新的keypad的示例程序
|