begin of thinksaas 3.68

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2023-06-22 13:33:25 +08:00
commit 963ec1b2ea
2746 changed files with 331806 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
<?php
//feedback反馈插件
function feedback_html(){
global $tsMySqlCache;
$code = fileRead('data/plugins_pubs_feedback.php');
if($code==''){
$code = $tsMySqlCache->get('plugins_pubs_feedback');
}
echo '<div class="feedback-box">'.stripslashes($code).'<!--<div class="jubao"><a href="'.tsUrl('home','report').'">举报</a></div></div>-->';
}
addAction('pub_footer','feedback_html');
function feedback_css(){
echo '<style>.feedback-box {
background-color: #49a5de;
bottom: 60%;
padding: 1px 0;
position: fixed;
right: 0;
width: 30px;
text-align:center;
}
.feedback-box a {
color: #FFFFFF !important;
display: block;
padding: 5px;
text-decoration: none;
}
.feedback-box .jubao{overflow: hidden;}
.feedback-box .jubao a{padding:0px;float: left;width:100%;text-align: center;background: #336699;font-size: 12px;}
.feedback-box .jubao a:hover{background:#ff6600;}
</style>';
}
addAction('pub_header_top','feedback_css');