-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathopen-image.html
80 lines (77 loc) · 2.44 KB
/
open-image.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="author" content="phpok.com" />
<meta http-equiv="expires" content="wed, 26 feb 1997 08:21:57 gmt">
<title>{$config.title}</title>
<!-- if $config.favicon -->
<link rel="shortcut icon" href="{$config.favicon}" />
<!-- /if -->
<link rel="stylesheet" type="text/css" href="{#css#}/css.php?type=open&version={:VERSION}" />
{func phpok_head_css}
<!-- php:$js_ext = 'admin.'.$sys.ctrl.'.js' -->
<script type="text/javascript" src="{#js#}/laydate/laydate.js"></script>
<script type="text/javascript" src="{url ctrl=js ext=$js_ext/}"></script>
{func phpok_head_js}
<!-- plugin head -->
</head>
<body ondragstart="return false;">
<script type="text/javascript">
function phpok_input(val)
{
var obj = $.dialog.opener;
obj.$("#{$id}").val(val);
$.dialog.close();
}
</script>
<ul class="piclist">
<!-- loop from=$rslist key=$key value=$value id=$tmpid -->
<li id="attr_{$value.id}" onclick="phpok_input('{$value.filename}')">
<div class="pic"><img src="{$value.ico}" width="80px" height="80px" border="0" alt="{$value.title}" /></div>
</li>
<!-- /loop -->
</ul>
<div class="clear"></div>
<div class="table">
<!-- if $pagelist -->
<div class="layui-box layui-laypage layui-laypage-default">
<!-- loop from=$pagelist key=$key value=$value id=$idx -->
<!-- if $value.type != 'opt' -->
<!-- if $value.type == 'add' -->
<span>{$value.title}</span>
<!-- else -->
<a{if $value.url} href="{$value.url}"{/if} {if $value.status} class="current"{/if}>{$value.title}</a>
<!-- /if -->
<!-- /if -->
<!-- if $value.type == 'opt' -->
<select onchange="$.phpok.go('{$value.url}'+this.value)">
<!-- loop from=$value.title key=$k value=$v id=$idxx -->
<option value="{$v.value}"{if $v.status} selected{/if}>{$v.title}</option>
<!-- /loop -->
</select>
<!-- /if -->
<!-- /loop -->
<input type="number" name="go_to_page" id="go_to_page" value="{$get.pageid}" class="short" min="0" max="{$total_page}" />
<button type="button" onclick="go_to_page_action()" class="layui-btn layui-btn-xs" style="background-color:#1E9FFF;border:0;">GO</button>
</div>
<!-- /if -->
</div>
<!-- plugin body -->
<!-- plugin foot -->
<script type="text/javascript">
$(document).ready(function(){
var r_menu = [[{
'text':'{lang刷新}',
'func':function(){
$.phpok.reload();
}
}]];
$(window).smartMenu(r_menu,{
'name':'smart',
'textLimit':8
});
});
</script>
</body>
</html>