Esempio n. 1
0
                <div class="col-xs-12">
                    <p> <a class="btn btn-success btn-sm" href="node_add.php">添加</a> </p>
                    <div class="box">
                        <div class="box-body table-responsive no-padding">
                            <table class="table table-hover">
                                <tr>
                                    <th>ID</th>
                                    <th>节点</th>
                                    <th>加密</th>
                                    <th>描述</th>
                                    <th>排序</th>
                                    <th>操作</th>
                                </tr>
                                <?php 
$n = new \Ss\Node\Node();
$nodes = $n->AllNode();
foreach ($nodes as $rs) {
    ?>
                                    <tr>
                                        <td>#<?php 
    echo $rs['id'];
    ?>
</td>
                                        <td> <?php 
    echo $rs['node_name'];
    ?>
</td>
                                        <td> <?php 
    echo $rs['node_method'];
    ?>
</td>
Esempio n. 2
0
<?php

require_once '_main.php';
$n = new \Ss\Node\Node();
$node = $n->AllNode();
$smarty->assign('node', $node);
$smarty->display('admin/node.tpl');