Location: PHPKode > projects > phpBlogger > themes/classic/tags.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
{config_load file="languages/lang_$language.conf"} 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="{$sitepath}/themes/{$themes}/styles/profile.css" />
<link href="{$sitepath}/scripts/prettify.css" type="text/css" rel="stylesheet" />
<link rel="alternate" type="application/atom+xml" title="{$sitetitle}" href="{$sitepath}/rss.php" />
<title>{$sitetitle}</title>
{if $smarty.session.loggedin|default eq true}
{nocache}
<script type="text/javascript" src="{$sitepath}/scripts/jquery-1.4.2.js"></script>
<script type="text/javascript" src="{$sitepath}/scripts/ui/jquery.effects.core.js"></script>
<script type="text/javascript" src="{$sitepath}/scripts/ui/jquery.effects.slide.js"></script>
<script type="text/javascript" src="{$sitepath}/scripts/ui/jquery.effects.blind.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("a.sendName").click(function(){
var cusid = $("#cusid").val();
var incuser = $("#incuser").val();
var incimage = $("#incimage").val();
var amess = $("#amess").val();
$.post("{$sitepath}/insert.php", {literal}{cusid: cusid, incuser: incuser, incimage: incimage, amess: amess}{/literal},
function(data){
$("#effect").hide("slide", { direction: "down" }, 300);
{literal}$("#loader").css({"visibility":"visible"});{/literal}
setTimeout(function() {
$("#loadName").html(data);
$("#effect").show("slide", { direction: "up" }, 200);
{literal}$("#loader").css({"visibility":"hidden"});{/literal}
$('#amess').val('');
$('#amess').focus();			
},2500);				
});
});
});
</script>
{/nocache}
{/if}
<script src="{$sitepath}/scripts/prettify.js"></script>
</head>
<body onload="prettyPrint()">
<div id="wrapper">
<a id="section"></a>
{include file='themes/classic/header.php'}
<div id="main">
<div class="float">
<div id="lefty">
{nocache}
{if $smarty.session.loggedin|default eq true && $smarty.session.INC_USER_NAME|default eq true}
<div id="effect">
<input type="hidden" name="cusid" id="cusid" value="{$smarty.session.INC_USER_ID}" />
<input type="hidden" name="incuser" id="incuser" value="{$smarty.session.INC_USER_NAME}" />
<input type="hidden" name="incimage" id="incimage" value="{$smarty.session.INC_USER_THUMB}" /> 
<textarea name="amess" class="target" id="amess"></textarea><br />
<div id="above">
<div id="hatitle">Comments</div>
<a style="align:center;text-decoration:none" href="javascript:submit();" id="start" class="sendName">Comment</a>
</div>
</div>
{else}
{/if}
{/nocache}
<div id="loader"><img src="{$sitepath}/themes/{$themes}/styles/images/36-1.gif"></div>
<div id="loadName">
{foreach from=$results item=m}
<li class="hentry">
<span class="thumb"><img class="imm" src="{$sitepath}/midthumb/{$m.imgs}" height="48px" width="48px" border="0" /></span>  
<span class="status-body">
{if $rewritemod eq 2}
<a href="{$sitepath}/{$m.texty}"><span class="linky">{$m.texty}</span></a>
{/if}
{if $rewritemod eq 1}
<a href="{$sitepath}/profile.php?cid={$m.texty}"><span class="linky">{$m.texty}</span></a>
{/if}
<br />
<span class="entry-content">
{if $rewritemod eq 2}
{$m.amess|bbcode2html|stripslashes|intergrate:$sitepath|regex_replace:"/[\r]/":"<br />"}
{/if}
{if $rewritemod eq 1}
{$m.amess|bbcode2html|stripslashes|intergrates:$sitepath|regex_replace:"/[\r]/":"<br />"}
{/if}
</span>
<div id="timeand">{#timeabout#} {$m.date|timeAgo} {#mainago#}, {$m.date|date_format:"%A, %B %e, %Y, %H:%M:%S"} - </font>
{if $rewritemod eq 2}
<a href="{$sitepath}/status/{$m.commid}">comments [{$m.nocomm}]</a> </font> - views: [{$m.views}]
{/if}
{if $rewritemod eq 1}
<a href="{$sitepath}/post.php?id={$m.commid}">comments [{$m.nocomm}]</a> </font> - views: [{$m.views}]
{/if}
</div>
</span>
{foreach from=$reviews item=k}
{if $m.commid == $k.comrev}
<span class="centry">
<span class="cthumb"><img class="imm" src="{$sitepath}/minthumb/{$k.incimage}" height="24px" width="24px" border="0" /></span>  
<span class="cstatus-body"> 
{if $rewritemod eq 2}
<a href="{$sitepath}/{$k.incuser}"><span class="linky">{$k.incuser}</span></a>
{/if}
{if $rewritemod eq 1}
<a href="{$sitepath}/profile.php?cid={$k.incuser}"><span class="linky">{$k.incuser}</span></a>
{/if}
<br />
<span class="centry-content">
{if $rewritemod eq 2}
{$k.inctext|bbcode2html|stripslashes|intergrate:$sitepath|regex_replace:"/[\r]/":"<br />"}
{/if}
{if $rewritemod eq 1}
{$k.inctext|bbcode2html|stripslashes|intergrates:$sitepath|regex_replace:"/[\r]/":"<br />"}
{/if}
</span>
<div id="timeand">{#timeabout#} {$k.incdate|timeAgo} {#mainago#}, {$k.incdate|date_format:"%A, %B %e, %Y, %H:%M:%S"} - </font>
</div>
</span>
</span>
{/if}
{/foreach}
</li>
{foreachelse}
<div style="line-height:58px;">No entries found</div>
{/foreach}
<li id="paginate">{#pagesforum#}: {$paginate.first} - {$paginate.last} of {$paginate.total}. {paginate_prev} {paginate_next}</li>
</div>
</div>
<div id="righty">
<div id="intro">
{if $adsoffon eq 2}
<center>
{$sensedown}
</center>
{/if}
</div>
<div id="intro">
</div>
<br />
</div>
</div></div>
Return current item: phpBlogger