def make_graph_yearly(): print '<form method="POST" action="year_graph.py">' print '<input type="hidden" name="query_option" value="yearly">' print '<td>' print '<CENTER><H2>Graph yearly data for:</H2>' print '<TABLE>' functs.form_years() functs.form_stations() functs.form_submit() print '</table></td>'
def make_daily(): print '<form method="POST" action="search.py">' print '<input type="hidden" name="query_option" value="daily">' print '<td>' print '<CENTER><H2>Search Archive by Date</H2>' print '<TABLE>' functs.form_years() functs.form_months() functs.form_days() functs.form_stations() functs.form_submit() print '</table></td>'