/* 更新記錄檔檔案/輸出討論串 */
/* ログの全体更新 */
function updatelog($resno=0,$page_num=-1,$single_page=false){
- global $PIO, $FileIO, $PTE, $PMS, $language, $LIMIT_SENSOR, $style_bar;
+ global $config, $PIO, $FileIO, $PTE, $PMS, $language, $LIMIT_SENSOR, $style_bar;
$adminMode = adminAuthenticate('check') && $page_num != -1 && !$single_page; // 前端管理模式
$adminFunc = ''; // 前端管理選擇
// 正式寫入儲存
$PIO->addPost($no,$resto,$md5chksum,$category,$tim,$ext,$imgW,$imgH,$imgsize,$filename,$W,$H,$pass,$now,$name,$email,$sub,$com,$host,$age,$status);
- //----$PIO->addPost($no,$now,$name,$email,$sub,$com,$age,$status,$host,$pwd,$ext,$W,$H,$tim,$md5chksum,$imgsize,$filename,$imgW,$imgH,$category,$resto);
+//---- $PIO->addPost($no,$now,$name,$email,$sub,$com,$age,$status,$host,$pwd,$ext,$W,$H,$tim,$md5chksum,$imgsize,$filename,$imgW,$imgH,$category,$resto);
$PIO->dbCommit();
$lastno = $PIO->getLastPostNo('afterCommit'); // 取得此新文章編號
$PMS->useModuleMethods('RegistAfterCommit', array($lastno, $resto, $name, $email, $sub, $com)); // "RegistAfterCommit" Hook Point
</div>
<form action="'.PHP_SELF.'" method="post" id="adminform">
<div id="admin-check" style="text-align: center;">
-'; //----class="bar_admin"
+';//----class="bar_admin"
echo $dat;
if(!$isCheck){
echo '<br />