unless ($goaction) { $goaction = 'list' ; }

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(){ \$('#list-form').submit(); })

</script>
</body>

<form role="form" name="listform" id="list-form" method="post" action="admin-$goaction-$lcpage\s">
<input type="hidden" name="iaction"          value="$goaction">
<input type="hidden" name="isaved"           value="$success">
</form>

</html>
ENDOFTEXT
#