<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" for="db_hostname">Database Hostname</label>
                <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 class="form-group">
                <label class="col-sm-3 control-label" for="db_name">Database Name</label>
                <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 class="form-group">
                <label class="col-sm-3 control-label" for="db_user">Database User</label>
                <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 class="form-group">
                <label class="col-sm-3 control-label" for="db_password">Database password</label>
                <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 class="form-group">
                <label class="col-sm-3 control-label" for="db_options">Tupa database options</label>
                <div class="col-sm-9" id="db_options">
                    <label class="checkbox-inline" for="db_ssl"><input type="checkbox" id="db_ssl" value="1" name="db_ssl" <tmpl_if name='db_ssl' op='==' value='true'>checked</tmpl_if>/> Use SSL</label>
                </div>
            </div>
			<div class="form-group">
                <label class="col-sm-3 control-label" for="local_server_id">Server ID of local mailserver</label>
                <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>

    <tmpl_if name="msg">
        <div id="OKMsg"><p><tmpl_var name="msg"></p></div>
    </tmpl_if>
    <tmpl_if name="error">
			<div class='alert alert-danger clear'>
				<div class='alert-label'>
					<strong><tmpl_var name="error_txt"></strong>
					</div>
				<div class='alert-content'>
					<ul style="list-style-type:none">
						<tmpl_var name="error">
					</ul>
				</div>
			</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" data-submit-form="pageForm" data-form-action="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>
