2)?"boxlink4":"boxlink1"; //some titles are different such as 'Weight Loss Centres', it is still in one line rather than 2 lines /*switch ($occupation['display_name']) { case 'Weight Loss Centres': //1 line $lob_css_class = 'boxlink1'; break; case 'Translators / Interpreters': //2 lines $lob_css_class = 'boxlink4'; break; } */ //this change is only for index page /*if ($occupation['display_name'] == 'Advertising Agents & Advertising Consultants') { $occupation['display_name'] = 'Advertising Agents/Consultants'; } else { }*/ $lobs[]=array($occupation['name'], 'allianz/' . $occupation['image'], $directory_name . "/" . $occupation['link_name'], $link_prefix . $occupation['profession_id'], "", $lob_css_class, $occupation['name'], $allianz_occupation_classes[$occupation['profession_id']], ); } //print_r($lobs); return $lobs; /*$directory_name = 'professional-indemnity-insurance'; $lobs=array(); //for tax/bas,bookkeeper, smsf lobid=5 $link_prefix = 'start_sequence.php?lobid=5&new_policy=1'; $lobs[]=array("Bookkeepers","business_coach.png",$directory_name . "/bookkeepers-insurance-quote.php",$link_prefix . "5","bookkeepers","boxlink1","Bookkeepers",'icon_handwriting_experts'); $lobs[]=array("SMSF Auditors","business_coach.png",$directory_name . "/smsf-auditors-insurance-quote.php",$link_prefix . "5","bookkeepers","boxlink1","SMSF Auditors",'icon_handwriting_experts'); //for misc lobid=15 $link_prefix = 'start_sequence.php?lobid=15&new_policy=1&occupation='; $lobs[]=array("Administrators","administrator.png",$directory_name . "/administrator-secretarial-services-insurance.php",$link_prefix . "23","administrator","boxlink1","Administrator/Secretarial Services",'icon_book_keepers'); $lobs[]=array("Archaeologists","archaeologist.png",$directory_name . "/archaeologists-insurance.php",$link_prefix . "1","archaeologist","boxlink1","Archaeologists",'icon_antiques_art_valuers'); $lobs[]=array("Architects","architects.png","professional-indemnity-insurance-architects/","start_sequence.php?lobid=23&new_policy=1","architects","boxlink1","Architects",'icon_archaeologists'); $lobs[]=array("Authors","author.png",$directory_name . "/authors-insurance.php",$link_prefix . "2","author","boxlink1","Author",'icon_architects'); $lobs[]=array("Business Coaches","business_coach.png",$directory_name . "/business-coach-insurance.php",$link_prefix . "28","businesscoach","boxlink1","Business Coach",'icon_bowen_therapists'); $lobs[]=array("Business Process
Improvement
Consultants","business-process.jpg",$directory_name . "/business-process-improvement-consultants-insurance.php","start_sequence.php?lobid=6&new_policy=1","business","boxlink5","Business Process Improvement Consultants",'icon_industrial_relations_consultants'); $lobs[]=array("Careers Consultants","careers.png",$directory_name . "/careers-consultants-counsellors-insurance.php",$link_prefix . "3","careers","boxlink1","Careers Consultants",'icon_business_improvement_consultants'); $lobs[]=array("Cartographers","cartographer.png",$directory_name . "/cartographers-insurance.php",$link_prefix . "14","cartographer","boxlink1","Cartographer",'icon_careers_consultants'); $lobs[]=array("Civil Celebrants","civil-ce.jpg",$directory_name . "/civil-celebrants-insurance.php",$link_prefix . "29","celebrants","boxlink1","Civil Celebrants",'icon_cartographers'); $lobs[]=array("Communications Consultants","communications.jpg",$directory_name . "/communications-consultants-insurance.php",$link_prefix . "30","communications","boxlink4","Communications Consultant",'icon_civil_celebrants'); $lobs[]=array("Company/Title Search Agents","agent_box.png",$directory_name . "/company-title-search-agents-insurance.php",$link_prefix . "15","agent","boxlink4","Company/Title Search Agents",'icon_community_workers'); $lobs[]=array("Compliance Consultants","compliance.jpg",$directory_name . "/compliance-consultants-insurance.php",$link_prefix . "31","compliance","boxlink4","Compliance Consultant",'icon_search_agents'); $lobs[]=array("Debt Collectors","debt.jpg",$directory_name . "/debt-collectors-insurance.php",$link_prefix . "32","debt","boxlink1","Debt Collector",'icon_compliance_consultants'); $lobs[]=array("Economists","economist.png",$directory_name . "/economist-insurance.php",$link_prefix . "17","economist","boxlink1","Economist",'icon_driver_trainers'); $lobs[]=array("Education Consultants","edu-consultant.png",$directory_name . "/education-consultants-insurance.php",$link_prefix . "4","education","boxlink1","Education Consultant",'icon_economists'); $lobs[]=array("Energy Efficiency
Consultants","energy.png",$directory_name . "/renewable-energy-efficiency-consultants-insurance.php",$link_prefix . "5","energy","boxlink4","Energy Efficiency Consultants",'icon_education_consultants'); $lobs[]=array("Engineers / Construction","eng-construction.png","professional-indemnity-insurance-engineers-construction/","professional-indemnity-insurance-engineers-construction/quote-online.php","engineers","boxlink1","Engineers / Construction",'icon_energy_efficiency_consultants'); $lobs[]=array("Export Consultants","export-eonsultants.png",$directory_name . "/export-consultants-insurance.php",$link_prefix . "18","export","boxlink1","Export Consultants",'icon_event_managers'); $lobs[]=array("Flora and Fauna
Consultants","flora-fauna.jpg",$directory_name . "/flora-fauna-consultants-insurance.php",$link_prefix . "33","flora","boxlink4",'Flora and Fauna Consultants','icon_film_producers'); $lobs[]=array("Food Industry
Consultants","food-industry.png",$directory_name . "/food-industry-consultants-insurance.php",$link_prefix . "19","foodind","boxlink4","Food Industry Consultant",'icon_flora_and_fauna_consultants'); $lobs[]=array("Food Safety Auditors","food-safety.png",$directory_name . "/food-industry-consultants-insurance.php",$link_prefix . "19","foodsafety","boxlink1","Food safety Auditor",'icon_food_industry_consultants'); $lobs[]=array("Freelance Editors","freelancer.jpg",$directory_name . "/freelance-editors-insurance.php",$link_prefix . "34","freelance","boxlink1","Freelance Editor",'icon_security_system_consultants'); $lobs[]=array("Fresh Water Biologists","fresh-water.jpg",$directory_name . "/fresh-water-biologists-insurance.php",$link_prefix . "35","fresh-water","boxlink1","Fresh Water Biologist",'icon_freelance_editors'); $lobs[]=array("Funeral Directors","funeral-dir.png",$directory_name . "/funeral-directors-insurance.php",$link_prefix . "6","funeral","boxlink1","Funeral Director",'icon_fundraisers'); $lobs[]=array("Graphic Designers","graphic-des.png",$directory_name . "/graphic-designers-insurance.php",$link_prefix . "8","graphic","boxlink1","Graphic Designer",'icon_geological_consultants'); $lobs[]=array("Handwriting Experts","handwriting-expert.png",$directory_name . "/handwriting-experts-insurance.php",$link_prefix . "9","handwriting","boxlink1","Handwriting Expert",'icon_hairdressers'); $lobs[]=array("Heritage Consultants","heritage.jpg",$directory_name . "/heritage-consultants-insurance.php",$link_prefix . "36","heritage","boxlink1","Heritage Consultant",'icon_handwriting_experts'); $lobs[]=array("Home Sustainability
Consultants","home-sub.png",$directory_name . "/renewable-energy-efficiency-consultants-insurance.php?type=2",$link_prefix . "5","sustainability","boxlink4","Home Sustainability Consultants",'icon_heritage_consultants'); $lobs[]=array("Human Resource
Consultants","human-resource.jpg",$directory_name . "/human-resource-consultants-insurance.php","start_sequence.php?lobid=6&new_policy=1","human","boxlink4","Human Resource Consultants",'icon_home_sustainability_consultants'); $lobs[]=array("Industrial Relations
Consultants","industrial-relations.jpg",$directory_name . "/industrial-relations-consultant-insurance.php",$link_prefix . "37","industrial","boxlink4","Industrial Relations Consultant",'icon_iso_certification_assessors'); $lobs[]=array("Interior Designers","interior-designer.png",$directory_name . "/interior-designers-insurance.php",$link_prefix . "21","interior","boxlink1","Interior Designer",'icon_strategic_planning_consultants'); $lobs[]=array("ISO Certification
Assessors","iso-certification.png",$directory_name . "/ISO-certification-assessors-insurance.php",$link_prefix . "10","iso","boxlink4","ISO Certification Assessor",'icon_hydro_therapists'); $lobs[]=array("Landscape Architects","landscape-arch.png",$directory_name . "/landscape-architects-insurance.php",$link_prefix . "20","landscape","boxlink1","Landscape Architect",'icon_land_surveyors'); $lobs[]=array("Legal Costs Assessors","legal-costs.png",$directory_name . "/legal-costs-assessors-insurance.php",$link_prefix . "11","legal","boxlink1",'Legal Costs Assessors','icon_landscape_architects'); $lobs[]=array("Librarians","librarian.png",$directory_name . "/librarians-insurance.php",$link_prefix . "12","librarian","boxlink1","Librarian",'icon_legal_costs_assessors'); $lobs[]=array("Life Coaches","life-coach.jpg",$directory_name . "/life-coach-insurance.php",$link_prefix . "38","life","boxlink1","Life Coaches",'icon_librarians'); $lobs[]=array("Literary Agents","literary.png",$directory_name . "/litrary-agent-insurance.php",$link_prefix . "24","literary","boxlink1","Literary Agent",'icon_life_coaches'); $lobs[]=array("Loss Assessors","loss.jpg","professional-indemnity-insurance/loss-assessor-insurance.php",$link_prefix . "39","loss","boxlink1","Loss Assessor",'icon_literary_agent'); $lobs[]=array("Market Research
Analysts","market-research.jpg",$directory_name . "/market-research-analysts-insurance.php",$link_prefix . "40","market","boxlink4","Market Research Analyst",'icon_loss_assessors'); $lobs[]=array("Marketing Consultants","marketing-consultants.jpg",$directory_name . "/marketing-consultants-insurance.php","start_sequence.php?lobid=6&new_policy=1","marketing","boxlink1","Marketing Consultants",'icon_market_research_analysts'); $lobs[]=array("Marriage Celebrants","marriage.png",$directory_name . "/marriage_celebrants.php",$link_prefix . "7","marriage","boxlink1","Marriage Celebrant",'icon_marketing_consultants'); $lobs[]=array("Mediation Consultants","mediation.png",$directory_name . "/mediation-consultants-insurance.php",$link_prefix . "22","mediation","boxlink1","Mediation Consultant",'icon_marriage_celebrants'); $lobs[]=array("Museum Consultants
/Curators","museum.png",$directory_name . "/museum-consultants-curators-insurance.php",$link_prefix . "25","museum","boxlink4","Museum Consultant/Curator",'icon_mineral_industry_consultants'); $lobs[]=array("OHS Consultants","OHS.jpg",$directory_name . "/occupational-health-safety-consultants-insurance.php","start_sequence.php?lobid=6&new_policy=1","ohs","boxlink1","OHS Consultants",'icon_museum_consultants'); $lobs[]=array("Organisation Design
Consultants","oraganisation-design.jpg",$directory_name . "/organisation-design-consultants-insurance.php","start_sequence.php?lobid=6&new_policy=1","organisation","boxlink4","Organisation Design Consultants",'icon_oenologists'); $lobs[]=array("Photographers","photographer.jpg",$directory_name . "/photographers-insurance.php",$link_prefix . "43","photographer","boxlink1","Photographer",'icon_personal_trainers'); $lobs[]=array("Photographic Librarians","photographic.png",$directory_name . "/photographic-librarians-insurance.php",$link_prefix . "13","photographic","boxlink4","Photographic Librarian",'icon_photographers'); $lobs[]=array("Physiotherapist","physio.jpg",$directory_name . "/physiotherapist-insurance.php","start_sequence.php?lobid=22&new_policy=1&occupation=1","physio","boxlink1","Physiotherapist",'icon_photographic_librarians'); $lobs[]=array("Printers","printer.jpg",$directory_name . "/printers-insurance.php",$link_prefix . "44","printer","boxlink1","Printer",'icon_pilates_instructors'); $lobs[]=array("Project Management
Consultants","project-management.jpg",$directory_name . "/project-management-consultants-insurance.php","start_sequence.php?lobid=6&new_policy=1","project","boxlink4","Project Management Consultants",'icon_private_investigators'); $lobs[]=array("Psychologist","psychotherapy.jpg",$directory_name . "/psychologist-insurance.php","start_sequence.php?lobid=22&new_policy=1&occupation=2","psychologist","boxlink1","Psychologist",'icon_project_management_consultants'); $lobs[]=array("Public Relations
Consultants","public.png",$directory_name . "/public-relations-consultants-insurance.php",$link_prefix . "26","public","boxlink4","Public Relations Consultant",'icon_psychologist'); $lobs[]=array("Real Estate Agents","renewable.png", "professional-indemnity-insurance-realestate-agent/insurance-quote.php","start_sequence.php?lobid=27&new_policy=1","renewable","boxlink4","Real Estate Agents",'icon_heritage_consultants'); $lobs[]=array("Renewable Energy
Consultants","renewable.png",$directory_name . "/renewable-energy-efficiency-consultants-insurance.php?type=3",$link_prefix . "5","renewable","boxlink4","Renewable Energy Consultants",'icon_registered_training_organisations'); $lobs[]=array("Research and Policy
Advisory Consultants","research.jpg",$directory_name . "/research-policy-advisor-consultants -insurance.php",$link_prefix . "45","research","boxlink4","Research and Policy Advisory Consultant",'icon_traffic_management_consultants'); $lobs[]=array("Risk Management
Consultants","risk-management.jpg",$directory_name . "/risk-management-consultants-insurance.php",$link_prefix . "46","risk","boxlink4","Risk Management Consultant",'icon_research_and_policy_advisory_consultants'); $lobs[]=array("Sign Writers","sign-writer.jpg",$directory_name . "/sign-writers-insurance.php",$link_prefix . "47","sign","boxlink1","Sign Writer",'icon_renewable_energy_consultants'); $lobs[]=array("Statisticians","statistician.png",$directory_name . "/statisticians-insurance.php",$link_prefix . "27","statistician","boxlink1","Statistician",'icon_solar_energy_consultants'); //$lobs[]=array("Paraplanners","paraplanner.jpg","professional-indemnity-insurance/paraplanners-insurance.php",$link_prefix . "42","paraplanner","boxlink1","Paraplanner"); $lobs[]=array("Strategic Planning
Consultants","srategic-planning.jpg",$directory_name . "/strategic-planning-consultants-insurance.php","start_sequence.php?lobid=6&new_policy=1","srategic","boxlink4","Strategic Planning Consultants",'icon_statisticians'); $lobs[]=array("Technical Writers","technical-writer.jpg",$directory_name . "/technical-writers-insurance.php",$link_prefix . "48","technical","boxlink1","Technical Writer",'icon_business_coaches'); $lobs[]=array("Town Planners","town.png",$directory_name . "/town-planners-insurance.php",$link_prefix . "16","town","boxlink1","Town Planner",'icon_smsfa_auditors'); //for allianz occupations, lobid=24 $link_prefix = 'start_sequence.php?lobid=24&new_policy=1&occupation='; $directory_name = $directory_name . '-allianz'; $allianz_occupation_classes = array( 1=>'icon_administrators', 2=>'icon_agents', 3=>'icon_debt_collectors', 4=>'icon_beauticians', 5=>'icon_mercantile_agencies', 6=>'icon_meteorologists', 7=>'icon_printers', 8=>'icon_social_workers', 9=>'icon_veterinarians', 10=>'icon_mediation_consultants', 11=>'icon_migration_agents', 12=>'icon_engineers', 13=>'icon_food_safety_auditors', 14=>'icon_funeral_directors', 15=>'icon_ohs_consultants', 16=>'icon_forestry_consultants', 17=>'icon_interior_designers', 18=>'icon_fresh_water_biologists', 19=>'icon_communications_consultants', 20=>'icon_sign_writers', 21=>'icon_human_resource_consultants', 22=>'icon_physiotherapist', 23=>'icon_quantity_surveyors', 24=>'icon_botanists', 25=>'icon_weight_loss_centres', 26=>'icon_yoga_instructors', 27=>'icon_authors', 28=>'icon_graphic_designers', 29=>'icon_organisation_design_consultants', 30=>'icon_waste_management_consultants', 31=>'icon_public_relations_consultants', 32=>'', 33=>'', 34=>'icon_publishers', 35=>'icon_export_consultants', 36=>'icon_draftsperson', 37=>'icon_reflexologists', 38=>'icon_town_planners', 39=>'icon_translators', 40=>'icon_anthropologists', 41=>'icon_travel_agents', 42=>'icon_agronomists', 43=>'icon_risk_management_consultants', ); $medisure_occupations = get_medisure_occupations2();//allianz_occupations(); foreach ($medisure_occupations as $occupation) { $lob_css_class = (str_word_count($occupation['display_name'])>2)?"boxlink4":"boxlink1"; //some titles are different such as 'Weight Loss Centres', it is still in one line rather than 2 lines switch ($occupation['display_name']) { case 'Weight Loss Centres': //1 line $lob_css_class = 'boxlink1'; break; case 'Translators / Interpreters': //2 lines $lob_css_class = 'boxlink4'; break; } //this change is only for index page if ($occupation['display_name'] == 'Advertising Agents & Advertising Consultants') { $occupation['display_name'] = 'Advertising Agents/Consultants'; } else { } $lobs[]=array($occupation['display_name'], 'allianz/' . $occupation['image'], $directory_name . "/" . $occupation['link_name'], $link_prefix . $occupation['profession_id'], "", $lob_css_class, $occupation['display_name'], $allianz_occupation_classes[$occupation['profession_id']], ); } return $lobs;*/ } public function get_primary_lobs_2() { /*$lobs = $this->get_lobs_2(); return array_slice($lobs,0,5);*/ } /** * for all health professional insurances */ public function get_lobs_2() { /* $lobs=array(); $directory_name = "professional-indemnity-insurance"; $quote_link = "https://hpionline.insurenet.net.au/express"; $lobs[]=array("nAboriginal Health Workers","Aboriginal Health Worker copy.jpg","$directory_name/aboriginal-health-workers-insurance.php",$quote_link,"aboriginal","boxlink4","Aboriginal Health Workers",'icon_zumba_instructors'); $lobs[]=array("Acupuncturists","Acupuncturist.jpg","$directory_name/acupuncturists-insurance.php",$quote_link,"acupuncturists","boxlink1","Acupuncturists",'icon_aboriginal_health_workers'); $lobs[]=array("Aged Care Workers","aged care.jpg","$directory_name/aged-care-workers-insurance.php",$quote_link,"agedcare","boxlink1","Aged Care Workers",'icon_acupuncturists'); $lobs[]=array("Audiologists","audiologist.jpg","$directory_name/audiologists-insurance.php",$quote_link,"audiologists","boxlink1","Audiologists",'icon_aged_care_workers'); $lobs[]=array("Counsellors
Social Workers","Counseling & Social Work.jpg","$directory_name/counsellors-social-workers-insurance.php",$quote_link,"counsellors","boxlink4","Counsellors/Social Workers",'icon_audiologists'); $lobs[]=array("Dieticians","dietitian.jpg","$directory_name/dieticians-insurance.php",$quote_link,"dieticians","boxlink1","Dieticians",'icon_counsellors_social_workers'); $lobs[]=array("Exercise Physiologists","phychian.jpg","$directory_name/exercise-physiologists-insurance.php",$quote_link,"exercise","boxlink1","Exercise Physiologists",'icon_dieticians'); $lobs[]=array("First Aid Trainers","first-aid-trainer.jpg","$directory_name/first-aid-trainers-insurance.php",$quote_link,"firstadteacher","boxlink1","First Aid Teachers",'icon_exercise_physiologists'); $lobs[]=array("Healthcare Practice Managers","Occupational Therapist.jpg","$directory_name/healthcare-practice-managers-insurance.php",$quote_link,"healthcare","boxlink4","Healthcare Practice Managers",'icon_first_aid_trainers'); $lobs[]=array("Homeopaths","homeopath.jpg","$directory_name/homeopaths-insurance.php",$quote_link,"homeopaths","boxlink1","Homeopaths",'icon_healthcare_practice_managers'); $lobs[]=array("Massage Therapists","masag therapist.jpg","$directory_name/massage-therapists-insurance.php",$quote_link,"massage","boxlink1","Massage Therapists",'icon_homeopaths'); $lobs[]=array("Midwives","midwifery.jpg","$directory_name/midwifery-insurance.php",$quote_link,"midwifery","boxlink1","Midwifery",'icon_massage_therapists'); $lobs[]=array("Natural Therapists","natura therapist.jpg","$directory_name/natural-therapists-insurance.php",$quote_link,"natural","boxlink1","Natural Therapists",'icon_midwifery'); $lobs[]=array("Naturopaths","Naturopath.jpg","$directory_name/naturopaths-insurance.php",$quote_link,"naturopaths","boxlink1","Naturopaths",'icon_natural_therapists'); $lobs[]=array("Nurses","nurse.jpg","$directory_name/nurses-insurance.php",$quote_link,"nurses","boxlink1","Nurses",'icon_naturopaths'); $lobs[]=array("Nutritionists","Nutritionist.jpg","$directory_name/nutritionists-insurance.php",$quote_link,"nutritionists","boxlink1","Nutritionists",'icon_nurses'); $lobs[]=array("Occupational Therapists","Occupational Therapist.jpg","$directory_name/occupational-therapists-insurance.php",$quote_link,"occupational","boxlink4","Occupational Therapists",'icon_nutritionists'); $lobs[]=array("Optometrists","Optometrist.jpg","$directory_name/optometrists-insurance.php",$quote_link,"optometrists","boxlink1","Optometrists",'icon_occupational_therapists'); $lobs[]=array("Orthotists","Othotist.jpg","$directory_name/orthotists-insurance.php",$quote_link,"orthotists","boxlink1","Orthotists",'icon_optometrists'); $lobs[]=array("Osteopaths","Occupational Therapist.jpg","$directory_name/osteopaths-insurance.php",$quote_link,"osteopaths","boxlink1","Osteopaths",'icon_orthotists'); $lobs[]=array("Paramedics","paramedics.jpg","$directory_name/paramedics-insurance.php",$quote_link,"paramedics","boxlink1","Paramedics",'icon_osteopaths'); $lobs[]=array("Podiatrists","Podiatrist.jpg","$directory_name/podiatrists-insurance.php",$quote_link,"podiatrists","boxlink1","Podiatrists",'icon_paramedics'); $lobs[]=array("Rehabilitation Consultants","Rehabilitation Consultant.jpg","$directory_name/rehabilitation-consultants-insurance.php",$quote_link,"rehabilitation","boxlink4","Rehabilitation Consultants",'icon_podiatrists'); $lobs[]=array("Speech Pathologists","Speech Pathologist.jpg","$directory_name/speech-pathologists-insurance.php",$quote_link,"speech","boxlink1","Speech Pathologists",'icon_rehabilitation_consultants'); return $lobs;*/ } /** * quote link for health professional insurance */ public function get_hpi_quote_link() { $quote_link = "https://hpionline.insurenet.net.au/express"; return $quote_link; } public function left_menu($showclickheretobuy=true,$lobid=1) { if ($lobid!=1) $loblink="?lobid={$lobid}"; if ($showclickheretobuy) { if (!get_system("stop_system")) $onclick=' onclick="location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid='.$lobid.'&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; $ex='professional indemnity online quote
Home
 
