
<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">

        <title><?php echo trans("Myadmin::layout.title"); ?> - 後台管理</title>
        <link rel="stylesheet" href="<?php echo App::make("myadmin")->asset('/bootstrap/css/bootstrap.min.css'); ?>" type="text/css" media="screen" charset="utf-8"> 
        <link rel="stylesheet" type="text/css" title="Style" href="<?php echo App::make("myadmin")->asset('/jquery-ui/jquery-ui.css'); ?>"/>
        <script src="<?php echo App::make("myadmin")->asset('/js/jquery.min.js'); ?>" type="text/javascript" charset="utf-8">
        </script>
        <script src="<?php echo App::make("myadmin")->asset('/jquery-ui/jquery-ui.js'); ?>"></script>
        </script>
        <script src="<?php echo App::make("myadmin")->asset('/bootstrap/js/bootstrap.min.js'); ?>" type="text/javascript" charset="utf-8">
        </script>
        <script type="text/javascript" charset="utf-8">
            $(document).ready(function(){
                $("form .delete").click(function(){
                    return confirm("<?php echo trans('Myadmin::layout.whether_to_delete'); ?>");
                });
            });
        </script>
        <?php $__env->startSection('header'); ?>
        <?php echo $__env->yieldSection(); ?>
        <style type="text/css" media="screen">
            body{
                padding-bottom:60px;
            }
            .help-inline{
                color:#c09853;
            }
            #header{
                background:#8d1c22;
                height:95px;
                border-bottom:2px solid #ffc006;
                margin-bottom:140px;
            }
            #nav a{
                color:#ffc310;
            }
            #nav a:hover{
                color:#fff;
                background:#ffc310;
            }
            #nav{
                margin-top:42px;
            }

            #content{
                border:2px solid #8d1c22;
            }
            .nametag{
                background:#f6c900;
                display:inline;
                padding:20px;
                letter-spacing:2px;
                font-size:200%;
                font-weight:bold;
                text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
                color:#8d1c22;
            }
        </style>

    </head>
    <body>
        <nav id="header" class="navbar" role="navigation">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="<?php echo action("ArticleController@index"); ?>">
                    <img src="<?php echo App::make("myadmin")->asset('images/logo.png'); ?>">
                    <img src="<?php echo App::make("myadmin")->asset('images/subtitle.png'); ?>">
                </a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul id="nav" class="nav navbar-nav navbar-right">
                    <?php $__env->startSection('menu'); ?>
                        <?php if(isset($level)): ?>
                            <?php if($level == "最高管理員"): ?> 
                                <li><a href="<?php echo action("ProductController@index"); ?>">產品系統</a></li>
                                <li><a href="<?php echo URL::to('admin/user/manage'); ?>">客服系統</a></li>
                            <?php elseif($level == "客服人員"): ?> 
                                <li><a href="<?php echo URL::to('admin/user/manage'); ?>">客服系統</a></li>
                            <?php elseif($level == "會計人員"): ?> 
                                <li><a href="<?php echo action("ProductController@index"); ?>">產品系統</a></li>
                            <?php elseif($level == "退換貨人員"): ?> 
                                <li><a href="<?php echo action("ProductController@index"); ?>">產品系統</a></li>
                            <?php endif; ?>
                        <?php endif; ?>
                    <?php echo $__env->yieldSection(); ?>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
        </nav>

    <div id="content" class="container">
        <?php $__env->startSection('content'); ?>
        <?php echo $__env->yieldSection(); ?>
    </div>
    <footer>
        <hr>
        <div class="container">
            <a href="#">Architech design © 2014</a>
        </div>
    </footer>
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function(){
            <?php $__env->startSection('js-snippet'); ?>
            <?php echo $__env->yieldSection(); ?>
        });
    </script>
    </body>
</html>

