Resume Parser Code

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 14

<?

php
/**
1. fill in your YOUR LABEL, YOUR API KEY, http://www.YOURSITE.com/welcome.html,
Your Upload Dir
2. "Should" display a form which :
if a resume is upoloaded:
- resume is stored
- then posted to bullhorn for parsing
- then the info for is filled in with available info ( or an error is displayed
)
- the information form can then be filled in and submitted
- both resume file and info are sent to bullhorn
or the information alon can be filled out and submitted.
(requires curl )
NO WARRANTEES! BUT worked for me.
I provide this because, what should have been a simple
integration took +30 hours, and made me want to cry, then shoot
myself. Very frustrating, you bullorn API.
Maybe this will make it less so for someone.
winslow
**/
// You will need to edit these accordingly
$PRIVATE_LABEL_ID = "YOUR LABEL";
$API_KEY = "YOUR API KEY";
$BULLHORN_URL = "http://www.bullhornstaffing.com/BullhornStaffing/API/ParseResum
e.cfm";
$BULLHORN_ADD_URL ="https://cls7.bullhornstaffing.com/BullhornStaffing/Update/Ad
dUserProfilesAPI.cfm";
// BHXML or, JobSeeker
$XMLOUTPUT = "BHXML";
$THANKYOU_URL = "http://www.YOURSITE.com/welcome.html";
// Set to false for production
$DEBUG = true;
// The upload directory for your server ( filese have to be stored on your serve
r after upload and parsing, to be sent to bullhorn after submission.
$uploadDir = './Your Upload Dir/';

$uploadfile = "";
$resumedata = array();
$error = "";
$fileName = "";
$filePath = "";
if(isset($_FILES['resumeFile']))
{
// receive file
$fileName = $_FILES['resumeFile']['name'];
$tmpName = $_FILES['resumeFile']['tmp_name'];
$fileSize = $_FILES['resumeFile']['size'];
$fileType = $_FILES['resumeFile']['type'];

$filePath = $uploadDir . $fileName;


$result = move_uploaded_file($tmpName, $filePath);
if (!$result) {
if ( $DEBUG ) echo "Error uploading file";
exit;
} else {
if ( $DEBUG ) echo "uploaded";
}
// upload to Bullhorn
$uploadfile=$filePath;
$ch = curl_init($BULLHORN_URL);
curl_setopt($ch, CURLOPT_POSTFIELDS,
array('resumeFile'=>"@$uploadfile",
'privateLabelID'=>"$PRIVATE_LABEL_ID",
'encryptedAPIKey'=>"$API_KEY",
'xmlFormat'=>"$XMLOUTPUT",
'filename'=>"$fileName"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);
if ( $DEBUG ) print "<textarea cols=40 rows=20>$postResult</textarea>";
// Now Parse
// requires DOMXML + xPath extension installed
$dom
= domxml_open_mem($postResult);
if (!$dom ) {
// Error
$error = "Couldn't parse your resume. I'm sorry. (" . $postResult . ")";
} else {
$root = $dom->document_element();
// loop thru and collect into an array
if ($root->has_child_nodes()) {
foreach($root->child_nodes() as $n) {
if ($n->node_name() == '#text') {
$error = $n->node_value();
// eval("$node->name=\"" . $n->node_value() . "\";");
}
else {
$resumedata[$n->tagname] = $n->get_content();
}
}
}
}
}
if(isset($_POST['returnToURL']))
{
//$_POST["filepath"] = "@$uploadfile";
$flds = array();
foreach ( $_POST as $n=>$v ) {
$flds[$n] = $v;
}

if ( isset( $_POST["uploadedResume"] ) && ( $_POST["uploadedResume"] != "" )


) {
// print "FOO";
$uploadfile = $_POST["uploadedResume"];
$flds["userFile"] = "@$uploadfile";
$flds["filepath"] = "$uploadfile";
}
if ( $DEBUG) { print_r( $flds ); }
// relay to bullhorn
$ch = curl_init($BULLHORN_ADD_URL);
curl_setopt($ch, CURLOPT_POSTFIELDS,$flds);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);
print $postResult;
exit;
}

