? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/domains/happytokorea.com/public_html_bk/gall/admin/
File Upload :
Current File : /home/admin/domains/happytokorea.com/public_html_bk/gall/admin/edituser.php

<? include("header.php");?>
 <div id="top-panel">
            <div id="panel">
                <ul>
                   <li><a href="user.php" class="report">User</a></li>
                        <!-- <li><a href="u_atb.php" class="report_seo">User Attribute</a></li>
                    <li><a href="#" class="search">Search</a></li>
                    <li><a href="#" class="feed">RSS Feed</a></li>-->
                </ul>
            </div>
      </div> 
             <div id="content">
         <?
		 if(isset($_POST[edit])){
			 $u_id = $_POST[u_id];
			 unset($_POST[u_id]);
			 unset($_POST[edit]);
			 $db->update_array("user",$_POST,"u_id=$u_id");
			 echo "<script>window.location.href='user.php';</script>";
		 }
		 ?>
             <div id="box" align="left">
                	<h3 id="adduser">Admin</h3>
                    <form id="form" action="" method="post" enctype="multipart/form-data"  onSubmit="return check_form(account_edit);">
                      <fieldset id="personal">
                        <legend>Edituser</legend>                        
<? $acc = $db->queryUniqueObject("select * from user where u_id = ".$_GET[u_id]); ?>

<label for="">Member Level: </label>
<input type="radio" name="dealer" value="0" <? if($acc->dealer=='0'){?> CHECKED <? }?>>&nbsp;&nbsp;Customers&nbsp;&nbsp;<input type="radio" name="dealer" value="1" <? if($acc->dealer=='1'){?> CHECKED <? }?>>&nbsp;&nbsp;Dealer&nbsp;
<br />

<label for="">Gender : </label>
<input type="radio" name="gender" value="m" <? if($acc->gender=='m'){?> CHECKED <? }?>>&nbsp;&nbsp;Male&nbsp;&nbsp;<input type="radio" name="gender" value="f" <? if($acc->gender=='f'){?> CHECKED <? }?>>&nbsp;&nbsp;Female&nbsp;
<br />

<label for="">First Name : </label>
<input type="text" name="firstname" value="<? echo $acc->firstname;?>" >
<br />
<label for="">Last Name : </label>
<input type="text" name="lastname" value="<? echo $acc->lastname;?>" >
<br />
<label for="">Date of Birth : </label>
<input type="text" name="dob" value="<? echo $acc->dob;?>">
<br />

<label for="">E-Mail Address : </label>
<input type="text" name="email_address" value="<? echo $acc->email_address;?>">
<br />

<label for="">Telephone : </label>
<input type="text" name="telephone" value="<? echo $acc->telephone;?>">
<br />

<label for="">Fax Number : </label>
<input type="text" name="telephone" value="<? echo $acc->fax;?>">
<br />



                      	<input name="u_id" type="hidden" value="<? echo $_GET[u_id];?>" />
                      </fieldset><br />

                      <div align="center">
                      <input id="button1" type="submit" name="edit" value="Edit" /> 
                      <input id="button2" type="reset" />
                      </div>
</form>


                </div>
             </div>

      <? include("footer.php");?>

T1KUS90T
  root-grov@210.1.60.28:~$