<!-- BEGIN CONTAINER -->
<div id="image">
  $sImageName
  <div class="image"><img src="$config[dir_images]$aData[sDirectory]/$aData[iSizeValue2]/$aData[sFile]" alt="$aData[sName]" /></div>
  <div class="imgNavLinks">
    $sPrevLink
    $sNextLink
  </div>
  $sVotes
  $sVotesForm
  $sImageDescription
  $sCommentsList
  $sCommentsForm
</div>
<!-- END CONTAINER -->
<!-- BEGIN NAME --><h3>$aData[sName]</h3><!-- END NAME -->
<!-- BEGIN PAGES_TREE -->$aData[sPagesTree]<!-- END PAGES_TREE -->
<!-- BEGIN DESCRIPTION --><div class="content" id="pageDescription">$aData[sDescription]</div><!-- END DESCRIPTION -->
<!-- BEGIN PREV_LINK --><div class="prevLink"><a href="$aDataPrev[sLinkName]">&laquo;&nbsp;$lang['prev']</a></div><!-- END PREV_LINK -->
<!-- BEGIN NEXT_LINK --><div class="nextLink"><a href="$aDataNext[sLinkName]">$lang['next']&nbsp;&raquo;</a></div><!-- END NEXT_LINK -->
<!-- BEGIN VOTES --><div class="votes"><em>$lang[Votes]:</em> <strong>$aVotes[fVotesAvarage]</strong> / <span>$aVotes[iVotesCount]</span></div><!-- END VOTES -->
<!-- BEGIN NO_VOTES --><div class="votes"><em>$lang[Votes]:</em> <strong>0.0</strong> / <span>0</span></div><!-- END NO_VOTES -->
<!-- BEGIN VOTE_FORM --><form action="$aData[sLinkName]" method="post" class="votesForm"><fieldset><select name="iVote"><option value="1">1</option><option value="2">2</option><option value="3" selected="selected">3</option><option value="4">4</option><option value="5">5</option></select><input type="submit" value="$lang[Vote]" /></fieldset></form><!-- END VOTE_FORM -->
<!-- BEGIN COMMENTS_TITLE -->
<h3 class="commentTitle">$lang[Comments]</h3>
<!-- END COMMENTS_TITLE -->
<!-- BEGIN COMMENTS_LIST --><tr class="l$aData[iStyle]">
  <th>
    <h6>$aData[sName]</h6>
    <p>$aData[sDate]</p>
  </th>
  <td>
    $aData[sContent]
  </td>
</tr><!-- END COMMENTS_LIST -->
<!-- BEGIN COMMENTS_HEAD --><div class="comments"><table cellspacing="0"><tr><td colspan="2" class="pages">$lang[Pages]: $aData[sPages]</td></tr><!-- END COMMENTS_HEAD -->
<!-- BEGIN COMMENTS_FOOT --><tr><td colspan="2" class="pages">$lang[Pages]: $aData[sPages]</td></tr></table></div><!-- END COMMENTS_FOOT -->

<!-- BEGIN COMMENTS_FORM -->
<script type="text/javascript" src="$config[dir_core]checkForm.js"></script>
<form action="$aData[sLinkName]" method="post" id="commentForm" onsubmit="return checkForm( this );">
  <fieldset>
  <input type="hidden" name="sOption" value="saveComment" />
  <table cellspacing="0">
    <tr>
      <th>
        <label for="comment_name">$lang[Name_and_surname]</label>
      </th>
      <td>
        <input type="text" name="sName" class="input" value="" id="comment_name" alt="simple" maxlength="40" size="30" />
      </td>
    </tr>
    <tr>
      <th>
        <label for="comment_text">$lang[Comment]</label>
      </th>
      <td>
        <textarea cols="45" rows="7" name="sContent" id="comment_text" title="simple"></textarea>
      </td>
    </tr>
    <tr class="save">
      <th></th>
      <td>
        <input type="submit" value="$lang[Save]" class="submit" />
      </td>
    </tr>
  </table>
  </fieldset>
</form>
<!-- END COMMENTS_FORM -->