#!/usr/bin/python """ GRS by dexgod. THIS IS PROPRIETARY SOURCE CODE OF Diego Bauche The contents of this file may not be copied, modified or duplicated in any form, in whole or in part, without the prior written permission of the author. Modified: Dec 2006 grs/grs_index.py: 1.0 """ import grs_config import grs_common import sys, os, string # print "Content-type: text/html" # print grs_common.print_http_header() module_dict = grs_common.module_dict module_dict["TITLE"] = "GzF Replays" module_dict["REPLAYS_TODAY"] = grs_common.getnumreplaysToday() module_dict["REPLAYS_ALL"] = grs_common.getmaxID() registered = grs_common.resolve_cookie() module_dict["LOGIN_BOX"]=grs_common.mainHead(registered) html_data = grs_common.getHTMLData() html_data = grs_common.replaceHTMLTags(html_data,module_dict) print """%s""" % (html_data)