|
|
@ -60,7 +60,10 @@
|
|
|
|
//快速图片上传
|
|
|
|
//快速图片上传
|
|
|
|
function openKCFinder_fast() {
|
|
|
|
function openKCFinder_fast() {
|
|
|
|
window.CallBack = oopenKCFinder_fast_callback;
|
|
|
|
window.CallBack = oopenKCFinder_fast_callback;
|
|
|
|
window.open('/media/popselectpicture.php?site_code=<?php echo $this->config->item('site_code'); ?>&site_lgc=<?php echo $this->config->item('site_lgc'); ?>', 'kcfinder_textbox', 'status=0, toolbar=0, location=0, menubar=0, directories=0,resizable=1, scrollbars=0, width=800, height=600');
|
|
|
|
window.open(
|
|
|
|
|
|
|
|
'/media/popselectpicture.php?site_code=<?php echo $this->config->item('site_code'); ?>&site_lgc=<?php echo $this->config->item('site_lgc'); ?>',
|
|
|
|
|
|
|
|
'kcfinder_textbox',
|
|
|
|
|
|
|
|
'status=0, toolbar=0, location=0, menubar=0, directories=0,resizable=1, scrollbars=0, width=800, height=600');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function oopenKCFinder_fast_callback(result) {
|
|
|
|
function oopenKCFinder_fast_callback(result) {
|
|
|
@ -85,7 +88,10 @@
|
|
|
|
var site_url = '<?php echo $this->config->item('site_url') ?>';
|
|
|
|
var site_url = '<?php echo $this->config->item('site_url') ?>';
|
|
|
|
var weburl = encodeURI(site_url + $("#ic_url").val());
|
|
|
|
var weburl = encodeURI(site_url + $("#ic_url").val());
|
|
|
|
window.CallBack = openKCFinder_Content_callback;
|
|
|
|
window.CallBack = openKCFinder_Content_callback;
|
|
|
|
window.open('/media/popselectpicture.php?site_code=<?php echo $this->config->item('site_code'); ?>&site_lgc=<?php echo $this->config->item('site_lgc'); ?>&WebUrl=' + weburl, 'kcfinder_textbox', 'status=0, toolbar=0, location=0, menubar=0, directories=0,resizable=1, scrollbars=0, width=800, height=600');
|
|
|
|
window.open(
|
|
|
|
|
|
|
|
'/media/popselectpicture.php?site_code=<?php echo $this->config->item('site_code'); ?>&site_lgc=<?php echo $this->config->item('site_lgc'); ?>&WebUrl=' +
|
|
|
|
|
|
|
|
weburl, 'kcfinder_textbox',
|
|
|
|
|
|
|
|
'status=0, toolbar=0, location=0, menubar=0, directories=0,resizable=1, scrollbars=0, width=800, height=600');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function openKCFinder_Content_callback(result) {
|
|
|
|
function openKCFinder_Content_callback(result) {
|
|
|
@ -94,15 +100,23 @@
|
|
|
|
if (result != null) {
|
|
|
|
if (result != null) {
|
|
|
|
for (var key in result.Pinfo) {
|
|
|
|
for (var key in result.Pinfo) {
|
|
|
|
if ('<?php echo $this->config->item('site_code') ?>' == 'ah') {
|
|
|
|
if ('<?php echo $this->config->item('site_code') ?>' == 'ah') {
|
|
|
|
editor.insertHtml('<div class="infoimage"> <img alt="' + result.Pinfo[key].Sinfo + '" class="img-responsive" src="' + site_image_url + result.Pinfo[key].PUrl + '" /> <span class="photoTxt">' + result.Pinfo[key].Sinfo + '</span></div>');
|
|
|
|
editor.insertHtml('<div class="infoimage"> <img alt="' + result.Pinfo[key].Sinfo +
|
|
|
|
|
|
|
|
'" class="img-responsive" src="' + site_image_url + result.Pinfo[key].PUrl +
|
|
|
|
|
|
|
|
'" /> <span class="photoTxt">' + result.Pinfo[key].Sinfo + '</span></div>');
|
|
|
|
} else if ('<?php echo $this->config->item('site_code') ?>' == 'ch') {
|
|
|
|
} else if ('<?php echo $this->config->item('site_code') ?>' == 'ch') {
|
|
|
|
editor.insertHtml('<div class="infoimage"><img src="' + site_image_url + result.Pinfo[key].PUrl + '" alt="' + result.Pinfo[key].Sinfo + '" class="img-responsive" width="' + result.Pinfo[key].Width + '" height="' + result.Pinfo[key].Height + '"><span class="infoimagetitle">' + result.Pinfo[key].Sinfo + '</span></div>');
|
|
|
|
editor.insertHtml('<div class="infoimage"><img src="' + site_image_url + result.Pinfo[key].PUrl + '" alt="' +
|
|
|
|
|
|
|
|
result.Pinfo[key].Sinfo + '" class="img-responsive" width="' + result.Pinfo[key].Width + '" height="' +
|
|
|
|
|
|
|
|
result.Pinfo[key].Height + '"><span class="infoimagetitle">' + result.Pinfo[key].Sinfo + '</span></div>');
|
|
|
|
} else if ('<?php echo $this->config->item('site_code') ?>' == 'gh') {
|
|
|
|
} else if ('<?php echo $this->config->item('site_code') ?>' == 'gh') {
|
|
|
|
editor.insertHtml('<div class="infoimage"><img src="' + site_image_url + result.Pinfo[key].PUrl + '" alt="' + result.Pinfo[key].Sinfo + '" class="img-responsive" width="' + result.Pinfo[key].Width + '" height="' + result.Pinfo[key].Height + '"><span class="infoimagetitle">' + result.Pinfo[key].Sinfo + '</span></div>');
|
|
|
|
editor.insertHtml('<div class="infoimage"><img src="' + site_image_url + result.Pinfo[key].PUrl + '" alt="' +
|
|
|
|
|
|
|
|
result.Pinfo[key].Sinfo + '" class="img-responsive" width="' + result.Pinfo[key].Width + '" height="' +
|
|
|
|
|
|
|
|
result.Pinfo[key].Height + '"><span class="infoimagetitle">' + result.Pinfo[key].Sinfo + '</span></div>');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
editor.insertHtml('<img src="' + site_image_url + result.Pinfo[key].PUrl + '" alt="' + result.Pinfo[key].PName + '" width="' + result.Pinfo[key].Width + '" height="' + result.Pinfo[key].Height + '" />');
|
|
|
|
editor.insertHtml('<img src="' + site_image_url + result.Pinfo[key].PUrl + '" alt="' + result.Pinfo[key]
|
|
|
|
|
|
|
|
.PName + '" width="' + result.Pinfo[key].Width + '" height="' + result.Pinfo[key].Height + '" />');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
use_pictures = use_pictures + result.Pinfo[key].ID + ':' + result.Pinfo[key].PUrl + ':' + result.Pinfo[key].wh + ',';
|
|
|
|
use_pictures = use_pictures + result.Pinfo[key].ID + ':' + result.Pinfo[key].PUrl + ':' + result.Pinfo[key].wh +
|
|
|
|
|
|
|
|
',';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$("#use_pictures").val(use_pictures);
|
|
|
|
$("#use_pictures").val(use_pictures);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -126,7 +140,8 @@
|
|
|
|
<nav class="navbar navbar-inverse">
|
|
|
|
<nav class="navbar navbar-inverse">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-9" aria-expanded="false">
|
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
|
|
|
|
|
|
|
|
data-target="#bs-example-navbar-collapse-9" aria-expanded="false">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
@ -156,11 +171,19 @@
|
|
|
|
<li><a href="<?php echo site_url('apps/searchinfo/index/homepage') ?>">信息搜索</a></li>
|
|
|
|
<li><a href="<?php echo site_url('apps/searchinfo/index/homepage') ?>">信息搜索</a></li>
|
|
|
|
<li><a href="<?php echo site_url('tools/amp_check') ?>">AMP转化检查</a></li>
|
|
|
|
<li><a href="<?php echo site_url('tools/amp_check') ?>">AMP转化检查</a></li>
|
|
|
|
<li><a target="_blank" href="http://www.arachina.com/html-tag-quick-query.htm">Html基础知识</a></li>
|
|
|
|
<li><a target="_blank" href="http://www.arachina.com/html-tag-quick-query.htm">Html基础知识</a></li>
|
|
|
|
<li><a target="_blank" href="https://docs.google.com/presentation/d/1YN9P8j837SCHenpK_UApHU04K6evV1-GLULhsdmdtWM/edit?usp=sharing">AMP知识</a></li>
|
|
|
|
<li><a target="_blank"
|
|
|
|
|
|
|
|
href="https://docs.google.com/presentation/d/1YN9P8j837SCHenpK_UApHU04K6evV1-GLULhsdmdtWM/edit?usp=sharing">AMP知识</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<!--<li><a href="<?php echo site_url('city/addnode/-99') ?>">添加信息分组</a></li>-->
|
|
|
|
<!--<li><a href="<?php echo site_url('city/addnode/-99') ?>">添加信息分组</a></li>-->
|
|
|
|
<li><a target="_blank" href="https://docs.google.com/presentation/d/1E9dbrANxtvgsOTkJWWab-UNaBgRJyQwNYu9Tw5k5jUI/edit?usp=sharing">AMP操作SOP</a></li>
|
|
|
|
<li><a target="_blank"
|
|
|
|
<li><a target="_blank" href="https://docs.google.com/presentation/d/1_SN8Eo3EFmigfyYrtX7WTkiGKqgvc0EBBS3YoXeZSBc/edit#slide=id.g45b539c835_4_61">HTML构建工具V3</a></li>
|
|
|
|
href="https://docs.google.com/presentation/d/1E9dbrANxtvgsOTkJWWab-UNaBgRJyQwNYu9Tw5k5jUI/edit?usp=sharing">AMP操作SOP</a>
|
|
|
|
<li><a target="_blank" href="https://docs.google.com/presentation/d/1zPc7832vManRsCgkgO5XoMVKe6deIHC9zsmLPWihxrA/edit?usp=sharing">PS基础课件</a></li>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li><a target="_blank"
|
|
|
|
|
|
|
|
href="https://docs.google.com/presentation/d/1_SN8Eo3EFmigfyYrtX7WTkiGKqgvc0EBBS3YoXeZSBc/edit#slide=id.g45b539c835_4_61">HTML构建工具V3</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li><a target="_blank"
|
|
|
|
|
|
|
|
href="https://docs.google.com/presentation/d/1zPc7832vManRsCgkgO5XoMVKe6deIHC9zsmLPWihxrA/edit?usp=sharing">PS基础课件</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li><a href="<?php echo site_url('setting') ?>">系统设置</a></li>
|
|
|
|
<li><a href="<?php echo site_url('setting') ?>">系统设置</a></li>
|
|
|
|
<li><a href="<?php echo site_url('accessmanage') ?>">权限设置</a></li>
|
|
|
|
<li><a href="<?php echo site_url('accessmanage') ?>">权限设置</a></li>
|
|
|
|
<li><a href="<?php echo site_url('sitemap') ?>">生成sitemap</a></li>
|
|
|
|
<li><a href="<?php echo site_url('sitemap') ?>">生成sitemap</a></li>
|
|
|
@ -168,23 +191,31 @@
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<form id="form_information_search" name="form_information_search" method="post" action="<?php echo $this->router->class == 'infoshare' ? site_url('infoshare/search/') : site_url('welcome/search/'); ?>" class="navbar-form navbar-left">
|
|
|
|
<form id="form_information_search" name="form_information_search" method="post"
|
|
|
|
|
|
|
|
action="<?php echo $this->router->class == 'infoshare' ? site_url('infoshare/search/') : site_url('welcome/search/'); ?>"
|
|
|
|
|
|
|
|
class="navbar-form navbar-left">
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon">
|
|
|
|
<span class="input-group-addon">
|
|
|
|
<input type="checkbox" title="全文搜索" name="all_text_search" id="all_text_search" value="true">
|
|
|
|
<input type="checkbox" title="全文搜索" name="all_text_search" id="all_text_search" value="true">
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<input type="text" class="form-control input-sm" name="keywords" id="keywords" value="<?php echo isset($keywords) ? $keywords : false; ?>" style="min-width:450px;">
|
|
|
|
<input type="text" class="form-control input-sm" name="keywords" id="keywords"
|
|
|
|
|
|
|
|
value="<?php echo isset($keywords) ? $keywords : false; ?>" style="min-width:450px;">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="input-group-btn">
|
|
|
|
<span class="input-group-btn">
|
|
|
|
<button class="btn btn-default btn-sm" type="submit">搜索</button>
|
|
|
|
<button class="btn btn-default btn-sm" type="submit">搜索</button>
|
|
|
|
<?php if (in_array($this->config->item('site_code'), array('jp', 'gm', 'vc', 'vac', 'ru', 'it'))) { ?>
|
|
|
|
<?php if (in_array($this->config->item('site_code'), array('jp', 'gm', 'vc', 'vac', 'ru', 'it'))) { ?>
|
|
|
|
<a href="https://cdn.chinarundreisen.com/icht-heroes/#/picture-manager/picture-storehouse" target="_blank" class="btn btn-default btn-sm" title="图片上传管理"><span class="glyphicon glyphicon-picture"></span></a>
|
|
|
|
<a href="https://res.chinarundreisen.com/icht-heroes/#/picture-manager/picture-storehouse" target="_blank"
|
|
|
|
|
|
|
|
class="btn btn-default btn-sm" title="图片上传管理"><span class="glyphicon glyphicon-picture"></span></a>
|
|
|
|
<?php } else { ?>
|
|
|
|
<?php } else { ?>
|
|
|
|
<a href="#" onclick="openKCFinder_singleFile_res();" class="btn btn-default btn-sm" title="快速上传图片"><span class="glyphicon glyphicon-picture"></span></a>
|
|
|
|
<a href="#" onclick="openKCFinder_singleFile_res();" class="btn btn-default btn-sm" title="快速上传图片"><span
|
|
|
|
|
|
|
|
class="glyphicon glyphicon-picture"></span></a>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
<a href="#" onclick="openKCFinder_fast();" class="btn btn-default btn-sm" title="多媒体中心"><span class="glyphicon glyphicon-folder-open"></span></a>
|
|
|
|
<a href="#" onclick="openKCFinder_fast();" class="btn btn-default btn-sm" title="多媒体中心"><span
|
|
|
|
<a href="#" title="静态化更新" class="btn btn-default btn-sm" data-toggle="modal" data-target="#cache_refresh_modal"><span class="glyphicon glyphicon-repeat"></span></a>
|
|
|
|
class="glyphicon glyphicon-folder-open"></span></a>
|
|
|
|
<a href="#" title="cdn缓存清理" class="btn btn-default btn-sm" data-toggle="modal" data-target="#cdncache_refresh_modal"><span class="glyphicon glyphicon-refresh"></span></a>
|
|
|
|
<a href="#" title="静态化更新" class="btn btn-default btn-sm" data-toggle="modal"
|
|
|
|
|
|
|
|
data-target="#cache_refresh_modal"><span class="glyphicon glyphicon-repeat"></span></a>
|
|
|
|
|
|
|
|
<a href="#" title="cdn缓存清理" class="btn btn-default btn-sm" data-toggle="modal"
|
|
|
|
|
|
|
|
data-target="#cdncache_refresh_modal"><span class="glyphicon glyphicon-refresh"></span></a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
@ -215,18 +246,22 @@
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<li class="dropdown">
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<i class="icon-envelope icon-white pull-left" style="margin-top:3px;"></i> <span class="badge badge-important pull-right"><?php echo $total_count; ?></span>
|
|
|
|
<i class="icon-envelope icon-white pull-left" style="margin-top:3px;"></i> <span
|
|
|
|
|
|
|
|
class="badge badge-important pull-right"><?php echo $total_count; ?></span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<!-- 信息平台的消息 -->
|
|
|
|
<!-- 信息平台的消息 -->
|
|
|
|
<?php if (isset($info_unread_sms['sms']) && !empty($info_unread_sms['sms'])) { ?>
|
|
|
|
<?php if (isset($info_unread_sms['sms']) && !empty($info_unread_sms['sms'])) { ?>
|
|
|
|
<a style="padding-left:20px;" href="javascript:void(0);" onclick="set_allmsg_to_read($('#unreadinfomsg').val());">标记全部收录信息为已读</a>
|
|
|
|
<a style="padding-left:20px;" href="javascript:void(0);"
|
|
|
|
|
|
|
|
onclick="set_allmsg_to_read($('#unreadinfomsg').val());">标记全部收录信息为已读</a>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<?php foreach ($info_unread_sms['sms'] as $m) { ?>
|
|
|
|
<?php foreach ($info_unread_sms['sms'] as $m) { ?>
|
|
|
|
<li><a href="<?php echo site_url('information/edit/' . $m[0]->is_id); ?>"><?php
|
|
|
|
<li><a
|
|
|
|
|
|
|
|
href="<?php echo site_url('information/edit/' . $m[0]->is_id); ?>"><?php
|
|
|
|
$t_title = get_text_short($m[0]->t_title, 15);
|
|
|
|
$t_title = get_text_short($m[0]->t_title, 15);
|
|
|
|
echo '[' . $m[0]->ic_sitecode . '] ' . $t_title['content'] . ' (' . $m[0]->m_content . ')';
|
|
|
|
echo '[' . $m[0]->ic_sitecode . '] ' . $t_title['content'] . ' (' . $m[0]->m_content . ')';
|
|
|
|
?></a></li>
|
|
|
|
?></a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<?php $unread_sms_ic_id .= ',' . $m[0]->m_object_id; ?>
|
|
|
|
<?php $unread_sms_ic_id .= ',' . $m[0]->m_object_id; ?>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li class="divider"></li>
|
|
|
@ -234,10 +269,12 @@
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
<!--作者平台的消息-->
|
|
|
|
<!--作者平台的消息-->
|
|
|
|
<?php foreach ($all_unread_sms['sms'] as $am) { ?>
|
|
|
|
<?php foreach ($all_unread_sms['sms'] as $am) { ?>
|
|
|
|
<li><a href="<?php echo site_url('author/edit_task/' . $am[0]->m_object_id); ?>"><?php
|
|
|
|
<li><a
|
|
|
|
|
|
|
|
href="<?php echo site_url('author/edit_task/' . $am[0]->m_object_id); ?>"><?php
|
|
|
|
$t_title = get_text_short($am[0]->t_title, 15);
|
|
|
|
$t_title = get_text_short($am[0]->t_title, 15);
|
|
|
|
echo $t_title['content'] . ' (' . count($am) . ')';
|
|
|
|
echo $t_title['content'] . ' (' . count($am) . ')';
|
|
|
|
?></a></li>
|
|
|
|
?></a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
@ -254,7 +291,9 @@
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<?php foreach ($this->config->item('site') as $site_item) { ?>
|
|
|
|
<?php foreach ($this->config->item('site') as $site_item) { ?>
|
|
|
|
<li> <a href="<?php echo site_url('login/change_site/' . $site_item['site_code']); ?>"><?php echo $site_item['site_code'] ?></a></li>
|
|
|
|
<li> <a
|
|
|
|
|
|
|
|
href="<?php echo site_url('login/change_site/' . $site_item['site_code']); ?>"><?php echo $site_item['site_code'] ?></a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
<li><a href="<?php echo site_url('login/out'); ?>">退出</a></li>
|
|
|
|
<li><a href="<?php echo site_url('login/out'); ?>">退出</a></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|