function getData( $key ) {


global $resumedata;
$k = strtoupper($key);
if ( isset($resumedata[$k]) ) {
return $resumedata[$k];
}
return "";
}
if ( $DEBUG ) print_r($resumedata);
?>
<html>
<head>
<style>
.Edit {
background-color: #ffffff;
padding: 2px 1px 2px 1px;
width: 550px;
}
.EditHeader {
background-color: #62619A;
color: #ffffff;
font-family:verdana,sans serif;
font-size:12px;
font-weight:bold;
}
.EditText {
background-color: #ffffff;
font-family:verdana,sans serif;
font-size:11px;
text-align:left;
}
.EditFieldLabel {
font-family:verdana,sans serif;
font-size:11px;
border-bottom: 1px solid #dddddd;

color:#62619A;
font-weight:bold;
}
.EditField {
font-family:verdana,sans serif;
font-size:11px;
border: 1px solid #cccccc;
font-weight:normal;
color: #333333;
width:200px;
}
.EditFieldSmall {
font-family:verdana,sans serif;
font-size:10px;
border: 1px solid #cccccc;
font-weight:normal;
color: #333333;
width:75px;
}
TD.EditField {
font-family:verdana,sans serif;
font-size:10px;
border-bottom: 1px solid #eeeeee;
font-weight:normal;
color: #333333;
}
INPUT.EditField {
font-family:verdana,sans serif;
font-size:10px;
color:#333333;
border:1px solid #555555;
}
TEXTAREA.EditField {
font-family:verdana,sans serif;
font-size:10px;
color:#333333;
border:1px solid #555555;
}
</style>
</head>
<body topmargin="0" bgcolor="" marginheight="0" leftmargin="0" marginwidth="0">
<?php
if(! isset($_FILES['resumeFile']))
{
?><table bgcolor="#eeeeee" width="100%" cellpadding="4">
<form action="bullhorn.php" method="POST" enctype="multipart/form-data">
<!-<strong>Private Label ID (required):</strong><br> -->
<input type="hidden" name="privateLabelID" value="<?php echo $PRIVAT
E_LABEL_ID ?>">
<!-<strong>Encrypted API Key (required):</strong><br>
-->
<input type="hidden" name="encryptedAPIKey" value="<?php echo $API_
KEY ?>"><br>
<!-<br>

<strong>Resume (required):</strong><br>
<br>
<blockquote>
<strong>Text or HTML:</strong><br>
<br>
<textarea name="resumeText" cols="50" rows="10"></textarea><br>
<br>
<strong>OR</strong><br>
<br>
--><tr><td colspan="2" class="EditText">Use the form below to register. All inf
ormation you send to us will be held in the strictest confidence. Under no circu
mstance will representation be made on your behalf without your prior authorizat
ion. </td></tr>
<tr><td colspan="2" class="EditHeader">Resume Upload </td></tr>
<tr>
<td colspan="2" class="EditText">Already have a resume saved on your comp
uter?
(MS Word, Text, HTML, etc.) By uploading your resume, we will be able
to extract the necessary information to fill out the form below. <font c
olor="#FF0000"><em>(maximum
size : 400k) </em></font></td>
</tr>
<tr><td class="EditFieldLabel">
Resume File:
</td><td>
<input class="EditField" type="File" name="resumeFile" onchange=
"this.form.filepath.value = this.value;">
<input
type="hidden" name="filepath" value="">
<input class="EditField" value="Click to Upload" type="Submit">
</td>

</tr>
<input type="hidden" name="xmlFormat" value="BHXML">

</form></table>
<!-<strong>Output Format:</strong><br>
<br>
-->
<?php
}
// Show any errors
print "<font color='red'> $error </font>";
// Now show the form
?>
<script type="text/javascript" src="cfform.js"></script>
<script type="text/javascript" src="masks.js"></script>
<script type="text/javascript">
<!-function _CF_checkEditCandidateProfileForm(_CF_this)

