 	<div class="blctitle">
     <div class="brctitle">
      <div class="tlctitle">
       <div class="trctitle">
       		<p class="clsRatingImg">
            	{if  $CFG.user.user_id eq 0 }
                	<span class="clsRateStars">{$LANG.rate_now}
                       {foreach key=inc item=value from=$myobj->selBlogDetails.displayBlog.getblogratings.row}
                            <a id="{$value.on_click}" href="{$value.login_lightwindow}" onclick="{$myobj->getBrowser($value.on_click)}"><img id="rate{$value.inc}" title="{$value.ratingsTitle}" src="{$value.img_src}" alt="{$value.pointer}" onMouseOver="{$value.mouseOverAnswers}" onMouseOut="{$value.mouseOutAnswers}" /></a>
                        {/foreach}
                    </span>
                {elseif $CFG.user.user_id eq  $myobj->selBlogDetails.displayBlog.getblogratings.user_id}
                 	<span class="clsRateStars">
                     	{$LANG.you_cant_rate_your_blog}
                    </span>
                {else}
                     {if $myobj->selBlogDetails.displayBlog.getblogratings.RecordCount}
                     	 <span class="clsRateStars">
                        	 {$LANG.your_rating}
                           	 {foreach key=inc item=value from=$myobj->selBlogDetails.displayBlog.getblogratings.i}
                               <img id="rate{$value.inc}" title="{$value.ratingsTitle}" src="{$value.img_src}" alt="{$value.pointer}" onMouseOver="{$value.mouseOverAnswers}" onMouseOut="{$value.mouseOutAnswers}" onClick="{$value.onclick}" />
                             {/foreach}
                             {foreach key=inc item=value from=$myobj->selBlogDetails.displayBlog.getblogratings.j}
                              	<img id="rate{$value.jnc}" title="{$value.ratingsTitle1}" src="{$value.img_src1}" alt="{$value.pointer1}" onMouseOver="{$value.mouseOverAnswers1}" onMouseOut="{$value.mouseOutAnswers1}" onClick="{$value.onclick1}" />
                             {/foreach}
                         </span>
                      {else}
                         <span class="clsRateStars">{$LANG.rate_now}
                            {foreach key=inc item=value from=$myobj->selBlogDetails.displayBlog.getblogratings.row}
                                <img id="rate{$value.jnc}" title="{$value.ratingsTitle}" src="{$value.img_src}" alt="{$value.pointer}" onMouseOver="{$value.mouseOverAnswers}" onMouseOut="{$value.mouseOutAnswers}" onClick="{$value.onclick}" />
                            {/foreach}
                          </span>
					{/if}
       			{/if}
                <span class="clsRateScores">
                   	 {$LANG.average_rating}
                        <span class="clsScore">
                           {$myobj->selBlogDetails.displayBlog.getblogratings.rating} / {$myobj->selBlogDetails.displayBlog.getblogratings.rating_count}
                        </span> {$LANG.ratings}
                </span>
            </p>
        </div>
       </div>
      </div>
     </div>