Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8c0e879
Merge pull request #8 from BennerLibrary-Informatics/master
jmlundahl Apr 18, 2019
0913bf8
Merge pull request #9 from BennerLibrary-Informatics/master
jmlundahl Apr 18, 2019
29ef211
Merge pull request #9 from BennerLibrary-Informatics/master
jmlundahl Apr 18, 2019
2285de7
Merge pull request #10 from BennerLibrary-Informatics/master
jmlundahl Apr 23, 2019
0341eec
Merge branch 'master' of https://github.com/jmlundahl/LibraryWebsite-…
jmlundahl Apr 23, 2019
dc3a820
Merge branch 'pr/12'
jmlundahl Apr 30, 2019
facd35a
REF-72
jddocea Apr 30, 2019
9d63c9d
Merge pull request #50 from jddocea/master
jddocea Apr 30, 2019
eeb4c52
Moved to status folder
jmlundahl Apr 30, 2019
e9caeba
Merge pull request #18 from BennerLibrary-Informatics/master
jddocea Apr 30, 2019
f3a8d4f
Merge pull request #52 from jmlundahl/master
jddocea Apr 30, 2019
cd6c147
Merge pull request #19 from BennerLibrary-Informatics/master
jddocea Apr 30, 2019
f58e168
updated refresh time
jddocea Apr 30, 2019
a057558
Merge pull request #53 from jddocea/master
jddocea Apr 30, 2019
54dc40f
updated email id on staffed page
jddocea Apr 30, 2019
88d0467
Merge pull request #54 from jddocea/master
jddocea Apr 30, 2019
2fe2b83
updated path to pictures
jddocea May 1, 2019
8d6b7b8
removed staff pics from ref desk folder
jddocea May 1, 2019
9bcdf11
on call update without Judson
BennerLibrary-Informatics May 1, 2019
6e1ac54
Merge branch 'master' of https://github.com/BennerLibrary-Informatics…
BennerLibrary-Informatics May 1, 2019
56f1650
moved files around
jddocea May 1, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions api/sta/objects/status.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct($db){
}

public function getStatus() {
$sql = "SELECT FK_locAIDPhysical, FK_resAID, FK_noteAID, FK_userID, FK_deptID, FK_locAIDCovering FROM $this->table_name";
$sql = "SELECT FK_locAIDPhysical, FK_resAID, FK_noteAID, FK_userID, FK_deptID, FK_locAIDCovering FROM $this->table_name ORDER BY stsStartTime DESC";
$query = $this->conn->query($sql);
return $query;
}
Expand All @@ -35,6 +35,7 @@ public function getByCovering($nameQuery) {
for($index = 1; $index<sizeof($values); $index++) {
$sql .= " OR FK_locAIDCovering=$values[$index]";
}
$sql .= " ORDER BY stsStartTime DESC";
$query = $this->conn->query($sql);
return $query;
}
Expand All @@ -52,12 +53,13 @@ public function getByLocation($nameQuery) {
for($index = 1; $index<sizeof($values); $index++) {
$sql .= " OR FK_locAIDPhysical=$values[$index]";
}
$sql .= " ORDER BY stsStartTime DESC";
$query = $this->conn->query($sql);
return $query;
}

public function getByDepartment($nameQuery) {
$sql = "SELECT FK_locAIDPhysical, FK_resAID, FK_noteAID, FK_userID, FK_deptID, FK_locAIDCovering FROM $this->table_name WHERE FK_deptID='$nameQuery'";
$sql = "SELECT FK_locAIDPhysical, FK_resAID, FK_noteAID, FK_userID, FK_deptID, FK_locAIDCovering FROM $this->table_name WHERE FK_deptID='$nameQuery' ORDER BY stsStartTime DESC";
$query = $this->conn->query($sql);
return $query;
}
Expand Down
63 changes: 63 additions & 0 deletions departments/journals-articles/create_eresources_a-z_static.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?php include $_SERVER['DOCUMENT_ROOT'].'/bin/CORAL/subject_connector.php'; ?>
<?php include $_SERVER['DOCUMENT_ROOT'].'/bin/CORAL/resource_connector.php'; ?>
<?php
$outString = '<?php
$page_title = "eResources A-Z - Benner Library";
$body_class = "";
$body_id = "";
$css = "";
$js = "";
?>


<?php
$path = $_SERVER["DOCUMENT_ROOT"];
$path .= "/scripts/top.php";
include_once($path);
?>
<!-- ===== content below here ========================================================== -->


<h1 class="no-margin-bottom">eResources A-Z</h1>
<p class="shrink-text"><em>This is a complete listing of Benner Library databases plus some eBook collections and individual ejournal titles.</em></p>
<p class="title-font"><a href="#A">A-B</a> | <a href="#C">C-E</a> | <a href="#F">F-H</a> | <a href="#I">I-L</a> | <a href="#M">M-O</a> | <a href="#P">P-R</a> | <a href="#S">S-U</a> | <a href="#V">V-Z</a></p>

