westdc-zf1/application/admin/views/scripts/watermd/contact.phtml

60 lines
2.7 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('<a href="/admin/watermd">WATER元数据工具</a>');
$this->breadcrumb('联系人替换');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="leftPanel">
<?= $this->partial('watermd/left.phtml'); ?>
</div>
<div id="rightPanel">
<?php if ($this->msg or $this->messages) :?>
<div id="message">
<?php if ($this->msg) : ?>
<p><?php echo $this->msg; ?></p>
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
<p><?php echo $msg; ?></p>
<?php endforeach;endif; ?>
</div>
<?php endif; ?>
<form enctype="application/x-www-form-urlencoded" action="" method="post">
<label>被替换者姓名:</label>
<input type="text" name="oldname" value="<?= $this->formdata['oldname'] ?>">
<fieldset><legend>替换信息</legend>
<li><label>姓名:</label><input type="text" name="name" value="<?= $this->formdata['name'] ?>"></li>
<li><label>单位:</label><input type="text" name="unit" value="<?= $this->formdata['unit'] ?>"></li>
<li><label>地址:</label><input type="text" name="delpoint" value="<?= $this->formdata['delpoint'] ?>"></li>
<li><label>城市:</label><input type="text" name="city" value="<?= $this->formdata['city'] ?>"></li>
<li><label>省份:</label><input type="text" name="adminarea" value="<?= $this->formdata['adminarea'] ?>"></li>
<li><label>国家:</label><input type="text" name="country" value="<?= $this->formdata['country'] ?>"></li>
<li><label>邮编:</label><input type="text" name="postcode" value="<?= $this->formdata['postcode'] ?>"></li>
<li><label>电话:</label><input type="text" name="voicenum" value="<?= $this->formdata['voicenum'] ?>"></li>
<li><label>邮箱:</label><input type="text" name="email" value="<?= $this->formdata['email'] ?>"></li>
</fieldset>
<label>测试XML数据</label>
<textarea name="testxml" rows="10" cols="80"><?= $this->formdata['testxml'] ?></textarea>
<li><input type="submit" name="test" id="test" value="测试"> <input type="submit" id="submit" name="submit" value="全部运行(危险操作!请先测试)"></li>
</form>
<?php if ($this->deal) : ?>
<div id="mdlist">
已处理数据:
<?php foreach ($this->deal as $deal): ?>
<ul>
<li>UUID<?php echo $deal['uuid']; ?></li>
<li><a href="/data/<?= $deal['uuid']; ?>"><?= $deal['title']; ?></a></li>
</ul>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>
<?php if ($this->test) : ?>
<div>测试结果:<br />
<?= $this->escape($this->test) ?>
</div>
<?php endif; ?>