<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $ec_charset; ?>" />
<title><?php echo $lang['configure_uc'];?></title>
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/transport.js" charset="<?php echo EC_CHARSET ?>"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/uccheck.js"></script>
<script type="text/javascript" src="js/draggable.js"></script>
<script type="text/javascript">
var $_LANG = {};
<?php foreach($lang['js_languages'] as $key => $item): ?>
$_LANG["<?php echo $key;?>"] = "<?php echo $item;?>";
<?php endforeach; ?>
</script>
</head>
<body id="checking">
<?php include ROOT_PATH . 'upgrade/templates/header.php';?>
<form id="js-setup" method="post" onsubmit="return setupUCenter()">
<table border="0" cellpadding="0" cellspacing="0" class="uc_table">
<tr>
<td valign="top">
<div id="wrapper">
  <h3><?php echo $lang['ucenter'];?></h3>

<table width="550" class="list">
<tr>
    <td colspan="2"><?php echo $lang['uc_intro']; ?></td>
    </tr>
<tr>
    <td width="180" align="right"><?php echo $lang['ucapi']; ?></td>
    <td align="left"><input name="js-ucapi" type="text" id="js-ucapi"  value="<?php echo $ucapi;?>" size="40" />  <span id="ucapinotice" style="color:#FF0000"></span></td>
</tr>
<tr id="ucip" style="display:none">
    <td width="180" align="right" valign="top"><?php echo $lang['ucip']; ?></td>
    <td align="left"><input name="js-ucip" type="text" id="js-ucip"  value="<?php echo $ucip;?>" size="40" /><span id="ucipnotice" style="color:#FF0000"><?php echo $lang['ucip_intro']; ?></span></td>
</tr>
<tr>

            <td width="180" align="right"><?php echo $lang['ucfounderpw']; ?></td>
            <td align="left"><input name="js-ucfounderpw" type="password" id="js-ucfounderpw"  value="<?php echo $ucfounderpw;?>" size="40" /> <span id="ucfounderpwnotice" style="color:#FF0000"></span></td>
</tr>
<tr><td>&nbsp;</td><td></td></tr>
</table>


  </div></td>
<td width="227" valign="top" background="images/install-step3-<?php echo $installer_lang;?>.gif">&nbsp;</td>
</tr>
<tr>
  <td><div id="install-btn"><input type="button" class="button" id="js-pre-step" class="button" value="<?php echo $lang['prev_step'];?><?php echo $lang['welcome_page'];?>"  /> <input id="js-submit" type="button" class="button" value="<?php echo $lang['check_ucenter'];?>" /></div>
  </td><td></td>
</tr>
</table>
<div id="js-monitor" style="display:none;text-align:left;position:absolute;top:45%;left:35%;width:300px;z-index:1000;border:1px solid #000;">
    <h3 id="js-monitor-title"><?php echo $lang['monitor_title'];?></h3>
    <div style="background:#fff;padding-bottom:20px;">
        <img id="js-monitor-loading" src='images/loading.gif' /><br /><br />
        <strong id="js-monitor-wait-please" style='color:blue;width:65%;float:left;margin-left:3px;'></strong>
        <span id="js-monitor-view-detail" style="color:gray;cursor:pointer;;float:right;margin-right:3px;"></span>
    </div>
    <iframe id="js-monitor-notice" src="templates/notice.htm" style="display:none;"></iframe>
    <img id="js-monitor-close" src='./images/close.gif' style="position:absolute;top:10px;right:10px;cursor:pointer;" />
</div>
<div id="copyright">
    <div id="copyright-inside">

      <?php include ROOT_PATH . 'install/templates/copyright.php';?></div>
</div>
</form>
</body>
</html>