2013-04-18 10:11:01 +00:00
|
|
|
|
<?php
|
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle($this->config->title->author);
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
2014-09-13 02:18:32 +00:00
|
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
2013-04-18 10:11:01 +00:00
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
|
|
|
|
$this->breadcrumb('支持项目');
|
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
|
$this->theme->AppendPlus($this,'colorbox');
|
|
|
|
|
?>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
2013-04-18 10:11:01 +00:00
|
|
|
|
<?= $this->partial('data/left.phtml'); ?>
|
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
<div class="col-md-10 col-sm-12">
|
|
|
|
|
<?= $this->partial('data/fund-nav.phtml',array('ac'=>$this->ac,'uuid'=>$this->uuid)); ?>
|
|
|
|
|
<?php if(!empty($this->error)) { ?>
|
|
|
|
|
<div class="alert alert-block alert-error fade in" id="Alert-error-box">
|
|
|
|
|
<a class="close" data-dismiss="alert" href="#">×</a>
|
|
|
|
|
<?php if(!is_array($this->error)) { ?><h4 class="alert-heading"><?= $this->error ?></h4><?php } else { ?>
|
|
|
|
|
<ul>
|
|
|
|
|
<?php foreach($this->error as $v) { ?>
|
|
|
|
|
<li><?= $v ?></li>
|
2013-04-18 10:11:01 +00:00
|
|
|
|
<?php } ?>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
</ul>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php if(!empty($this->msg)) { ?>
|
|
|
|
|
<div class="alert <?= $this->AlertType;?>">
|
|
|
|
|
<a data-dismiss="alert" class="close">×</a>
|
|
|
|
|
<?php echo $this->msg ?>
|
2013-04-18 10:11:01 +00:00
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
<?php if(!empty($this->jump_url)) { ?>
|
|
|
|
|
<script language="javascript">setTimeout("self.location='<?php echo $this->jump_url ?>'",3000);</script>
|
2013-04-18 10:11:01 +00:00
|
|
|
|
<?php } ?>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
<?php } else{ ?>
|
|
|
|
|
<p></p>
|
2013-04-18 10:11:01 +00:00
|
|
|
|
<form class="form-horizontal" method="post">
|
2014-09-13 02:18:32 +00:00
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label" for="title">项目名称</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<input class="form-control" placeholder="项目名称" type="text" id="title" name="title" value="<?= isset($this->data['title']) ? $this->data['title']:"" ?>" />
|
2013-04-18 10:11:01 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label" for="fund_id">编号</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<input class="form-control" placeholder="编号" type="text" id="fund_id" name="fund_id" value="<?= isset($this->data['fund_id']) ? $this->data['fund_id']:"" ?>" />
|
2013-04-18 10:11:01 +00:00
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label" for="fund_type">类型</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<input class="form-control" placeholder="类型" type="text" id="fund_type" name="fund_type" value="<?= isset($this->data['fund_type']) ? $this->data['fund_type']:"" ?>" />
|
2013-04-18 10:11:01 +00:00
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label" for="title_en">英文名称</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<input class="form-control" placeholder="英文名称" type="text" id="title_en" name="title_en" value="<?= isset($this->data['title_en']) ? $this->data['title_en']:"" ?>" />
|
2013-04-18 10:11:01 +00:00
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label" for="fund_type_en">英文类型</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<input class="form-control" placeholder="英文类型" type="text" id="fund_type_en" name="fund_type_en" value="<?= isset($this->data['fund_type_en']) ? $this->data['fund_type_en']:"" ?>" />
|
2013-04-18 10:11:01 +00:00
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input type="hidden" name="submit" value="1" />
|
|
|
|
|
<?php if(!empty($this->id)) { ?>
|
|
|
|
|
<input type="hidden" name="id" value=" <?=$this->id?> " />
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<button type="submit" class="btn btn-primary pull-right">提交</button>
|
2013-04-18 10:11:01 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
</form>
|
|
|
|
|
<?php } ?>
|
2013-04-18 10:11:01 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-19 10:03:57 +00:00
|
|
|
|
<!-- //页面内容 -->
|