<? global $vis_language; ?>
<div class="vis_main_window vis_shadow vis_round_corner">
    <div class="vis_main_header"><?= $twitter['host_name'] ?></div>
    <div class="vis_main_window_content vis_round_corner"><form name="vis_tw_setting_frm" id="vis_tw_setting_frm">
    <table cellpadding="3" cellspacing="3" width="100%">
    <tr><td width="180"><?= $vis_language['TXTDEPARTMENT'] ?></td><td><select class="vis_input" name="vis_department"><? for($i=0;$i<count($department);$i++) echo'<option value="'.$department[$i]['department_id'].'"'.($twitter['department_id']==$department[$i]['department_id']?' selected="selected"':'').'>'.$department[$i]['department_name'].'</option>'; ?></select></td></tr>
    <tr><td>Auto ticket convert if mentioned</td><td><input type="radio" name="vis_status" id="vis_status_en" value="1" <?= $twitter['db_prefix']==1?' checked="checked"':'' ?> /><label for="vis_status_en"><?= $vis_language['TXTENABLE'] ?></label> <input type="radio" name="vis_status" id="vis_status_ds" value="0" <?= $twitter['db_prefix']!=1?' checked="checked"':'' ?> /><label for="vis_status_ds"><?= $vis_language['TXTDISABLE'] ?></label></td></tr>
    <tr><td colspan="2"><div class="vis_seperator_horizontal"></div></td></tr>
    <tr><td colspan="2"><span class="vis_button" onclick="$(this).visExecution('submit_form',{'vis_module':'setting', 'vis_operation':'update_tw_setting', 'vis_form':'vis_tw_setting_frm'})"><?= $vis_language['TXTUPDATE'] ?></span></td></tr>
    </table><input type="hidden" name="vis_integration_id" value="<?= $operation['vis_integration_id'] ?>" /></form>
</div></div>