'; echo 'post a message'; echo '

My drafts

'; if (count($drafts) > 0) { foreach ($drafts as $post) { echo '
'; echo '
'; echo 'edit'; echo ' | delete'; echo ' | publish'; echo '
'; echo '

' . $post['title'] . '

'; echo $post['text_html']; echo '
'; } } else { echo '

No drafts

'; } echo '

My published posts

'; if (count($pub) > 0) { echo ''; foreach ($pub as $post) { echo ''; echo ''; } echo '
TitleActions
' . $post['title'] . 'edit'; echo ' | delete
'; } else { echo '

No published posts

'; } require("tpl/general/bottom.php");