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
+30
View File
@@ -0,0 +1,30 @@
<?php
defined('IN_TS') or die('Access Denied.');
//插件编辑
switch($ts){
case "set":
$strGonggao = fileRead('data/plugins_pubs_gonggao.php');
if($strGonggao==''){
$strGonggao = $tsMySqlCache->get('plugins_pubs_gonggao');
}
include template('edit_set','gonggao');
break;
case "do":
$title = trim($_POST['title']);
$url = trim($_POST['url']);
$arrData = array(
'title'=>$title,
'url'=>$url,
);
fileWrite('plugins_pubs_gonggao.php','data',$arrData);
$tsMySqlCache->set('plugins_pubs_gonggao',$arrData);
header('Location: '.SITE_URL.'index.php?app=pubs&ac=plugin&plugin=gonggao&in=edit&ts=set');
break;
}