]> 4ch.mooo.com Git - test.git/commitdiff
modified: yotsubanome.php
authorsparky4 <sparky4@4ch.irc.su>
Fri, 4 Mar 2011 09:26:46 +0000 (03:26 -0600)
committersparky4 <sparky4@4ch.irc.su>
Fri, 4 Mar 2011 09:26:46 +0000 (03:26 -0600)
yotsubanome.php

index d7c4d930f2aa585426985c0a7948df517441a0e2..297eab5edbf25072fcf6eebb2e57dbace770ebc1 100755 (executable)
@@ -87,7 +87,7 @@ if(file_exists(PHP_DIRECTORY.'lockdown')){
 /* 更新記錄檔檔案/輸出討論串 */
 /* ログの全体更新 */
 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 = ''; // 前端管理選擇
@@ -804,7 +804,7 @@ function regist(){
 
        // 正式寫入儲存
        $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
@@ -950,7 +950,7 @@ function valid(){
 </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 />