'; $lodge_claim= '
Lodge a Claim
 
'; } return '
'.$ex.'
About Us
 
Our Team
 
Contact Us
 
'.$lodge_claim.'
Social Responsibility
 
'; } public function content_top() { // if($this->banner=="bannerbox1")return; return '

professional indemnity & public liability

Start typing your Occupation then select from the list that displays:

'; } public function right_menu() { $total_charity= substr(money(ics_query_item("select count(*)*25 from data_policy where lodged>'0000-00-00' and confirmation_pdf IS NOT NULL and (lobid=3 OR lobid=4 OR lobid=6 OR lobid=7 OR lobid=8 OR lobid=15)")+ics_query_item("select count(*)*15 from data_policy where lodged>'0000-00-00' and confirmation_pdf IS NOT NULL and (lobid=1 OR lobid=5 OR lobid=2)"),0,false),0,7);include 'facebook.php'; return ' ' ; } public function footer() { $lobs=array_merge($this->get_primary_lobs(),$this->get_lobs(), $this->get_lobs_2()); $sources=""; $urls=""; for ($i=0; $i"," ",$lob[6].'"')."},"; $urls.='"'.$lob[2].'"'; if ($i $(document).ready(function() { $("input#autocomplete").autocomplete({ source: ['.$sources.'], select: function(event, ui) { var selectedObj = ui.item; var urls=new Array('.$urls.'); //alert("vvv"+selectedObj.label+" "+selectedObj.value); location.href="'.HTTPFRONT.BASEURL.'"+urls[selectedObj.value]; return false; } }); });
' ; } public function left_menu_it() { if (!get_system("stop_system")) $onclick=' onclick="start_sequence()"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return ' '; } public function pi_list(){ $text= '

Professions

    '; $lobs=array_merge($this->get_primary_lobs(),$this->get_lobs(), $this->get_lobs_2()); //$lobs=$this->get_lobs(); $sorter = new TableSorter(0); // sort by first column $lobs = $sorter->sort($lobs); for($i=0; $i'.$lob[0].''; } $text.='

