Please note that you must have cookies enabled to use this service...

Please log in as a service provider.

ID
Password
Prov. of 1st address
If you are not yet registered, click here.
"; echo "If you forgot your password, click here."; ?> Service Provider Login "; //$userProid_f=$_POST['userProid_f']; //$userPropassword_f=$_POST['userPropassword_f']; //$_POST['action']=$_POST['action']; switch($_POST['action']) {case "login_pro": $Pro_fname=auth_user($_POST['userProid_f'], $_POST['userPropassword_f'], $_POST['userProprov_f']); if(!$Pro_fname) {echo "authorization failed"; $userProid1="";} else { $_SESSION['userProid']=$_POST['userProid_f']; $_SESSION['userProprov']=$_POST['userProprov_f']; $Pro_username=$_SESSION['userProid']; $Pro_prov=$_SESSION['userProprov']; if($Pro_prov == 'BC'){$tododb='todolist';} else if($Pro_prov == 'AB'){$tododb='todolist_ab';} else if($Pro_prov == 'SK'){$tododb='todolist_sk';} else if($Pro_prov == 'MB'){$tododb='todolist_mb';} else if($Pro_prov == 'ON'){$tododb='todolist_ab';} else if($Pro_prov == 'QC'){$tododb='todolist_ab';} else if($Pro_prov == 'NB'){$tododb='todolist_ab';} else if($Pro_prov == 'NS'){$tododb='todolist_ab';} else if($Pro_prov == 'PE'){$tododb='todolist_ab';} else if($Pro_prov == 'NL'){$tododb='todolist_ab';} else if($Pro_prov == 'YK'){$tododb='todolist_ab';} else if($Pro_prov == 'NW'){$tododb='todolist_ab';} else if($Pro_prov == 'NV'){$tododb='todolist_ab';} $link_id = db_connect(); if(!$link_id) die(sql_error()); $queryToDo = "SELECT * FROM $tododb WHERE Pro_id = '$Pro_username'"; $resultToDo = mysql_query($queryToDo); $numrows=mysql_num_rows($resultToDo); if($numrows==0) {echo "
You don't have any items on your \"To Do List\"right now
"; } else { echo "
"; echo ""; while($Qdata=mysql_fetch_array($resultToDo)) { $todo_id=$Qdata['todo_id']; echo ""; } echo "
Your To Do List
"; echo ""; echo $Qdata['todo_text'] . "
"; } echo "

Hello, "; echo $_SESSION['userProid']; echo "! You are logged in as a service provider! " . "Click " . "here " . "to log out.

"; if($_SESSION['listing_only']!=1) { echo "
If you wish to check your appointments, click " . "here."; echo "
If you wish to add an appointment, click " . "here."; if((stristr($_SERVER['HTTP_USER_AGENT'], "MSIE") !==false) && (stristr($_SERVER['HTTP_USER_AGENT'], "win") !==false)) { echo "
Add your regular weekly appointments here!"; } else { echo "
Add your regular weekly appointments here!"; echo "
If you wish to use the secure chatroom, click " . ""; } } else {echo "
You are registered as a \"listing-only\" user, no appointment-booking or secure chat features are available.";} echo "
If you wish to update your registration, click " . "here."; echo "
If you wish to change your password, click " . "here."; if($_SESSION['userProid']=='zsaper') { echo "
If you want to check others' schedules, click " . "here."; } echo "

New invoicing functions!

"; echo "Create invoices from your appointments here"; echo "
Review your invoices and record payments here"; echo "
Set your default rates here."; echo "

New web page builder!

"; echo "If you didn't enter a web page when you registered, you can make a simple one here"; echo "

New help page!

"; echo "Take a look at the service provider help page here.
"; } break; default: if(empty($_SESSION['userProid'])){login_form();} else { echo "

Hello, "; echo $_SESSION['userProid']; echo "! You are logged in as a service provider! " . "Click " . "here " . "to log out.

"; if($_SESSION['listing_only']!=1) { echo "
If you wish to check your appointments, click " . "here."; echo "
If you wish to add an appointment, click " . "here."; if((stristr($_SERVER['HTTP_USER_AGENT'], "MSIE") !==false) && (stristr($_SERVER['HTTP_USER_AGENT'], "win") !==false)) { echo "
Add your regular weekly appointments here!"; } else { echo "
Add your regular weekly appointments here!"; } } else {echo "
You are registered as a \"listing-only\" user, no appointment-booking features available.";} echo "
If you wish to update your registration, click " . "here."; echo "
If you wish to change your password, click " . "here."; echo "
If you wish to use the secure chatroom, click " . ""; if($_SESSION['userProid']=='zsaper') { echo "
If you want to check others' schedules, click " . "here."; } echo "

New invoicing functions!

"; echo "Create invoices from your appointments here"; echo "
Review your invoices and record payments here"; echo "
Set your default rates here."; echo "

New web page builder!

"; echo "If you didn't enter a web page when you registered, you can make a simple one here"; echo "

New help page!

"; echo "Take a look at the service provider help page here.
"; } break; } ?>


zappointments.com: online booking for health professionals