[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
perpustakaan
/
admin
/
modules
/
circulation
/
[
Home
]
File: quick_return.php
<?php /** * Copyright (C) 2007,2008 Arie Nugraha (dicarve@yahoo.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ /* Quick Return page */ // key to authenticate if (!defined('INDEX_AUTH')) { define('INDEX_AUTH', '1'); } // key to get full database access define('DB_ACCESS', 'fa'); require '../../../sysconfig.inc.php'; // IP based access limitation require LIB.'ip_based_access.inc.php'; do_checkIP('smc'); do_checkIP('smc-circulation'); // start the session require SB.'admin/default/session.inc.php'; require SB.'admin/default/session_check.inc.php'; // load settings from database utility::loadSettings($dbs); // privileges checking $can_read = utility::havePrivilege('circulation', 'r'); $can_write = utility::havePrivilege('circulation', 'w'); if (!($can_read AND $can_write)) { die('<div class="errorBox">'.__('You don\'t have enough privileges to view this section').'</div>'); } // check if quick return is enabled if (!$sysconf['quick_return']) { die('<div class="errorBox">'.__('Quick Return is disabled').'</div'); } ?> <fieldset class="menuBox"> <div class="menuBoxInner quickReturnIcon"> <div class="per_title"> <h2><?php echo __('Quick Return'); ?></h2> </div> <div class="sub_section"> <div class="action_button"> <?php echo __('Insert an item ID to return collection with keyboard or barcode reader'); ?> </div> <form class="notAJAX" action="<?php echo MWB; ?>circulation/ajax_action.php" target="circAction" method="post" style="display: inline;"> <?php echo __('Item ID'); ?> : <input type="text" name="quickReturnID" id="quickReturnID" size="30" /> <input type="submit" value="<?php echo __('Return'); ?>" class="button" /> </form> <iframe name="circAction" id="circAction" style="display: inline; width: 5px; height: 5px; visibility: hidden;"></iframe> </div> </div> </fieldset> <div id="circulationLayer"> </div>