<ul class = "link-list irs">
<li style="height:0; min-height:0" name="A" id="A"></li>';
?>

<?php $outString .= print_subject('3', array('5', '2', '11', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<?php $outString .=' <li style="height:0; min-height:0" name="C" id="C"></li>';?>
<?php $outString .= print_subject('11', array('5', '2', '11', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<?php $outString .=' <li style="height:0; min-height:0" name="F" id="F"></li>';?>
<?php $outString .= print_subject('23', array('5', '2', '11', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<?php $outString .=' <li style="height:0; min-height:0" name="I" id="I"></li>';?>
<?php $outString .= print_subject('28', array('5', '2', '11', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<?php $outString .=' <li style="height:0; min-height:0" name="M" id="M"></li>';?>
<?php $outString .= print_subject('31', array('5', '2', '11', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<?php $outString .=' <li style="height:0; min-height:0" name="P" id="P"></li>';?>
<?php $outString .= print_subject('19', array('5', '2', '11', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<?php $outString .=' <li style="height:0; min-height:0" name="S" id="S"></li>';?>
<?php $outString .= print_subject('34', array('5', '2', '11', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<?php $outString .=' <li style="height:0; min-height:0" name="V" id="V"></li>';?>
<?php $outString .= print_subject('36', array('5', '2', '11', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<?php $outString .=' </ul>';
?>

<!-- <form target="_blank" name="querybox" action="https://i-share.carli.illinois.edu/onu/cgi-bin/Pwebrecon.cgi" method="get"> <input type="hidden" name="DB" value="local" /> <input type="hidden" name="CNT" value="20" /> <input class="formelem" onfocus="this.value='';" size="21" maxlength="100" value="BLISweb Quick Search" name="Search_Arg" /> <select class="formelem" name="Search_Code" style="width: 11em;"> <option value="FT*">Keyword Search</option> <option value="TALL">Start of Title</option>
<option value="CMD">Boolean Search</option> <option value="SUBJ_">Subject Heading</option> <option value="NAME_">Author</option> <option value="CALL_">Call Number</option> </select> <input class="formelem" type="submit" value="Search" /> </form> -->

<?php $outString .='
<!-- ===== content above here ========================================================== -->

<?php
$path = $_SERVER["DOCUMENT_ROOT"];
$path .= "/scripts/bottom.php";
include_once($path);
?>';

echo $outString;
$file = fopen('eresources_a-z_static.php', 'w');
fwrite($file, $outString);
fclose($file);
?>
48 changes: 48 additions & 0 deletions departments/journals-articles/database-list/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?php
$page_title = "Database List - Benner Library";
$body_class = "";
$body_id = "";
$css = "";
$js = "";
?>


<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/top.php";
include_once($path);
?>
<!-- ===== content below here ========================================================== -->


<h1 class="no-margin-bottom">Database List</h1>
<p class="no-margin-top"><a href="#A">A-B</a> | <a href="#C">C-E</a> | <a href="#F">F-H</a> | <a href="#I">I-L</a> | <a href="#M">M-O</a> | <a href="#P">P-R</a> | <a href="#S">S-U</a> | <a href="#V">V-Z</a></p>

<ul class = "link-list irs">
<li style="height:0; min-height:0" name="A" id="A"></li>
<?php echo print_subject('3', array('5', '2', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="C" id="C"></li>
<?php echo print_subject('11', array('5', '2', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="F" id="F"></li>
<?php echo print_subject('23', array('5', '2', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="I" id="I"></li>
<?php echo print_subject('28', array('5', '2', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="M" id="M"></li>
<?php echo print_subject('31', array('5', '2', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="P" id="P"></li>
<?php echo print_subject('19', array('5', '2', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="S" id="S"></li>
<?php echo print_subject('34', array('5', '2', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="V" id="V"></li>
<?php echo print_subject('36', array('5', '2', '3'), 'bas', 'tutorial', 'gon', 'flo'); ?>
</ul>

<!-- <form target="_blank" name="querybox" action="https://i-share.carli.illinois.edu/onu/cgi-bin/Pwebrecon.cgi" method="get"> <input type="hidden" name="DB" value="local" /> <input type="hidden" name="CNT" value="20" /> <input class="formelem" onfocus="this.value='';" size="21" maxlength="100" value="BLISweb Quick Search" name="Search_Arg" /> <select class="formelem" name="Search_Code" style="width: 11em;"> <option value="FT*">Keyword Search</option> <option value="TALL">Start of Title</option>
<option value="CMD">Boolean Search</option> <option value="SUBJ_">Subject Heading</option> <option value="NAME_">Author</option> <option value="CALL_">Call Number</option> </select> <input class="formelem" type="submit" value="Search" /> </form> -->

<!-- ===== content above here ========================================================== -->
<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/bottom.php";
include_once($path);
?>
76 changes: 76 additions & 0 deletions departments/journals-articles/eresource-news/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?php
$page_title = "eResources News - Benner Library";
$body_class = "";
$body_id = "";
$css = "";
$js = "";
?>

<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/top.php";
include_once($path);
?>
<!-- ===== content below here ========================================================== -->


<h1>eResource News</h1>
<table class="margin15-left margin10-top" style="width:70%">
<col width="20%">
<col width="35%">
<col width="30%">
<col width="15%">
<?php
$sql = 'SELECT r.resource_name, s.supplier_name,
DATE_FORMAT(t1.date, "%m/%d/%Y") startdate,
DATE_FORMAT(t1.date_end, "%m/%d/%Y") enddate,
t1.time,
t1.issue,
t1.announcements_type
FROM troubleshooting_log t1 LEFT JOIN resource r
ON t1.resource_id = r.resource_id,
troubleshooting_log t2 LEFT JOIN supplier s
ON t2.supplier_id = s.supplier_id
WHERE t1.troubleshooting_id = t2.troubleshooting_id AND
t1.announcements
ORDER BY t1.announcements_type, t1.date DESC';
$query = $db->query($sql);
$num_rows = $query->num_rows;
if (!$num_rows)
echo '<tr align="left"><th>None Currently</th></tr>';
else
echo '<tr align="left" class="padding10"><th>Name</th><th>Date/Time of Maintenance</th><th>Issue</th><th>Type</th></tr>';

while ($results = $query->fetch_array()) {
switch ($results) {
case (($results['enddate'] == NULL || $results['enddate'] == '00/00/0000') &&
($results['time'] == NULL || $results['time'] == '')):
$datestring = 'On '.$results['startdate'];
break;
case (($results['enddate'] != NULL && $results['enddate'] != '00/00/0000') &&
($results['time'] == NULL || $results['time'] == '')):
$datestring = 'From '.$results['startdate'].' to '.$results['enddate'];
break;
case (($results['enddate'] == NULL || $results['enddate'] == '00/00/0000') &&
($results['time'] != NULL && $results['time'] != '')):
$datestring = 'On '.$results['startdate'].' at '.$results['time'];
break;
default:
$datestring = 'From '.$results['startdate'].' to '.$results['enddate'].' at '.$results['time'];
break;
}

$name = (is_null($results['resource_name'])) ? $results['supplier_name'] : $results['resource_name'];
$notes = (is_null($results['issue'])) ? '' : $results['issue'];
$announce_type = $results['announcements_type'];
echo '<tr><td class="padding20-right">',$name,'</td><td class="padding20-right">',$datestring,'</td><td class="padding20-right">',$notes,'</td><td class="padding20-right">',$announce_type,'</td></tr>';
}
?>
</table>

<!-- ===== content above here ========================================================== -->
<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/bottom.php";
include_once($path);
?>
49 changes: 49 additions & 0 deletions departments/journals-articles/eresources_a-z.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
$page_title = "eResources A-Z - Benner Library";
$body_class = "";
$body_id = "";
$css = "";
$js = "";
?>


<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/top.php";
include_once($path);
?>
<!-- ===== content below here ========================================================== -->


<h1 class="no-margin-bottom">eResources A-Z</h1>
<p class="shrink-text"><em>This is a complete listing of Benner Library databases plus some eBook collections and individual ejournal titles.</em></p>
<p class="title-font"><a href="#A">A-B</a> | <a href="#C">C-E</a> | <a href="#F">F-H</a> | <a href="#I">I-L</a> | <a href="#M">M-O</a> | <a href="#P">P-R</a> | <a href="#S">S-U</a> | <a href="#V">V-Z</a></p>

<ul class = "link-list irs">
<li style="height:0; min-height:0" name="A" id="A"></li>
<?php echo print_subject('3', array('5', '2', '3', '11'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="C" id="C"></li>
<?php echo print_subject('11', array('5', '2', '3', '11'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="F" id="F"></li>
<?php echo print_subject('23', array('5', '2', '3', '11'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="I" id="I"></li>
<?php echo print_subject('28', array('5', '2', '3', '11'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="M" id="M"></li>
<?php echo print_subject('31', array('5', '2', '3', '11'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="P" id="P"></li>
<?php echo print_subject('19', array('5', '2', '3', '11'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="S" id="S"></li>
<?php echo print_subject('34', array('5', '2', '3', '11'), 'bas', 'tutorial', 'gon', 'flo'); ?>
<li style="height:0; min-height:0" name="V" id="V"></li>
<?php echo print_subject('36', array('5', '2', '3', '11'), 'bas', 'tutorial', 'gon', 'flo'); ?>
</ul>

<!-- <form target="_blank" name="querybox" action="https://i-share.carli.illinois.edu/onu/cgi-bin/Pwebrecon.cgi" method="get"> <input type="hidden" name="DB" value="local" /> <input type="hidden" name="CNT" value="20" /> <input class="formelem" onfocus="this.value='';" size="21" maxlength="100" value="BLISweb Quick Search" name="Search_Arg" /> <select class="formelem" name="Search_Code" style="width: 11em;"> <option value="FT*">Keyword Search</option> <option value="TALL">Start of Title</option>
<option value="CMD">Boolean Search</option> <option value="SUBJ_">Subject Heading</option> <option value="NAME_">Author</option> <option value="CALL_">Call Number</option> </select> <input class="formelem" type="submit" value="Search" /> </form> -->

<!-- ===== content above here ========================================================== -->
<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/bottom.php";
include_once($path);
?>
61 changes: 61 additions & 0 deletions departments/journals-articles/google_scholar_workaround.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?php
$page_title = "Google Scholar Workaround - Benner Library";
$body_class = "";
$body_id = "";
$css = "<script src=\"https://use.fontawesome.com/8136fa61ab.js\"></script>";
$js = "";
?>

<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/top.php";
include_once($path);
?>
<!-- ===== content below here ========================================================== -->
<!--NeedsSomething - Redo tutorial. Consult w Pam-->

<h2 class="header-line">Google Scholar Workaround</h2>

<p>
If you need to link Olivet Nazarene University resources to Google scholar follow the steps below. This is also the workaround if you are getting a reCAPTCHA error when you try to access Google Scholar from the designated library link."
</p>

<ol>
<li>
Go to <a href="https://scholar.google.com" target="_blank">Google scholar <i class="fa fa-external-link" aria-hidden="true"></i></a> from this link (not from normal library link).
</li>
<li>
Click on Settings (top navigation - last entry / or more then settings).
</li>
<li>
Click on Library Links (left navigation - about third entry down).
</li>
<li>
Type Olivet in the blank box and click the search box.
</li>
<li>
Check both Olivet Nazarene University options and click Save.
</li>
<li>
This should return you to the Google Scholar main search page where you can continue your research. When the library has access to a resource Olivet Nazarene Univ will appear as a link to the right of the citation.
</li>
<li>
If you still get a reCAPTCHA error again try these steps:
<ul>
<li>Close all browser windows (including Canvas) and start with a new window. Go straight to http://library.olivet.edu - do NOT use Canvas or My Olivet links.</li>
<li>Type in https://scholar.google.com instead of following the link.</li>
<li>Clear cache, cookies, and history.</li>
</ul>
then repeat steps 2-6.
</li>
</ol>

<p>If you have any further issues please do not hesitate to <a href="/forms/email/index.php?id=105">contact our team</a>.</p>


<!-- ===== content above here ========================================================== -->
<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/bottom.php";
include_once($path);
?>
30 changes: 30 additions & 0 deletions departments/journals-articles/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php
$page_title = "Journals & Articles - Benner Library";
$body_class = "";
$body_id = "";
$css = "";
$js = "";
?>

<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/top.php";
include_once($path);
?>
<!-- ===== content below here ========================================================== -->

<h1>Journals &amp; Articles</h1>

<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/resource-navigator_drop-page/journals-articles.php";
include_once($path);
?>


<!-- ===== content above here ========================================================== -->
<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/bottom.php";
include_once($path);
?>
27 changes: 27 additions & 0 deletions departments/journals-articles/journal-search.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php
$page_title = "Template - Benner Library";
$body_class = "";
$body_id = "";
$css = "";
$js = "";
?>

<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/top.php";
include_once($path);
?>
<!-- ===== content below here ========================================================== -->


<h1>Journal Search</h1>
<p>Search for a journal by title or ISSN.</p>
<div class="margin15">
<iframe style="width:100%; height:1000px; border:none; scroll:none" src="https://gg9fg7cr5h.search.serialssolutions.com/?SS_searchTypeJournal=yes"></iframe>
</div>
<!-- ===== content above here ========================================================== -->
<?php
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/scripts/bottom.php";
include_once($path);
?>
Binary file modified departments/reference/desk/img/on-call-frame.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed departments/reference/desk/img/staff/apawalt.jpg
Binary file not shown.
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/jddocea.jpg
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/jmlundahl.jpg
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/kdcheney.jpg
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/knpaden.jpg
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/lnothsti.jpg
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/mlong.jpg
Binary file not shown.
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/npdowney.jpg
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/pcampbe3.jpg
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/pgreenle.jpg
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/sharris3.jpg
Binary file not shown.
Binary file removed departments/reference/desk/img/staff/zpackerman.jpg
Binary file not shown.
Loading