if(!defined('EMLOG_ROOT')) {exit('error!');}
function plugin_setting_view(){
$live2d_set=unserialize(ltrim(file_get_contents(dirname(__FILE__).'/live2d.com.php'),'<?php die; ?>'));
?>
KEY:
音樂1:
音樂2:
音樂3:
音樂4:
音樂5:
}
if(!empty($_POST)){
$ak=empty($_POST['ak'])?'':trim($_POST['ak']);
$msra=empty($_POST['msra'])?'':trim($_POST['msra']);
$msrb=empty($_POST['msrb'])?'':trim($_POST['msrb']);
$msrc=empty($_POST['msrc'])?'':trim($_POST['msrc']);
$msrd=empty($_POST['msrd'])?'':trim($_POST['msrd']);
$msre=empty($_POST['msre'])?'':trim($_POST['msre']);
if(get_magic_quotes_gpc()){
$ak=stripslashes($ak);
$msra=stripslashes($msra);
$msrb=stripslashes($msrb);
$msrc=stripslashes($msrc);
$msrd=stripslashes($msrd);
$msre=stripslashes($msre);
}
file_put_contents(dirname(__FILE__).'/live2d.com.php','<?php die; ?>'.serialize(array(
'ak'=>$ak,
'msra'=>$msra,
'msrb'=>$msrb,
'msrc'=>$msrc,
'msrd'=>$msrd,
'msre'=>$msre,
)));
}
?>
一鍵復制
編輯
Web IDE
原始數據
按行查看
歷史