Walking Club

0

v=populateField(document.spm.g_data) ; v=populateField(document.spm.g_from) ; v=populateField(document.spm.g_to) ; v=populateField(document.spm.g_total) ; v=populateField(document.spm.p_ScreenName) ; frm=document.spm; date=new Array(); year=new Array(); month=new Array(); day=new Array(); dataID=new Array(); dist=new Array(); intensity=new Array(); type=new Array(); diet=new Array(); sleep=new Array(); energy=new Array(); stress=new Array(); if(document.spm.g_data.value!=”") { data=document.spm.g_data.value.split(“n”); ndata=data.length; } else ndata=0; for(i=0;i<ndata;i++) { ar=data[i].split("|"); date[i]=ar[0]; year[i]=ar[1]; month[i]=ar[2]; day[i]=ar[3]; dataID[i]=ar[4]; dist[i]=ar[5]; intensity[i]=ar[7]; type[i]=ar[8]; diet[i]=ar[9]; sleep[i]=ar[10]; energy[i]=ar[11]; stress[i]=ar[12]; }

url=”http://rmp.tonelink.net/spm.php?Action=RunScript&scriptName=wc_viewLogDetails”; function Int(v) { v=parseFloat(v); v=Math.floor(v); return v; } function firstPage() { document.location=url + “&g_from=1″; } function previousPage() { if(frm.g_from.value<=10) { alert("There is no previous page!"); return; } document.location=url + "&g_from=" + (Int(frm.g_from.value)-10); } function nextPage() { if(frm.g_total.value-frm.g_to.value<=0) { alert("There is no next page!"); return; } document.location=url + "&g_from=" + (Int(frm.g_to.value)+1); } function lastPage() { document.location=url + "&g_from=" + (Int((frm.g_total.value-1)/10)*10+1); } function editEntry(i) { eurl="http://rmp.tonelink.net/spm.php?Action=RunScript&scriptName=wc_editEntry&distid=" + i; window.open(eurl,"editEnt" ,"resizable=0,status=0,toolbar=0,scrollbars=no,width=300,height=350,top=50,left=200"); } function delEntry(i) { eurl="http://rmp.tonelink.net/spm.php?Action=RunScript&scriptName=wc_deleteEntry&distid=" + i; window.location=eurl; } ldate=""; for(i=0;i0) { document.write(‘

‘); } ldate=date[i]; document.write( ‘
‘+ ‘ Date: ‘+ ‘ ‘ + date[i] + ‘

‘+ ‘

‘+ ‘
‘+ ‘ ‘+ ‘

‘+ ‘
‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘); } document.write(‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘+ ‘

‘); } document.write(‘

Distance Intensity Type Diet Sleep Energy Stress  
‘+dist[i]+’ ‘+ ‘ km ‘+intensity[i]+’ ‘+type[i]+’ ‘+ ‘ ‘+ ‘

‘);

Club document.write(frm.g_clubName.value); members page  

document.write(document.spm.p_ScreenName.value); ‘s personal distance log

 

 

Walks | Most recent | Next | Previous | Oldest

Close window

Leave a comment

Your email address will not be published. Required fields are marked *