Server: | Microsoft-IIS/10.0 |
System: | Windows NT BH-PLESK-WEB3 10.0 build 20348 (Windows Server 2022) AMD64 |
User: | IWPD_8556(lensai) ( 0 ) |
PHP Version: | 8.3.21 |
Python Version: | Python is not available |
Disabled Functions: | , Cron, Curl, Ftp, GCC, Mail, Mysql, PKEXEC, Perl, Python, SendMail, Ssh, Wget, exec, passthru, shell_exec, system |
<script type="text/javascript"> function showState(id) { $.ajax({ type: "POST", url: "ajax.php", data: { id : id, view_state : '1'}, success: function(html){ $('#stateajax').html(html); } }); $('#cityajax').html('<option value="">Select</option>'); } function showCity(id) { $.ajax({ type: "POST", url: "ajax.php", data: { id : id, view_city : '1'}, success: function(html){ $('#cityajax').html(html); } }); } </script> <script> function validate() { if(document.form.role.value=="") { alert("please Select Role"); document.form.role.focus(); document.form.role.value =""; return false; } if(document.form.fullname.value=="") { alert("please enter full name"); document.form.fullname.focus(); document.form.fullname.value =""; return false; } if(document.form.username.value=="") { alert("please enter User Name"); document.form.username.focus(); document.form.username.value =""; return false; } if(document.form.password.value=="") { alert("please enter Password"); document.form.password.focus(); document.form.password.value =""; return false; } if(document.form.mobile_no.value=="") { alert("please enter contact no"); document.form.mobile_no.focus(); return false; } if((document.form.phoneno.value=="")) { alert("please Enter phone no"); document.form.phoneno.focus(); return false; } if(document.form.email.value=="") { alert("please enter email address"); document.form.email.focus(); return false; } if(document.form.address.value=="") { alert("please enter address"); document.form.address.focus(); return false; } if(document.form.zipcode.value=="") { alert("please enter area zipcode"); document.form.zipcode.focus(); return false; } } </script> <section class="content-header"> <a href="index.php?p=view_user"class="btn btn-primary">View User</a> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> <b>Home</b></a></li> <li class="active"><b>Table</b></li> <li class="active"><b>User</b></li> </ol> </section> <!-- Main content --> <section class="content"> <div class="row"> <!-- left column --> <div class="col-md-6"> <!-- general form elements --> <div class="box box-primary"> <div class="box-header"> <h3 class="box-title">Add User</h3> </div><!-- /.box-header --> <!-- form start --> <form role="form" name="form" action="controller.php" method="post" onsubmit="return validate();" enctype="multipart/form-data"> <div class="box-body"> <div class="form-group"> <label>Role</label> <select class="form-control" name="role"> <option value="">Select Role</option> <?php $query="select * from role"; $exe=mysql_query($query); while($row=mysql_fetch_array($exe)){ ?> <option value="<?php echo $row['rid']; ?>"><?php echo $row['rname']; ?></option> <?php } ?> </select> </div> <div class="form-group"> <label>Full Name</label> <input type="text" class="form-control" name="fullname" value="" placeholder="Enter Full Name"> </div> <div class="form-group"> <label>User Name</label> <input type="text" class="form-control" name="username" value="" placeholder="Enter User Name"> </div> <div class="form-group"> <label>Password</label> <input type="password" class="form-control" name="password" value="" placeholder="Enter Password"> </div> <div class="form-group"> <label>Mobile No</label> <input type="text" class="form-control" name="mobileno" value="" maxlength="10" placeholder="Enter Mobile No."> </div> <div class="form-group"> <label>Phone No</label> <input type="text" class="form-control" name="phoneno" value="" placeholder="Enter Phone No."> </div> <div class="form-group"> <label for="exampleInputEmail1">Email address</label> <input type="text" class="form-control" name="email" value="" id="exampleInputEmail1" placeholder="Enter email"> </div> </div><!-- /.box-body --> </div><!-- /.box --> </div><!--/.col (left) --> <!-- right column --> <div class="col-md-6"> <!-- general form elements disabled --> <div class="box box-warning"> <div class="box-body"> <!-- textarea --> <div class="form-group"> <label>Address</label> <textarea class="form-control" rows="2" name="address" placeholder="Enter Address"></textarea> </div> <div class="form-group"> <label>Country</label> <select class="form-control select2" name="country" style="padding:0%" onchange="showState(this.value)"> <option value="">Select</option> <?php $query="select * from country"; $exe=mysql_query($query); while($row=mysql_fetch_array($exe)){ ?> <option value="<?php echo $row['cid']; ?>"><?php echo $row['cname']; ?></option> <?php } ?> </select> </div> <div class="form-group"> <label>State</label> <select class="form-control select2" id="stateajax" style="padding:0%" name="state" onchange="showCity(this.value)"> <option value="">Select</option> <?php $query="select * from state"; $exe=mysql_query($query); while($row=mysql_fetch_array($exe)){ ?> <option value="<?php echo $row['sid']; ?>"><?php echo $row['sname']; ?></option> <?php } ?> </select> </div> <div class="form-group" > <label>City</label> <select class="form-control select2" style="padding:0%" id="cityajax" name="city"> <option value="">Select</option> <?php $query="select * from city"; $exe=mysql_query($query); while($row=mysql_fetch_array($exe)){ ?> <option value="<?php echo $row['ciid']; ?>"><?php echo $row['ciname']; ?></option> <?php } ?> </select> </div> <div class="form-group"> <label for="exampleInputFile">Image</label> <input type="file"name="image" id="exampleInputFile"> </div> <div class="box-footer" style="padding-top:8%;"> <button type="submit" name="adduser" class="btn btn-primary">Submit</button> </div> <!-- input states --> </form> </div><!-- /.box-body --> </div><!-- /.box --> </div><!--/.col (right) --> </div> <!-- /.row --> </section><!-- /.content -->
Name | Size | Type | Permissions | Options |
---|---|---|---|---|
bootstrap | DIR | Directory | drwxrwxrwx | |
build | DIR | Directory | drwxrwxrwx | |
css | DIR | Directory | drwxrwxrwx | |
dist | DIR | Directory | drwxrwxrwx | |
images | DIR | Directory | drwxrwxrwx | |
DIR | Directory | drwxrwxrwx | ||
mailbox | DIR | Directory | drwxrwxrwx | |
plugins | DIR | Directory | drwxrwxrwx | |
sliders | DIR | Directory | drwxrwxrwx | |
.htaccess | 0.118 KB | File | -rw-rw-rw- | |
add_blog.php | 2.889 KB | File | -rw-rw-rw- | |
add_brochures.php | 3.218 KB | File | -rw-rw-rw- | |
add_papers.php | 2.231 KB | File | -rw-rw-rw- | |
add_product.php | 3.519 KB | File | -rw-rw-rw- | |
add_product_attach.php | 1.443 KB | File | -rw-rw-rw- | |
add_slide.php | 2.555 KB | File | -rw-rw-rw- | |
add_specification.php | 3.123 KB | File | -rw-rw-rw- | |
add_user.php | 7.685 KB | File | -rw-rw-rw- | |
add_video.php | 1.582 KB | File | -rw-rw-rw- | |
ajax.php | 1.183 KB | File | -rw-rw-rw- | |
attachment.php | 4.931 KB | File | -rw-rw-rw- | |
blog.php | 4.760 KB | File | -rw-rw-rw- | |
brochures.php | 4.405 KB | File | -rw-rw-rw- | |
change_pass_control.php | 0.946 KB | File | -rw-rw-rw- | |
change_password.php | 1.690 KB | File | -rw-rw-rw- | |
changelog | 2.168 KB | File | -rw-rw-rw- | |
compose.php | 4.953 KB | File | -rw-rw-rw- | |
concentrated.php | 5.195 KB | File | -rw-rw-rw- | |
config.php | 0.233 KB | File | -rw-rw-rw- | |
controller.php | 17.718 KB | File | -rw-rw-rw- | |
counter.txt | 0.003 KB | File | -rw-rw-rw- | |
dashboard.php | 10.186 KB | File | -rw-rw-rw- | |
delete_process.php | 0.012 KB | File | -rw-rw-rw- | |
demo.php | 0.083 KB | File | -rw-rw-rw- | |
edit_blog.php | 2.999 KB | File | -rw-rw-rw- | |
edit_product.php | 4.765 KB | File | -rw-rw-rw- | |
edit_specification.php | 2.999 KB | File | -rw-rw-rw- | |
error_log | 288.954 KB | File | -rw-rw-rw- | |
forgot.php | 2.757 KB | File | -rw-rw-rw- | |
img.php | 0.359 KB | File | -rw-rw-rw- | |
index.php | 11.069 KB | File | -rw-rw-rw- | |
login.php | 0.582 KB | File | -rw-rw-rw- | |
login_control.php | 0.716 KB | File | -rw-rw-rw- | |
logout.php | 0.099 KB | File | -rw-rw-rw- | |
mail.php | 0.508 KB | File | -rw-rw-rw- | |
mail_controller.php | 1.324 KB | File | -rw-rw-rw- | |
papers.php | 4.332 KB | File | -rw-rw-rw- | |
Product.php | 4.522 KB | File | -rw-rw-rw- | |
read_mai.php | 18.012 KB | File | -rw-rw-rw- | |
register.php | 4.011 KB | File | -rw-rw-rw- | |
sent.php | 9.575 KB | File | -rw-rw-rw- | |
slider.php | 6.859 KB | File | -rw-rw-rw- | |
sliderupdate.php | 3.239 KB | File | -rw-rw-rw- | |
specification.php | 3.194 KB | File | -rw-rw-rw- | |
subscriber_list.php | 7.287 KB | File | -rw-rw-rw- | |
test.html | 0.006 KB | File | -rw-rw-rw- | |
update.php | 0.920 KB | File | -rw-rw-rw- | |
video.php | 4.870 KB | File | -rw-rw-rw- | |
viewproduct.php | 0.135 KB | File | -rw-rw-rw- | |
visotor_counter.php | 0.009 KB | File | -rw-rw-rw- |