Exemple #1
0
<?php

$settingObj = new Cores\Models\SettingModel();
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>控制面板 - <?php 
echo $settingObj->get('site_admin_title');
?>
</title>
    <!-- <link href="<?php 
echo DOMAIN;
?>
/App/Admin/assets/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"> -->
    <link href="<?php 
echo DOMAIN;
?>
/App/Admin/assets/css/bootstrap-responsive.min.css" rel="stylesheet">
    <link href="<?php 
echo DOMAIN;
?>
/App/Admin/assets/css/bootstrap.css" rel="stylesheet" />
    <link href="<?php 
echo DOMAIN;
?>
/App/Admin/assets/css/font-awesome.css" rel="stylesheet" />
    <link href="<?php 
Exemple #2
0
                    <div class="col-md-12">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                系统设置
                            </div>
                            <div class="panel-body">
                                <div class="row">
                                    <div class="col-lg-6">
                                        <form role="form" action="admin.php?v=<?php 
echo $_GET['v'];
?>
&action=update_setting" method="post">
                                            <div class="form-group">
                                                <label>站点标题</label>
                                                <input placeholder="南极熊" value="<?php 
echo $settingObj->get('site_title');
?>
" name="site_title" class="form-control">
                                                <p class="help-block">作为站点首页的显示标题</p>
                                            </div>
                                            <div class="form-group">
                                                <label>站点副标题</label>
                                                <input placeholder="南极熊" value="<?php 
echo $settingObj->get('site_sub_title');
?>
" name="site_sub_title" class="form-control">
                                                <p class="help-block">作为站点首页的副标题</p>
                                            </div>
                                            <div class="form-group">
                                                <label>管理后台标题</label>
                                                <input placeholder="南极熊" value="<?php