Location: PHPKode > projects > phpBlogger > themes/classic/main.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/main.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" />
<link href="themes/{$themes}/styles/images/favicon.ico" type="image/x-icon" rel="shortcut icon" />
<title>{$sitetitle} - Microblogging Service</title>
<meta name="description" content="Social networking and microblogging. Share Your Opinions." />
{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" }, 300);
{literal}$("#loader").css({"visibility":"hidden"});{/literal}
$("#bues").show("slide", { direction: "down" }, 500);
$('#amess').val('');
$('#amess').focus();			
},1500);				
});
});
});
</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 class="columns">
<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="themes/classic/styles/images/36-1.gif"></div>
<div id="loadName">
{foreach from=$results item=m}
{if $adsoffon eq 2}
{if $hide@address.com == 2}
<li class="hentry">
{$senseup}
</li>
{/if}
{/if}
<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}]
{nocache}
{if $smarty.session.CC_MODER|default eq true}&nbsp;-&nbsp;{nocache}<a href="admin/delete.php?id={$m.commid}&ref=1" target="_blank">{/nocache}{nocache}<font color="blue">Delete</font>{/nocache}{nocache}</a>{/nocache}{/if}
{/nocache}
{/if}
{if $rewritemod eq 1}
<a href="{$sitepath}/post.php?id={$m.commid}">comments [{$m.nocomm}]</a> </font> - views: [{$m.views}]
{nocache}
{if $smarty.session.CC_MODER|default eq true}&nbsp;-&nbsp;<a href="admin/delete.php?id={$m.commid}&ref=1" target="_blank"><font color="blue">Delete</font></a>{/if}
{/nocache}
{/if}
</div>
</span>
{foreach from=$reviews item=k}
{if $m.commid == $k.comrev}
<span class="centry" style="background:{cycle values="#FAFAFA,#FFFFFF"}">
<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"}
{nocache}
{if $smarty.session.CC_MODER|default eq true}&nbsp;-&nbsp;<a href="admin/delete.php?id={$k.revid}&ref=2" target="_blank"><font color="blue">Delete</font></a>{/if}
{/nocache}
</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">
<div id="introhead">{#maintoday#}</div>
{section name="users" loop=$users}
{if $users[users].nofposts > 0}
{if $rewritemod eq 2}
<a href="{$sitepath}/{$users[users].username}"><img class="cimm" src="{$sitepath}/midthumb/{$users[users].thumbs}" title="{$users[users].username}" alt="{$users[users].username}" height="48px" width="48px" border="0"></a>
{/if}
{if $rewritemod eq 1}
<a href="{$sitepath}/profile.php?cid={$users[users].username}"><img class="cimm" src="{$sitepath}/midthumb/{$users[users].thumbs}" title="{$users[users].username}" alt="{$users[users].username}" height="48px" width="48px" border="0"></a>
{/if}
{/if}
{if $users[users].nofposts eq 0}
<img class="cimm" src="{$sitepath}/midthumb/{$users[users].thumbs}" title="{$users[users].username}" alt="{$users[users].username}" height="48px" width="48px" border="0">
{/if}
{/section}
</div>
{if $adsoffon eq 2}
<div id="intro">
<center>
{$sensedown}
</center>
</div>
{/if}
<div id="intro">
<div id="introhead">{#trends#}</div>
{section name="catags" loop=$catags}
<a href="{$sitepath}/tags.php?q={$catags[catags].hashtags|replace:"#":""}">{$catags[catags].hashtags}</a>
{/section}
</div>
</div></div></div></div>
Return current item: phpBlogger