'; return $text; } /** * for health professional insurances * quote link goes to health profession insurance site * @return string */ public function left_menu_hpi() { $quote_link = $this->get_hpi_quote_link(); if (!get_system("stop_system")) $onclick=' onclick="location.href=\''.$quote_link.'\'"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return '
Get Quote & Buy

For this occupation you will be referred to our strategic partner "Health Professionals Insurance",
a division of Medisure Indemnity Australia Ltd and a specialist in providing insurance to the Health sector.
(ABN: 29 116 319 567,
AFSL: 412681)
'; /*&'
Professional indemnity insurance Quote
';*/ } /** * * @param int $occupation 0: psychologist, 1: physiotherapist * @param int $lobid * @return string */public function left_menu_psychologist($occupation=0,$lobid=15) { switch (intval($occupation)) { case 1: //physiotherapist $name = 'Physiotherapist'; break; case 2://psychologist $name = 'Psychologist'; break; default: } if (!get_system("stop_system")) $onclick=' onclick="location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid='.$lobid.'&new_policy=1&occupation='.$occupation.'\'"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return ' '; /*&'
Professional indemnity insurance Quote
';*/ } /** * * @param number $occupation id * @param number $lobid * @return string */ public function left_menu_misc($occupation,$lobid=15) { if (!get_system("stop_system")) $onclick=' onclick="location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid='.$lobid.'&new_policy=1&occupation='.$occupation.'\'"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; if ($lobid == 24) { $directory_name = 'misc_allianz'; $occupation_record = get_occupation_from_occupation_id($occupation); $product_information = $occupation_record['display_name']; } else { $directory_name = 'misc'; $product_information = 'Product Information'; } return ' '; /*&'
Professional indemnity insurance Quote
';*/ } public function left_menu_bk() { if (!get_system("stop_system")) $onclick=' onclick="start_sequence_lob(5)"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return ' '; } public function left_menu_ac() { /* return ' ';**/if (!get_system("stop_system")) $onclick=' onclick="location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid='.$lobid.'&new_policy=1&occupation='.$occupation.'\'"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return ''; } public function left_menu_ar() { /* return ' '; * */ $lobid = 23; if (!get_system("stop_system")) $onclick=' onclick="location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid='.$lobid.'&new_policy=1&occupation='.$occupation.'\'"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return ''; } public function left_menu_en() { return ' '; } public function left_menu_rc() { if (!get_system("stop_system")) $onclick=' onclick="start_sequence_lob(8)"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return ' '; } public function left_menu_mc() { if (!get_system("stop_system")) $onclick=' onclick="start_sequence_lob(6)"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return ' '; } public function left_menu_ml() { if (!get_system("stop_system")) $onclick=' onclick="start_sequence_lob(25)"';//location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=1&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return ' '; } public function left_menu_ta() { if (!get_system("stop_system")) $onclick=' onclick="location.href=\''.HTTPSEQUENCE.BASEURL.'start_sequence.php?lobid=26&new_policy=1\'" '; else $onclick=' onclick="alert(\'We are currently under maintenance. Please try again later.\')"'; return ' '; } public function left_menu_bw() { return ' '; }}