westdc-zf1/application/admin/views/scripts/review/reply.phtml

61 lines
2.6 KiB
PHTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('评审意见反馈');
$this->breadcrumb()->setSeparator(' > ');
$this->theme->AppendPlus($this,"colorbox");
?>
<div class="row">
<div class="hidden-sm hidden-xs col-md-2">
<?= $this->partial('review/left.phtml'); ?>
</div>
<div class="col-md-10 col-sm-12">
<div id="datalist">
<ul>
<?php foreach($this->review as $v){?>
<li><?= empty($v['realname']) ? $v['username'] : $v['realname']?> <?= $v['mdcomment']?></li>
<?php }?>
</ul>
</div>
<?php if(!empty($this->error)) { ?>
<?= $this->error ?>
<?php } ?>
<div class="row"><div class="col-md-8 col-sm-10 text-center"><h4>为《<?= $this->md['title'] ?>》的作者反馈</h4></div></div>
<hr />
<form class="form-horizontal" method="post">
<div class="form-group">
<label class="col-md-2 col-sm-2 col-xs-2 control-label" for="input_title">邮件标题</label>
<div class="col-md-6 col-sm-8 col-xs-9">
<input type="text" class="form-control" id="input_title" name="title" value="<?= (isset($this->data['title'])&&!empty($this->data['title'])) ? $this->data['title']:"" ?>" />
</div>
</div>
<div class="form-group">
<label class="col-md-2 col-sm-2 col-xs-2 control-label" for="input_email">收信地址</label>
<div class="col-md-6 col-sm-8 col-xs-9">
<input type="text" class="form-control" id="input_email" name="email" value="<?= isset($this->data['email']) ? $this->data['email']:"" ?>" />
</div>
</div>
<div class="form-group">
<label class="col-md-2 col-sm-2 col-xs-2 control-label" for="input_content">内容</label>
<div class="col-md-6 col-sm-8 col-xs-9">
<textarea class="form-control" id="input_content" rows="12" name="content">
<?= isset($this->data['content']) ? $this->data['content']:"" ?>
</textarea>
</div>
</div>
<div class="form-group">
<div class="col-md-8 col-sm-10 col-xs-11">
<input type="hidden" name="submit" value="1" />
<button type="submit" class="btn btn-primary pull-right">反馈给元数据作者</button>
</div>
</div>
</form>
<script>
</script>
</div>
</div>