61 lines
2.5 KiB
PHTML
61 lines
2.5 KiB
PHTML
|
<?php
|
||
|
$this->headTitle($this->config->title->site);
|
||
|
$this->headTitle('后台管理');
|
||
|
$this->headTitle()->setSeparator(' - ');
|
||
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
||
|
?>
|
||
|
<div id="divContent">
|
||
|
|
||
|
<div id="leftPanel">
|
||
|
<?= $this->partial('sys/left.phtml'); ?>
|
||
|
</div>
|
||
|
|
||
|
<div id="rightPanel">
|
||
|
<section class="column width6">
|
||
|
|
||
|
<?php if ($this->msg or $this->messages) :?>
|
||
|
<div class="box box-info">
|
||
|
<?php if ($this->msg) : ?>
|
||
|
<?php echo $this->msg; ?>
|
||
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||
|
<?php echo $msg; ?>
|
||
|
<?php endforeach;endif; ?>
|
||
|
<script language="javascript">
|
||
|
setTimeout('$(".box-info").remove()',5000);
|
||
|
</script>
|
||
|
</div>
|
||
|
<?php endif; ?>
|
||
|
|
||
|
<h3>发送邮件发送测试</h3>
|
||
|
|
||
|
<form name="form" method="post" action="/admin/sys/emailtext/">
|
||
|
<input type="hidden" name="ac" value="test" />
|
||
|
<input type="hidden" name="submit" value="1" />
|
||
|
<input type="hidden" name="id" value="<?php echo $this->id;?>" />
|
||
|
<fieldset>
|
||
|
|
||
|
<p>
|
||
|
<label for="email" class="required">测试的收信地址</label><br/>
|
||
|
<input type="text" id="producttitle" class="half title" value="" name="email"/>
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
<label class="required" for="producttitle">邮件标题</label><br/>
|
||
|
<input type="text" id="producttitle" class="half title" value="测试邮件标题" name="title"/>
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
<label for="user">收信用户名</label><br/>
|
||
|
<input type="text" id="user" class="half title" value="张测试" name="user"/>
|
||
|
</p>
|
||
|
|
||
|
<p class="box"><input type="submit" id="submit" class="btn btn-green big" value="提交"/> or <input type="reset" class="btn" value="重置"/></p>
|
||
|
|
||
|
</fieldset>
|
||
|
|
||
|
</form>
|
||
|
|
||
|
</section>
|
||
|
</div>
|
||
|
|
||
|
</div>
|