<%@ Language=VBScript %> <% set cn = Server.CreateObject("ADODB.Connection") cn.ConnectionTimeout = 6000000 cn.CommandTimeout = 6000000 cn.Open "DSN=kidsnet_Parent;uid=sa;PWD=sgmkj;APP=ASP Script;DATABASE=Kidsnet" Set rs = Server.CreateObject("ADODB.Recordset") rs.cursorlocation=3 rs.cursortype=3 set cn2 = Server.CreateObject("ADODB.Connection") cn2.Open "DSN=kidsnet_Parent;uid=sa;PWD=sgmkj;APP=ASP Script;DATABASE=Kidsnet" Set rs2 = Server.CreateObject("ADODB.Recordset") 'id = session("id") 'sid = session("sid") rs.Open "SELECT a.kidid,b.schedule,b.Mon,b.Tue,b.Wed,b.Thu,b.Fri,b.Sat,b.Sun,b.gmt FROM Kids as a left outer JOIN Kidonlinetime as b ON a.kidid = b.kidid where a.parentid = '"&session("id")&"'",cn rs2.Open "Select Kidid from Kids where parentID = '"&session("id")&"'",cn2 if(rs.EOF)then str = "No Kid Present" response.redirect "main.asp?info=" &str end if Dim arrayDays(6,8) 'ReDim arayDays(rs2.RecordCount,8) Dim arrayTemp if request("HourField") = "Empty" then response.end End if %> Daily    Weekly    Hrs

Online Time Manager

The Online Time Manager allows parents to specify how long children can be online
as well as create schedules of allowed and disallowed times.

 Specify the total online time on daily/weekly basis or create a daily schedule.

Specify Total Time Online

 Specify the total online time on daily/weekly basis

<% rs.movefirst do while rs.EOF = false 'if(instr(2,rs("GMT"),"+",1) > 2) then ' sign = "plus" 'end if 'if(instr(2,rs("GMT"),"-",1) > 2) then ' sign = "minus" 'end if nPos = Instr(1,rs("kidid"),"_",1) strKid = right(rs("kidid"),len(rs("kidid"))-nPos) %> <% rs.MoveNext %> <% loop %>

&HourAllowed=<%=rs("schedule")%>&Gmt=<%=rs("GMT")%>&Sign=<%=sign%>" ><%=strKid%>

<% if rs("schedule") <> "" then if right(rs("schedule"),1) = "D" Then %> Daily <%else%> Weekly <% end if%> <% Else %> No Schedule <% End if %> <% if rs("Schedule") <> "" Then %> Total Hours Allowed : <%=left(rs("Schedule"),len(rs("Schedule"))-1)%> <% else %> Schedule Not Specified <%End if%> Time Zone : <% if rs("GMT") <> " " Then %> <%=rs("GMT")%> <% else %> EMPTY <% End if %>  

Specify Daily Schedule

Specify specific time periods where Internet use is allowed. 

If you have already specified the total time allowed you can also specify
which days and time periods your children can use the hours you allow.

Child

Day 

From

To

 

 

      

Hour

Minute

Hour

Minute

  

     

     

See The Schedule You Created  Here

Here are your Online Time Manager settings

To Change a setting, Click on specified child.
 

<% rs.MoveFirst %> <% do while rs.EOF = false nPos = Instr(1,rs("kidid"),"_",1) strKid = right(rs("kidid"),len(rs("kidid"))-nPos) %> <% rs.MoveNext %> <% loop %>
Child List 

"><%=strKid%>

 

Click to return to the Main page.