Exploit databaseDownload repository ZIP
GH-43c28127d0ef5701fc76b7806cb0b300
405149071/thinkcmf5.1
Sources for CVE-2019-6713
12 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files4
405149071/thinkcmf5.1Revision b8d83a96c62a
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
public/themes/admin_simpleboot3/portal/admin_category/select.html
HTML · 2,484 bytes<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
<form method="post" class="js-ajax-form" action="{:url('AdminCategory/listorders')}">
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="16">
<label>
<input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
</label>
</th>
<th width="50">ID</th>
<th>分类名称</th>
</tr>
</thead>
<tbody>
<!--
<foreach name="categories" item="vo">
<tr>
<td>
<php>$checked = in_array($vo['id'],$selectedIds)?'checked':'';</php>
<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
value="{$vo.id}" data-name="{$vo.name}" {$checked}>
</td>
<td>{$vo.id}</td>
<td>{$vo.name}</td>
<td>{$vo.description}</td>
</tr>
</foreach>
-->
{$categories_tree}
</tbody>
</table>
</form>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script>
$('.data-item-tr').click(function (e) {
console.log(e);
var $this = $(this);
if ($(e.target).is('input')) {
return;
}
var $input = $this.find('input');
if ($input.is(':checked')) {
$input.prop('checked', false);
} else {
$input.prop('checked', true);
}
});
function confirm() {
var selectedCategoriesId = [];
var selectedCategoriesName = [];
var selectedCategories = [];
$('.js-check:checked').each(function () {
var $this = $(this);
selectedCategoriesId.push($this.val());
selectedCategoriesName.push($this.data('name'));
selectedCategories.push({
id: $this.val(),
name: $this.data('name')
});
});
return {
selectedCategories: selectedCategories,
selectedCategoriesId: selectedCategoriesId,
selectedCategoriesName: selectedCategoriesName
};
}
</script>
</body>
</html>