echo htmlspecialchars($model['blog']['title']); ?> </h1> <h2><?php echo htmlspecialchars($model['blog']['description']); ?> </h2> <p>Really delete this article?</p> <form class="mainform" id="theform" method="post" action="<?php echo $_SERVER["REQUEST_URI_CLEAN"]; ?> "> <?php jabHtmlSubmitButton("Yes, delete it", "delete"); jabHtmlSubmitButton("No, keep it", "cancel"); ?> </form> <hr/> <div class="blog_article"> <h2><?php echo $article->Title; ?> </h2> <?php echo $article->Format(); ?> <p><small>Posted <?php echo date('l, jS F Y', $article->TimeStamp) . " at " . date('h:i a', $article->TimeStamp);
"> <?php if ($model['login_failed']) { ?> <div class="Errors"> <p>Login failed. Please check your username and password are correct and try again.</p> </div> <?php } ?> <?php jabHtmlInput("User Name:", "username", $model["username"], "stdfield"); ?> <?php jabHtmlPassword("Password:"******"password", $model["password"], "stdfield"); ?> <?php jabHtmlHidden("referrer", $model["referrer"]); ?> <div class="clearer"></div> <?php jabHtmlSubmitButton("Login", "submit"); ?> </form> <script type="text/javascript">document.getElementById("username").focus();</script> <br/> <p>Don't have an account? <a href="register">Register Now</a></p>
" /> <p>Select files to upload:</p> <?php for ($i = 1; $i <= (isset($model['editor']['maxuploadfiles']) ? $model['editor']['maxuploadfiles'] : 4); $i++) { jabHtmlFileUpload("file" . $i); echo "\n"; } ?> <?php jabHtmlCheckBox("Overwrite Existing Files", "overwrite", True); ?> <?php jabHtmlCheckBox("Add to article", "addtoarticle", True); ?> <div class="clearer"></div> <?php jabHtmlSubmitButton("Upload", "upload"); ?> </form> <?php // ---------------- Initialize focus ----------------- if (strlen($model['article']->Title) == 0) { ?> <script type="text/javascript">document.getElementById("Content").focus();</script> <?php } ?>
<p>Sorry, due to a technical problem, your message couldn't be sent. Please try later, or email us directly.</p> </div> <?php } ?> <form class="mainform" id="theform" method="post" action="/contact"> <?php jabHtmlInput("Your Name:", "Name", $model["name"], "stdfield"); ?> <?php jabHtmlInput("Your Email Address:", "Email", $model["email"], "stdfield"); ?> <?php jabHtmlTextArea("Your Message: (supports some <a href=\"http://michelf.com/projects/php-markdown/extra/\">Markdown Extra</a>)", "Message", $model["message"], $class = "stdtextareafield"); ?> <div class="clearer"></div> <?php jabRenderCaptcha(); ?> <?php jabHtmlSubmitButton("Send", "submit"); ?> </form> <script type="text/javascript">document.getElementById("Name").focus();</script>
<form class="mainform" id="theform" method="post" action="<?php echo $_SERVER["REQUEST_URI_CLEAN"]?>"> <?php jabHtmlHidden("ID", $model['article']->ID) ?> <?php if (!jabCanUser("author")): ?> <?php jabHtmlInput("Your Name:", "Name", $model['comment']->Name, "stdfield") ?> <?php jabHtmlInput("Email Address: <small>(optional, not shown, used for <a href=\"http://www.gravatar.com\" target=\"_blank\">Gravatar</a>)</small>", "Email", $model['comment']->Email, "stdfield") ?> <?php jabHtmlInput("Website: <small>(optional, nofollow)</small>", "Website", $model['comment']->Website, "stdfield") ?> <?php else: ?> <?php jabHtmlInput("Reply To:", "ReplyTo", $model['ReplyTo'], "stdfield") ?> <?php endif; ?> <?php jabHtmlTextArea("Message: <small>(supports some <a href=\"http://michelf.com/projects/php-markdown/extra/\" target=\"_blank\">Markdown Extra</a>)</small>", "Content", $model['comment']->Content, $class="stdtextareafield") ?> <div class="clearer"></div> <?php if (!jabCanUser("author")): ?> <?php jabRenderCaptcha() ?> <?php endif; ?> <?php jabHtmlSubmitButton("Post Comment", "post") ?> <?php jabHtmlSubmitButton("Preview", "preview") ?> <small>All comments will be reviewed for spam before being displayed.</small> </form> <?php endif; ?> <?php if (!$model['blog']['enableComments']): ?> <p><small>Comments disabled</small></p> <?php endif; ?>
?> <?php jabHtmlReadOnly("User Name:", "username", $model["username"], "stdfield"); ?> <?php jabHtmlInput("Email Address:", "email", $model["email"], "stdfield"); ?> <?php jabHtmlPassword("Password:"******"password", $model["password"], "stdfield"); ?> <?php jabHtmlPassword("Re-type Password:"******"password2", $model["password2"], "stdfield"); ?> <div class="clearer"></div> <br/> <?php jabRenderCaptcha(); ?> <?php jabHtmlSubmitButton("Register", "submit"); ?> </form> <script type="text/javascript">document.getElementById("email").focus();</script> <br/> <p>Already have an account? <a href="login">Login Here</a></p>