<!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=utf-8" />
<title>刀客建站系统 安装程序   配置系统</title>
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src='../js/jquery.js'></script>
<script type="text/javascript" src='js/draggable.js'></script>
<script type="text/javascript" src="../js/ajaxfileupload.js"></script>
<script type="text/javascript" src='js/system_configure.js'></script>
<script type="text/javascript" src='lang/zh_cn_UTF-8.js'></script>

</head>
<body id="checking">
<div id="logos">
  <div id="logos-inside-zh"> <img src="images/install-Logo.gif"
alt="刀客建站系统" /><sup><%{$out.glo_site_version}%><br />建站系统</sup></div>
<div id="lang-menu">
  <div id="lang-menu-inside">
    &nbsp;&nbsp;&nbsp;&nbsp;
  </div>
</div>
</div>

<table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;">
<tr>
<td valign="top">
<h1 class="ins-title">配置系统</h1>
<div id="wrapper"  class="bor2">

  <h3>数据库信息</h3>

<table width="450" class="list">
<tr>
    <td width="140" align="left">数据库主机:</td>
    <td align="left"><input type="text" name="js-db-host"  value="localhost" id='js-db-host-id'
/><b style='color:red;margin-left:6px;'>*</b></td>

</tr>
<tr>
    <td width="140" align="left">端口:</td>
    <td align="left"><input type="text" name="js-db-port"  value="3306" id='js-db-port-id'
/><b style='color:red;margin-left:6px;'>*</b></td>
</tr>
<tr>
    <td width="140" align="left">数据库用户名:</td>
    <td align="left"><input type="text" name="js-db-user"  value="" id='js-db-user-id'
/><b style='color:red;margin-left:6px;'>*</b></td>
</tr>
<tr>
    <td width="140" align="left">密码:</td>

    <td align="left"><input type="password" name="js-db-pass"  value="" id='js-db-pass-id'
/><b style='color:red;margin-left:6px;'>*</b></td>
</tr>
<tr>
    <td width="140" align="left">数据库名:</td>
    <td align="left"><input type="text" name="js-db-name"  value="" id='js-db-name-id' />
        <select name="js-db-list" id='js-db-list-id'>
            <option>已有数据库</option>
        </select><b style='color:red;margin-left:6px;'>*</b>
        <input type="button" name="js-go" class="button" value="搜索数据库" id='js-go_id'/>

   </td>
</tr>
<tr>
    <td width="140" align="left">表前缀:</td>
    <td align="left"><input type="text" name="js-db-prefix"  value="sp_" id='js-db-prefix-id'
/></td>
</tr>
</table>

<h3>管理员信息</h3>
<table width="450" class="list">

<tr>
    <td width="140" align="left">管理员账号:</td>
    <td align="left"><input type="text" name="js-admin-name"  value="" id='js-admin-name-id'/><b style='color:red;margin-left:6px;'>*</b></td>
</tr>
<tr>
    <td width="140" align="left">密码:</td>
    <td align="left"><input type="password" name="js-admin-password"  value=""
 id='js-admin-password-id'/><b style='color:red;margin-left:6px;'>*</b></td>
</tr>
<tr>
    <td width="140" align="left">密码确认:</td>

    <td align="left"><input type="password" name="js-admin-password2"
value="" id='js-admin-password2-id' /><b style='color:red;margin-left:6px;'>*</b></td>
</tr>
<tr>
    <td width="140" align="left">电子邮箱:</td>
    <td align="left"><input type="text" name="js-admin-email"  value="" id='js-admin-email-id'
/><b style='color:red;margin-left:6px;'>*</b></td>
</tr>
</table>

<h3>PAD Data Input</h3>
<table width="450" class="list" >
<tr><td><b>您可以在安装的时候预先通过PAD导入软件数据，也可以在安装完成以后在管理后台中添加软件或者通过PAD导入软件数据.<font color='blue'>(如果预先导入，可能会占用您的一部分安装时间)</font></b></td></tr>
<tr>
<td>外部链接( 一行一个 )</td>
</tr>
<tr id='pad_links_box' >
<td><textarea  style='width:600px;height:300px;' id='pad_links'></textarea>
</td>
</tr>
<tr>
<td>上传文件</td>
</tr>
<tr  id='pad_file_tr'>
<td><a href="javascript:void(0);" onclick='add_pad_file()'><b>[+]</b>&nbsp;</a><input type='file' name='pad_file_name' size=40></td>
</tr>
</table>


<h3>选择站点类型</h3>
<table width="450" class="list" >
<tr>
    <td><input type='radio' name='site_type' value='multiple'  checked=true onclick='$("#only_tpl").hide();$("#multiple_tpl").show();$("#multiple_default").attr("checked",true); $("#only_default").attr("checked",false);'> 多产品站 </td>
    <td><input type='radio' name='site_type' value='only' onclick='$("#only_tpl").show();$("#multiple_tpl").hide();$("#multiple_default").attr("checked",false); $("#only_default").attr("checked",true);  '   > 单产品站 </td>
</tr>
</table>

<h3>选择模板 </h3>
<div id='multiple_tpl' >
	<%{foreach from =$out.list_tpl_arr.multiple item=v key=k name=a}%>
      <table width="220" style='float:left;' class='list'>

  	<tr>
 		<td> <input type='radio' <%{if $smarty.foreach.a.iteration==1}%> checked=true  id='multiple_default' <%{/if}%> name='site_tpl' value='<%{$v.tpl_dir}%>'><strong><%{$v.tpl_name|escape:html}%></strong></td>
    </tr>

    <tr>
      <td><img width=200 height=150 src="<%{$v.tpl_preview_image}%>" border="0" /></td>
    </tr>
    <!--tr>
      <td valign="top" style="height:60px;"><%{$v.tpl_desc|escape:html}%></td>
    </tr-->
    </table>
    <%{/foreach}%>
</div>
<div id='only_tpl' style='display:none;'>
<%{foreach from =$out.list_tpl_arr.only item=v key=k name=a}%>
      <table width="220" style='float:left;' class='list'>
    <tr>
      <td><input type='radio' name='site_tpl' value='<%{$v.tpl_dir}%>' <%{if $smarty.foreach.a.iteration==1}%> id='only_default' <%{/if}%>  ><strong><%{$v.tpl_name|escape:html}%></strong></td>
    </tr>

    <tr>
      <td><img width=200 height=150 src="<%{$v.tpl_preview_image}%>" border="0" /></td>
    </tr>
    <!--tr>
      <td valign="top" style="height:60px;"><%{$v.tpl_desc|escape:html}%></td>
    </tr-->
    </table>
    <%{/foreach}%>
</div>	 
	 
<table width="450" class="list" style='display:none;'>
<tr>
    <td><input type='radio' name='test_data' value=''  checked=true>无测试数据</td>
</tr>
</table>

</div>
</td>
</tr>
<tr>
  <td><div id="install-btn"><input type="button" id="js-pre-step"
class="button" value="上一步 : 检测系统环境" onclick='history.back();' /> <input id="js-install-at-once"
type="button" class="button" value="立即安装" /></div>
  </td>
</tr>
</table>
<div id="copyright">
    <div id="copyright-inside">

      &copy; 2009 <a href="http://sitepub.cn/" target="_blank">刀客建站系统.com</a> All Rights Reserved</div>
</div>
<input name="userinterface" type="hidden" value="刀客建站系统" />
<input name="ucapi" type="hidden" value="" />
<input name="ucfounderpw" type="hidden" value="" />
</body>
</html>

