<?php
if(!defined('InEmpireCMSIns'))
{
	exit();
}
?>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
        <form name="form1" method="post" action="">
          <tr class="header"> 
            <td height="25"> <div align="center"><strong><font color="#FFFFFF">第三步：設置目錄權限</font></strong></div></td>
          </tr>
          <tr> 
            <td height="100" bgcolor="#FFFFFF"> <div align="center"> 
                <table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="D6E0EF">
                  <tr> 
                    <td height="23"><strong>提示信息</strong></td>
                  </tr>
                  <tr> 
                    <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="3" cellspacing="1">
                        <tr> 
                          <td height="25"><li><font color="#FF0000">如果您的服務器使用 
                              Windows 操作系統，可跳過這一步。</font></li></td>
                        </tr>
                        <tr> 
                          <td height="25"> <li>將下面目錄權限設為0777, 除了紅色目錄外，是目錄全部要把權限應用於子目錄與文件。 
                            </li></td>
                        </tr>
                      </table></td>
                  </tr>
                </table>
                <br>
                <table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="D6E0EF">
                  <tr> 
                    <td width="34%" height="23"> <div align="center"><strong>目錄文件名稱</strong></div></td>
                    <td width="42%"> <div align="center"><strong>說明</strong></div></td>
                    <td width="24%"> <div align="center"><strong>權限檢查</strong></div></td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left"><font color="#FF0000"><strong>/</strong></font></div></td>
                    <td> <div align="center"><font color="#FF0000">系統根目錄(不要應用於子目錄)</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/c</div></td>
                    <td> <div align="center"><font color="#666666">系統緩存目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../c","../../c/ecachetmp");?> 
                      </div></td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/d</div></td>
                    <td> <div align="center"><font color="#FF0000">附件目錄 (無需腳本執行權限)</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../d","../../d/etmp/etitlepic");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/e/config/config.php</div></td>
                    <td> <div align="center"><font color="#666666">數據庫等參數配置文件</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../config/config.php");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/e/data/dbcache</div></td>
                    <td> <div align="center"><font color="#666666">部分數據庫緩存文件存放目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../data/dbcache");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25">/e/template</td>
                    <td> <div align="center"><font color="#666666">動態頁面的模板目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../template");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25">/eadmin/admin/ebak/bdata</td>
                    <td> <div align="center"><font color="#666666">備份數據存放目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../eadmin/admin/ebak/bdata");?> 
                      </div></td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="25">/eadmin/admin/ebak/zip</td>
                    <td> <div align="center"><font color="#666666">備份數據壓縮存放目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../eadmin/admin/ebak/zip");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/ecachefiles</div></td>
                    <td> <div align="center"><font color="#666666">動態頁面緩存目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../ecachefiles","../../ecachefiles/empirecms");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/esavedatas</div></td>
                    <td> <div align="center"><font color="#666666">內容存文本文件存放目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../esavedatas","../../esavedatas/edtxt");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/html</div></td>
                    <td> <div align="center"><font color="#666666">默認可選的HTML存放目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../html");?> 
                      </div></td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/s</div></td>
                    <td> <div align="center"><font color="#666666">專題存放目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../s");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/search</div></td>
                    <td> <div align="center"><font color="#666666">搜索表單</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../search","../../search/test.txt");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/t</div></td>
                    <td> <div align="center"><font color="#666666">標題分類存放目錄</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../t");?> 
                      </div></td>
                  </tr>
				  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/w</div></td>
                    <td> <div align="center"><font color="#666666">可選的網站存放根目錄(預留)</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../w");?> 
                      </div></td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="25"> <div align="left">/index.html</div></td>
                    <td> <div align="center"><font color="#666666">網站首頁</font></div></td>
                    <td> <div align="center"> <?php echo eins_CheckFileMod("../../index.html");?> 
                      </div></td>
                  </tr>
                </table>
              </div></td>
          </tr>
          <tr> 
            <td><div align="center"> 
                <script>
			  function CheckNext()
			  {
			  var ok;
			  //ok=confirm("確認有應用於子目錄?");
			  ok=true;
			  if(ok)
			  {
			  self.location.href='index.php?enews=chdbtype&f=4';
			  }
			  }
			  </script>
                <input type="button" name="Submit523" value="上一步" onClick="javascript:history.go(-1);">
                &nbsp;&nbsp; &nbsp;&nbsp;
                <input type="button" name="Submit72" value="刷新權限狀態" onClick="javascript:self.location.href='index.php?enews=ckpath&f=3';">
                &nbsp;&nbsp; &nbsp;&nbsp;
                <input type="button" name="Submit623" value="下一步" onClick="javascript:CheckNext();">
              </div></td>
          </tr>
        </form>
      </table>