Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<style> .grid-selector .wrap { position: relative; line-height: 34px;..
Decoded Output download
<? <style>
.grid-selector .wrap {
position: relative;
line-height: 34px;
border-bottom: 1px dashed #eee;
padding: 0 30px;
font-size: 13px;
overflow:auto;
}
.grid-selector .wrap:last-child {
border-bottom: none;
}
.grid-selector .select-label {
float: left;
width: 100px;
padding-left: 10px;
color: #999;
}
.grid-selector .select-options {
margin-left: 100px;
}
.grid-selector ul {
height: 25px;
list-style: none;
}
.grid-selector ul > li {
margin-right: 30px;
float: left;
}
.grid-selector ul > li a {
color: #666;
text-decoration: none;
}
.grid-selector .select-options a.active {
color: #dd4b39;
font-weight: 600;
}
.grid-selector li .add {
visibility: hidden;
}
.grid-selector li:hover .add {
visibility: visible;
}
.grid-selector ul .clear {
visibility: hidden;
}
.grid-selector ul:hover .clear {
color: #3c8dbc;
visibility: visible;
}
</style>
<div class="grid-selector">
@foreach($selectors as $column => $selector)
<div class="wrap">
<div class="select-label">{{ $selector['label'] }}</div>
<div class="select-options">
<ul>
@foreach($selector['options'] as $value => $option)
@php
$active = in_array($value, \Illuminate\Support\Arr::get($selected, $column, []));
@endphp
<li>
<a href="{{ \Encore\Admin\Grid\Tools\Selector::url($column, $value, true) }}"
class="{{$active ? 'active' : ''}}">{{ $option }}</a>
@if(!$active && $selector['type'] == 'many')
<a href="{{ \Encore\Admin\Grid\Tools\Selector::url($column, $value) }}" class="add"><i
class="fa fa-plus-square-o"></i></a>
@else
<a style="visibility: hidden;"><i class="fa fa-plus-square-o"></i></a>
@endif
</li>
@endforeach
<li>
<a href="{{ \Encore\Admin\Grid\Tools\Selector::url($column) }}" class="clear"><i
class="fa fa-trash"></i></a>
</li>
</ul>
</div>
</div>
@endforeach
</div>
?>
Did this file decode correctly?
Original Code
<style>
.grid-selector .wrap {
position: relative;
line-height: 34px;
border-bottom: 1px dashed #eee;
padding: 0 30px;
font-size: 13px;
overflow:auto;
}
.grid-selector .wrap:last-child {
border-bottom: none;
}
.grid-selector .select-label {
float: left;
width: 100px;
padding-left: 10px;
color: #999;
}
.grid-selector .select-options {
margin-left: 100px;
}
.grid-selector ul {
height: 25px;
list-style: none;
}
.grid-selector ul > li {
margin-right: 30px;
float: left;
}
.grid-selector ul > li a {
color: #666;
text-decoration: none;
}
.grid-selector .select-options a.active {
color: #dd4b39;
font-weight: 600;
}
.grid-selector li .add {
visibility: hidden;
}
.grid-selector li:hover .add {
visibility: visible;
}
.grid-selector ul .clear {
visibility: hidden;
}
.grid-selector ul:hover .clear {
color: #3c8dbc;
visibility: visible;
}
</style>
<div class="grid-selector">
@foreach($selectors as $column => $selector)
<div class="wrap">
<div class="select-label">{{ $selector['label'] }}</div>
<div class="select-options">
<ul>
@foreach($selector['options'] as $value => $option)
@php
$active = in_array($value, \Illuminate\Support\Arr::get($selected, $column, []));
@endphp
<li>
<a href="{{ \Encore\Admin\Grid\Tools\Selector::url($column, $value, true) }}"
class="{{$active ? 'active' : ''}}">{{ $option }}</a>
@if(!$active && $selector['type'] == 'many')
<a href="{{ \Encore\Admin\Grid\Tools\Selector::url($column, $value) }}" class="add"><i
class="fa fa-plus-square-o"></i></a>
@else
<a style="visibility: hidden;"><i class="fa fa-plus-square-o"></i></a>
@endif
</li>
@endforeach
<li>
<a href="{{ \Encore\Admin\Grid\Tools\Selector::url($column) }}" class="clear"><i
class="fa fa-trash"></i></a>
</li>
</ul>
</div>
</div>
@endforeach
</div>
Function Calls
None |
Stats
MD5 | dbaa773f2b144573ed4522a7701d20df |
Eval Count | 0 |
Decode Time | 107 ms |