print <<ENDOFTEXT;
<!DOCTYPE html>
<html lang="en">
<head>    
    <meta charset="utf-8">
    <title>$useropts{title}</title>
    <script src="$useropts{'bower_components'}/jquery/jquery.min.js"></script>   
</head>
<body>
<script>

\$(document).ready(function(){ \$('#activetickets').submit(); })

</script>
</body>

<form role="form" id="activetickets" method="post" action="/active-tickets">
<input type="hidden" name="iaction" value="active">
</form>

</html>
ENDOFTEXT
#