Home: Libraries Mobile  |  Carrels

Available Carrels

Welcome ".$fullname."!"; $action = $_GET['action']; $req_id = $_GET['id']; $result=mysql_query("SELECT `id`, `carrel_number` FROM `carrel1` WHERE `pat_email` = '".$useremail."'"); $row = mysql_fetch_array($result); $id = $row["id"]; $num = $row["carrel_number"]; $result_req=mysql_query("SELECT `id`, `carrel_number` FROM `carrel1` WHERE `id` = '".$req_id."'"); $row_req = mysql_fetch_array($result_req); $id_req = $row_req["id"]; $num_req = $row_req["carrel_number"]; if($action == 'new'){ // disect fullname // $string = $fullname; $tok = strtok($string, " "); while ($tok !== false) { break; $tok = strtok(" \n\t"); } $firstname = $tok; if(!$num){ //check with Aleph to see if Patron record exists. $pat = simplexml_load_file('http://neko.lib.utk.edu:4525/X?op=bor-info&bor_id='.$netid.'&library=utk50&user_name=WWW-X&user_password=QRX12&loans=n&cash=n&holds=n'); $pat_id = $pat->{bor-info}->z303->{'z303-id'}; $pat_status = $pat->{bor-info}->z305->{'z305-bor-status'}; $error = $pat->{bor-info}->error; if($error == "Error retrieving Patron System Key"){ echo "

You are not yet in our Library System. Please go to Hodges Library Circulation Department with your UT ID so we can add you to our system.

"; }else{ if(($pat_status == "Graduate") OR ($pat_status == "Special Undergraduate")){ if($pat_id > 0){ $today = date('Y-m-d'); $update_result=mysql_query("UPDATE `carrel1` SET `pat_last_name`='".$lastname."', `pat_first_name`='".$firstname."', `pat_email`='".$useremail."', `pat_netid`='".$netid."', `date_assigned`='".$today."' WHERE `id` = ".$req_id.""); } }else{ $skip_error = "yes"; echo"

Our records show your status as: ".$pat_status.". Only Graduate Students and Undergraduates with Honors may request carrels. If we have your status incorrectly listed in our system, please go to the 2nd Floor Circulation Desk with your UT ID so we can update our information. Thank you.

"; } } if(!$update_result){ if($skip_error == "yes"){}else{ echo"

There has been an error. Please call the Hodges Library Circulation Department at 865-974-4351.

"; } }else{ echo"

You have been assigned to: Carrel ".$num_req."

"; } }else{ echo"

Our records indicate that you are already assigned to Carrel ".$num."

"; echo"

Because you are already assigned to a carrel, we cannot assign you to your requested Carrel ".$num_req.".

"; echo"

If you wish to change carrel assignments please go to the manage carrel tools and remove your current assigned carrel and then re-request the new carrel.

"; } }else{ if(!$num){ echo"

Our records show you are not currently assigned to a carrel.

"; echo"

If you are a Graduate Student, or an Undergraduate with Honors Student and would like to request a carrel, please go back to \"About Graduate Carrels\".

"; }else{ echo"

Our records show you are currently assigned to: Carrel: ".$num.".

"; ?>

Pull Books: I have books I would like removed from my carrel. I have already turned the carrel slips to show "return to circulation" on top.

Request 'Carrel Assigned' Sign: Request a "Carrel Assigned" Sign be placed on your carrel. These signs are placed on carrels upon initial assignment but somtimes get pulled off. Please do not request a sign immediatly after your carrel has been assigned to you, please wait at least a week. Thanks.

Blown Desk Light: Report that the light in your study carrel needs to be replaced.

Spill / Mess: we ask that food and drinks not be used at the carrels, however if there is an old spill or mess on or around your carrel you may notify us of it.

Remove Carrel Assignment: You no longer want your study carrel and want us to remove you from it so another patron can use it.



Check the full site for more carrel information.