?> </div> <!-- Profile Image --> <div class='input-group' style='margin-bottom: 25px'> <span class='input-group-addon'><i class='glyphicon glyphicon-picture'></i> Profile Image URL</span> <?php echo Form::input(array('type' => 'text', 'name' => 'au_userImage', 'class' => 'form-control', 'value' => $data['u_userImage'], 'placeholder' => 'Profile Image URL', 'maxlength' => '255')); ?> </div> <!-- About Me --> <div class='input-group' style='margin-bottom: 25px'> <span class='input-group-addon'><i class='glyphicon glyphicon-book'></i> About Me</span> <?php echo Form::textBox(array('type' => 'text', 'name' => 'au_aboutme', 'class' => 'form-control', 'value' => $data['u_aboutme'], 'placeholder' => 'About Me', 'rows' => '6')); ?> </div> <!-- CSRF Token --> <input type="hidden" name="csrf_token" value="<?php echo $data['csrf_token']; ?> " /> <input type="hidden" name="au_id" value="<?php echo $data['u_id']; ?> " /> <input type="hidden" name="update_profile" value="true" /> <button class="btn btn-md btn-success" name="submit" type="submit"> <?php
?> </div> <!-- Subject --> <div class='input-group' style='margin-bottom: 25px'> <span class='input-group-addon'><i class='glyphicon glyphicon-book'></i> </span> <?php echo Form::input(array('type' => 'text', 'name' => 'subject', 'class' => 'form-control', 'value' => $data['subject'], 'placeholder' => 'Subject', 'maxlength' => '100')); ?> </div> <!-- Message Content --> <div class='input-group' style='margin-bottom: 25px'> <span class='input-group-addon'><i class='glyphicon glyphicon-pencil'></i> </span> <?php echo Form::textBox(array('type' => 'text', 'name' => 'content', 'class' => 'form-control', 'value' => $data['content'], 'placeholder' => 'Message Content', 'rows' => '6')); ?> </div> <!-- CSRF Token --> <input type="hidden" name="csrf_token" value="<?php echo $data['csrf_token']; ?> " /> <button class="btn btn-md btn-success" name="submit" type="submit"> <?php // echo Language::show('update_profile', 'Auth'); ?> Send Message </button> <?php
<!-- Forum Name --> <div class='input-group'> <span class='input-group-addon'><i class='glyphicon glyphicon'></i> Forum Title</span> <?php echo Form::input(array('type' => 'text', 'name' => 'forum_title', 'class' => 'form-control', 'value' => $data['forum_title'], 'placeholder' => 'Global Forum Name/Title', 'maxlength' => '100')); ?> </div> <div style='margin-bottom: 25px'> <i>Default: Forum</i> - Set the Forum Title. </div> <!-- Forum Description --> <div class='input-group'> <span class='input-group-addon'><i class='glyphicon glyphicon'></i> Forum Description</span> <?php echo Form::textBox(array('type' => 'text', 'name' => 'forum_description', 'class' => 'form-control', 'value' => $data['forum_description'], 'placeholder' => 'Global Forum Description', 'maxlength' => '255')); ?> </div> <div style='margin-bottom: 25px'> <i>Default: Blank</i> - Set the Forum Description. </div> <hr> <!-- Forum Topic Limit Per Page --> <div class='input-group'> <span class='input-group-addon'><i class='glyphicon glyphicon'></i> Topics Per Page</span> <?php echo Form::input(array('type' => 'text', 'name' => 'forum_topic_limit', 'class' => 'form-control', 'value' => $data['forum_topic_limit'], 'placeholder' => 'Topics Per Page Limit', 'maxlength' => '100')); ?> </div>
if ($data['topic_status'] == 2) { echo " <strong><font color='red'>Topic Locked - Replies are Disabled</font></strong> "; } else { // Display Create New Topic Reply Button if user is logged in if (isset($data['current_userID'])) { ?> <hr> <?php echo Form::open(array('method' => 'post', 'enctype' => 'multipart/form-data')); ?> <!-- Topic Reply Content --> <div class='input-group' style='margin-bottom: 25px'> <span class='input-group-addon'><i class='glyphicon glyphicon-pencil'></i> </span> <?php echo Form::textBox(array('type' => 'text', 'name' => 'fpr_content', 'class' => 'form-control', 'value' => $data['fpr_content'], 'placeholder' => 'Topic Reply Content', 'rows' => '6')); ?> </div> <?php // Check to see if user is a new user. If so then disable image uploads if ($data['is_new_user'] != true) { ?> <!-- Image Upload --> <div class='input-group' style='margin-bottom: 25px'> <span class='input-group-addon'><i class='glyphicon glyphicon-picture'></i> </span> <?php echo Form::input(array('type' => 'file', 'name' => 'forumImage', 'id' => 'forumImage', 'class' => 'form-control', 'accept' => 'image/jpeg,image/png,image/gif')); ?> </div> <?php
if ($data['cat_sub_edit'] == true) { // Display Cat Sub Edit Form if (isset($data['cat_sub_data'])) { foreach ($data['cat_sub_data'] as $row) { echo Form::open(array('method' => 'post', 'action' => DIR . 'AdminPanel-Forum-Categories/CatSubEdit/' . $row->forum_id)); echo "<div class='panel panel-primary'>"; echo "<div class='panel-heading'>"; echo "<i class='glyphicon glyphicon-list'></i> Edit Sub Category"; echo "</div>"; echo "<div class='panel-body'>"; echo Form::input(array('type' => 'hidden', 'name' => 'action', 'value' => 'edit_cat_sub')); echo Form::input(array('type' => 'hidden', 'name' => 'csrf_token', 'value' => $data['csrf_token'])); echo "<strong>Sub Cat Title:</strong>"; echo Form::input(array('type' => 'text', 'name' => 'forum_cat', 'value' => $row->forum_cat, 'class' => 'form-input text form-control', 'aria-describedby' => 'basic-addon1', 'placeholder' => 'Sub Category Title', 'maxlength' => '255')); echo "<strong>Sub Cat Description:</strong>"; echo Form::textBox(array('type' => 'text', 'name' => 'forum_des', 'value' => $row->forum_des, 'class' => 'form-input text form-control', 'aria-describedby' => 'basic-addon1', 'placeholder' => 'Sub Category Description')); echo "</div>"; echo "<div class='panel-footer'>"; echo "<button class='btn btn-success' name='submit' type='submit'>Update Sub Category</button>"; echo "</div>"; echo "</div>"; echo Form::close(); } } } else { if ($data['delete_cat_main'] == true) { // Display Delete Main Cat Form echo Form::open(array('method' => 'post')); echo "<div class='panel panel-danger'>"; echo "<div class='panel-heading'>"; echo "Delete Forum Main Category: <strong>" . $data['delete_cat_main_title'] . "</strong>";
?> <?php if (isset($error["no_subject"])) { ?> <div class="error"> <?php echo $error["no_subject"]; ?> </div> <?php } ?> </div> <div class="p"> <?php echo Form::textBox(array("name" => "contact_comment", "placeholder" => "Comment")); ?> <?php if (isset($error["no_comment"])) { ?> <div class="error"> <?php echo $error["no_comment"]; ?> </div> <?php } ?> </div> <div class="p"> <img id="captchaImage" src="<?php
?> </div> <!-- About Me --> <div class='input-group' style='margin-bottom: 25px'> <span class='input-group-addon'><i class='glyphicon glyphicon-book'></i> About Me</span> <?php echo Form::textBox(array('type' => 'text', 'name' => 'aboutme', 'class' => 'form-control', 'value' => $data['u_aboutme'], 'placeholder' => 'About Me', 'rows' => '6')); ?> </div> <!-- Signature --> <div class='input-group' style='margin-bottom: 25px'> <span class='input-group-addon'><i class='glyphicon glyphicon-book'></i> Signature</span> <?php echo Form::textBox(array('type' => 'text', 'name' => 'signature', 'class' => 'form-control', 'value' => $data['u_signature'], 'placeholder' => 'Forum Signature', 'rows' => '4')); ?> </div> <!-- CSRF Token --> <input type="hidden" name="csrf_token" value="<?php echo $data['csrf_token']; ?> " /> <button class="btn btn-md btn-success" name="submit" type="submit"> <?php // echo Language::show('update_profile', 'Auth'); ?> Update Profile </button> <?php