<?php
if(!defined('InEmpireBak'))
{
	exit();
}
?>
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>歡迎使用帝國備份王</title>
<base onmouseover="window.status='帝國備份王';return true">
<link href="images/css.css" rel="stylesheet" type="text/css">
<SCRIPT>
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}}
</SCRIPT>
</HEAD>
<BODY scroll="no" style="MARGIN:0px">
<TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%">
  <TBODY>
    <TR> 
      <TD rowspan="2" align="middle" vAlign="center" noWrap id="frmTitle" height="100%"> <IFRAME frameBorder=0 name="ebakleft" scrolling=auto src="left.php" style="HEIGHT:100%;VISIBILITY:inherit;WIDTH:190px;Z-INDEX:2"></IFRAME> 
      </TD>
      <TD rowspan="2" bgColor="C7D4F7" height="100%"> <TABLE border=0 cellPadding=0 cellSpacing=0 height="100%">
          <TBODY>
            <tr> 
              <TD onclick="switchSysBar()" style="HEIGHT:100%;"> <font style="COLOR:666666;CURSOR:hand;FONT-FAMILY:Webdings;FONT-SIZE:9pt;"> 
                <SPAN id="switchPoint" title="打開/關閉左邊導航欄">3</SPAN></font> 
          </TBODY>
        </TABLE></TD>
      <TD style="WIDTH:100%" height="100%"> <table border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%">
          <tr height=30 bgcolor="C7D4F7"> 
            <td width="40%" bgcolor="C7D4F7">
			<?php
			if($ebak_set_moredbserver)
			{
			?>
			服務器：
			  <select name="chdbserverid" id="chdbserverid" style="width:300">
				<option value='0'>默認服務器</option>
				<?=Ebak_ReturnMoreDbServerList($ebak_set_selfserverid)?>
			  </select>
			  <input type="button" name="Submit" value="切換" title="如果當前頁面正在備份或恢復數據過程中請不要切換服務器." onclick="if(confirm('確認要切換服務器?')){parent.location.href='phome.php?phome=ChangeDbServer&from=admin.php&dbserverid='+document.getElementById('chdbserverid').value;}">
			<?php
			}
			?>			</td>
            <td width="25%" bgcolor="C7D4F7"><div align="center"><strong><font color="#0000FF">歡迎使用帝國備份王 [<a href="http://www.phome.net/" target="_blank"><font color="#0000FF">官方網站</font></a>]</font></strong></div></td>
            <td width="35%" bgcolor="C7D4F7"> 
              <div align="right">
                語言：
                  <select name="select" onchange="parent.location.href='phome.php?phome=ChangeLanguage&from=admin.php&l='+this.value;" style="width:300">
                  <?=Ebak_ReturnLang()?>
                </select>&nbsp;&nbsp;
            </div></td>
          </tr>
          <tr>
            <td colspan="3"><IFRAME frameBorder=0 id="ebakmain" name="ebakmain" scrolling="yes" src="main.php" style="HEIGHT:100%;VISIBILITY:inherit;WIDTH:100%;Z-INDEX:1"></IFRAME></td>
          </tr>
        </table></TD>
    </TR>
  </TBODY>
</TABLE>
</body>
</html>