Browse Source

es录入

xmz_weibo_demo
longchao 4 weeks ago
parent
commit
31e55e6e34
  1. 6
      cache/template_c/%%1D^1D0^1D0BA4CE%%footer.html.php
  2. 712
      cache/template_c/%%24^24D^24DFFC2B%%interlocution.html.php
  3. 349
      cache/template_c/%%37^37E^37E32D10%%comment_detail.html.php
  4. 192
      cache/template_c/%%69^696^6961BB6C%%home.html.php
  5. 152
      cache/template_c/%%74^74D^74D2651F%%user_list.html.php
  6. 34
      cache/template_c/%%91^91E^91E815D2%%show_detail.html.php
  7. 195
      cache/template_c/%%9D^9D5^9D53217D%%comments.html.php
  8. 44
      cache/template_c/%%EC^EC2^EC26F5B8%%header.html.php
  9. 152
      cache/template_c/%%EF^EF7^EF70A257%%login.html.php

6
cache/template_c/%%1D^1D0^1D0BA4CE%%footer.html.php

@ -1,6 +0,0 @@
<?php /* Smarty version 2.6.26, created on 2025-07-08 16:37:03
compiled from include/footer.html */ ?>
<div class="leftSideFooterNew">
<p>© 2024-2025 仁心堂&nbsp;,&nbsp;Inc. All rights reserved. </p>
<p><a href="https://beian.miit.gov.cn" target="_blank">&nbsp;京ICP备2024089600号-2</a></p>
</div>

712
cache/template_c/%%24^24D^24DFFC2B%%interlocution.html.php

File diff suppressed because one or more lines are too long

349
cache/template_c/%%37^37E^37E32D10%%comment_detail.html.php

