示例#1
0
         saveLend($option, $bid);
     } else {
         lend($option, $bid);
     }
     break;
 case "lend_requests":
     lend_requests($option, $bid);
     break;
 case "accept_lend_requests":
     accept_lend_requests($option, $bid);
     break;
 case "decline_lend_requests":
     decline_lend_requests($option, $bid);
     break;
 case "about":
     HTML_booklibrary::about();
     break;
 case "show_info":
     showInfo($option, $bid);
     break;
 case "lend_return":
     if (mosGetParam($_POST, 'save') == 1) {
         saveLend_return($option, $bid);
     } else {
         lend_return($option, $bid);
     }
     break;
 case "edit_lend":
     if (mosGetParam($_POST, 'save') == 1) {
         if (count($bid) > 1) {
             echo "<script> alert('You must select only one item for edit'); window.history.go(-1); </script>\n";