<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            Error Page <small>Something wrong happened</small>
        </h3>

        <!-- BEGIN PAGE CONTENT-->
        <div class="row">
            <div class="col-md-12 page-500">
                <div class=" number">
                    500
                </div>
                <div class=" details">
                    <h3>Oops! Something went wrong.</h3>
                    <a href="{$hosturl}/controllers/index.php">
                        Back to main page</a>
                    {if $errormsg && $errormsg != ''}
                    <p>
                        {$errormsg}<br/><br/>
                        <meta http-equiv="refresh" content="{if {$controllname} neq ""}3{else}{/if};URL='{if {$controllname} neq ""}{$hosturl}/controllers/{$controllname}.php?ac=show{else}{$hosturl}{/if}'" />

                    </p>
                    
                    {else}
                    <p>
                        We are fixing it!<br/>
                        Please come back in a while.<br/><br/>
                        <meta http-equiv="refresh" content="{if {$controllname} neq ""} 3 {else}{/if};URL='{if {$controllname} neq ""}{$hosturl}/controllers/{$controllname}.php?ac=show{else}{$hosturl}{/if}'" />

                    </p>
                    {/if}
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
    <!-- BEGIN CONTENT -->
</div>
<!-- END CONTENT -->
