]>
git.bts.cx Git - cx.git/blob - cx/templates/admin/post.php
1 <?php
cx_template_base('base'); ?
>
3 <form action
="<?= cx_url_admin('/posts/update?id=' . $post_id); ?>" method
="post">
5 <p
>title
: <input name
="post_title" type
="text" value
="<?= $post_title ?>"></p
>
6 <p
>slug
: <input name
="post_slug" type
="text" value
="<?= $post_slug ?>"></p
>
7 <p
>date
: <input name
="post_date" type
="text" value
="<?= $post_date ? date('Y-m-d H:i:s', $post_date) : "" ?>"></p
>
8 <p
><textarea name
="post_data" cols
="60" rows
="40"><?
= $post_data ?
></textarea
></p
>
10 <p
><input type
="submit" value
="update"></p
>