Location: PHPKode > projects > PHP Enter > themes/classic/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">
{config_load file="languages/lang_$langs.conf"}
<head>
<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/toprated.css" />
<link rel="alternate" type="application/atom+xml" title="{$sitetitle} - RSS" href="{$sitepath}/rss.php" />
<title>{#rated#} - {$sitetitle}</title>
<script type="text/javascript" src="scripts/jquery.min.js"></script>
<script type="text/javascript">
{literal}
$(function(){
$('#coolMenu').find('> li').hover(function(){
$(this).find('ul')
.removeClass('noJS')
.stop(true, true).slideToggle('fast');
});
});
{/literal}
</script>
</head> 
<div id="content">
{include file="themes/$themes/maindir.php"}
<div id="blanks">
<div id="leftblock">
<div id="blockhead">{#rated#}</div>
{section name="results" loop=$results}
<div class="featuredcontainer" style="background:{cycle values="#FFFFFF,#FAFAFA"}"> 
<div class="featurelist">
{if $results[results].images neq 0}
<img src="minthumb/{$results[results].images}" width="144px" height="82px" title="{$results[results].btexty}" />
{else}
<img src="themes/{$themes}/styles/images/noimage.png" width="144px" height="82px" title="{$results[results].btexty}" />
{/if}
{if $rewritemod == 1}
<a href="{$results[results].univer}-{$results[results].btexty|replace:"?":''|replace:"'":''|replace:'"':''|replace:'/':''|replace:':':''|urlencode}.html" title="{$results[results].btexty|stripslashes|truncate:84}"><span class="ha4">{$results[results].btexty|stripslashes|truncate:84}</span></a>
{/if}
{if $rewritemod == 2}
<a href="news.php?name={$results[results].univer}" title="{$results[results].btexty|stripslashes|truncate:84}"><span class="ha4">{$results[results].btexty|stripslashes|truncate:84}</span></a>
{/if}
<br />
<span class="smally">
<span class="docy">&nbsp;</span>{#published#}&nbsp;{$results[results].bdate|timeAgo}&nbsp;{#ago#}&nbsp;{#via#}
{if $results[results].buserid|default == true}<a href="profile.php?id={$results[results].buserid|default}">{$results[results].buser|truncate:12}</a>{else}{$results[results].buser|truncate:12}{/if}&nbsp;
<span class="time">&nbsp;</span>{$results[results].bdate|date_format:"%A, %B %e, %Y"}
<br/>
{if $results[results].badress eq true}
&nbsp;<span class="linker">&nbsp;</span><a href="{$results[results].badress}" target="_blank">{#visitsite#}</a>
{else}
&nbsp;{#editorial#}
{/if}&nbsp;<span class="comment">&nbsp;</span>
{if $rewritemod == 1}
<a href="{$results[results].univer}-{$results[results].btexty|replace:"?":''|replace:"'":''|replace:'"':''|replace:'/':''|replace:':':''|urlencode}.html#section">{#comments#} [{$results[results].commno}]</a>&nbsp;
{/if}
{if $rewritemod == 2}
<a href="news.php?name={$results[results].univer}#section">{#comments#} [{$results[results].commno}]</a>&nbsp;
{/if}
{if $results[results].rating == 0}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars0.gif" width="50px" height="10px" border="0" border="0" />{/if}
{if $results[results].rating == 1.0}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars1.gif" width="50px" height="10px" border="0" />{/if}
{if $results[results].rating == 1.5}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars2.gif" width="50px" height="10px" border="0" />{/if}
{if $results[results].rating == 2.0}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars2.gif" width="50px" height="10px" border="0" />{/if}
{if $results[results].rating == 2.5}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars3.gif" width="50px" height="10px" border="0" />{/if}
{if $results[results].rating == 3.0}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars3.gif" width="50px" height="10px" border="0" />{/if}
{if $results[results].rating == 3.5}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars4.gif" width="50px" height="10px" border="0" />{/if}
{if $results[results].rating == 4.0}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars4.gif" width="50px" height="10px" border="0" />{/if}
{if $results[results].rating == 4.5}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars5.gif" width="50px" height="10px" border="0" />{/if}
{if $results[results].rating == 5.0}<img style="position:relative;top:-1px;border:0px;" src="themes/{$themes}/styles/images/stars5.gif" width="50px" height="10px" border="0" />{/if}
{#avgrat#}.&nbsp;&nbsp;{#usgrat#}&nbsp;{$results[results].rating} - {$results[results].total_ratings}&nbsp;{#votes#}
</span>
</div> 
</div>
{/section}
<div id="paginate">
<span class="disabled">{#news#} {$paginate.first} - {$paginate.last} of {$paginate.total}.</span>
{paginate_prev}{paginate_next}
</div>
</div>
<div id="rightblock">
{if $adsoffon eq 2}
<div id="blockhead">{#sponsor#}</div>
{$senseup}
{/if}
<div id="blockd">
<div id="blockhead">{#community#}</div>
{section name="reviews" loop=$reviews}
<div class="lfeat" style="background:{cycle values="#F8F8F8,#ffffff"}">
<a href="uploads/{$reviews[reviews].comimage}" title="{$reviews[reviews].comenter}"> 
<img src="minthumb/{$reviews[reviews].comimage}" width="25" height="25" alt="{$reviews[reviews].comenter}" border="0" /></a> 
{if $rewritemod == 1}
<a href="{$reviews[reviews].comrev}.html"><strong>{$reviews[reviews].comenter}</strong></a> - 
{/if}
{if $rewritemod == 2}
<a href="news.php?name={$reviews[reviews].comrev}"><strong>{$reviews[reviews].comenter}</strong></a> - 
{/if}
{$reviews[reviews].ctexte|stripslashes|truncate:200}<br />
<div id="realysmall">{$reviews[reviews].cdate|date_format:"%A, %B %e, %Y, %H:%M:%S"}, {$reviews[reviews].cdate|timeAgo}&nbsp;{#ago#}</div>
</div>
{/section}
</div>
<div id="blockd">
<div id="blockhead">{#public#}</div>
{section name=comment loop=$comment}
<div class="dfeat" style="background:{cycle values="#F8F8F8,#ffffff"}">
<div class="thumb-image-wrapper"><a href="uploads/{$comment[comment].imgs}" title="{$comment[comment].amess}">
<img src="minthumb/{$comment[comment].imgs}" width="25" height="25" alt="{$comment[comment].amess}" /></a>
</div>
{$comment[comment].amess}<br />
<div id="realysmall">
{if $comment[comment].userid eq true}<a href="profile.php?id={$comment[comment].userid}">{$comment[comment].date|date_format:"%A, %B %e, %Y, %H:%M:%S"}</a>, {$comment[comment].date|timeAgo}&nbsp;{#ago#}
{else}
{$comment[comment].date|date_format:"%A, %B %e, %Y, %H:%M:%S"}, {$comment[comment].date|timeAgo}&nbsp;{#ago#}
{/if}
</div>
</div>
{/section}
</div>      
</div>
</div>
Return current item: PHP Enter