Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<form class="layui-form" action="" lay-filter="geneForm"> <input type="hidden" name="i..
Decoded Output download
<form class="layui-form" action="" lay-filter="geneForm">
<input type="hidden" name="id" value="<?php echo $this->row['user_id'];?>" >
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-input-inline">
<input type="text" name="data[user_name]" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-input-inline">
<select name="data[group_id]" lay-verify="required">
<option value=""></option>
<?php foreach($this->group['list'] as $one): ?>
<option value="<?php echo $one['group_id']?>"><?php echo $one['group_title']?></option>
<?php endforeach;?>
</select>
</div>
</div>
<div class="layui-form-item">
<label for="L_pass" class="layui-form-label">
<span class="x-red">*</span>
</label>
<div class="layui-input-inline">
<input type="password" id="L_pass" name="data[user_pass]" required="" lay-verify="pass"
autocomplete="off" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux">
616
</div>
</div>
<div class="layui-form-item">
<label for="L_repass" class="layui-form-label">
<span class="x-red">*</span>
</label>
<div class="layui-input-inline">
<input type="password" id="L_repass" name="repass" required="" lay-verify="repass"
autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label"></label>
<div class="layui-input-inline">
<input name="data[user_realname]" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-input-block">
<input type="checkbox" name="data[status]" lay-skin="switch">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="geneForm" data-url="/user/editPost"></button>
<button type="reset" class="layui-btn layui-btn-primary"></button>
</div>
</div>
</form>
<script>
initForm('geneForm', {
"data[user_name]": "<?php echo $this->row['user_name'];?>",
"data[user_realname]": "<?php echo $this->row['user_realname'];?>",
"data[group_id]": <?php echo $this->row['group_id'];?>,
"data[status]": <?php echo $this->row['status'];?>
});
layui.use(['form','layer'], function(){
$ = layui.jquery;
var form = layui.form
,layer = layui.layer;
//
form.verify({
nikename: function(value){
if(value.length < 5){
return '5';
}
}
,pass: [/(.+){6,12}$/, '612']
,repass: function(value){
if($('#L_pass').val()!=$('#L_repass').val()){
return '';
}
}
});
});
</script>
Did this file decode correctly?
Original Code
<form class="layui-form" action="" lay-filter="geneForm">
<input type="hidden" name="id" value="<?php echo $this->row['user_id'];?>" >
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-input-inline">
<input type="text" name="data[user_name]" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-input-inline">
<select name="data[group_id]" lay-verify="required">
<option value=""></option>
<?php foreach($this->group['list'] as $one): ?>
<option value="<?php echo $one['group_id']?>"><?php echo $one['group_title']?></option>
<?php endforeach;?>
</select>
</div>
</div>
<div class="layui-form-item">
<label for="L_pass" class="layui-form-label">
<span class="x-red">*</span>
</label>
<div class="layui-input-inline">
<input type="password" id="L_pass" name="data[user_pass]" required="" lay-verify="pass"
autocomplete="off" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux">
616
</div>
</div>
<div class="layui-form-item">
<label for="L_repass" class="layui-form-label">
<span class="x-red">*</span>
</label>
<div class="layui-input-inline">
<input type="password" id="L_repass" name="repass" required="" lay-verify="repass"
autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label"></label>
<div class="layui-input-inline">
<input name="data[user_realname]" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-input-block">
<input type="checkbox" name="data[status]" lay-skin="switch">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="geneForm" data-url="/user/editPost"></button>
<button type="reset" class="layui-btn layui-btn-primary"></button>
</div>
</div>
</form>
<script>
initForm('geneForm', {
"data[user_name]": "<?php echo $this->row['user_name'];?>",
"data[user_realname]": "<?php echo $this->row['user_realname'];?>",
"data[group_id]": <?php echo $this->row['group_id'];?>,
"data[status]": <?php echo $this->row['status'];?>
});
layui.use(['form','layer'], function(){
$ = layui.jquery;
var form = layui.form
,layer = layui.layer;
//
form.verify({
nikename: function(value){
if(value.length < 5){
return '5';
}
}
,pass: [/(.+){6,12}$/, '612']
,repass: function(value){
if($('#L_pass').val()!=$('#L_repass').val()){
return '';
}
}
});
});
</script>
Function Calls
None |
Stats
MD5 | 47c9518dc25e7ed55d3d095d9f4c0478 |
Eval Count | 0 |
Decode Time | 90 ms |