2 # -*- coding: UTF-8 -*-
9 sys.path.append('/home/naath/familyTreeProject/familyTree')
15 [conn,form]=everyPage.top()
17 ID = form.getvalue('ID')
22 result = re.match('^[0-9]{1,4}$', str(ID))
28 printMe = askQuestion.person_info(ID,'<br>')
30 printMe = 'sorry, no data <br>'
32 url = "<a href= "+everyPage.base_url()\
33 +"ancestors.py?ID="+str(ID)+">Ancestors</a>"
34 url2 = "<a href="+everyPage.base_url()\
35 +"descendants.py?ID="+str(ID)+">Descendants</a>"
36 printMe = printMe + '<br>' + url+'<br>'+url2
38 everyPage.good(printMe)