"; if (sizeof($data1) > 1) { echo "
"; echo ''; } //$member=file_get_contents($phppage.'?task=GETMEMBER&id='.$mid); $member=SIP2_GetMember($SIPServerIp, $SIPport, $SIPuser, $SIPpass, $SIPloc, $mid); if($member=="Invalid") $memname="Invalid"; else { $memname=$member; $borrowernumber=$mid; } ?>
imagefile)) { echo ""; } else { ?> Yes, Check Out    '; $clist[]=$tag; } else if(!strpos($message,"{}")) //if not IMPOSSILE { $clist[]=$tag; } } else $bname= 'Invalid'; ?>
Patron Name:
Card Number :
Category Code : categorycode;echo $ccode;?>
imagefile) . '" height="100" style="float:right"/>'; ?>
Accn No Book Title | Author Remarks
" />
"") { mysqli_connect($host,$user,$pass); mysqli_select_db($db); $sql="select * from `borrowers` left join patronimage on borrowers.borrowernumber=patronimage.borrowernumber left join branches on borrowers.branchcode=branches.branchcode where borrowers.cardnumber='$mid'"; $ret=mysqli_query($sql); if($row=mysqli_fetch_row($ret)) { ?>
imagefile)) { echo ""; } else { ?> branchname; ?> $book
"; //$book = SIP2_GetBook($SIPServerIp, $SIPport, $SIPuser, $SIPpass, $SIPloc, $bid) //$check = chr(10) . chr(255) . chr(7) . chr(133) .chr(1).chr(1).chr(1).chr(49).chr(255). chr(56) ; //$check1 = chr(10) . chr(255) . chr(7) . chr(133) .chr(1).chr(1).chr(1).chr(49).chr(0). chr(55) ; //$issue_check = $tag.$check; //SetBookStatus($tag,"issue"); //if($issue_check==$tag.$check) $stat = SIP2_CheckOut($SIPServerIp, $SIPport, $SIPuser, $SIPpass, $SIPloc, $mid,$tag); $cols=explode("|",$stat); $bname=$cols[1]; if($cols[0]==1){ setBookStatus($tag,"issue",$failed); echo $failed; $message= 'Check Out Success,'.' Anti-Theft bit set off!'; }elseif($cols[0]==0){ $set_return=setBookStatus($tag,"return"); $set_check=explode("|",$set_return); $set_check.$message = 'Check Out Failed! '.$cols[2].''; }else{ $message= "Check Out Success,".' Anti-Theft bit set off!'; } /*if($cols[0]==1&&$cols[2]=="Checkout Success"){ $bstat=$col[1]; $check_stat = SetBookStatus($tag,"issue"); $col=explode("|",$check_stat); if($bstat[1]==$col[0]){ $message= 'Check Out Success,'.' Anti-Theft bit set off!'; }else {$message= "Check Out Success,".' Anti-Theft bit set Failed!';} } else { $message = 'Check Out Failed! '.$cols[2].''; $bname=''.$cols[1].''; }*/ ?> date_due; } ?>
Patron Name: firstname." ".$row->surname;echo $member_name; ?>
Card Number :
Category Code : categorycode;echo $ccode;?>
imagefile) . '" height="100" style="float:right"/>'; ?>
Accn No Book Title | Author Due Date Remarks
'ACCNO', 'value1' => $tagsinlist, ); $accnolist = http_build_query( $accno ) . " "; $btitle = array( 'key' => 'BTITLE', 'value' => $blist, ); $blis = http_build_query( $btitle ) . " "; //echo http_build_query( $data, '', '&' ); $branch= $branch1; //$msg = array( //'key' => 'CHECKMSG', //'value2' => $messages, //); //$chckmsg = http_build_query( $msg ) . " "; ?> Print
"; //print_r($row); //var_dump ($rets); //if($rows!=NULL) //{ //echo "
";
														//print_r($rows);
														 $datedue=$row['date_due'];
														 $title=$row['title'];
														 $auth=$row['author'];
														 $barcd=$row['barcode'];
														 $issuedt=$row['issuedate'];
														 $amntoutstnding=$row['amountoutstanding'];
														?>
														
Circulation History Total Fine Amount : Rs.
Acc No Title Author Issue Date Due Date

".$cnt ." books issue successfull."; } ?>