]>
git.bts.cx Git - cx.git/blob - cx/templates/admin/main.php
43f245438f5000a9e3f376dbdd18b60067dcdc47
1 <?php
cx_template_base('base'); ?
>
5 <?php
foreach (cx_posts_get() as $post): ?
>
6 <li
><a href
="<?= cx_url_admin('/posts/edit?id=' . $post->id); ?>"><?
= $post->title ?
></a
> <a href
="<?= cx_url_admin('/posts/delete?id=' . $post->id); ?>">🚮
</a
></li
>
12 <?php
foreach (cx_pages_get() as $post): ?
>
13 <li
><a href
="<?= cx_url_admin('/posts/edit?id=' . $post->id); ?>"><?
= $post->title ?
></a
> <a href
="<?= cx_url_admin('/posts/delete?id=' . $post->id); ?>">🚮
</a
></li
>
19 <?php
foreach (cx_images_get() as $image): ?
>
20 <li
><a href
="<?= cx_url_admin('/images/edit?id=' . $image->id); ?>"><?
= $image->url ?
></a
> <a href
="<?= cx_url_admin('/images/delete?id=' . $image->id); ?>">🚮
</a
></li
>