Location: PHPKode > scripts > Ja2BU > themes/default/toprated.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html dir="{$frontext}" xmlns="http://www.w3.org/1999/xhtml"> 
<head>
{config_load file="languages/lang_$langs.conf"}
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 
<meta http-equiv="Pragma" content="cache" />
<meta name="ROBOTS" content="All" />
<meta name="keywords" content="{$keywords}" />
<meta name="description" content="{$metadesc}" />
<link href="themes/{$themes}/styles/images/favicon.ico" type="image/x-icon" rel="shortcut icon" />
<link rel="stylesheet" type="text/css" href="themes/{$themes}/styles/basic.css" />
<link rel="stylesheet" type="text/css" href="themes/{$themes}/styles/listing.css" />
<link rel="alternate" type="application/atom+xml" title="{$sitetitle} - RSS" href="{$sitepath}/rss.php" />
<script type='text/javascript' src='scripts/jquery-1.5.1.min.js'></script>
<script type="text/javascript" src="scripts/jquery-ui-1.8.2.custom.min.js"></script>
<script type="text/javascript" src="scripts/pirobox_extended.js"></script>
<script type="text/javascript" src="scripts/piro.js"></script>
<script type="text/javascript" src="scripts/vote.js"></script>
<title>{$sitetitle}</title>
</head> 
<body>
<div id="wrapper">
{include file="themes/$themes/maindir.php"}
<div id="content">
<div id="blanks">
<div id="leftblock">
{foreach from=$results item=m}
<div id="cycle" style="background:{cycle values="#FAFAFA,#FFFFFF"}">
<div style="width:730px;float:left;">
{assign var="name" value=$m.blogid}
<div id="cycle-b">
<div class="myBox">
<span class='votes_count' id='votes_count{$name}'>
<div>{math equation="x - y" x={$m.total_rating} y={$m.total_ratings}}</div>
</span>
</div>
<div class="tBox">
<span class='vote_buttons' id='vote_buttons{$name}'>
{nocache} 
{if $smarty.session.loggedin|default eq true}
{/nocache} 
<a href='javascript:;' class='vote_up' id='{$name}'>
{nocache}
{else}
{/nocache} 
<a href="login.php?ref={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"  rel="content-380-448" class="pirobox_gall" id='login_up'></a>
{nocache}
{/if}
{/nocache}
</a>
{nocache} 
{if $smarty.session.loggedin|default eq true}
{/nocache} 
<a href='javascript:;' class='vote_down' id='{$name}'>
{nocache}
{else}
{/nocache}
<a href="login.php?ref={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"  rel="content-380-448" class="pirobox_gall" id='login_down'></a>
{nocache}
{/if}
{/nocache}
</a>
</span>
</div>
</div>
<div id="cycle-c">
{if $m.buserid neq '0'}
<a href="profile.php?id={$m.buser}" title="{$m.buser}">
{if $m.bimgs neq '0'}
<img class="thumb" src="minthumb/{$m.bimgs}" alt="{$m.buser}" width="25px" height="25px" border="0px" />
{else}
<img class="thumb" src="themes/{$themes}/styles/images/noavatar25.png" alt="{$m.buser}" width="25px" height="25px" border="0px" />
{/if}
</a>
{else}
<img class="thumb" src="minthumb/{$m.bimgs}" width="25px" height="25px" border="0px" />
{/if}
</div>
<div id="cycle-d">
<div class="myviewBox">
{$m.commno}
</div>
<div class="tviewBox">
{#answers#}
</div>
</div>
<div id="cycle-e">
<div class="myviewBox">
{$m.views}
</div>
<div class="tviewBox">
{#view#}
</div>
</div>
<div id="cycle-f">
<div id="cycle-g">
{if $rewritemod == 1}
<a class="ha4" href="{$m.univer}-{$m.bhelper}.html">{$m.btexty|stripslashes|truncate:128}</a>
{/if}
{if $rewritemod == 2}
<a class="ha4" href="article.php?name={$m.univer}">{$m.btexty|stripslashes|truncate:128}</a>
{/if}
</div>
</div>
<div style="width:730px;float:left;">
<div id="whoandwhen">
<a href="profile.php?id={$m.buser}" title="{$m.buser}">{$m.buser}</a> {#on#} {$m.bdate|date_format:"%a, %b %e, %Y, %H:%M:%S"}, {$m.bdate|timeAgo} {#ago#}
</div>
<div id="cycle-h">
<div id="minicont">
{assign var="tags" value=$m.tags} 
{assign var="link" value=","|explode:$tags} 
<div id="hashdiv">
{section name=i loop=$link}
<div id="hashtags"><a href="tagged.php?qa={$link[i]|escape|replace:" ":"+"}">{$link[i]|escape}</a></div>
{sectionelse}
{/section} 
</div>
</div>
</div>
</div>
</div>
<div id="cycle-i">
{foreach from=$reviews item=k}
<div>
{if $m.univer == $k.comrev}
{if $k.idrev neq true}
<div id="cycle-j">
{if $k.comimage neq '0'}
<img src="{$sitepath}/minthumb/{$k.comimage}" alt="{$k.comenter}" height="25px" width="25px" border="0px" />
{else}
<img src="themes/{$themes}/styles/images/noavatar25.png" alt="{$k.comenter}" width="25px" height="25px" border="0px" /></a>
{/if}
</div>
<div id="cycle-k">
{if $rewritemod == 1}
<a href="{$k.comrev}-{$k.chelper}.html">
{/if}
{if $rewritemod == 2}
<a href="news.php?name={$k.comrev}">
{/if}
<span class="ha3">{$k.comenter}</span></a>
</div>
{$k.ctexte|stripslashes|truncate:512}<br />
<span class="time">&nbsp;</span>{$k.cdate|date_format:"%A, %B %e, %Y, %H:%M:%S"}, {$k.cdate|timeAgo} {#ago#} {#via#} <a href="profile.php?id={$k.comenter}">{$k.comenter}</a>
{foreach from=$reviews item=secsub}
{if $secsub.idrev eq true && $secsub.idrev eq $k.revid}
<br />
{if $rewritemod == 1}
<a href="{$secsub.comrev}-{$secsub.chelper}.html">
{/if}
{if $rewritemod == 2}
<a href="news.php?name={$secsub.comrev}">
{/if}
<div id="reply">
<strong>{$secsub.comenter}</strong></a>
{$secsub.ctexte|stripslashes|truncate:512}
<br />
{$secsub.cdate|date_format:"%A, %B %e, %Y, %H:%M:%S"}, {$secsub.cdate|timeAgo} {#ago#} {#via#} <a href="profile.php?id={$secsub.comenter}">{$secsub.comenter}</a>
</div>
{/if}
{/foreach}
{/if}
{/if}
</div>
{/foreach}
</div>
{if $hide@address.com == 2}
{if $adsoffon eq 2}
{$sensedown}
{/if}
{/if}
</div>
{foreachelse}
<div>{#noyet#}</div>
{/foreach}
<div id="paginate">
<span class="disabled">{#news#} {$paginate.first} - {$paginate.last} of {$paginate.total}.</span>
{paginate_prev}&nbsp;{paginate_next}
</div>
</div>
<div id="rightblock">
{if $adsoffon eq 2}
<div id="blockd">
<div id="blockhead">{#sponsor#}</div>
{$senseup}
</div>
{/if}
<div id="blockd">
<div id="blockhead">{#latest#}</div>
{foreach from=$onewse key=i item=post}
{if $post.oamess eq true}
<div id="ha5">
{if $post.omages neq 0}
{if $rewritemod == 1}
<a href="{$post.oniver}-{$post.ohelper}.html">
{/if}
{if $rewritemod == 2}
<a href="article.php?name={$post.oniver}">
{/if}
<img src="minthumb/{$post.omages}" alt="{$post.otexty}" width="50px" height="50px" border="0px" /></a>
{/if}
{if $rewritemod == 1}
<span class="ha3"><span class="circle">&nbsp;</span><a href="{$post.oniver}-{$post.ohelper}.html">{$post.otexty|stripslashes}</a></span><br />
{/if}
{if $rewritemod == 2}
<span class="ha3"><span class="circle">&nbsp;</span><a href="article.php?name={$post.oniver}">{$post.otexty|stripslashes}</a></span><br />
{/if}
{$post.oamess|stripslashes|strip_tags|truncate:220|wordwrap:26:"\n":true}<br />
<div id="realysmall">{$post.odate|date_format:"%A, %B %e, %Y, %H:%M:%S"}</div>
</div>
{/if}
{/foreach}
</div>
</div>
</div></div>
Return current item: Ja2BU