_admin/modules_forum_category/view/">Forum Category</a></li> </ul> </div> <? $forum = Forum::findForum($_REQUEST['id']); ?> <form id="store_page" action="" method="post" enctype="multipart/form-data"> <h3>ACM Forum</h3> <span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span> <fieldset style="width:1065px;"> <legend>Forum Panel</legend> <ul> <li> <label for="title">Main Category</label> <select name="category_id"> <option value="0">no main category</option> <? $category= ForumCategory::displayAll(0); foreach($category as $categories) { if($forum->fldForumCategoryID == $categories->fldForumCategoryID) { $selected = "selected='selected'"; } else { $selected = ""; } ?> <option value="<?php echo $categories->fldForumCategoryID; ?> " <?php echo $selected; ?> ><?php echo $categories->fldForumCategoryTitle;