<div class='page-header'>
	<h1><tmpl_var name="head_txt"></h1>
</div>
<p><tmpl_var name="list_desc_txt"></p>

<div class="panel panel_language_import">
  
    <div class="pnl_formsarea">
        <legend>{tmpl_var name="legend_txt"}</legend>
            <div class="form-group">
                <label class="col-sm-3 control-label">Database Hostname</label>
                <div class="col-sm-9">
                    <div class="col-sm-9"><input class="form-control" type="text" id="db_hostname" value="{tmpl_var name='db_hostname'}" name="db_hostname" />
                </div></div>
            </div>
			<div class="form-group">
                <label class="col-sm-3 control-label">Database Name</label>
                <div class="col-sm-9">
                    <div class="col-sm-9"><input class="form-control" type="text" id="db_name" value="{tmpl_var name='db_name'}" name="db_name" />
                </div></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">Database User</label>
                <div class="col-sm-9">
                    <div class="col-sm-9"><input class="form-control" type="text" id="db_user" value="{tmpl_var name='db_user'}" name="db_user" />
                </div></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">Database password</label>
                <div class="col-sm-9">
                    <div class="col-sm-9"><input class="form-control" type="text" id="db_password" value="{tmpl_var name='db_password'}" name="db_password" />
                </div></div>
            </div>
			<div class="form-group">
                <label class="col-sm-3 control-label">Server ID of local mailserver</label>
                <div class="col-sm-9">
                    <div class="col-sm-9"><input class="form-control" type="text" id="local_server_id" value="{tmpl_var name='local_server_id'}" name="local_server_id" />
                </div></div>
            </div>
        
    </div>
	 
    <tmpl_if name="msg">
        <div id="OKMsg"><p><tmpl_var name="msg"></p></div>
    </tmpl_if>
    <tmpl_if name="error">
        <div id="errorMsg"><h3>ERROR</h3><ol><tmpl_var name="error"></ol></div>
    </tmpl_if>
	
    <input type="hidden" name="remote_session_id" value="{tmpl_var name='remote_session_id'}">
        <div class="clear"><div class="right">
            <button class="btn btn-default formbutton-success" type="button" value="Import" onClick="submitForm('pageForm','tools/import_vpopmail.php');">{tmpl_var name="btn_start_txt"}</button>
            <button class="btn btn-default formbutton-default" type="button" value="Cancel" data-load-content="tools/index.php">{tmpl_var name="btn_cancel_txt"}</button>
        </div></div>
  </div>
