<?
$db_host="localhost";
$db_name="mip_mipdb"; //the name of the database.
$db_username="mip_mipdb"; //mysql username to access the database with.
$db_password="mipdb"; //mysql password to access the database with.
/*
$db_host="localhost";
$db_name="jedegal_jedegalnewdb";
$db_username="jedegal";
$db_password="jakemanpower";
*/
$iris_version = "IRIS Online - Employer";
$educ= array("Elementary", "Secondary", "Vocational", "Training/Seminar", "College/University", "Post Graduate", "Licentiate");
$medical_status= array("Pending","Fit","Unfit");
$phase_array= array("1","2","3","4");
$passport_dir = "../irisonline/passport/";
$pic_dir1="../irisonline/pictures/";
$img_dir ="../irisonline/img/logo/";
$img_dir1 ="../irisonline/img/";
$video_dir="../irisonline/videos/";
$video_dir1="videos/";
$sqltoday = date ("Y-m-d");
$array_duties = array(
1=>array(field=>"care_6mos",duty=>"CARE OF NEWBORN TO SIX MONTHS OLD ",chi=>"照顧初生的嬰兒至六個月大"),
array(field=>"care_1yr",duty=>"CARE OF 6 MONTHS TO ONE YEAR OLD BABY ",chi=>"照顧六個月至一年的嬰兒"),
array(field=>"care_5yr",duty=>"CARE OF 1-5 YEARS OLD CHILDREN ",chi=>"照顧一至五歲的孩童"),
array(field=>"care_6yr",duty=>"CARE OF OVER 5 YEARS OLD CHILDREN ",chi=>"照顧五歲以上的孩童"),
array(field=>"care_night",duty=>"CARE OF BABY (IES) DURING NIGHT TIME",chi=>"夜間照顧嬰兒"),
array(field=>"look_elderly",duty=>"LOOK AFTER ELDERLY ",chi=>"照顧老人"),
array(field=>"look_invalid",duty=>"LOOK AFTER INVALID / BEDRIDDEN ",chi=>"照顧殘弱 卧病在床"),
array(field=>"gardening",duty=>"DO GARDENING ",chi=>"園地工作"),
array(field=>"cooking",duty=>"DO COOKING ",chi=>"烹飪工作"),
array(field=>"car_washing",duty=>"CAR WASHING ",chi=>"洗車"),
array(field=>"laundry",duty=>"LAUNDRY BY HANDWASHING ",chi=>"用手洗衣"),
array(field=>"care_pets",duty=>"CARE OF PETS EX. DOG AND CAT ",chi=>"照顧寵物例如狗和貓"),
array(field=>"cleaning",duty=>"CLEANING OF WINDOWS, WALL, AND FLOOR ",chi=>"洗淨窗戶,牆壁及地板")
);
$array_duties_hk = array(
1=>array(field=>"care_3mos",duty=>"Care of babies aged 0-3 months"),
array(field=>"care_12mos",duty=>"Care of babies aged 3-12 months"),
array(field=>"change_diapers",duty=>"Change of diapers"),
array(field=>"feed_baby",duty=>"Feed baby"),
array(field=>"carebaby_night",duty=>"Take care of babies at night"),
array(field=>"care_5yrs",duty=>"Care of children aged 1-5 years"),
array(field=>"care_10yrs",duty=>"Care of children over 5-10 years"),
array(field=>"care_over10yrs",duty=>"Care of children over 10 years"),
array(field=>"play_children",duty=>"Play with children"),
array(field=>"housework",duty=>"General Housework"),
array(field=>"washing",duty=>"Operate washing machine"),
array(field=>"carpet",duty=>"Operate carpet cleaner"),
array(field=>"drier",duty=>"Operate drier"),
array(field=>"laundry",duty=>"Do personally laundry by hand"),
array(field=>"ironing",duty=>"Ironing"),
array(field=>"sewing",duty=>"Sewing"),
array(field=>"cooking",duty=>"Do plain cooking"),
array(field=>"chinese_cooking",duty=>"Do Chinese cooking"),
array(field=>"semi_invalid",duty=>"Look after semi-invalid person"),
array(field=>"drive",duty=>"Drive private vehicle"),
array(field=>"invalid",duty=>"Look after invalid person"),
array(field=>"gardening",duty=>"Gardening"),
array(field=>"cleaning_car",duty=>"Cleaning/Washing of car"),
);
$array_duties_hk2 = array(
1=>array(field=>"prep_eatchi",duty=>"Are you prepared to eat Chinese food only?"),
array(field=>"prep_eatwest",duty=>"Are you prepared to eat Western food only?"),
array(field=>"prep_workchi",duty=>"Are you prepared to work for a Chinese family"),
array(field=>"prep_workwest",duty=>"Are you prepared to work for a Western family?"),
array(field=>"prep_usetel",duty=>"Are you prepared to use the telephone only with employer's permission?"),
array(field=>"prep_dayoff",duty=>"Are you prepared to take your day off set by your employer?"),
array(field=>"prep_giveup",duty=>"Are you prepared to give up some of your day off to earn more in addition to you basic salary?"),
array(field=>"prep_finish",duty=>"On your day off, are you prepared to finish the morning chores before you go out?"),
array(field=>"prep_returnhome",duty=>"Are you prepared to return home not later than 7:00 P.M. during your day off?"),
array(field=>"prom_saladv",duty=>"Can you promise not to ask salary advance from your employer no matter what the circumstance may be?"),
array(field=>"prep_code",duty=>"Are you prepared to follow the code of discipline drawn up by your agency?"),
array(field=>"prep_shoulder",duty=>"Are you prepared to shoulder your return airfare to Manila if you do not finish your contract?"),
array(field=>"prep_follow",duty=>"Are you ready to follow your employer; if they immigrate to other country?"),
array(field=>"prom_notinvite",duty=>"Can you promise not to invite your friends at your employer's residence without his/her consent?"),
array(field=>"prom_makeup",duty=>"Can you promise not to use make-up while at work?"),
array(field=>"smoke",duty=>"Do you smoke?"),
array(field=>"alcohol",duty=>"Do you drink alcohol?"),
array(field=>"afraid_pets",duty=>"Are you afraid of dogs? Other pets?"),
array(field=>"afraid_alone",duty=>"Are you afraid of being left alone in the house at night?"),
array(field=>"defect",duty=>"Do you have any physical defect?"),
array(field=>"allergy",duty=>"Do you suffer from any allergy? If so, what?"),
array(field=>"serious_illness",duty=>"Have you suffered from any serious illness before?"),
array(field=>"operation",duty=>"Have you undergone any operation over the last 12 months?"),
array(field=>"skin_disease",duty=>"Do you suffer from any skin diseases?"),
array(field=>"ill_gohome",duty=>"If any member of your family becomes seriously ill, would you want to go home? "),
array(field=>"die_gohome",duty=>"If any immediate member of your family should die while abroad, would you like to go home?"),
array(field=>"church",duty=>"Must you attend church weekly?"),
array(field=>"extend_contract",duty=>"Are you ready to extend your contract after 2 years?"),
array(field=>"love_babies",duty=>"Do you love babies/children?"),
array(field=>"love_animals",duty=>"Do you love animals?"),
);
$array_duties_dubai = array(
1=>array(field=>"work_in_uae",duty=>"Willing to work in the Middle East for a period of 2 years? ",dub=>"العمل
في دولة
الإمارات
العربية
المتحدة لمدة
سنتين؟"),
array(field=>"sleep_w_babies",duty=>"Willing to sleep with babies/children at night? ",dub=>"النوم
مع الأطفال
في غرفتهم
أثناء
الليل؟"),
array(field=>"cook_arab",duty=>"Willing to learn how to cook Arabic Food? ",dub=>"الاستعداد
لتعلم الطبخ
العربي؟"),
array(field=>"no_day_off",duty=>"Willing to work with no days off? ",dub=>"العمل
بدون أية
أيام عطلة؟"),
array(field=>"cover_hair",duty=>"Willing to cover your hair at employer's request?",dub=>"وضع
غطاء على
الرأس في حال رغبة
الكفيل
بذلك؟"),
array(field=>"wo_mobile",duty=>"Willing to work without mobile phone? ",dub=>"العمل
بدون
استخدام
الهاتف
المتحرك؟"),
array(field=>"worked_in_uae",duty=>"Have you ever worked in Middle East? ",dub=>"هل
عملت من قبل
في دولة
الإمارات
العربية المتحدة؟"),
array(field=>"per_illness",duty=>"Do you have any permanent illness or problem?",dub=>"هل
تعانين من أي
مرض أو مشكلة
صحية مزمنة؟")
);
$array_ability_dubai = array(
1=>array(field=>"baby_sitting",duty=>"Babysitting ",chi=>"جليسة
أطفال"),
array(field=>"children_care",duty=>"Children Care ",chi=>"إجادة
اللغات"),
array(field=>"elderly_care",duty=>"Elderly People Care ",chi=>"العناية
بكبار السن"),
array(field=>"sick_care",duty=>"Sick People Care ",chi=>"العناية
بالمرضى"),
array(field=>"arabic_cooking",duty=>"Arabic Cooking ",chi=>"الطبخ
العربي"),
array(field=>"general_cooking",duty=>"General Cleaning ",chi=>"الأعمال
المنزلية
اليومية")
);
$array_spoken = array("CAN NOT","POOR","FAIR","GOOD","VERY GOOD");
$array_spoken_chi = array("不會","不好","普通","好","很好");
$array_skincolor = array("DARK","TAN","FAIR");
$array_skincolor_chi = array("黑","普通","白");
$array_good = array("Excellent","Very Good","Good","Fair","Poor");
?>