<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
	<meta name="viewport" content="user-scalable=0; initial-scale=1.0; width=device-width; maximum-scale=1.0;">
    <!--   <meta content="IE=edge" http-equiv="X-UA-Compatible"> -->
    <link href="ico/favicon.ico" rel="shortcut icon">
    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="<?php echo e(asset('front/css/bootstrap.css')); ?>">

    <!-- Custom styles for this template -->
    <link rel="stylesheet" href="<?php echo e(asset('front/css/style.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('front/css/typicons.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('front/css/font-awesome.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('front/js/tip/tooltipster.css')); ?>">
    <script type='text/javascript' src="<?php echo e(asset('front/js/jquery.js')); ?>"></script>
	<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css')); ?>"/>
</head>
<body>
            <!-- CONTENT -->
                <div class="row">
                    <div class="col-lg-12">
                        <div class="box">
                            <div class="box-header">
                                <!-- tools box -->
                                <div class="pull-right box-tools">
                                </div>
                                <h3 class="box-title"><i class="fontello-th-large"></i>
                                    <span><strong><?php echo e($type); ?></strong></span>
                                </h3>
                            </div>
                            <!-- /.box-header -->
                            <div class="box-body">
                                <!-- /.box-body -->
                                <div class="row">
                                    <div class="col-md-12">
                                        <table class="table table-striped table-bordered table-hover" id="table_one_list">
                                        <thead>
                                        <tr>
                                            <th width=30%>
                                                連結
                                            </th>
                                            <th>
                                                 說明
                                            </th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        <?php foreach($convinient as $one): ?>
                                        <tr class="odd gradeX">
                                            <td>
												<a href="<?php echo e($one->link); ?>"><?php echo e($one->title); ?></a><br>
                                            </td>
                                            <td>
                                                <?php echo e($one->content); ?>

                                            </td>
                                        </tr>
                                        <?php endforeach; ?>
                                        </tbody>
                                        </table>
                                    </div>
                                </div>

                            </div>
                            <!-- /.box-body -->
                        </div>
                        <!-- /.box -->
                    </div>
                </div>
            <!-- #/paper bg -->


<script type="text/javascript" src="<?php echo e(asset('assets/global/plugins/datatables/media/js/jquery.dataTables.min.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js')); ?>"></script>


<script type="text/javascript">
$(document).ready(function(){
    $('#table_one_list').dataTable({
        // Internationalisation. For more info refer to http://datatables.net/manual/i18n
        "language": {
            "aria": {
                "sortAscending": ": activate to sort column ascending",
                "sortDescending": ": activate to sort column descending"
            },
            "emptyTable": "此列表目前沒有資料",
            "info": "顯示第 _START_ 到第 _END_ 則 共有 _TOTAL_ 則",
            "infoEmpty": "沒有找到符合的資料",
            "infoFiltered": "(從 _MAX_ 筆資料中過濾)",
            "lengthMenu": "顯示 _MENU_ 則",
            "search": "快速篩選:",
            "zeroRecords": "目前沒有任何資料",
            "paginate": {
                "previous":"上一頁",
                "next": "下一頁",
                "last": "最後",
                "first": "最前"
            }
        },
        "lengthMenu": [
            [10, 20, 50, -1],
            [10, 20, 50, "All"] // change per page values here
        ],
        // set the initial value
        "pageLength": 10,
        "pagingType": "bootstrap_full_number"
    });
});
</script>


</body>

</html>
