78 lines
2.3 KiB
PHTML
78 lines
2.3 KiB
PHTML
<?php
|
||
$this->headTitle($this->config->title->site);
|
||
$this->headTitle('后台管理');
|
||
$this->headTitle()->setSeparator(' - ');
|
||
$this->headScript()->appendFile('/static/js/jquery.tagInput.min.js');
|
||
$this->headScript()->appendFile('/static/js/jquery.wysiwyg.min.js');
|
||
?>
|
||
|
||
<!-- Page title -->
|
||
<div id="pagetitle">
|
||
<div class="wrapper">
|
||
<h1>新闻中心</h1>
|
||
<!-- Quick search box -->
|
||
<form action="" method="get"><input class="" type="text" id="q" name="q" /></form>
|
||
</div>
|
||
</div>
|
||
<!-- End of Page title -->
|
||
|
||
<!-- Page content -->
|
||
<div id="page">
|
||
<!-- Wrapper -->
|
||
<div class="wrapper">
|
||
|
||
<!-- Right column/section -->
|
||
<aside class="column width2 first">
|
||
<?= $this->partial('news/left.phtml'); ?>
|
||
</aside>
|
||
<!-- End of Right column/section -->
|
||
|
||
<!-- Left column/section -->
|
||
<section class="column width6">
|
||
|
||
<h3>添加栏目</h3>
|
||
<form id="sampleform" method="post" action="#">
|
||
|
||
<fieldset>
|
||
<legend>栏目信息</legend>
|
||
|
||
<p>
|
||
<label class="required" for="ctitle">栏目标题:</label><br/>
|
||
<input type="text" id="ctitle" class="half" value="" name="ctitle"/>
|
||
</p>
|
||
|
||
<p>
|
||
<label class="required" for="keyword">关键字:</label><br/>
|
||
<input type="text" id="keyword" class="half" value="" name="keyword"/>
|
||
<small>e.g. 高程,气象,地理</small>
|
||
</p>
|
||
|
||
<p>
|
||
<label class="required" for="discript">描述:</label><br/>
|
||
<textarea id="discript" class="medium half" name="discript"></textarea>
|
||
<small>80个汉字以内,不能使用折行</small>
|
||
</p>
|
||
|
||
<input type="hidden" name="submit" value="1" />
|
||
|
||
<p class="box"><input type="submit" class="btn btn-green big" value="提交"/> or <input type="reset" class="btn" value="重置"/></p>
|
||
|
||
</fieldset>
|
||
|
||
</form>
|
||
|
||
<hr/>
|
||
|
||
|
||
</section>
|
||
<!-- End of Left column/section -->
|
||
|
||
|
||
|
||
</div>
|
||
<!-- End of Wrapper -->
|
||
</div>
|
||
<!-- End of Page content -->
|
||
<script type="text/javascript">
|
||
$('#nav_news').addClass("current");
|
||
</script>
|