<? global $vis_language; ?>
<div class="vis_main_header">Vision Helpdesk V2 Migration</div>
<div class="vis_main_window_content vis_round_corner" id="vis_migration_details">
    <form id="vis_migrate_vision_form" method="post"><table width="100%" cellpadding="3" cellspacing="3">
        <tr><td width="200">Database host name</td><td><input name="vis_host" class="vis_input" value="localhost" /></td></tr>
        <tr><td>Database port</td><td><input name="vis_port" class="vis_input" value="3306" /></td></tr>
        <tr><td>Database name</td><td><input name="vis_database" class="vis_input" /></td></tr>
        <tr><td>Database user name</td><td><input name="vis_user" class="vis_input" /></td></tr>
        <tr><td>Database user password</td><td><input name="vis_password" class="vis_input" /></td></tr>
        <tr><td>Table prefix</td><td><input name="vis_prefix" class="vis_input" value="vis_" /></td></tr>
        <tr><td colspan="2"><div class="vis_seperator_horizontal"></div></td></tr>
        <tr><td colspan="2"><input type="checkbox" name="vision_details[]" checked="checked" id="vis_mig_step_1" value="0" > <label for="vis_mig_step_1">Tickets and Clients</label></td></tr>
        <tr><td colspan="2"><input type="checkbox" name="vision_details[]" id="vis_mig_step_2" value="1" > <label for="vis_mig_step_2">Ticket attachments</label></td></tr>
        <tr><td colspan="2"><input type="checkbox" name="vision_details[]" id="vis_mig_step_3" value="2" > <label for="vis_mig_step_3">Self help</label></td></tr>
        <tr><td colspan="2"><input type="checkbox" name="vision_details[]" checked="checked" id="vis_mig_step_4" value="3" > <label for="vis_mig_step_4">Staff</label></td></tr>
        <tr><td colspan="2"><input type="checkbox" name="vision_details[]" id="vis_mig_step_5" value="4" > <label for="vis_mig_step_5">Email queues</label></td></tr>
        <tr><td colspan="2"><div class="vis_seperator_horizontal"></div></td></tr>
        <tr><td colspan="2"><span class="vis_button" onclick="$('#vis_migration_area').visExecution('submit_form', {'vis_module':'setting', 'vis_operation':'migration_vision_final', 'vis_form':'vis_migrate_vision_form'})">Next</span></td></tr>
    </table></form>
</div>