Location: PHPKode > projects > PHP Enter > www/templates/default/categories.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<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="latest news, news, article, story, top story, blog, links, link, directory, free, seo">
<meta name="description" content="php news script powered by phpenter.net">
<link href="templates/default/images/favicon.ico" type="image/x-icon" rel="shortcut icon">
<link rel="stylesheet" type="text/css" href="templates/default/style.css">
<title>{$title}</title>
</head> 
<div id="content">
<table width="100%" id="header"  height="56px" cellSpacing=0 cellPadding=1 align="center" border="0">
 <tr>
  <td height="46px">
<div id="logo"><a href="{$path}">{$title}</a></div>
<div style="float:right;line-height:46px;">
<div id="sestext">
<form action="{$path}/search.php" method="GET">
<input id="intext" class="txt" type="text" name="id" value="" validate="required">
<button class="b-search" value="go" type="submit">Search</button>
</form>
</div>
</div>
  </td>
 </tr>
</table>
<table height="26px" cellSpacing=0 cellPadding=1 align="center" border=0>
 <tr>
  <td id="tedis">
  <li style="margin:0px;padding:1px;"><a href="{$path}"><img src="templates/default/images/homes.png" border="0"></a></li>{section name=categori loop=$categori}<center><li>
<a href="categories.php?id={$categori[categori].catid}">{$categori[categori].name}</a></li>
</center>{/section}
   </td>
  </tr>
</table>
<table id="ccnav" height="26px" cellSpacing=0 cellPadding=1 width="100%" align="center" border=0>
 <tr>
  <td align="middle" id="medis">
   <li><a href="link.php">Submit Story</a></li>
  <li><a href="gallery.php">Gallery</a></li>
  <li style="float:right;"><a href="rss.php" target="_blank"><img style="padding:0px" src="templates/{$temp}/images/rss.gif" width="26px" height="14px" border="0"></a></li>
  </td>
 </tr>
</table>
<table cellSpacing=0 cellPadding=0 align="center" border="0">
 <tr>
  <td vAlign="top" width="778px;">
<span class="ha3">&nbsp;Latest in Category</span>
    {section name="results" loop=$results}
     <div class="featuredcontainer"> 
       <div class="featurelist">
       {if $rewrite == 1}
       <a href="{$results[results].univer}-{$results[results].btexty|urlencode}.html"><span class="ha2">{$results[results].btexty|stripslashes|truncate:55}</span></a>
       {/if}
       {if $rewrite == 2}
       <a href="news.php?name={$results[results].univer}"><span class="ha2">{$results[results].btexty|stripslashes|truncate:55}</span></a>
       {/if}
        {if $results[results].images eq true}
        <div class="thumb-image-wrapper">
        <a href="uploads/{$results[results].images}" title="{$results[results].btexty}">
        <img src="minthumb/{$results[results].images}" alt="{$results[results].btexty}"></a>
        {/if}
        </div> 
{if $results[results].rating == 0}<img style="position:relative;bottom:0px;border:0px;" src="templates/{$temp}/images/stars0.gif" border="1">{/if}
{if $results[results].rating == 1.0}<img style="position:relative;bottom:2px;border:0px;" src="templates/{$temp}/images/stars4.gif" border="1">{/if}
{if $results[results].rating == 1.5}<img style="position:relative;bottom:2px;border:0px;" src="templates/{$temp}/images/stars2.gif" border="1">{/if}
{if $results[results].rating == 2.0}<img style="position:relative;bottom:2px;border:0px;" src="templates/{$temp}/images/stars4.gif" border="1">{/if}
{if $results[results].rating == 2.5}<img style="position:relative;bottom:2px;border:0px;" src="templates/{$temp}/images/stars3.gif" border="1">{/if}
{if $results[results].rating == 3.0}<img style="position:relative;bottom:2px;border:0px;" src="templates/{$temp}/images/stars4.gif" border="1">{/if}
{if $results[results].rating == 3.5}<img style="position:relative;bottom:2px;border:0px;" src="templates/{$temp}/images/stars4.gif" border="1">{/if}
{if $results[results].rating == 4.0}<img style="position:relative;bottom:2px;border:0px;" src="templates/{$temp}/images/stars4.gif" border="1">{/if}
{if $results[results].rating == 4.5}<img style="position:relative;bottom:2px;border:0px;" src="templates/{$temp}/images/stars5.gif" border="1">{/if}
{if $results[results].rating == 5.0}<img style="position:relative;bottom:2px;border:0px;" src="templates/{$temp}/images/stars5.gif" border="1">{/if}
         {$results[results].bamess|stripslashes|truncate:445}
        <i>{$results[results].bdate}</i><br />
    </div> 
    </div>
    {/section}
<div id="ads" style="margin-left:2px">{include file='admin/horad.php'}</div>
   </td>
  
<td vAlign="top" align="center">
<span class="ha3">Gallery</span>
<div class="featuregleft">
{section name="vgalery" loop=$vgalery}
{if $vgalery[vgalery].galid eq false}No Data{else}
<div class="image-wrapper"><a href="gallery.php" title="{$vgalery[vgalery].gtitle}">
<img src="minthumb/{$vgalery[vgalery].guniver}" alt="{$vgalery[vgalery].guniver}"></a><h2>{$vgalery[vgalery].gtitle|truncate:23}</h2>
</div>
{/if}
{/section}
</div>
  </td>
 </tr>
</table>
<table cellSpacing=0 cellPadding=0 align="center" border="0" border="0">
 <tr>
  <td>
   <div id="paginate">News {$paginate.first}-{$paginate.last} of {$paginate.total}.
   {paginate_prev} {paginate_next}</div>
  </td>
 </tr>
</table>
</div>
Return current item: PHP Enter