diff options
author | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-04-19 22:48:21 +0200 |
---|---|---|
committer | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-04-19 22:48:21 +0200 |
commit | 7ca90af9165338c787aacee23867e592adbd0b5b (patch) | |
tree | d32d2813b8c2edb4b0568bb9aba8a409e25e63b4 /www | |
parent | b3fcd4eb76bf4b6e6bf53c3d9e197d97fc0b040e (diff) |
ajout lien ip destination
Diffstat (limited to 'www')
-rwxr-xr-x | www/html/index.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/html/index.py b/www/html/index.py index bf4face..a23a18d 100755 --- a/www/html/index.py +++ b/www/html/index.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- import mod_python -from fonctions import baseHTML, connexionBD +from fonctions import baseHTML, connexionBD, lien def index(req): req.content_type="text/html" @@ -25,7 +25,7 @@ def index(req): """<td>""" + str(i[1]) + """</td>""" + """<td>""" + str(i[2]) + """</td>""" + """<td>""" + str(i[3]) + """</td>""" + -"""<td>""" + str(i[4]) + """</td>""" + +"""<td>""" + lien('destination.py?ip=' + str(i[4]), str(i[4])) + """</td>""" + """<td>""" + str(i[5]) + """</td>""" + """<td>""" + str(i[6]) + """</td>""" + """</tr>""") |