(Add your name)

"; if ($total== 0) { print "
At the moment there are no persons in the guestbook.


"; } elseif ($total> 0) { /* default */ $counter=0; if ($dir== "") $dir= "Next"; $lpp = $records; if ($offset==0) $offset=0; if ($dir== "Next") { if ($total > $lpp) { $counter=$offset; $offset+=$lpp; $num=$offset; if ($num > $total) { $num=$total; } } else { $num=$total; } } elseif ($dir== "Previous") { if ($total > $lpp) { $offset-=$lpp; if ($offset < 0) { $offset=0; } $counter=$offset-$lpp; if ($counter < 0) $counter=0; $num=$counter+$lpp; } else { $num=$total; } } while ($counter < $num) { $j=0; $j=$counter + 1; /* now really grab the data */ $i1=mysql_result($result,$counter,"facility"); $i2=mysql_result($result,$counter,"firstname"); $i3=mysql_result($result,$counter,"lastname"); $i4=mysql_result($result,$counter,"position"); $i5=mysql_result($result,$counter,"address"); $i6=mysql_result($result,$counter,"city"); $i7=mysql_result($result,$counter,"state"); $i8=mysql_result($result,$counter,"zip"); $i9=mysql_result($result,$counter,"country"); $i10=mysql_result($result,$counter,"phone"); $i11=mysql_result($result,$counter,"fax"); $i12=mysql_result($result,$counter,"email"); $i13=mysql_result($result,$counter,"specialty"); $i14=mysql_result($result,$counter,"salary"); $i15=mysql_result($result,$counter,"startdate"); /* print it in a nice layout */ print "
\n"; print "
\n"; print "
\n"; print "

Facility: $i1\n"; print "
First Name: $i2\n"; print "Last Name: $i3\n"; print "
Position: $i4\n"; print "
Address: $i5\n"; print "
City: $i6\n"; print "
State: $i7\n"; print "
Zip: $i8\n"; print "
Country: $i9\n"; print "
Phone: $i10\n"; print "
Fax: $i11\n"; print "
Email: $i12\n"; print "
Specialty: $i13\n"; print "
Salary Offered: $i14\n"; print "
Start Date: $i15\n"; print "
\n"; print "
\n"; $counter++; } } mysql_close(); } /* execute the function */ search_it($name); /* See if we need to put on the NEXT or PREVIOUS buttons */ if ($total > $lpp) { echo( "
\n"); /* See if we need a PREVIOUS button */ if ($offset > $lpp) { echo( "\n"); } /* See if we need a NEXT button */ if ($offset < $total) { echo( "\n"); } echo( "\n"); echo( "\n"); echo( "
"); } } /* action=add : add the data from the user into the database */ if($action == "add") { $reset = reset($required); while (list($key, $value) = each($required)) { if($form[$value] == "") { $count++; } } if($count > 0) { ?>
http://SourceMD.com NAPR

physicians
employers
about us
contact us
Fields marked by a * are required.
*Facility Name:
*First Name:
*Last Name:
*Your position:
Address:
*City:
State:
Zip:
Country:
*Phone:
Fax:
*E-Mail Address:
*Specialty Needed:
Salary Offered:
*Starting Date:


Script by Advanced IT Services Holland
", "Employer Application", "$form[firstname] $form[lastname] ($form[email]) of $form[facility] submitted an Employer's Application :
  
Facility:$form[facility]
Name:$form[firstname] $form[lastname]
Position:$form[position]
Address:$form[address]
City:$form[city]
State:$form[state]
Zip:$form[zip]
Country:$form[country]
Phone:$form[phone]
Fax:$form[fax]
Email:$form[email]
Specialty:$form[specialty]
Salary:$form[salary]
Start Date:$form[startdate]
", "From: $form[firstname] $form[lastname] <$form[email]>\nReply-To: $form[firstname] $form[lastname] <$form[email]>\nContent-type: text/html\nX-Mailer: PHP/" . phpversion()); } else { mail( "$admin_mail", "Employer Application", "$form[firstname] $form[lastname] of $form[facility] ($form[email]) Submitted an Employer's Application: \n\n Facility: $form[facility] \n Name: $form[firstname] $form[lastname] \n Position: $form[position] \n Address: $form[address] \n City: $form[city] \n State: $form[state] \n Zip: $form[zip] \n Country: $form[country] \n Phone: $form[phone] \n Fax: $form[fax] \n Email: $form[email] \n Specialty Needed: $form[specialty] \n Salary Offered: $form[salary] \n Sart Date $form[startdate] \n", "From: $form[firstname] $form[lastname] <$form[email]>\nReply-To: $form[firstname] $form[lastname] <$form[email]>\nContent-type: text/plain\nX-Mailer: PHP/" . phpversion()); } $query = "INSERT INTO $table VALUES('','$form[facility]','$form[firstname]','$form[lastname]','$form[position]','$form[address]','$form[city]','$form[state]','$form[zip]','$form[country]','$form[phone]','$form[fax]','$form[email]','$form[specialty]','$form[salary]','$form[startdate]')"; $result = MYSQL_QUERY($query); ?>

Thank you ,. We will contact you ASAP after reviewing your information.


Click on this line HERE to return to SourceMD.com homepage now.

http://SourceMD.com NAPR

physicians
employers
about us
contact us
Fields marked by a * are required.
*Facility Name:
*First Name:
*Last Name:
*Your position:
Address:
*City:
State:
Zip:
Country:
*Phone:
Fax:
*E-Mail Address:
*Specialty Needed:
Salary Offered:
*Starting Date:


Script by Advanced IT Services Holland