同步更改

This commit is contained in:
2025-08-09 23:49:50 +08:00
parent 8e96995e1c
commit 5a5f64b8c8
243 changed files with 1536 additions and 445 deletions
@@ -0,0 +1,29 @@
{include file="public/header" /}
<div style="padding: 20px;">
<table class="layui-table">
<thead>
<tr>
<th>标题</th>
</tr>
</thead>
<tbody>
<?php foreach ($data as $item): ?>
<tr>
<td>
<a href="javascript:;" onclick="selectThis('<?php echo addslashes($item['title']); ?>', '<?php echo isset($item['url']) ? addslashes($item['url']) : ''; ?>')">
<?php echo htmlspecialchars($item['title']); ?>
</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<script>
function selectThis(title, url) {
if (window.parent && window.parent.setPushContent) {
window.parent.setPushContent(title, url || '');
}
}
</script>
{include file="public/tail" /}