
<div id="kb" class="block">
    <div class="block_title">
        <h3><b><a href="{RELATIVE_PATH}public">[l]Support Center[/l]</a> &raquo; <a href="#">[l]Knowledgebase[/l]</a></b></h3>
    </div>
    <div>
        <div  class="kbsearchbox">
                <h3 style="margin-bottom:5px;">
                [l]Search Knowledgebase ({categoryName})[/l]
                &nbsp;&nbsp;&nbsp;<input checked style="position:relative;top:3px;" onclick="UpdateStoreParam(this,{categoryId});" type="checkbox" id="cbAllCategories" value="0"> <span style="font-size: 11px;">All Categories</span>
                </h3>

                <input type="text" size="20" name="search" id="search" />
                <div style="padding-top:4px;">
                    Search by entering keywords (formatting, account, E-mail) or phrasing a question.<br/>Note: Live search requires a minimum of 4 characters.
                </div>
        </div>
        <div class="x-box-bl"><div class="x-box-br"><div class="x-box-bc"></div></div></div>
    </div>
</div>



    <div class="block">
        <div class="block_title">
            <h3>
                <a href="index.php?fuse=knowledgebase&view=KB_MainView&public=1&amp;showall=1">[l]Top[/l]</a> /
                    .. /
                <!-- BEGIN DYNAMIC BLOCK: subcategorylink -->
                    .. / <a href="index.php?fuse=knowledgebase&view=KB_CategoriesView&categoryId={parentCategoryId}&amp;public=1&amp;showall=1">{parentCategoryName}</a> /
                <!-- END DYNAMIC BLOCK: subcategorylink -->
                <a href="index.php?fuse=knowledgebase&view=KB_CategoriesView&categoryId={categoryId}&amp;public=1&amp;showall=1">{categoryName}</a>
            </h3>
        </div>
        <ul>
            <li>
                <h4 class="{articleTypeClass}_article">
                    <span class="left">
                        <a href="#">{articleName}</a>
                    </span>
                    <span class="right">
                        <!--<img src="templates/Raleigh/views/knowledgebase/images/star_{articleRating}.gif" alt="rating stars" />-->
                        <img src="templates/Raleigh/views/knowledgebase/images/{articleRating}stars.png" alt="rating stars" />
                    </span>
                </h4>
                <div class="article_details">
                    <p>
                        [l]Article ID[/l]: {articleId} &nbsp;  &nbsp; [l]Created on[/l]: {articleCreated}  &nbsp;  &nbsp; [l]Modified on[/l]: {articleModified}
                    </p>
                </div>
                <input type="hidden" id="articleId" name="articleId" value="{articleId}" />
                <hr />
                <p>{articleDescription}</p>

                <hr />
                <h2>[l]Author[/l]: <b>{articleAuthor}</b></h2>

                <!-- BEGIN DYNAMIC BLOCK: showattachedfiles -->
                <h2>[l]Attached Files[/l]</h2>
                <ul class="file_list">
                    <!-- BEGIN DYNAMIC BLOCK: articleAttachedFiles -->
                    <li><a href="index.php?fuse=knowledgebase&amp;action=KB_GetAttachment&amp;file_id={file_id}" target="_blank" >{articleFilename}</a></li>
                    <!-- END DYNAMIC BLOCK: articleAttachedFiles -->
                </ul>
                <!-- END DYNAMIC BLOCK: showattachedfiles -->


                <h2>Rate this article</h2>
                <!-- BEGIN DYNAMIC BLOCK: userCanRate -->
                <p id="ratearticle">
                    [l]How Helpfull was this article to you?[/l]
                    <span class="rate_article">
                        <span class="rate_article_stars">
                            <span id="unit_long{articleId}">
                                <ul id="unit_ul{articleId}" class="unit-rating" style="width:{width}px;">
                                    <li class="current-rating" style="width:{ratingWidth}px;">[l]Currently[/l] {articleRate}/{limitRate}</li>
                                    <!-- BEGIN DYNAMIC BLOCK: ratingScale -->
                                    <li style="margin:0;list-style: none;"><a href="#" title="{_ncount} out of {_limitRate}" class="r{_ncount}-unit rater" rel="nofollow" onclick="RateArticle({_ncount})">{_ncount}</a></li>
                                    <!-- END DYNAMIC BLOCK: ratingScale -->
                                </ul>
                                [l]Rating[/l]: <span id="textRating"><b>{articleRating1}</b>&nbsp;/&nbsp;{limitRate}&nbsp;({ratePhrase}&nbsp;[l]cast[/l])</span>
                            </span>
                        </span>
                    </span>
                </p>
                <!-- END DYNAMIC BLOCK: userCanRate -->
                <!-- BEGIN DYNAMIC BLOCK: alreadyRated -->
                    <p>[l]You have already rated this article[/l]</p>
                <!-- END DYNAMIC BLOCK: alreadyRated -->

                <!-- BEGIN DYNAMIC BLOCK: showrelatedtopics -->
                    <hr />
                    <h2>[l]Related Topics[/l]</h2>
                    <ul class="related_articles">
                        <!-- BEGIN DYNAMIC BLOCK: relatedTopics -->
                        <li><a href="index.php?fuse=knowledgebase&amp;view=KB_viewArticle&amp;articleId={articleRelatedId}{public}">{articleRelatedTitle}</a></li>
                        <!-- END DYNAMIC BLOCK: relatedTopics -->
                    </ul>
                <!-- END DYNAMIC BLOCK: showrelatedtopics -->

                <hr />
                <h2>[l]Comments[/l]</h2>
                <!-- BEGIN DYNAMIC BLOCK: ArticleComments -->
                <div class="comment_block">
                    <p>[l]Comment by[/l] <b>{CommentUser}</b> - {dateAdded}</p>
                    <p>{CommentArticle}</p>
                </div>
                <!-- END DYNAMIC BLOCK: ArticleComments -->
                <!-- BEGIN DYNAMIC BLOCK: noArticleComments -->
                <p>[l]There are no comments[/l]</p>
                <!-- END DYNAMIC BLOCK: noArticleComments -->
                <h2>[l]Add a comment[/l]</h2>
                <!-- BEGIN DYNAMIC BLOCK: articleForm -->
                <form name="formAddComments" method="post" action="index.php?fuse=knowledgebase&amp;action=KB_AddComment&amp;articleId={articleId}">
                    <input type="hidden" name="public" value="{isPublic}" />
                    <p><label for="name">[l]Name[/l]: </label><br />
                    <input type="text" id="userName" name="userName" value="{username}" /><br /></p>
                    <input name="r_userName" type="hidden" value="[lh]Name[/lh]" />
                    <p><label for="email">[l]E-mail[/l]: </label><br />
                    <input type="text" id="userEmail" name="userEmail" /><br /></p>
                    <input name="r_userEmail" type="hidden" value="[lh]E-mail[/lh]" />
                    <p>[l]Comment[/l]<br />
                    <textarea class="textarea" id="userComment" name="userComment" cols="50" rows="8"></textarea>
                    </p>
                    <!-- BEGIN DYNAMIC BLOCK: captcha -->
                    <table>
                        <tr>
                            <td>
                                <img name="captcha" id="antiflood" src="modules/clients/captcha.php" border="0" />
                            </td>
                            </td>
                            <td style="padding-left:20px">
                                <p>
                                    <label for="accesscode" style="width:auto">[l]Enter the code[/l]: </label>
                                    <input type="text" id="accesscode" name="accesscode" />
                                    <input type="hidden" name="r_accesscode" value="[l]Verification Code[/l]" />
                                </p>
                            </td>
                        </tr>

                    </table>
                    <!-- END DYNAMIC BLOCK: captcha -->
                    <p>
                        <input name="btnSubmitComment" type="submit" value="[lh]Submit[/lh]" class="button_medium" onclick="check(form,form.elements.length);return false;"/>
                    </p>
                </form>
                <!-- END DYNAMIC BLOCK: articleForm -->
            </li>
        </ul>
    </div>
