' . bk_var('lib_name') . ': ' . 'Create Record
Record created ' . 'successfully.
google_ad_' . 'client = "pub-5149869439810473";google_ad_slot = "' . '8555068874";google_ad_width = 728;google_ad_height = 90;' . '';} function bk_avar($q) {if(bk_installation_type() == 'thripp.com') { $email = $_SESSION['user_email']; if($q == 'domain') return 'thripp.com'; if($q == 'home') return 'home'; if($q == 'account') return 'thripp'; $current_user = mysql_fetch_row(mysql_query("SELECT id, username FROM users WHERE user_email = '$email'")); if($q == 'user_id') return $current_user['0']; if($q == 'username') return $current_user['1'];}} function bk_get_avatar($email) { return $url = str_replace('&', '&', 'http://www.gravatar.com/' . 'avatar.php?gravatar_id=' . md5($email) . '&default=' . bk_var('lib') . 'bk-content/themes/' . bk_var('theme') . '/default-avatar.png&size=60&rating=PG');} function bk_get_page_url() { if($_SERVER['HTTPS'] == 'on') $a .= 's'; else $a = ''; if($_SERVER['SERVER_PORT'] != '80') $b .= ':' . $_SERVER['SERVER_PORT']; else $b = ''; return $url = 'http' . $a . '://' . $_SERVER['SERVER_NAME'] . $b . $_SERVER['REQUEST_URI'];} if(bk_installation_type() == 'thripp.com') { function bk_header() { echo '
' . strtoupper(bk_avar('domain')) . ': Home | Members | Forum | Gallery';
if(!empty($_SESSION['LoggedIn']) && !empty($_SESSION['user_email'])) {
echo ' | ' . 'Upload Photo | Blog Post |' .
' Profile | ' .
'Messages | Log out ' . bk_ads('wide') .
'
' . nl2br(bk_text_format($settings['footer'])) . '
| ' . 'Info: | ' .
$patron['patron_barcode'] . ' | ID: ' .
$patron['patron_id'] . ' | Name: ' . $patron['name'];
$s .= ''; if($patron['gender'] != '') $s .= ' Gender: ' . $patron['gender']; if($patron['birth_date'] != '') $s .= ' | Birth Date: ' . $patron['birth_date']; $s .= ' |
| ' . 'Address: | ' . nl2br($patron['address']) . ' |
| Phone: ' . ' | '; if($patron['home_phone'] != '') $s .= 'Home: ' . $patron['home_phone']; if($patron['home_phone'] != '' && $patron['work_phone'] != '') $s .= ' | '; if($patron['work_phone'] != '') $s .= 'Work: ' . $patron['work_phone']; if($patron['home_phone'] != '' || $patron['work_phone'] != '') $s .= ' |
| '; if($patron['email'] != '') $s .= 'Email'; if($patron['email'] != '' && $patron['drivers_license'] != '') $s .= ' / '; if($patron['drivers_license'] != '') $s .= 'DL'; if($patron['email'] != '' || $patron['drivers_license'] != '') $s .= ': | '; if($patron['email'] != '') $s .= '' . $patron['email'] . ''; if($patron['email'] != '' && $patron['drivers_license'] != '') $s .= ' | '; if($patron['drivers_license'] != '') $s .= 'DL: ' . $patron['drivers_license']; if($patron['email'] != '' || $patron['drivers_license'] != '') $s .= ' |
| [EDIT] [DELETE] [ERASE] |
| Title: | ' . $search['title'] . ' |
| ' . $search['title_remainder'] . ' | ' . '|
| Author:' . ' | ' . $search['author'] . ' |
| #' . $search['record_id'] . ': | ' . $search['collection'] . ' / ' . '' . $search['call_number'] . ' / ' . $comment_count['0'] . ' Comment' . bk_plural($comment_count['0']) . ' |
| Info: | ' . $search['pub_date'] . ' / ISBN: ' . $search['isbn'] . ' / ' . $search['extent'] . ' / $' . $search['value'] . ' / ' . $search['format'] . ' |
| ' . ' | [EDIT] [DELETE] [ERASE' . '] |
'; if($_REQUEST['module'] != 'home') echo '';
echo 'Click here to go to ' . 'your patron profile or click here to log out.
Record created ' . 'successfully.
You may not create a record.
' . '