Preview: add_H1B_bk.php
Size: 28.25 KB
/home/jambtst2015/public_html/giraffeng.com/admin/add_H1B_bk.php
<?php include("includes/head.php"); ?>
<?php include("includes/header.php"); ?>
<script>
// Retrieve last key pressed. Works in IE and Netscape.
// Returns the numeric key code for the key pressed.
function getKey(e)
{
if (window.event)
return window.event.keyCode;
else if (e)
return e.which;
else
return null;
}
function restrictChars(e, obj)
{
var CHAR_AFTER_DP = 2; // number of decimal places
var validList = "0123456789."; // allowed characters in field
var key, keyChar;
var char=0;
key = getKey(e);
if (key == null) return true;
// control keys
// null, backspace, tab, carriage return, escape
if ( key==0 || key==8 || key==9 || key==13 || key==27 )
return true;
// get character
keyChar = String.fromCharCode(key);
// check valid characters
if (validList.indexOf(keyChar) != -1)
{
// check for existing decimal point
var dp = 0;
/* if(obj.value.indexOf( ".")==-1){
// room for more after decimal point?
if( obj.value.length - dp <= char) {
return true; }
else{
if(keyChar == ".")
return true;
else
return false;
}
}*/
if((dp = obj.value.indexOf( ".")) > -1)
{
if(keyChar == ".")
return false; // only one allowed
else
{
// room for more after decimal point?
if( obj.value.length - dp <= CHAR_AFTER_DP)
return true;
}
}
else {return true};
}
// not a valid character
return false;
}
</script>
<?php
/*---For Add---*/
if(empty($_POST['submit'])){ $_POST['submit']=''; }
if($_POST['submit'] == 'Save'){
//insert//
$time = date("Y-m-d");
$insSql = "INSERT INTO `h1b_details` set ";
$insSql .= "h1b_petition_status='".$_REQUEST['h1b_petition_status']."', ";
$insSql .= "h1b_count='".mysql_real_escape_string(trim($_POST['h1b_count']))."', ";
$insSql .= "employee_name='".mysql_real_escape_string(trim($_REQUEST['userid']))."', ";
$insSql .= "date_of_employment_began='".change_dateformat(trim($_POST['date_of_employment_began']))."', ";
$insSql .= "date_of_employement_terminate='".change_dateformat(trim($_POST['date_of_employement_terminate']))."', ";
$insSql .= "edu_equirement_for_position='".mysql_real_escape_string(trim($_POST['edu_equirement_for_position']))."', ";
$insSql .= "associates_qualification='".mysql_real_escape_string(trim($_POST['associates_qualification']))."', ";
$insSql .= "field_of_study='".mysql_real_escape_string(trim($_POST['field_of_study']))."', ";
$insSql .= "associate_current_immigration_status='".mysql_real_escape_string(trim($_POST['associate_current_immigration_status']))."', ";
$insSql .= "employment_status='".mysql_real_escape_string(trim($_POST['employment_status']))."', ";
$insSql .= "gc_status='".mysql_real_escape_string(trim($_POST['gc_status']))."', ";
$insSql .= "h1b_petition_application_status='".mysql_real_escape_string(trim($_POST['h1b_petition_application_status']))."', ";
$insSql .= "h1b_filed_by='".mysql_real_escape_string(trim($_POST['h1b_filed_by']))."', ";
$insSql .= "receipt_date='".change_dateformat(trim($_POST['receipt_date']))."', ";
$insSql .= "notice_number='".mysql_real_escape_string(trim($_POST['notice_number']))."', ";
$insSql .= "h1b_consulate='".mysql_real_escape_string(trim($_POST['h1b_consulate']))."', ";
$insSql .= "approval_date='".change_dateformat(trim($_POST['approval_date']))."', ";
$insSql .= "h1b_start_date='".change_dateformat(trim($_POST['h1b_start_date']))."', ";
$insSql .= "h1b_end_date='".change_dateformat(trim($_POST['h1b_end_date']))."', ";
$insSql .= "i94_expiry_date='".change_dateformat(trim($_POST['i94_expiry_date']))."', ";
$insSql .= "signed_h1b_receipt='".mysql_real_escape_string(trim($_POST['signed_h1b_receipt']))."', ";
$insSql .= "lca_copy_receipt='".mysql_real_escape_string(trim($_POST['lca_copy_receipt']))."', ";
$insSql .= "h1b_position_title='".mysql_real_escape_string(trim($_POST['h1b_position_title']))."', ";
$insSql .= "h1b_revoke_letter_status='".mysql_real_escape_string(trim($_POST['h1b_revoke_letter_status']))."', ";
$insSql .= "h1b_revoke_letter_date='".change_dateformat(trim($_POST['h1b_revoke_letter_date']))."', ";
$insSql .= "uscis_revoke_conf_date='".change_dateformat(trim($_POST['uscis_revoke_conf_date']))."', ";
$insSql .= "additional_notes='".mysql_real_escape_string(trim($_POST['additional_notes']))."', ";
$insSql .= "notes='".mysql_real_escape_string(trim($_POST['notes']))."', ";
$insSql .= "created_by='".$_SESSION['sat_login_id']."', ";
$insSql .= "created_date='".$time."', ";
$insSql .= "last_update_by='".$_SESSION['sat_login_id']."', ";
$insSql .= "last_update_date='".$time."'";
//$insSql .= "effective_date=now(), ";
//
// $insSql .= "street='".$_POST['street']."', ";
//
// $insSql .= "city='".$_POST['city']."', ";
//
// $insSql .= "state='".$_POST['state']."', ";
//
// $insSql .= "zip='".$zip."', ";
//
// $insSql .= "main_skills='".$_POST['main_skills']."', ";
//
// $insSql .= "cell_phone='".$cell_phone."', ";
//
// $insSql .= "home_phone='".$home_phone."', ";
//
// $insSql .= "work_phone='".$work_phone."', ";
//
// $insSql .= "extension='".$_POST['extension']."', ";
//
// $insSql .= "preferred_phone='".$_POST['preferred_phone']."', ";
//
// $insSql .= "add_date=now(), ";
//
// $insSql .= "email1='".$_POST['email1']."', ";
//
// $insSql .= "email2='".$_POST['email2']."', ";
//
// $insSql .="date_o_birth='".$_POST['month']."/".$_POST['day']."', ";
//
// $insSql .="available_date='".change_dateformat($_POST['avail_date'])."', ";
//
// $insSql .= "skpeid='".$_POST['skpeid']."', ";
//
// $insSql .= "msnid='".$_POST['msnid']."', ";
//
// $insSql .= "gtalk='".$_POST['gtalk']."', ";
//
// $insSql .= "visa_type='".mysql_real_escape_string($_POST['visa_type'])."', ";
//
// $insSql .= "primary_skills='".mysql_real_escape_string($primary_skill)."', ";
//
// $insSql .= "secondary_skills='".mysql_real_escape_string($secondary_skill)."', ";
//
// $insSql .= "vendor_name='".mysql_real_escape_string($_POST['vendor_name'])."', ";
//
// $insSql .= "hotlist='".$_POST['hotlist']."', ";
//
// $insSql .= "send_emails='".$_POST['send_emails']."', ";
//
// $insSql .= "comm_skills='".$_POST['comm_skills']."', ";
//
// $insSql .= "tech_skills='".$_POST['tech_skills']."', ";
//
// //$insSql .= "added_user='".$_POST['added_user']."', ";
//
// $insSql .= "added_user='".$_SESSION['sat_login_id']."', ";
//
// $insSql .= "notes='".$_POST['notes']."', ";
//
// //$insSql .= "change_authority='".$change_authority."', ";
//
// $insSql .= "owner='".$_SESSION['sat_login_id']."', ";
//
// $insSql .= "last_conversation_date='".$last_conversation_date."', ";
//
// $insSql .= "candidate_type='".$_POST['candidate_type']."', ";
//
// $insSql .= "candidate_type_other='".$_POST['candidate_type_other']."', ";
//
// $insSql .= "resume_id='".$last_cv_id."', ";
//
// $insSql .= "resume_subject='".$subject."', ";
//
// $insSql .= "ever_submitted='".$_POST['ever_submitted']."', ";
//
// $insSql .= "relocation='".$_POST['relocation']."', ";
//
// $insSql .= "visa_validity='".$visa_validity."', ";
//
// $insSql .= "blacklisted='".$_POST['blacklisted']."', ";
//
// $insSql .= "blacklisted_desc='".mysql_real_escape_string($_POST['blacklisted_desc'])."', ";
//
// $insSql .= "record_status='".$_POST['record_status']."',";
//
// $insSql .= "source='".$_POST['source']."',";
//
// $insSql .= "salary='".$_POST['salary']."',";
//
// $insSql .="notes_desc='".mysql_real_escape_string($_POST['notes_desc'])."'";
//
// //echo $insSql;
//
// //exit();
$insSql ;//exit;
mysql_query($insSql);
header("location:view_H1B.php?userid=$_REQUEST[userid]&success=1");
}
else{
$_POST['name']='';
$_POST['street']='';
$_POST['city']='';
$_POST['state']='';
$_POST['zip']='';
$_POST['industry']='';
$_POST['phone']='';
$_POST['contact_name']='';
$_POST['contact_phone']='';
$_POST['client_type']='';
$_POST['add_date']='';
$_POST['email']='';
$_POST['web_address']='';
$_POST['ac_mgr']='';
$_POST['open_reqs']='';
$_POST['close_reqs']='';
$_POST['send_emails']='';
$_POST['added_user']='';
$_POST['notes']='';
$_POST['change_authority']='';
$_POST['blacklisted']='';
$_POST['record_status']='';
}
/*---End Add---*/
?>
<script>
jQuery.noConflict();
(function($) {jQuery(document).ready(function(){
// binds form submission and fields to the validation engine
jQuery("#formID").validationEngine();
});})(jQuery);
function addSkills(catid)
{
window.open('addSkill.php?catid='+catid,'Add Skill','height=250, width=600, resizable=yes, scrollbars=yes');
}
function addSkillsse(catid)
{
window.open('addSkillsecond.php?catid='+catid,'Add Skill','height=250, width=600, resizable=yes, scrollbars=yes');
}
function addVendors()
{
window.open('addVendor.php','Add Skill','height=250, width=600, resizable=yes, scrollbars=yes');
}
</script>
<script type="text/javascript">
function checkMessenger(themail)
{
var tomatch = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if (!tomatch.test(themail))
{
window.alert('This is not a valid email id');
return false;
}
return true;
}
function validecan(){
var name = document.myfrm.name.value;
var email1 = document.myfrm.email1.value;
var email2 = document.myfrm.email2.value;
var candidate_type = document.myfrm.candidate_type.value;
var visa_type = document.myfrm.visa_type.value;
var main_skills = document.myfrm.main_skills.value;
var city = document.myfrm.city.value;
var state = document.myfrm.state.value;
var hotlist = document.getElementById('');
var send_emails = document.myfrm.send_emails;
var notes = document.myfrm.notes;
var relocation = document.myfrm.relocation;
if(name == ''){
alert("Please enter name.");
document.myfrm.name.focus();
return false;
}
if(email1 == ''){
alert("Please enter email.");
document.myfrm.email1.focus();
return false;
}
if((email1!="") && (checkMessenger(email1)==false))
{
document.myfrm.email1.value="";
document.myfrm.email1.focus();
return false;
}
if((email2!="") && (checkMessenger(email2)==false))
{
document.myfrm.email2.value="";
document.myfrm.email2.focus();
return false;
}
if(candidate_type == ''){
alert("Please select candidate type.");
document.myfrm.candidate_type.focus();
return false;
}
/*if(candidate_type == 'other' && document.myfrm.candidate_type_other.value==''){
alert("Please enter candidate type other.");
document.myfrm.candidate_type_other.focus();
return false;
}*/
if(visa_type == ''){
alert("Please select visa type.");
document.myfrm.visa_type.focus();
return false;
}
if(main_skills == ''){
alert("Please select main skills.");
document.myfrm.main_skills.focus();
return false;
}
if(city == ''){
alert("Please enter city.");
document.myfrm.city.focus();
return false;
}
if(state == ''){
alert("Please select state.");
document.myfrm.state.focus();
return false;
}
if(document.getElementById('hotlist1').checked == false && document.getElementById('hotlist2').checked == false){
alert("Please select hotlist.");
//document.myfrm.hotlist.focus();
return false;
}
if(document.getElementById('send_emails1').checked == false && document.getElementById('send_emails2').checked == false){
alert("Please select send emails.");
//document.myfrm.send_emails.focus();
return false;
}
if(document.getElementById('notes').checked == false && document.getElementById('notes1').checked == false){
alert("Please select notes.");
//document.myfrm.notes.focus();
return false;
}
if(document.getElementById('notes').checked == true && document.myfrm.notes_desc.value==''){
alert("Please enter notes.");
document.myfrm.notes_desc.focus();
return false;
}
if(document.getElementById('relocation1').checked == false && document.getElementById('relocation2').checked == false){
alert("Please select relocation.");
//document.myfrm.relocation.focus();
return false;
}
return true;
}
</script>
<script type="text/javascript">
function getkey(e)
{
if (window.event)
return window.event.keyCode;
else if (e)
return e.which;
else
return null;
}
function goodchars(e, goods)
{
var key, keychar;
key = getkey(e);
if (key == null) return true;
keychar = String.fromCharCode(key);
keychar = keychar.toLowerCase();
goods = goods.toLowerCase();
if (goods.indexOf(keychar) != -1)
return true;
if ( key==null || key==0 || key==8 || key==9 || key==13 || key==27 )
return true;
return false;
}
function open_notes()
{
if(document.getElementById('notes').checked==true)
{
document.getElementById('notes_div').style.display='block';
}
if(document.getElementById('notes1').checked==true)
{
document.getElementById('notes_desc').value='';
document.getElementById('notes_div').style.display='none';
}
}
function open_blacklisted()
{
if(document.getElementById('blacklisted1').checked==true)
{
document.getElementById('blacklisted_div').style.display='block';
}
if(document.getElementById('blacklisted2').checked==true)
{
document.getElementById('blacklisted_desc').value='';
document.getElementById('blacklisted_div').style.display='none';
}
}
function candidatetypeother(val){
if(val == 'other'){
document.getElementById('candidatetype_other').style.display='block';
}
else{
document.getElementById('candidate_type_other').value='';
document.getElementById('candidatetype_other').style.display='none';
}
}
</script>
<script language="javascript">
function ChangeFocuszip(cur,nex)
{
var value=document.getElementById(cur).value;
if(value.length==5)
{
document.getElementById(nex).focus();
}
}
function ChangeFocus1(cur,nex)
{
var value=document.getElementById(cur).value;
if(value.length==3)
{
document.getElementById(nex).focus();
}
}
function ChangeFocus(cur,nex)
{
var value=document.getElementById(cur).value;
if(value.length==3)
{
document.getElementById(nex).focus();
}
}
function ChangeFocus1(cur,nex)
{
var value=document.getElementById(cur).value;
if(value.length==2)
{
document.getElementById(nex).focus();
}
}
</script>
<div class="container_bottom_section tbl_cls_new">
<form name="myfrm" action="" method="post" id="formID" enctype="multipart/form-data" <?php /*?>onsubmit="return validecan();"<?php */?>>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php if(empty($error)){$error='';}
if($error!=''){
?>
<tr>
<td colspan="7">
<div class="error"><?php echo $error; ?></div>
</td>
</tr>
<?php } ?>
<tr>
<td width="30%" valign="top" align="center">
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="56%"> </td>
<td width="44%"> </td>
</tr>
<script>
$(document).ready(function(){
$("#name").change(function(){
if( $(this).val() == ''){
//alert(000);
}else{
//window.open('view_candidate.php?userid='+userid,'news view','height=600, width=1000, resizable=yes, scrollbars=yes');
var name = $(this).val();
$.ajax({
url : 'same_candidate.php',
type : 'POST',
data : 'name=' + name,
//dataType : 'json',
beforeSend : function(jqXHR, settings ){
//alert(1);
},
success : function( data, textStatus, jqXHR){
//alert(data);
window.open('same_candidate.php?name='+name,'news view','height=600, width=1000, resizable=yes, scrollbars=yes');
},
error : function( jqXHR, textStatus, errorThrown){
}
});
}
});
});
</script>
<tr>
<td align="right" valign="top">H1B Petition Status </td>
<td><select id="h1b_petition_status" name="h1b_petition_status" class="textfield require_field" style="width:184px;">
<option value="Select">Select</option>
<option value="F" selected="selected">Future [F]</option>
<option value="C">Current [C]</option>
<option value="E">Expired [E]</option>
<option value="D">Denied [D]</option>
<option value="R">Revoked [R]</option>
<option value="A">Arrended [A]</option>
<option value="W">Applied for [W]</option>
<option value="P">Ex Employee [P]</option>
</select></td>
</tr>
<tr>
<td align="right" id="gc_id" valign="top"></td>
</tr>
<tr>
<td align="right" valign="top">H1B Count</td>
<td><input name="h1b_count" type="text" class="validate[custom[integer],minSize[2],maxSize[2]] textfield require_field" value="<?php echo $_POST['h1b_count']; ?>" maxlength="2"/></td>
</tr>
<tr>
<script>
$(function()
//{
// $( "#start_date" ).datepicker({
// dateFormat:"mm/dd/yy"
// });
{
$('#date_of_employment_began').datepicker({
// minDate: 0,
onSelect: function(dateStr) {
dateFormat:"mm/dd/yy"
var date = $(this).datepicker('getDate');
if (date) {
date.setDate(date.getDate());
}
$('#date_of_employement_terminate').datepicker('option', 'minDate', date);
}
});
$('#date_of_employement_terminate').datepicker({
// minDate: 0,
onSelect: function (selectedDate) {
var date = $(this).datepicker('getDate');
if (date) {
date.setDate(date.getDate());
}
$('#date_of_employment_began').datepicker('option', 'maxDate', date || 0);
}
});
});
</script>
<td align="right" valign="top">Date of Employment Began </td>
<td><input name="date_of_employment_began" type="text" class="textfield require_field" id="date_of_employment_began" value="<?php echo $_POST['date_of_employment_began']; ?>" /></td>
</tr>
<tr>
<td align="right" valign="top">Date of Employement Terminate </td>
<td><input name="date_of_employement_terminate" type="text" class="textfield require_field" id="date_of_employement_terminate" value="<?php echo $_POST['date_of_employement_terminate']; ?>" /></td>
</tr>
<tr>
<td align="right" valign="top">Edu. Requirement for Position </td>
<td><input name="edu_equirement_for_position" type="text" class="textfield require_field" value="<?php echo $_POST['edu_equirement_for_position']; ?>" /></td>
</tr>
<tr>
<td align="right" valign="top">Associate's Qualification </td>
<td><input name="associates_qualification" id="associates_qualification" type="text" class="textfield require_field" value="<?php echo $_POST['associates_qualification']?>" /></td>
</tr>
<tr>
<td align="right" valign="top">Field of Study</td>
<td width="100%">
<input name="field_of_study" id="field_of_study" type="text" class="textfield require_field" value="<?php echo $_POST['field_of_study']?>" />
</td>
</tr>
<tr>
<td align="right" valign="top">Associate Current Immigration Status </td>
<td> <input name="associate_current_immigration_status" id="associate_current_immigration_status" type="text" class="textfield require_field" value="<?php echo $_POST['associate_current_immigration_status']?>" /></td>
</tr>
<tr>
<td align="right" valign="top">Employment Status </td>
<td><input name="employment_status" id="employment_status" type="text" class="textfield require_field" value="<?php echo $_POST['employment_status']?>" /></td>
</tr>
<tr>
<td align="right" valign="top">GC Status </td>
<td><input name="gc_status" id="gc_status" type="text" class="textfield require_field" value="<?php echo $_POST['gc_status']; ?>" />
</td>
</tr>
<tr>
<td align="right" valign="top">H1B Filed By </td>
<td id="main_skills">
<select id="h1b_filed_by" class="textfield require_field" style="width:184px;;" name="h1b_filed_by">
<option value="">Select</option>
<option value="John" <?php if($_REQUEST['filed_by']=='John'){ ?> selected <?php } ?>>JOHN</option>
<option value="Slowik" <?php if($_REQUEST['filed_by']=='Slowik'){ ?> selected <?php } ?>>SLOWIK</option>
<option value="Boudia" <?php if($_REQUEST['filed_by']=='Boudia'){ ?> selected <?php } ?>>BOUDIA</option>
<option value="Georges" <?php if($_REQUEST['filed_by']=='Georges'){ ?> selected <?php } ?>>GEORGE</option>
<option value="James" <?php if($_REQUEST['filed_by']=='James'){ ?> selected <?php } ?>>JAMES</option>
<option value="Leblang" <?php if($_REQUEST['filed_by']=='Leblang'){ ?> selected <?php } ?>>LEBLANG</option>
<option value="Andrew" <?php if($_REQUEST['filed_by']=='Andrew'){ ?> selected <?php } ?>>ANDREW</option>
<option value="Absi" <?php if($_REQUEST['filed_by']=='Absi'){ ?> selected <?php } ?>>ABSI</option>
<option value="Murthy" <?php if($_REQUEST['filed_by']=='Murthy'){ ?> selected <?php } ?>>MURTHY</option>
</select>
</td>
</tr>
<tr>
<td align="right" valign="top">H1B Petition Application Status </td>
<td id="main_skills">
<input name="h1b_petition_application_status" id="h1b_petition_application_status" type="text" class="textfield require_field" value="<?php echo $_POST['h1b_petition_application_status']; ?>" />
</td>
</tr>
<tr>
<script>
$(function() {
$( "#receipt_date" ).datepicker({
dateFormat:"<?php echo $dateFormat; ?>"
});
//$( "#post_date" ).datepicker( "dd-mm-yy", "dateFormat" );
});
</script>
<td align="right" valign="top">Receipt Date</td>
<td id="main_skills">
<input name="receipt_date" id="receipt_date" type="text" class="textfield require_field" value="<?php echo $_POST['receipt_date']; ?>" />
</td>
</tr>
<tr>
<td align="right" valign="top">Notice Number </td>
<td id="main_skills">
<input name="notice_number" id="notice_number" type="text" class="textfield require_field" value="<?php echo $_POST['notice_number']; ?>" />
</td>
</tr>
</table>
</td>
<td width="26%" valign="top">
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="59%"> </td>
<td width="41%"> </td>
</tr>
<tr>
<td align="right" valign="top">H1B Consulate </td>
<td><input name="h1b_consulate" id="h1b_consulate" type="text" class="textfield exmpt" value="<?php echo $_POST['h1b_consulate']; ?>" />
</td>
</tr>
<tr>
<script>
$(function() {
$( "#approval_date" ).datepicker({
dateFormat:"<?php echo $dateFormat; ?>"
});
//$( "#post_date" ).datepicker( "dd-mm-yy", "dateFormat" );
});
</script>
<td align="right" valign="top">Approval Date </td>
<td>
<input type="text" id="approval_date" class="textfield require_field" name="approval_date">
</td>
</tr>
<tr>
<script>
$(function()
//{
// $( "#start_date" ).datepicker({
// dateFormat:"mm/dd/yy"
// });
{
$('#h1b_start_date').datepicker({
// minDate: 0,
onSelect: function(dateStr) {
dateFormat:"mm/dd/yy"
var date = $(this).datepicker('getDate');
if (date) {
date.setDate(date.getDate());
}
$('#h1b_end_date').datepicker('option', 'minDate', date);
}
});
$('#h1b_end_date').datepicker({
// minDate: 0,
onSelect: function (selectedDate) {
var date = $(this).datepicker('getDate');
if (date) {
date.setDate(date.getDate());
}
$('#h1b_start_date').datepicker('option', 'maxDate', date || 0);
}
});
});
</script>
<td align="right">H1B Start Date </td>
<td><input name="h1b_start_date" id="h1b_start_date" type="text" class="textfield require_field" value="<?php echo $_POST['h1b_start_date']; ?>" /></td>
</tr>
<tr>
<td align="right">H1B End Date </td>
<td><input name="h1b_end_date" id="h1b_end_date" type="text" class="textfield require_field" value="<?php echo $_POST['h1b_end_date']; ?>" /></td>
</tr>
<tr>
<script>
$(function() {
$( "#i94_expiry_date" ).datepicker({
dateFormat:"<?php echo $dateFormat; ?>"
});
//$( "#post_date" ).datepicker( "dd-mm-yy", "dateFormat" );
});
</script>
<td align="right">I 94 Expiry Date </td>
<td><input name="i94_expiry_date" id="i94_expiry_date" type="text" class="textfield require_field" value="<?php echo $_POST['i94_expiry_date']; ?>" /></td>
</tr>
<tr>
<td align="right">Signed H1B Receipt </td>
<td><input name="signed_h1b_receipt" id="signed_h1b_receipt" type="text" class="textfield require_field" value="<?php echo $_POST['signed_h1b_receipt']; ?>"/></td>
</tr>
<tr>
<td align="right">LCA Copy Receipt </td>
<td><input name="lca_copy_receipt" id="lca_copy_receipt" type="text" class="textfield require_field" value="<?php echo $_POST['lca_copy_receipt']; ?>" maxlength="2"/></td>
</tr>
<tr>
<td align="right">H1B Position Title </td>
<td><input name="h1b_position_title" id="h1b_position_title" type="text" class="textfield require_field" value="<?php echo $_POST['h1b_position_title']; ?>" /></td>
</tr>
<tr>
<td align="right">H1B Revoke Letter Status </td>
<td><input name="h1b_revoke_letter_status" id="h1b_revoke_letter_status" type="text" class="textfield require_field" value="<?php echo $_POST['h1b_revoke_letter_status']; ?>" /></td>
</tr>
<tr>
<script>
$(function() {
$( "#h1b_revoke_letter_date" ).datepicker({
dateFormat:"<?php echo $dateFormat; ?>"
});
//$( "#post_date" ).datepicker( "dd-mm-yy", "dateFormat" );
});
</script>
<td align="right">H1B Revoke Letter Date </td>
<td><input name="h1b_revoke_letter_date" id="h1b_revoke_letter_date" type="text" class="textfield require_field" value="<?php echo $_POST['h1b_revoke_letter_date']; ?>" /></td>
</tr>
<tr>
<script>
$(function() {
$( "#uscis_revoke_conf_date" ).datepicker({
dateFormat:"<?php echo $dateFormat; ?>"
});
//$( "#post_date" ).datepicker( "dd-mm-yy", "dateFormat" );
});
</script>
<td align="right">USCIS Revoke Conf Date </td>
<td><input name="uscis_revoke_conf_date" id="uscis_revoke_conf_date" type="text" class="textfield require_field" value="<?php echo $_POST['uscis_revoke_conf_date']; ?>" /></td>
</tr>
<tr>
<td align="right">Notes </td>
<td><textarea name="notes" id="notes" type="text" class="textfield require_field"><?php echo $_POST['notes']; ?></textarea></td>
</tr>
<tr>
<td align="right">Additional Notes </td>
<td><textarea name="additional_notes" id="additional_notes" type="text" class="textfield require_field"><?php echo $_POST['additional_notes']; ?>
</textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="7" align="center"><input name="submit" type="submit" value="Save" class="submit" style=" margin-bottom:10px;" />
<a href="view_H1B.php?userid=<?php echo $_REQUEST['userid'];?>">
<input name="cancel" type="button" value="Cancel" class="submit" style=" margin-bottom:10px;" /></a>
</td>
</tr>
</table>
<div class="clear"></div>
</form>
</div>
<?php include("includes/footer.php"); ?>
Directory Contents
Dirs: 17 × Files: 180