DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.127
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/AppServ/www/umedia3/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/umedia3/inc/bitem_get_checkoutstr.php
<?
function bitem_get_checkoutstr($mMID) {
global $thaimonstr;
  $sql25 ="SELECT *  FROM checkout where mediaId='$mMID' ";
//echo $sql25;
$result25 = tmq($sql25);
   $Num = tmq_num_rows($result25);  
     $row25 = tmq_fetch_array($result25);
                 $itemid = $row25[id];
                 $itemhd = $row25[hold];
                 $itemrq = $row25[request];
                 $itemedat = $row25[edat];
                 $itememon = $row25[emon];
                 $itemeyea = $row25[eyea];

//   echo "$Num";
if ($Num==0) {

     $ecstat="<FONT  COLOR=0000ff>บนชั้น</FONT>";

} else { //หากมีอยู่ในตาราง checkout
    if ($itemrq!="") {
      $ecstat.=getlang("ถูกยืม กำหนดส่งวันที่ ::l::On due return at ") . " <nobr>" . $itemedat . " " . $thaimonstr[$itememon] . " " . $itemeyea ."</nobr> " . getlang("และมีการจองต่อ::l:: with request"); 
	} else {
	  $ecstat .= getlang("ถูกยืม กำหนดส่งวันที่ ::l::On due return at ") . "  <nobr>" . $itemedat . " " . $thaimonstr[$itememon] . " " . $itemeyea ."</nobr> <br />
<A HREF='requesthold_form.php?ID=$mMID'>&nbsp;<img align=absmiddle border=0 src='$dcrURL"."neoimg/Right16.gif'> ".getlang("จอง::l::Request")."</A> ";	
	}
} 
return $ecstat;
}
?>

Anon7 - 2022
AnonSec Team