link.html
5.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<include file="public/layout" />
<body style="background-color: #FFF; overflow: auto;">
<div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar">
<div class="item-title"><a class="back" href="javascript:history.back();" title="返回列表"><i class="fa fa-arrow-circle-o-left"></i></a>
<div class="subject">
<h3>友情链接管理 - 编辑友情链接</h3>
<h5>系统友情链接管理</h5>
</div>
</div>
</div>
<form class="form-horizontal" id="handleposition" action="{:U('Admin/Article/linkHandle')}" method="post">
<input type="hidden" name="act" value="{$act}">
<input type="hidden" name="link_id" value="{$info.link_id}">
<div class="ncap-form-default">
<dl class="row">
<dt class="tit">
<label for="link_name"><em>*</em>链接名称</label>
</dt>
<dd class="opt">
<input type="text" name="link_name" value="{$info.link_name}" id="link_name" class="input-txt">
<span class="err"></span>
<p class="notic">请填写友情链接的名称</p>
</dd>
</dl>
<dl class="row">
<dt class="tit">
<label for="link_url"><em>*</em>链接地址</label>
</dt>
<dd class="opt">
<input type="text" name="link_url" value="{$info.link_url}"id="link_url" class="input-txt">
<span class="err"></span>
<p class="notic">友情链接跳转地址</p>
</dd>
</dl>
<dl class="row">
<dt class="tit">
<label for="orderby"><em>*</em>排序</label>
</dt>
<dd class="opt">
<input type="text" name="orderby" value="{$info.orderby}" id="orderby" class="input-txt">
<span class="err"></span>
<p class="notic">请填写自然数,友情链接会根据排序进行由小到大排列显示</p>
</dd>
</dl>
<dl class="row">
<dt class="tit">
<label for="link_logo">链接LOGO</label>
</dt>
<dd class="opt">
<div class="input-file-show">
<span class="show">
<a class="nyroModal" rel="gal" href="{$info.link_logo}">
<i class="fa fa-picture-o" onmouseover="layer.tips('<img src={$info.link_logo}>',this,{tips: [1, '#fff']})" onmouseout="layer.closeAll()"></i>
</a>
</span>
<span class="type-file-box">
<input type="text" id="link_logo" name="link_logo" value="{$info.link_logo}" class="type-file-text">
<input type="button" name="button" id="button1" value="选择上传..." class="type-file-button">
<input class="type-file-file" onClick="GetUploadify(1,'link_logo','link','')" size="30" hidefocus="true" nc_type="change_site_logo" title="点击前方预览图可查看大图,点击按钮选择文件并提交表单后上传生效">
</span>
</div>
<span class="err"></span>
<p class="notic">默认网站LOGO,通用头部显示,最佳显示尺寸为240*60像素</p>
</dd>
</dl>
<dl class="row">
<dt class="tit">
<label>是否新窗口打开</label>
</dt>
<dd class="opt">
<div class="onoff">
<label for="target1" class="cb-enable <if condition='$info[target] eq 1'>selected</if>">是</label>
<label for="target0" class="cb-disable <if condition='$info[target] eq 0'>selected</if>">否</label>
<input id="target1" name="target" value="1" type="radio" <if condition="$info[target] eq 1"> checked="checked"</if>>
<input id="target0" name="target" value="0" type="radio" <if condition="$info[target] eq 0"> checked="checked"</if>>
</div>
<p class="notic">点击链接是否在新窗口打开</p>
</dd>
</dl>
<dl class="row">
<dt class="tit">
<label>是否显示</label>
</dt>
<dd class="opt">
<div class="onoff">
<label for="is_show1" class="cb-enable <if condition='$info[is_show] eq 1'>selected</if>">是</label>
<label for="is_show0" class="cb-disable <if condition='$info[is_show] eq 0'>selected</if>">否</label>
<input id="is_show1" name="is_show" value="1" type="radio" <if condition="$info[is_show] eq 1"> checked="checked"</if>>
<input id="is_show0" name="is_show" value="0" type="radio" <if condition="$info[is_show] eq 0"> checked="checked"</if>>
</div>
<p class="notic">是否在前台显示</p>
</dd>
</dl>
<div class="bot"><a href="JavaScript:void(0);" onclick="$('#handleposition').submit();" class="ncap-btn-big ncap-btn-green" id="submitBtn">确认提交</a></div>
</div>
</form>
</div>
<script type="text/javascript">
</script>
</body>
</html>