Monkey Albino

Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ home/ bdapparelinfo/ hi-techplasticltd.com/ Wp-Administrator/

//home/bdapparelinfo/hi-techplasticltd.com/Wp-Administrator/View_Settings.php

<?php 	
	  $dis_pages = $function_file->view_pages();
	//////////////////////		
	$tableName="settings";		
	$targetpage = "".$main_page."".$Pages."&"; 
	 
	 $sql=mysql_fetch_array(mysql_query("select * from settings where id = '1'"));
 
 if(isset($_POST['editpass'])){		
		$ID = $_POST['edit_id'];
		$password_view = $_POST['password_view']; 
		$dob = date('d-m-Y  H:i:s'); 
		 
		$edit_result = mysql_query("UPDATE `settings` SET `password`=md5('$password_view'), `password_view`='$password_view' WHERE id = '1'");
		
		if($edit_result){
			//echo"Successfully Update!";
			echo"<html>";
			echo"<head>
			<meta http-equiv=refresh content=0;url=dashboard.php?cid=Settings&msg=1>";
			echo"</head>";
			echo"</html> ";
			}
		else{return false;}	 
		
	}//	end update new product password
?>
         <table align="left" border="0" cellpadding="0" cellspacing="0" width="995">
                     <tbody><tr>
                         <td valign="top">
                <!--end validation-->		
<script type="text/javascript">

function confirmUnpublish()
{
    return confirm("Are you sure you want to Delete this ?");
}
 /////////////////////////////checkbox select option
$(function(){
 
    // add multiple select / deselect functionality
    $("#selectall").click(function () {
          $('.case').attr('checked', this.checked);
    });
 
    // if all checkbox are selected, check the selectall checkbox
    // and viceversa
    $(".case").click(function(){
 
        if($(".case").length == $(".case:checked").length) {
            $("#selectall").attr("checked", "checked");
        } else {
            $("#selectall").removeAttr("checked");
        }
 
    });
});
</SCRIPT>
<table align="left" border="0" cellpadding="0" cellspacing="0" width="995">
            
            <tbody><tr>
                <td valign="top"><br><h1 style="color:#2d2d2d;">Password For New Collection Items</h1><br>
				<?php if($msg=='3'){echo"Delete Success";} ?>
				</td>
            </tr>

            <tr>
                <td valign="top">
                   <table class="user-table" style="background-color: rgb(255, 255, 255);" align="center" border="0" cellpadding="0" cellspacing="2" width="895px">
                        <tbody><tr>                                                                         
                            <td style="background-color: rgb(229, 229, 229); border-bottom: 1px solid rgb(204, 204, 204); padding-left: 10px; color: rgb(0, 0, 0);" height="30">
                            <h2> Update New Products Password </h2>
                            </td>
                        </tr>
    
                        <tr>                                                                         
                            <td>  <form method="post" action="" class="largetype fluidcontrols"  id="Formselectvalue" name="frmSample" onsubmit="return smVali();" enctype="multipart/form-data">
                                                                <!--add user st-->
               <table style="margin-left: 50px; margin-top: 30px;" align="left" border="0" cellpadding="0" cellspacing="0" width="800px">
                                        <tbody>											  
										<tr>
                                            <td height="30" colspan="3" align="center">
											<?php
											if($_GET['msg']=="1")	{
													echo "<b>Data successfully added</b>";												
												}	
											elseif($_GET['msg']=="3")	{
													echo "<b>Data successfully Updated</b>";												
												}	
											?></td>
                                        </tr>
										 
                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        
										<tr>
                                            <td><strong>Password:</strong></td>
                                            <td colspan="2"><input class="regi-submit"  name="password_view" value="<?=$sql['password_view']?>" type="text">
                                            </td>
                                        </tr>
										 
                                        
                                         

                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
										
										<tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2"> 
										<input name="edit_id" value="<?=$ID;?>" type="hidden"> 
										<input class="btn btn-primary" name="editpass" value="Update" type="submit">
										 </td>
                                        </tr>

                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>

                                     </tbody></table>
										</form>	

                                      							  
                                <!--add user end -->
                            </td>
                        </tr>
                    </tbody></table>
                 </td>
             </tr>
</tbody></table>
    <script type="text/javascript">


      $( function () {
        
  twitter.screenNameKeyUp();
  $('#user_screen_name').focus();

      });
    

</script>

                 </td>
                     </tr>
                     
                     <tr>
                         <td>&nbsp;</td>
                     </tr>
         </tbody></table>
      </td>
      </tr>

      <tr>
           <td>&nbsp;</td>
           <td colspan="2"><table style="height: 1px; font-size: 1px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody><tr>
    </tr>
</tbody></table>