@ -1,349 +0,0 @@
<?php /* Smarty version 2.6.26, created on 2025-07-15 09:26:11
compiled from weibo/comment_detail.html */ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>知识库</title>
<link rel="stylesheet" href="<?php echo @CSS_URL; ?>
/css/common.css?v=<?php echo @CSS_JS_VERSION; ?>
">
<link rel="stylesheet" href="<?php echo @CSS_URL; ?>
/css/index.css?v=<?php echo @CSS_JS_VERSION; ?>
8">
<script src="<?php echo @CSS_URL; ?>
/js/jquery-3.6.0.min.js"></script>
<?php echo '
<style>
.comment-con,.comment-detail,.small-image-wrapper,.small-video-cover{
margin-top: 20px;
}
.comment-title{
margin-bottom: 20px;
color: green;
}
.small-image-wrapper{
margin-bottom: 20px;
}
.small-image-wrapper{
display: flex;
flex-wrap: wrap;
column-gap: 10px;
row-gap: 10px;
}
.comment-txt img{
width: 20px;
height: 20px;
}
.small-image-img{
width: 100%;
height: 100%;
margin-bottom: 20px;
}
#next-page,#prev-page{
cursor: pointer;
}
</style>
'; ?>
</head>
<body>
<div class="home-page">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="home-main-content">
<div class="tab-list index-nav-wrap flex">
<ul class="tab-wrap">
<li class="index-nav-wrap-li" type="1"><span <?php if ($_GET['search_type'] == '1'): ?>class="active"<?php endif; ?>>选中评论</span></li>
<li class="index-nav-wrap-li" type="0"><span <?php if ($_GET['search_type'] == '0'): ?>class="active"<?php endif; ?>>剔除评论</span></li>
<li class="index-nav-wrap-li" type="-1"><span <?php if ($_GET['search_type'] == "-1"): ?>class="active"<?php endif; ?>>全部评论</span></li>
</ul>
</div>
<div class="comment-con">
<div class="comment-title">微博内容:</div>
<div class="list_item_top flex">
<div class="list_item_top_l">
<span class="green">微博</span>
<b class="refer_text"></b>
<span class="name">张宝旬</span>
<span>录入:<?php echo $this->_tpl_vars['data']['created_at']; ?>
</span>
<a href="https://m.weibo.cn/detail/<?php echo $this->_tpl_vars['data']['wid']; ?>
" target="_blank">微博地址</a>
</div>
</div>
<div class="comment-detail">
<?php echo $this->_tpl_vars['data']['text']; ?>
</div>
<?php if ($this->_tpl_vars['data']['pic_arr']): ?>
<div class="small-image-wrapper">
<?php $_from = $this->_tpl_vars['data']['pic_arr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['item']):
?>
<div class="small-image">
<span class="small-image-desc">图片</span>
<img src="<?php echo $this->_tpl_vars['item']; ?>
" alt="Small Image" class="small-image-img">
<img class="delete-btn hide" src="../images/delete-icon.svg" alt="Small Image">
</div>
<?php endforeach; endif; unset($_from); ?>
</div>
<?php endif; ?>
<?php if ($this->_tpl_vars['data']['video_url']): ?>
<div class="small-video-cover" href="<?php echo $this->_tpl_vars['data']['video_url']; ?>
">
<span class="small-image-desc">视频</span>
<img class="small-video-show" src="<?php if ($this->_tpl_vars['data']['video_cover']): ?><?php echo $this->_tpl_vars['data']['video_cover']; ?>
<?php else: ?>'../images/vedio_img.png'<?php endif; ?>" alt="Video Cover">
<img src="../images/play.svg" class="play-video" alt="...丢了">
</div>
<?php endif; ?>
<?php if ($this->_tpl_vars['comment_list']): ?>
<div class="comment-list">
<div class="comment-title">评论内容:</div>
<?php $_from = $this->_tpl_vars['comment_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
<div class="list_item_top flex" style="margin-top: 20px;" idattr="<?php echo $this->_tpl_vars['item']['id']; ?>
">
<div class="list_item_top_l">
<!-- <span class="green">评论</span> -->
<b class="refer_text"></b>
<span class="name"><?php echo $this->_tpl_vars['key']+1; ?>
.<?php echo $this->_tpl_vars['item']['screen_name']; ?>
</span>
<span><?php echo $this->_tpl_vars['item']['comment_time']; ?>
<?php echo $this->_tpl_vars['item']['source']; ?>
</span>
</div>
</div>
<div class="list_item_top flex" style="margin-top: 10px;">
<div class="list_item_top_l">
<span class="green">评论</span>
<b class="refer_text"></b>
<span class="name comment-txt"><?php echo $this->_tpl_vars['item']['content']; ?>
</span>
<span class="<?php if ($this->_tpl_vars['item']['is_search'] == 1): ?>green<?php elseif ($this->_tpl_vars['item']['is_search'] == 0): ?>red<?php elseif ($this->_tpl_vars['item']['is_search'] == 0): ?>grey<?php endif; ?>"><?php echo $this->_tpl_vars['search_status_list'][$this->_tpl_vars['item']['is_search']]; ?>
</span>
</div>
</div>
<?php endforeach; endif; unset($_from); ?>
</div>
<?php endif; ?>
</div>
<div class="pagination" v-if="total > 0">
<img id="prev-page" src="/images/prev.svg" alt="">
<ul id="page-numbers">
<?php if ($this->_tpl_vars['last_page'] <= 6): ?>
<?php unset($this->_sections['num']);
$this->_sections['num']['name'] = 'num';
$this->_sections['num']['loop'] = is_array($_loop=$this->_tpl_vars['last_page']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['num']['show'] = true;
$this->_sections['num']['max'] = $this->_sections['num']['loop'];
$this->_sections['num']['step'] = 1;
$this->_sections['num']['start'] = $this->_sections['num']['step'] > 0 ? 0 : $this->_sections['num']['loop']-1;
if ($this->_sections['num']['show']) {
$this->_sections['num']['total'] = $this->_sections['num']['loop'];
if ($this->_sections['num']['total'] == 0)
$this->_sections['num']['show'] = false;
} else
$this->_sections['num']['total'] = 0;
if ($this->_sections['num']['show']):
for ($this->_sections['num']['index'] = $this->_sections['num']['start'], $this->_sections['num']['iteration'] = 1;
$this->_sections['num']['iteration'] <= $this->_sections['num']['total'];
$this->_sections['num']['index'] += $this->_sections['num']['step'], $this->_sections['num']['iteration']++):
$this->_sections['num']['rownum'] = $this->_sections['num']['iteration'];
$this->_sections['num']['index_prev'] = $this->_sections['num']['index'] - $this->_sections['num']['step'];
$this->_sections['num']['index_next'] = $this->_sections['num']['index'] + $this->_sections['num']['step'];
$this->_sections['num']['first'] = ($this->_sections['num']['iteration'] == 1);
$this->_sections['num']['last'] = ($this->_sections['num']['iteration'] == $this->_sections['num']['total']);
?>
<span class="<?php if ($this->_tpl_vars['cur_page'] == ( $this->_sections['num']['index']+1 )): ?>pagActive<?php endif; ?>" page="<?php echo $this->_sections['num']['index']+1; ?>
"><?php echo $this->_sections['num']['index']+1; ?>
</span>
<?php endfor; endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['last_page'] > 6): ?>
<?php if ($this->_tpl_vars['cur_page'] <= 5): ?>
<?php unset($this->_sections['num']);
$this->_sections['num']['name'] = 'num';
$this->_sections['num']['loop'] = is_array($_loop=5) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['num']['show'] = true;
$this->_sections['num']['max'] = $this->_sections['num']['loop'];
$this->_sections['num']['step'] = 1;
$this->_sections['num']['start'] = $this->_sections['num']['step'] > 0 ? 0 : $this->_sections['num']['loop']-1;
if ($this->_sections['num']['show']) {
$this->_sections['num']['total'] = $this->_sections['num']['loop'];
if ($this->_sections['num']['total'] == 0)
$this->_sections['num']['show'] = false;
} else
$this->_sections['num']['total'] = 0;
if ($this->_sections['num']['show']):
for ($this->_sections['num']['index'] = $this->_sections['num']['start'], $this->_sections['num']['iteration'] = 1;
$this->_sections['num']['iteration'] <= $this->_sections['num']['total'];
$this->_sections['num']['index'] += $this->_sections['num']['step'], $this->_sections['num']['iteration']++):
$this->_sections['num']['rownum'] = $this->_sections['num']['iteration'];
$this->_sections['num']['index_prev'] = $this->_sections['num']['index'] - $this->_sections['num']['step'];
$this->_sections['num']['index_next'] = $this->_sections['num']['index'] + $this->_sections['num']['step'];
$this->_sections['num']['first'] = ($this->_sections['num']['iteration'] == 1);
$this->_sections['num']['last'] = ($this->_sections['num']['iteration'] == $this->_sections['num']['total']);
?>
<span class="<?php if ($this->_tpl_vars['cur_page'] == ( $this->_sections['num']['index']+1 )): ?>pagActive<?php endif; ?>" page="<?php echo $this->_sections['num']['index']+1; ?>
"><?php echo $this->_sections['num']['index']+1; ?>
</span>
<?php endfor; endif; ?>
<span>...</span>
<span page="<?php echo $this->_tpl_vars['last_page']; ?>
"><?php echo $this->_tpl_vars['last_page']; ?>
</span>
<?php elseif ($this->_tpl_vars['cur_page'] > $this->_tpl_vars['last_page']-5): ?>
<span page="1">1</span>
<span>...</span>
<?php unset($this->_sections['num']);
$this->_sections['num']['name'] = 'num';
$this->_sections['num']['loop'] = is_array($_loop=5) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['num']['show'] = true;
$this->_sections['num']['max'] = $this->_sections['num']['loop'];
$this->_sections['num']['step'] = 1;
$this->_sections['num']['start'] = $this->_sections['num']['step'] > 0 ? 0 : $this->_sections['num']['loop']-1;
if ($this->_sections['num']['show']) {
$this->_sections['num']['total'] = $this->_sections['num']['loop'];
if ($this->_sections['num']['total'] == 0)
$this->_sections['num']['show'] = false;
} else
$this->_sections['num']['total'] = 0;
if ($this->_sections['num']['show']):
for ($this->_sections['num']['index'] = $this->_sections['num']['start'], $this->_sections['num']['iteration'] = 1;
$this->_sections['num']['iteration'] <= $this->_sections['num']['total'];
$this->_sections['num']['index'] += $this->_sections['num']['step'], $this->_sections['num']['iteration']++):
$this->_sections['num']['rownum'] = $this->_sections['num']['iteration'];
$this->_sections['num']['index_prev'] = $this->_sections['num']['index'] - $this->_sections['num']['step'];
$this->_sections['num']['index_next'] = $this->_sections['num']['index'] + $this->_sections['num']['step'];
$this->_sections['num']['first'] = ($this->_sections['num']['iteration'] == 1);
$this->_sections['num']['last'] = ($this->_sections['num']['iteration'] == $this->_sections['num']['total']);
?>
<span class="<?php if ($this->_tpl_vars['cur_page'] == ( $this->_tpl_vars['last_page']-5+$this->_sections['num']['index']+1 )): ?>pagActive<?php endif; ?>" page="<?php echo $this->_tpl_vars['last_page']-5+$this->_sections['num']['index']+1; ?>
"><?php echo $this->_tpl_vars['last_page']-5+$this->_sections['num']['index']+1; ?>
</span>
<?php endfor; endif; ?>
<?php else: ?>
<span page="1">1</span>
<span>...</span>
<?php unset($this->_sections['num']);
$this->_sections['num']['name'] = 'num';
$this->_sections['num']['loop'] = is_array($_loop=5) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['num']['show'] = true;
$this->_sections['num']['max'] = $this->_sections['num']['loop'];
$this->_sections['num']['step'] = 1;
$this->_sections['num']['start'] = $this->_sections['num']['step'] > 0 ? 0 : $this->_sections['num']['loop']-1;
if ($this->_sections['num']['show']) {
$this->_sections['num']['total'] = $this->_sections['num']['loop'];
if ($this->_sections['num']['total'] == 0)
$this->_sections['num']['show'] = false;
} else
$this->_sections['num']['total'] = 0;
if ($this->_sections['num']['show']):
for ($this->_sections['num']['index'] = $this->_sections['num']['start'], $this->_sections['num']['iteration'] = 1;
$this->_sections['num']['iteration'] <= $this->_sections['num']['total'];
$this->_sections['num']['index'] += $this->_sections['num']['step'], $this->_sections['num']['iteration']++):
$this->_sections['num']['rownum'] = $this->_sections['num']['iteration'];
$this->_sections['num']['index_prev'] = $this->_sections['num']['index'] - $this->_sections['num']['step'];
$this->_sections['num']['index_next'] = $this->_sections['num']['index'] + $this->_sections['num']['step'];
$this->_sections['num']['first'] = ($this->_sections['num']['iteration'] == 1);
$this->_sections['num']['last'] = ($this->_sections['num']['iteration'] == $this->_sections['num']['total']);
?>
<span class="<?php if ($this->_tpl_vars['cur_page'] == ( $this->_tpl_vars['cur_page']-2+$this->_sections['num']['index'] )): ?>pagActive<?php endif; ?>" page="<?php echo $this->_tpl_vars['cur_page']-2+$this->_sections['num']['index']; ?>
"><?php echo $this->_tpl_vars['cur_page']-2+$this->_sections['num']['index']; ?>
</span>
<?php endfor; endif; ?>
<span>...</span>
<span page="<?php echo $this->_tpl_vars['last_page']; ?>
"><?php echo $this->_tpl_vars['last_page']; ?>
</span>
<?php endif; ?>
<?php endif; ?>
</ul>
<img id="next-page" src="/images/next.svg" alt="">
<div class="input-page">
<span>前往</span>
<input type="number" id="jump-to-page" min="1" placeholder="页码">
<span></span>
</div>
<button id="go-to-page">跳转</button>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</div>
<div id="hidecomments" style="display: none;"></div>
<div id="last_page" style="display: none;"><?php echo $this->_tpl_vars['last_page']; ?>
</div>
</body>
<?php echo '
<script>
$(\'.index-nav-wrap-li\').click(function(){
var type = $(this).attr(\'type\')
window.location.href = location.href.replace(/\\&search\\_type=(\\-)?\\d+/, \'\').replace(/\\&page=\\d+/, \'\') +\'&search_type=\'+type
})
$(\'#page-numbers span\').click(function(){
var page = $(this).attr(\'page\')
if(!page) return;
location.href = location.href.replace(/\\&page=\\d+/, \'\') +\'&page=\'+page
})
$(\'#next-page\').click(function(){
var page = parseInt($(\'#page-numbers span.pagActive\').attr(\'page\')) + 1
if(page > parseInt($(\'#last_page\').text())) return;
location.href = location.href.replace(/\\&page=\\d+/, \'\') +\'&page=\'+page
})
$(\'#prev-page\').click(function(){
var page = parseInt($(\'#page-numbers span.pagActive\').attr(\'page\')) - 1
if(page < 1) return;
location.href = location.href.replace(/\\&page=\\d+/, \'\') +\'&page=\'+page
})
$(\'#go-to-page\').click(function(){
var page = $(\'#jump-to-page\').val()
if(page > parseInt($(\'#last_page\').text())) page = parseInt($(\'#last_page\').text())
if(page < 1) page = 1
location.href = location.href.replace(/\\&page=\\d+/, \'\') +\'&page=\'+page
})
</script>
'; ?>
</html>

192
cache/template_c/%%69^696^6961BB6C%%home.html.php

@ -1,192 +0,0 @@
<?php /* Smarty version 2.6.26, created on 2025-07-14 11:41:03
compiled from weibo/home.html */ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>知识库</title>
<link rel="stylesheet" href="<?php echo @CSS_URL; ?>
/css/common.css?v=<?php echo @CSS_JS_VERSION; ?>
">
<link rel="stylesheet" href="<?php echo @CSS_URL; ?>
/css/index.css?v=<?php echo @CSS_JS_VERSION; ?>
">
<script src="<?php echo @CSS_URL; ?>
/js/jquery-3.6.0.min.js"></script>
</head>
<body>
<div class="home-page">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="home-main-content">
<div class="home-main">
<div class="tab-list index-nav-wrap flex">
<ul class="tab-wrap">
<li class="index-nav-wrap-li" type="1"><span class="active">待审批</span></li>
<li class="index-nav-wrap-li" type="2"><span>已审批</span></li>
<li class="index-nav-wrap-li" type="3"><span>已删除</span></li>
</ul>
<button class="addNewBtn">
<img src="<?php echo @CSS_URL; ?>
/images/add.svg" alt="">新增自录入
</button>
</div>
<div class="list_all" id="data-list">
</div>
<!-- 数据列表 -->
<!-- <ul id="data-list"></ul> -->
<!-- 分页控件 -->
<div class="pagination hide">
<img id="prev-page" src="<?php echo @CSS_URL; ?>
/images/prev.svg" alt="">
<ul id="page-numbers"></ul>
<img id="next-page" src="<?php echo @CSS_URL; ?>
/images/next.svg" alt="">
<div class="input-page">
<span>前往</span>
<input type="number" id="jump-to-page" min="1" placeholder="页码">
<span></span>
</div>
<button id="go-to-page">跳转</button>
</div>
<!-- 放大后的图片容器 -->
<div id="large-image-container">
<h2>预览</h2>
<img id="large-image" src="<?php echo @CSS_URL; ?>
/images/viewimg1.png" alt="Large Image">
<span id="close-btn2">×</span>
</div>
<!-- 放大后的视频容器 -->
<div id="large-video-container">
<video id="large-video" controls>
<source id="large-viedo-url" src="" type="video/mp4">
Your browser does not support the video tag.
</video>
<button id="close-btn">×</button>
</div>
<!-- 弹框 -->
<div class="modal-overlay"></div>
<div class="modal">
<div class="modal_top">
<b id="header_title">编辑</b>
<img src="<?php echo @CSS_URL; ?>
/images/close_modal.svg" id="close_modal" alt="">
</div>
<div class="add-form">
<div class="form-item radio-form">
<input type="hidden" id="id" value="">
<div class="form-left">
录入形式
</div>
<div class="form-right radio-wrap flex">
<div class="radio_box radio_box_active">
<input value="1" type="radio"id="edu1">
<div></div>
<label >信息段录入</label>
</div>
<div class="radio_box">
<input value="2" type="radio"id="edu2">
<div></div>
<label >问答式录入</label>
</div>
</div>
</div>
<div class="form-item normal-form" style="display: none;">
<div class="form-left">
提问信息
</div>
<div class="form-right">
<div class="text-area-container">
<textarea class="edit-input normal-input" ></textarea>
<div class="char-count wordNum">0/200</div>
</div>
</div>
</div>
<div class="form-item">
<div class="form-left common-input">
回答信息
</div>
<div class="form-right">
<div class="text-area-container">
<textarea class="edit-input answer-input" ></textarea>
<div class="char-count1 wordNum">0/200</div>
</div>
</div>
</div>
</div>
<?php echo '
<script>
const maxLength = 100; // 设置最大字数限制
$(\'.normal-input\').on(\'input\', function () {
var currentLength = $(this).val().length;
$(\'.char-count\').text(currentLength + \'/\' + maxLength);
if (currentLength > maxLength) {
$(\'.normal-input\').val($(\'.normal-input\').val().slice(0, maxLength))
$(\'.char-count\').text(maxLength + \'/\' + maxLength);
}
});
$(\'.answer-input\').on(\'input\', function () {
var currentLength = $(this).val().length;
$(\'.char-count1\').text(currentLength + \'/\' + maxLength);
if (currentLength > maxLength) {
$(\'.answer-input\').val($(\'.answer-input\').val().slice(0, maxLength))
$(\'.char-count1\').text(maxLength + \'/\' + maxLength);
}
});
</script>
'; ?>
<div class="img_list2" style="display: none;"></div>
<div class="preview"></div>
<div class="modal_upload_btn flex hide">
<div class="flex modal_btns">
<button id="upload-image-btn" class="button upload_btn">
<img src="<?php echo @CSS_URL; ?>
/images/img_upload.svg" alt="">上传图片
</button>
<button id="upload-video-btn" class="button upload_btn">
<img src="<?php echo @CSS_URL; ?>
/images/vedio_upload.svg" alt="">上传视频
</button>
</div>
<p>支持 jpg、png、mp4 格式,单个文件不超过 10MB</p>
</div>
<input type="file" id="upload-image" accept="image/*" style="display: none;" multiple>
<input type="file" id="upload-video" accept="video/*" style="display: none;" multiple>
<div class="buttons flex">
<button id="submit" class="button ">仅保存</button>
<button id="savePass" class="button button-primary">保存并通过审批</button>
</div>
</div>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</div>
</body>
<script src="<?php echo @CSS_URL; ?>
/js/index.js?v=<?php echo @CSS_JS_VERSION; ?>
"></script>
</html>

152
cache/template_c/%%74^74D^74D2651F%%user_list.html.php

@ -1,152 +0,0 @@
<?php /* Smarty version 2.6.26, created on 2025-07-08 17:04:01
compiled from index/user_list.html */ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>知识库</title>
<link rel="stylesheet" href="<?php echo @CSS_URL; ?>
/css/common.css?v=<?php echo @CSS_JS_VERSION; ?>
">
<link rel="stylesheet" href="<?php echo @CSS_URL; ?>
/css/subCount.css?v=<?php echo @CSS_JS_VERSION; ?>
">
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<script src="<?php echo @CSS_URL; ?>
/js/jquery-3.6.0.min.js"></script>
</head>
<body>
<div class="subCount-page">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="subCount-main-content">
<div class="subCount-main">
<div class="tab-list flex">
<b>子账号管理</b>
<button class="addNewBtn">
<img src="<?php echo @CSS_URL; ?>
/images/add.svg" alt="">新增自子账号
</button>
</div>
<table id="dataTable">
<thead>
<tr>
<?php if ($this->_tpl_vars['_user_info']['aid'] == 0): ?>
<th>AID</th>
<?php endif; ?>
<th>账号昵称</th>
<th>姓名</th>
<th>添加时间</th>
<th>启用状态</th>
</tr>
</thead>
<tbody id="tbody-wrap">
</tbody>
</table>
<div id="editPopover" class="popover">
<div>
<span>备注</span>
<input type="text" id="editInput">
</div>
<div class="flex" style="justify-content: flex-end;">
<button id="cancelBtn">取消</button>
<button id="confirmBtn">确定</button>
</div>
<!-- <img src="<?php echo @CSS_URL; ?>
/images/appendIcon.png" alt=""> -->
</div>
<!-- 分页控件 -->
<div class="pagination hide">
<img id="prev-page" src="<?php echo @CSS_URL; ?>
/images/prev.svg" alt="">
<ul id="page-numbers"></ul>
<img id="next-page" src="<?php echo @CSS_URL; ?>
/images/next.svg" alt="">
<div class="input-page">
<span>前往</span>
<input type="number" id="jump-to-page" min="1" placeholder="页码">
<span></span>
</div>
<button id="go-to-page">跳转</button>
</div>
</div>
</div>
<div class="modal-overlay"></div>
<div class="addChildNumWrap">
<h3>新增子账号</h3>
<?php if ($this->_tpl_vars['bind_user_info']): ?>
<img class="temImg" src="../../images/userTem.png" alt="">
<?php else: ?>
<div id="login_container" class="temImg">
<?php echo '
<script>
var obj = new WxLogin({
id: "login_container",
appid: "'; ?>
<?php echo $this->_tpl_vars['appid']; ?>
<?php echo '",
scope: "snsapi_login",
redirect_uri: "'; ?>
<?php echo $this->_tpl_vars['redirect_uri']; ?>
<?php echo '",
state: "'; ?>
<?php echo $this->_tpl_vars['state']; ?>
<?php echo '",
style: "black",
href:\'data:text/css;base64,LmltcG93ZXJCb3ggLnFyY29kZSB7d2lkdGg6IDIyMHB4O2JvcmRlcjpub25lO21hcmdpbi10b3A6MHB4O30KLmltcG93ZXJCb3ggLnRpdGxlIHtkaXNwbGF5OiBub25lO30KLmltcG93ZXJCb3ggLmluZm8ge3dpZHRoOiAyMjBweDtkaXNwbGF5Om5vbmU7fQouc3RhdHVzX2ljb24ge2Rpc3BsYXk6IG5vbmV9Ci5pbXBvd2VyQm94IC5zdGF0dXMge3RleHQtYWxpZ246IGNlbnRlcjt9\'
});
</script>
'; ?>
</div>
<?php endif; ?>
<div class="scanSuccess code-filter column <?php if (! $this->_tpl_vars['bind_user_info']): ?>hide<?php endif; ?>">
<img src="<?php echo @CSS_URL; ?>
/images/step_success.png" alt="">
<span class="scanSuccessText"><?php echo $this->_tpl_vars['bind_user_info']['nickname']; ?>
,扫码成功</span>
</div>
<p class="flex" style="text-align: center;">
<img src="<?php echo @CSS_URL; ?>
/images/weixin.svg" alt="">
微信扫码,绑定子账号
</p>
<div class="scanSuccess name column <?php if (! $this->_tpl_vars['bind_user_info']): ?>hide<?php endif; ?>">
<div class="name-top flex">
<img src="<?php echo @CSS_URL; ?>
/images/user.svg" alt="">
姓名
</div>
<input id="bind_realname" class="name-input" type="text" placeholder="可备注真实姓名">
<input id="bind_id" type="hidden" value="<?php echo $this->_tpl_vars['bind_user_info']['id']; ?>
">
</div>
<div class="btnGroups flex">
<button class="button button-normal cancelBtn">取消</button>
<button class="scanSuccess button button-primary confirmBtn <?php if (! $this->_tpl_vars['bind_user_info']): ?>hide<?php endif; ?>">确定</button>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</div>
</body>
<script src="<?php echo @CSS_URL; ?>
/js/subCount.js?v=<?php echo @CSS_JS_VERSION; ?>
"></script>
</html>

34
cache/template_c/%%91^91E^91E815D2%%show_detail.html.php

@ -1,34 +0,0 @@
<?php /* Smarty version 2.6.26, created on 2025-05-23 09:36:20
compiled from weibo/show_detail.html */ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="referrer" content="no-referrer">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>详情</title>
<?php echo '
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
iframe {
border: none;
width: 100%;
height: 100%;
}
</style>
'; ?>
</head>
<body>
<iframe src="https://m.weibo.cn/detail/<?php echo $this->_tpl_vars['wid']; ?>
" frameborder="0"></iframe>
</body>
</html>

195
cache/template_c/%%9D^9D5^9D53217D%%comments.html.php

@ -1,195 +0,0 @@
<?php /* Smarty version 2.6.26, created on 2025-07-14 18:27:22
compiled from weibo/comments.html */ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>知识库</title>
<link rel="stylesheet" href="<?php echo @CSS_URL; ?>
/css/common.css?v=<?php echo @CSS_JS_VERSION; ?>
">
<link rel="stylesheet" href="<?php echo @CSS_URL; ?>
/css/index.css?v=<?php echo @CSS_JS_VERSION; ?>
">
<script src="<?php echo @CSS_URL; ?>
/js/jquery-3.6.0.min.js"></script>
</head>
<body>
<div class="home-page">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="home-main-content">
<div class="home-main">
<div class="tab-list index-nav-wrap flex">
<ul class="tab-wrap" style="display: none;">
<li class="index-nav-wrap-li" type="1"><span class="active">待审批</span></li>
<li class="index-nav-wrap-li" type="2"><span>已审批</span></li>
<li class="index-nav-wrap-li" type="3"><span>已删除</span></li>
</ul>
<button class="addNewBtn" style="display: none;">
<img src="<?php echo @CSS_URL; ?>
/images/add.svg" alt="">新增自录入
</button>
</div>
<div class="list_all" id="data-list">
</div>
<!-- 数据列表 -->
<!-- <ul id="data-list"></ul> -->
<!-- 分页控件 -->
<div class="pagination hide">
<img id="prev-page" src="<?php echo @CSS_URL; ?>
/images/prev.svg" alt="">
<ul id="page-numbers"></ul>
<img id="next-page" src="<?php echo @CSS_URL; ?>
/images/next.svg" alt="">
<div class="input-page">
<span>前往</span>
<input type="number" id="jump-to-page" min="1" placeholder="页码">
<span></span>
</div>
<button id="go-to-page">跳转</button>
</div>
<!-- 放大后的图片容器 -->
<div id="large-image-container">
<h2>预览</h2>
<img id="large-image" src="<?php echo @CSS_URL; ?>
/images/viewimg1.png" alt="Large Image">
<span id="close-btn2">×</span>
</div>
<!-- 放大后的视频容器 -->
<div id="large-video-container">
<video id="large-video" controls>
<source id="large-viedo-url" src="" type="video/mp4">
Your browser does not support the video tag.
</video>
<button id="close-btn">×</button>
</div>
<!-- 弹框 -->
<div class="modal-overlay"></div>
<div class="modal">
<div class="modal_top">
<b id="header_title">编辑</b>
<img src="<?php echo @CSS_URL; ?>
/images/close_modal.svg" id="close_modal" alt="">
</div>
<div class="add-form">
<div class="form-item radio-form">
<input type="hidden" id="id" value="">
<div class="form-left">
录入形式
</div>
<div class="form-right radio-wrap flex">
<div class="radio_box radio_box_active">
<input value="1" type="radio"id="edu1">
<div></div>
<label >信息段录入</label>
</div>
<div class="radio_box">
<input value="2" type="radio"id="edu2">
<div></div>
<label >问答式录入</label>
</div>
</div>
</div>
<div class="form-item normal-form" style="display: none;">
<div class="form-left">
提问信息
</div>
<div class="form-right">
<div class="text-area-container">
<textarea class="edit-input normal-input" ></textarea>
<div class="char-count wordNum">0/200</div>
</div>
</div>
</div>
<div class="form-item">
<div class="form-left common-input">
回答信息
</div>
<div class="form-right">
<div class="text-area-container">
<textarea class="edit-input answer-input" ></textarea>
<div class="char-count1 wordNum">0/200</div>
</div>
</div>
</div>
</div>
<?php echo '
<script>
const maxLength = 100; // 设置最大字数限制
$(\'.normal-input\').on(\'input\', function () {
var currentLength = $(this).val().length;
$(\'.char-count\').text(currentLength + \'/\' + maxLength);
if (currentLength > maxLength) {
$(\'.normal-input\').val($(\'.normal-input\').val().slice(0, maxLength))
$(\'.char-count\').text(maxLength + \'/\' + maxLength);
}
});
$(\'.answer-input\').on(\'input\', function () {
var currentLength = $(this).val().length;
$(\'.char-count1\').text(currentLength + \'/\' + maxLength);
if (currentLength > maxLength) {
$(\'.answer-input\').val($(\'.answer-input\').val().slice(0, maxLength))
$(\'.char-count1\').text(maxLength + \'/\' + maxLength);
}
});
</script>
'; ?>
<div class="img_list2" style="display: none;"></div>
<div class="preview"></div>
<div class="modal_upload_btn flex hide">
<div class="flex modal_btns">
<button id="upload-image-btn" class="button upload_btn">
<img src="<?php echo @CSS_URL; ?>
/images/img_upload.svg" alt="">上传图片
</button>
<button id="upload-video-btn" class="button upload_btn">
<img src="<?php echo @CSS_URL; ?>
/images/vedio_upload.svg" alt="">上传视频
</button>
</div>
<p>支持 jpg、png、mp4 格式,单个文件不超过 10MB</p>
</div>
<input type="file" id="upload-image" accept="image/*" style="display: none;" multiple>
<input type="file" id="upload-video" accept="video/*" style="display: none;" multiple>
<div class="buttons flex">
<button id="submit" class="button ">仅保存</button>
<button id="savePass" class="button button-primary">保存并通过审批</button>
</div>
</div>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</div>
<div id="hidecomments" style="display: none;"></div>
</body>
<script src="<?php echo @CSS_URL; ?>
/js/index.js?v=<?php echo @CSS_JS_VERSION; ?>
89"></script>
</html>

44
cache/template_c/%%EC^EC2^EC26F5B8%%header.html.php

@ -1,44 +0,0 @@
<?php /* Smarty version 2.6.26, created on 2025-07-14 11:50:19
compiled from include/header.html */ ?>
<div class="header-wrap">
<a href="/"><img class="home-logo" src="<?php echo @CSS_URL; ?>
/images/home-logo.png" alt=""></a>
<div class="header-right flex">
<img src="<?php echo @CSS_URL; ?>
/images/home-more.png" alt="">
<div class="dropdown">
<button class="dropdown-toggle">
<?php echo $this->_tpl_vars['_user_info']['nickname']; ?>
<img class="icon" src="<?php echo @CSS_URL; ?>
/images/drop-icon.svg" alt="">
</button>
<div class="dropdown-panel">
<a href="/index/interlocution">问答</a>
<?php if ($this->_tpl_vars['_user_info']['is_super_admin']): ?>
<a href="/index/user_list">子账号管理</a>
<?php endif; ?>
<?php if ($this->_tpl_vars['_user_info']['is_super_admin']): ?>
<a href="/weibo/comments">微博评论</a>
<?php endif; ?>
<a href="/loginout">退出</a>
</div>
</div>
</div>
</div>
<?php echo '
<script>
$(\'.dropdown-toggle\').click(function () {
const dropdownPanel = document.querySelector(\'.dropdown-panel\');
const icon = document.querySelector(\'.icon\');
// 切换面板的显示/隐藏
if (dropdownPanel.style.display === \'block\') {
dropdownPanel.style.display = \'none\';
icon.classList.remove(\'rotate\'); // 移除旋转效果
} else {
dropdownPanel.style.display = \'block\';
icon.classList.add(\'rotate\'); // 添加旋转效果
}
})
</script>
'; ?>

152
cache/template_c/%%EF^EF7^EF70A257%%login.html.php

@ -1,152 +0,0 @@
<?php /* Smarty version 2.6.26, created on 2025-07-08 16:37:03
compiled from index/login.html */ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>登陆页</title>
<script src="<?php echo @CSS_URL; ?>
/js/jquery-3.6.0.min.js" type="text/javascript"></script>
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
<link rel="stylesheet" href="<?php echo @CSS_URL; ?>
/css/common.css?v=<?php echo @CSS_JS_VERSION; ?>
">
<?php echo '
<style>
.login-wrap {
display: flex;
justify-content: center;
align-items: center;
flex: 1;
}
.login-container {
padding: 40px;
display: flex;
flex-direction: column;
align-items: center;
width: calc(440px - 40px*2);
height: calc(429.32px - 40px*2);
border-radius: 16px;
opacity: 1;
background: #FFFFFF;
/* 蓝色阴影_常规 */
box-shadow: 0px 4px 16px 0px rgba(17, 55, 143, 0.12);
position: relative;
}
.con-top{
margin-bottom: 43px;
}
.con-top span{
font-family: MiSans;
font-size: 20px;
font-weight: 600;
line-height: 24px;
display: flex;
align-items: center;
letter-spacing: 0px;
color: #1E2226;
margin-left: 8px;
}
.qrcode{
margin-bottom: 12px;
}
.code-filter{
width: 220px;
height: 220px;
opacity: 1;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(2px);
position: absolute;
cursor: pointer;
top: 117px;
}
.code-filter img{
margin-bottom: 6px;
}
.weixin-log{
margin-bottom: 6px;
}
.weixin-log img{
margin-right: 4px;
}
.weixin-log + p{
color: #1E2226;
letter-spacing: 0.08em;
}
.qrcode{
height: 220px;
}
.login-main{
width: 100%;
height: 100%;
background-size: 100% 100%;
background-image: url({$smarty.const.CSS_URL}/images/login_back.png);
flex-direction: column;
}
</style>
'; ?>
</head>
<body>
<div class="login-main flex">
<div class="login-wrap">
<div class="login-container">
<div class="con-top center">
<img src="<?php echo @CSS_URL; ?>
/images/login_top.svg" alt="">
<span>私有云知识库</span>
</div>
<div id="login_container" class="qrcode">
<?php echo '
<script>
var obj = new WxLogin({
id: "login_container",
appid: "'; ?>
<?php echo $this->_tpl_vars['appid']; ?>
<?php echo '",
scope: "snsapi_login",
redirect_uri: "'; ?>
<?php echo $this->_tpl_vars['redirect_uri']; ?>
<?php echo '",
state: "'; ?>
<?php echo $this->_tpl_vars['state']; ?>
<?php echo '",
style: "black",
href:\'data:text/css;base64,LmltcG93ZXJCb3ggLnFyY29kZSB7d2lkdGg6IDE4OHB4O2JvcmRlcjpub25lO21hcmdpbi10b3A6MHB4O30KLmltcG93ZXJCb3ggLnRpdGxlIHtkaXNwbGF5OiBub25lO30KLmltcG93ZXJCb3ggLmluZm8ge3dpZHRoOiAxODhweDtkaXNwbGF5Om5vbmU7fQouc3RhdHVzX2ljb24ge2Rpc3BsYXk6IG5vbmV9Ci5pbXBvd2VyQm94IC5zdGF0dXMge3RleHQtYWxpZ246IGNlbnRlcjt9IAo=\'
});
</script>
'; ?>
</div>
<div class="code-filter column hide">
<img src="<?php echo @CSS_URL; ?>
/images/refresh.svg" alt="">
<span>点击刷新</span>
</div>
<div class="login-bottom ">
<div class="weixin-log center">
<img src="<?php echo @CSS_URL; ?>
/images/login_weixin.svg" alt="">
<span style="display: inline-block; height: 18px;"></span>
</div>
<p style="color: #626573;">
扫码后请在手机上确认登录
</p>
</div>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</div>
</body>
<script>
</script>
</html>
Loading…
Cancel
Save