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->module['module_id'];?>" >
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-block">
      <select name="data[module_pid]" lay-verify="required">
        <option value="0"></option>
        <?php foreach($this->moduleList['list'] as $one): ?>
        <?php if($one['module_id'] != $this->module['module_id']): ?>
        <option value="<?php echo $one['module_id']?>"><?php echo str_repeat("&nbsp;", $one['deep'] * 8). '|-' . $one['module_title']?></option>
        <?php endif;?>
        <?php endforeach;?>
      </select>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-block">
      <input type="text" name="data[module_title]" 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">
      <input type="text" name="data[module_icon]" required lay-verify="" placeholder="" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-form-mid layui-word-aux"></div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="text" name="data[module_url]" required lay-verify="" placeholder="" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-form-mid layui-word-aux"></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="/module/editPost"></button>
      <button type="reset" class="layui-btn layui-btn-primary"></button>
    </div>
  </div>
</form>
<script>
initForm('geneForm', {
    "data[module_title]": "<?php echo $this->module['module_title'];?>"
    ,"data[module_pid]": "<?php echo $this->module['module_pid'];?>"
    ,"data[module_icon]": "<?php echo $this->module['module_icon'];?>"
    ,"data[module_url]": "<?php echo $this->module['module_url'];?>"
    ,"data[status]": <?php echo $this->module['status'];?>
});
</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->module['module_id'];?>" >
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-block">
      <select name="data[module_pid]" lay-verify="required">
        <option value="0"></option>
        <?php foreach($this->moduleList['list'] as $one): ?>
        <?php if($one['module_id'] != $this->module['module_id']): ?>
        <option value="<?php echo $one['module_id']?>"><?php echo str_repeat("&nbsp;", $one['deep'] * 8). '|-' . $one['module_title']?></option>
        <?php endif;?>
        <?php endforeach;?>
      </select>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-block">
      <input type="text" name="data[module_title]" 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">
      <input type="text" name="data[module_icon]" required lay-verify="" placeholder="" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-form-mid layui-word-aux"></div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="text" name="data[module_url]" required lay-verify="" placeholder="" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-form-mid layui-word-aux"></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="/module/editPost"></button>
      <button type="reset" class="layui-btn layui-btn-primary"></button>
    </div>
  </div>
</form>
<script>
initForm('geneForm', {
    "data[module_title]": "<?php echo $this->module['module_title'];?>"
    ,"data[module_pid]": "<?php echo $this->module['module_pid'];?>"
    ,"data[module_icon]": "<?php echo $this->module['module_icon'];?>"
    ,"data[module_url]": "<?php echo $this->module['module_url'];?>"
    ,"data[status]": <?php echo $this->module['status'];?>
});
</script>

Function Calls

None

Variables

None

Stats

MD5 94d3382288e4bda833150f6c1b1b4fca
Eval Count 0
Decode Time 87 ms