{
return true;
//reset on submit
_CF_error_exists = false;
_CF_error_messages = new Array();
_CF_error_fields = new Object();
_CF_FirstErrorField = null;
//form element firstName required check
if( !_CF_hasValue(_CF_this['firstName'], "TEXT", false ) )
{
_CF_onError(_CF_this, "firstName", _CF_this['firstName'].value, "The
Candidate Name field is required.");
_CF_error_exists = true;
}
//form element lastName required check
if( !_CF_hasValue(_CF_this['lastName'], "TEXT", false ) )
{
_CF_onError(_CF_this, "lastName", _CF_this['lastName'].value, "The C
andidate Name field is required.");
_CF_error_exists = true;
}
//form element salaryLow 'REGULAR_EXPRESSION' validation checks
if (!_CF_checkregex(_CF_this['salaryLow'].value, /^[0-9.\-]+$/, false))
{
_CF_onError(_CF_this, "salaryLow", _CF_this['salaryLow'].value, "The
Current Salary field is required. Please be sure to enter a decimal number with
out commas, dollar signs or percentage symbols.\n Example: 3200230.29");
_CF_error_exists = true;
}
//form element salary 'REGULAR_EXPRESSION' validation checks
if (!_CF_checkregex(_CF_this['salary'].value, /^[0-9.\-]+$/, false))
{
_CF_onError(_CF_this, "salary", _CF_this['salary'].value, "The Desir
ed Salary field is required. Please be sure to enter a decimal number without co
mmas, dollar signs or percentage symbols.\n Example: 3200230.29");
_CF_error_exists = true;
}
//form element hourlyRateLow 'REGULAR_EXPRESSION' validation checks
if (!_CF_checkregex(_CF_this['hourlyRateLow'].value, /^[0-9.\-]+$/, fals
e))
{
_CF_onError(_CF_this, "hourlyRateLow", _CF_this['hourlyRateLow'].val
ue, "The Hourly Rate Low field is required. Please be sure to enter a decimal nu
mber without commas, dollar signs or percentage symbols.\n Example: 3200230.29")
;
_CF_error_exists = true;
}
//form element hourlyRate 'REGULAR_EXPRESSION' validation checks
if (!_CF_checkregex(_CF_this['hourlyRate'].value, /^[0-9.\-]+$/, false))
{
_CF_onError(_CF_this, "hourlyRate", _CF_this['hourlyRate'].value, "T
he Hourly Rate High field is required. Please be sure to enter a decimal number
without commas, dollar signs or percentage symbols.\n Example: 3200230.29");

_CF_error_exists = true;
}
//form element dateAvailable 'DATE' validation checks
if (!_CF_checkdate(_CF_this['dateAvailable'].value, false))
{
_CF_onError(_CF_this, "dateAvailable", _CF_this['dateAvailable'].val
ue, "The Date Available field is required. Please be sure to enter dates in the
following format: mm/dd/yyyy.");
_CF_error_exists = true;
}
//display error messages and return success
if( _CF_error_exists )
{
if( _CF_error_messages.length > 0 )
{
// show alert() message
_CF_onErrorAlert(_CF_error_messages);
// set focus to first form error, if the field supports js focus
().
if( _CF_this[_CF_FirstErrorField].type == "text" )
{ _CF_this[_CF_FirstErrorField].focus(); }
}
return false;
}else {
// run userdefined onSubmit javascript.
return true;
}
}
//-->
</script>
<form name="EditCandidateProfileForm" action="bullhorn.php" method="post" enctyp
e="multipart/form-data" onsubmit="return _CF_checkEditCandidateProfileForm(this)
">
<input type="Hidden" name="privateLabelID" value="<?php echo $PRIVATE_LABEL_ID
; ?>">
<input type="Hidden" name="returnToURL" value="<?php echo $THANKYOU_URL;?>">
<input type="Hidden" name="parameterPrefix" value="">
<input type="Hidden" name="notify" value="6">
<input type="hidden" name="status" size="1" class="" onChange="" value="
New Lead" >
<input type="hidden" value="1099" name="employeeType" size="1" class="" o
nChange="">
<div class="EditFieldLabel">
<table border="0" cellspacing="0" cellpadding="4">
<tr>
<td colspan="3" class="EditHeader">Basic Information</td>
</tr>
<tr>
<td colspan="3" align="right" class="EditText">Please provide some basic
contact information. This will help us communicate any opportunities
to you as quickly as possible. </td>
</tr>
<tr>

<td width="50%" align="right" class="EditFieldLabel"><font color="red">*


</font>First
Name:</td>
<td width="1" class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input name="firstName" id="first
Name" type="text" maxlength="50" size="22" value="<?php echo getData("FIRSTNAM
E");?>" class="EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel"><font color="red">*
</font>Last
Name: </td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input name="lastName" value="<?p
hp echo getData('lastname');?>" id="lastName" type="text" maxlength="50" size="
22" class="EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Address:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input name="address1" id="addres
s11" type="text" maxlength="40" size="22" value="<?php echo getData('address');
?>" class="EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Address 2:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input value="<?php echo getData
('address1');?>" name="address2" id="address2" type="text" maxlength="40" size
="22" class="EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">City:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input value="<?php echo getData
('city');?>" name="city" id="city" type="text" maxlength="40" size="22" clas
s="EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">State:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><select name="state" size="1" cl
ass="EditField" onChange="">
<option selected><?php echo getData('state');?></option>
<option value="AL" >Alabama
<option value="AK" >Alaska
<option value="AZ" >Arizona
<option value="AR" >Arkansas
<option value="CA" selected >California
<option value="CO" >Colorado
<option value="CT" >Connecticut
<option value="DE" >Delaware
<option value="DC" >District of Columbia
<option value="FL" >Florida
<option value="GA" >Georgia
<option value="HI" >Hawaii
<option value="ID" >Idaho
<option value="IL" >Illinois
<option value="IN" >Indiana
<option value="IA" >Iowa

<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option
<option

value="KS"
value="KY"
value="LA"
value="ME"
value="MD"
value="MA"
value="MI"
value="MN"
value="MS"
value="MO"
value="MT"
value="NE"
value="NV"
value="NH"
value="NJ"
value="NM"
value="NY"
value="NC"
value="ND"
value="OH"
value="OK"
value="OR"
value="PA"
value="RI"
value="SC"
value="SD"
value="TN"
value="TX"
value="UT"
value="VT"
value="VA"
value="WA"
value="WV"
value="WI"
value="WY"
value="AB"
value="BC"
value="MB"
value="NB"
value="NF"
value="NT"
value="NS"
value="NU"
value="ON"
value="PE"
value="QC"
value="SK"
value="YT"

>Kansas
>Kentucky
>Louisiana
>Maine
>Maryland
>Massachusetts
>Michigan
>Minnesota
>Mississippi
>Missouri
>Montana
>Nebraska
>Nevada
>New Hampshire
>New Jersey
>New Mexico
>New York
>North Carolina
>North Dakota
>Ohio
>Oklahoma
>Oregon
>Pennsylvania
>Rhode Island
>South Carolina
>South Dakota
>Tennessee
>Texas
>Utah
>Vermont
>Virginia
>Washington
>West Virginia
>Wisconsin
>Wyoming
>Alberta
>British Columbia
>Manitoba
>New Brunswick
>Newfoundland
>Northwest Territories
>Nova Scotia
>Nunavut
>Ontario
>Prince Edward Island
>Quebec
>Saskatchewan
>Yukon </select></td>

</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Zip:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input value="<?php echo getData
('zip');?>" name="zip" id="zip" type="text" maxlength="15" size="22" class="
EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Current/Previous
Employer:</td>
<td class="EditFieldLabel">&nbsp;</td>

<td width="50%" class="EditFieldLabel"><input name="companyName" id="com


panyName" type="text" maxlength="100" size="22" value="<?php echo getData('com
panyname');?>" class="EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Current/Previous
Title:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input value="<?php echo getData(
'occupation');?>" name="occupation" id="occupation" type="text" maxlength="50"
size="22" class="EditField" /></td>
</tr>
<tr>
<td colspan="3" class="EditHeader">Detailed Information</td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Current Salary:</td
>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input name="salaryLow" id="salar
yLow" type="text" size="27" class="EditField" value="<?php echo getData('sala
ry');?>" onKeyDown="if ((event.keyCode >= 48 && event.keyCode <= 57) || (event.k
eyCode == 8) || (event.keyCode == 46) || (event.keyCode >= 189 && event.keyCode
<= 190) || (event.keyCode >= 35 && event.keyCode <= 40) || (event.keyCode >= 96
&& event.keyCode <= 105) || (event.keyCode >= 109 && event.keyCode <= 110) || ev
ent.keyCode == 9 || event.keyCode == 13) { return true; } else { return false;
}" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Hourly Rate Range
( $/hr ):</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel">$
<input name="hourlyRateLow" value="<?php echo getData('hourlyrate');?
>" class="EditFieldSmall" id="hourlyRateLow" type="text" size="10" onKeyDown
="if ((event.keyCode >= 48 && event.keyCode <= 57) || (event.keyCode == 8) || (e
vent.keyCode == 46) || (event.keyCode >= 189 && event.keyCode <= 190) || (event.
keyCode >= 35 && event.keyCode <= 40) || (event.keyCode >= 96 && event.keyCode <
= 105) || (event.keyCode >= 109 && event.keyCode <= 110) || event.keyCode == 9
|| event.keyCode == 13) { return true; } else { return false; }" />
to $
<input name="hourlyRate" value="<?php echo getData('hourlyrate');?>"
class="EditFieldSmall" type="text" id="hourlyRate" onkeydown="if ((event.keyCo
de >= 48 && event.keyCode <= 57) || (event.keyCode == 8) || (event.keyCode == 46
) || (event.keyCode >= 189 && event.keyCode <= 190) || (event.keyCode >= 35 && e
vent.keyCode <= 40) || (event.keyCode >= 96 && event.keyCode <= 105) || (event.k
eyCode >= 109 && event.keyCode <= 110) || event.keyCode == 9 || event.keyCode =
= 13) { return true; } else { return false; }" size="10" maxlength="10" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel"><br>
Date Available:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input name="dateAvailable" type=
"text" class="EditField" id="dateAvailable" onkeypress="" value="<?php echo da
te("m/d/Y"); ?>" size="27" maxlength="10" />
</td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel"><br> <font color="r

ed">*</font>Category:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><select name="categoryID" multipl
e="multiple" size="10" class="EditField" >
<option value="207353" >Other Area(s)
<option value="213948" >Finance
<option value="213949" >Human Resources
<option value="213950" >Legal
<option value="213951" >Marketing </select> </td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel"><font color="red">*
</font>Source:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><table cellpadding="0" cellspacin
g="0" border="0">
<tr>
<td width="50%" valign="top"> <table cellpadding="0" cellspacing=
"0" border="0">
<tr>
<td valign="top"><input name="source" id="source" type="chec
kbox" value="Employee Referral" /></td>
<td valign="top" class="EditFieldLabel">Employee Referral</t
d>
</tr>
<tr>
<td valign="top"><input name="source" id="source" type="chec
kbox" value="Job Board" /></td>
<td valign="top" class="EditFieldLabel">Job Board</td>
</tr>
<tr>
<td valign="top"><input name="source" id="source" type="chec
kbox" value="Job Fair" /></td>
<td valign="top" class="EditFieldLabel">Job Fair</td>
</tr>
<tr>
<td valign="top"><input name="source" id="source" type="chec
kbox" value="Email" /></td>
<td valign="top" class="EditFieldLabel">Email</td>
</tr>
<tr>
<td valign="top"><input name="source" id="source" type="chec
kbox" value="Newspaper" /></td>
<td valign="top" class="EditFieldLabel">Newspaper</td>
</tr>
</table></td>
<td width="50%" valign="top"><table cellpadding="0" cellspacing="0
" border="0">
<tr>
<td valign="top"><input name="source" id="source" type="chec
kbox" value="Personal Referral" /></td>
<td valign="top" class="EditFieldLabel">Personal Referral</t
d>
</tr>
<tr>
<td valign="top"><input name="source" id="source" type="chec
kbox" value="Recruiter" /></td>
<td valign="top" class="EditFieldLabel">Recruiter</td>
</tr>
<tr>

<td valign="top"><input name="source" id="source" type="chec


kbox" value="Media Article" /></td>
<td valign="top" class="EditFieldLabel">Media Article</td>
</tr>
<tr>
<td valign="top"><input name="source" id="source" type="chec
kbox" value="Other" /></td>
<td valign="top" class="EditFieldLabel">Other</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<!-<tr>
<td width="200" align="right" class="EditFieldLabel">Referred by:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td class="EditFieldLabel">
<select name="referredByUserID" size="1" class="EditField" >
</select></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="200" align="right" class="EditFieldLabel"><font color="red">*
</font>Recruiter:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td class="EditFieldLabel"><select name="recruiterUserID" multiple="mult
iple" size="10" class="EditField" >
</select></td>
<td>&nbsp;</td>
</tr>
-->
<tr>
<td colspan="3" class="EditHeader">Contact Information</td>
</tr>
<tr>
<td colspan="3" align="right" class="EditText">Please provide contact
information. </td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">*Home Phone:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input value="<?php echo getData(
'phone');?>" name="phone" id="phone" type="text" maxlength="20" size="22" cla
ss="EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Mobile Phone:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input value="<?php echo getData(
'mobile');?>" name="mobile" id="mobile" type="text" maxlength="20" size="22"
class="EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Work Phone:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input value="<?php echo getData(
'workPhone');?>" name="workPhone" id="workPhone" type="text" maxlength="20" siz
e="22" class="EditField" /></td>

</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Other Phone:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input value="<?php echo getData(
'phone2');?>" name="phone2" id="phone2" type="text" maxlength="20" size="22"
class="EditField" /></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Email:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><input value="<?php echo getData(
'email');?>" name="email" id="email" type="text" maxlength="60" size="22" cla
ss="EditField" /></td>
</tr>
<!-<tr>
<td width="200" align="right" class="EditFieldLabel"><font color="red">*
</font>Category:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td class="EditFieldLabel"><select name="select2" multiple="multiple" si
ze="10" class="EditField" >
<option value="207353" >Other Area(s) </select></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">Skills:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><textarea name="skills" > <?php e
cho getData('skills');?>
</textarea></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel"><p>Plain Text Resum
e
(Copy and Paste):</p></td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><textarea name="description" cols
="50" rows="10" wrap="VIRTUAL" class="EditField" onChange="" onkeydown="if (even
t.keyCode==118) { showSpellCheckerIFRAME('document.EditCandidateProfileForm.desc
ription', 'value');}"></textarea></td>
</tr>
<tr>
<td width="50%" align="right" class="EditFieldLabel">General Candidate
Comments:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><textarea name="comments" cols="2
6" rows="3" wrap="VIRTUAL" class="EditField" onChange="" onkeydown=""></textarea
></td>
</tr>
-->
<!-<tr>
<td width="50%" align="right" class="EditFieldLabel"> Resume Document
Upload:</td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"> <input type="File" name="userFil
e" size="22" class="EditField" value="<?php echo str_replace("\\\\","\\",$_REQU
EST['filepath']); ?>"
onchange="this.form.filepath.value = this.value;">
<input class="EditField" type="text" name="filepath" value="<?php ec

ho str_replace("\\\\","\\",$_REQUEST['filepath']); ?>">
</td>
</tr>
-->
<!-- FILE UPLOAD PART -->
<input class="" type="hidden" name="filename" value="<?php echo $fileNam
e; ?>">
<input class="" type="hidden" name="uploadedResume" value="<?php echo $u
ploadfile; ?>">
<!-<tr>
<td width="50%" align="right" class="EditFieldLabel"><font color="red">*
</font>Please
select your field of professional expertise<br></td>
<td class="EditFieldLabel">&nbsp;</td>
<td width="50%" class="EditFieldLabel"><textarea name="customText14" col
s="26" rows="3" wrap="VIRTUAL" class="EditField" id="customText14" onChange="" o
nkeydown=""></textarea></td>
</tr>
-->
<tr>
<td colspan="3" align="center" class="EditFieldLabel"> <input class="Edi
tField" name="Submit" type="Submit" value="I Agree"></td>
</tr>
</table>
<p>&nbsp;</p>
</div>
</form>
<?php
if ($DEBUG) echo phpinfo();

?>
</body>
</html>

You might also like