Location: PHPKode > projects > php Blogger > 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 rel="alternate" type="application/atom+xml" title="{$sitetitle}" href="{$sitepath}/rss.php" />
<title>{$sitetitle} - Microblogging Service</title>
<meta name="description" content="Social networking and microblogging. Share Your Opinions." />
{if $smarty.session.logged_in|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.explode.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">
$(function() {
function runEffect() {
var selectedEffect = 'explode';
var options = {};
$( "#effect" ).hide( selectedEffect, options, 1000, callback );
};
function callback() {
setTimeout(function() {
$( "#effect" ).removeAttr( "style" ).hide().slideDown();
}, 2800 );
};
$("#start").click(function() {
runEffect();
return false;
});
});
</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){
$("#loadName").html(data).slideDown("slow");
$("#update").fadeIn("slow");
$('#amess').val('');
$('#amess').focus();
});
});
});
</script>
{/nocache}
{/if}
</head>
<body>
<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.logged_in|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="loadName">
{foreach from=$comment 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}/maxthumb/{$m.imgs}" height="50px" width="50px" 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">
{$m.amess|intergrate}
</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 $smarty.session.CC_MODER|default eq true}&nbsp;-&nbsp;<a href="admin/delete.php?id={$m.commid}&ref=1" target="_blank">Delete</a>{/if}
{/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="25px" width="25px" 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">
{$k.inctext|intergrate}
</span>
<div id="timeand">{#timeabout#} {$k.incdate|timeAgo} {#mainago#}, {$k.incdate|date_format:"%A, %B %e, %Y, %H:%M:%S"}{if $smarty.session.CC_MODER|default eq true}&nbsp;-&nbsp;<a href="admin/delete.php?id={$k.revid}&ref=2" target="_blank">Delete</a>{/if}
</div>
</span>
</span>
{/if}
{/foreach}
</li>
{foreachelse}
<div style="line-height:58px;">No entries found</div>
{/foreach}
<li id="paginate">{#pagesforum#}: {if !empty($comment)} {if !empty($pagination)} {$pagination} {/if} {/if}</li>
</div>
</div>
<div id="righty">
<div id="intro">
<div id="introhead">{#onlinetopic#}</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}/maxthumb/{$users[users].thumbs}" title="{$users[users].username}" alt="{$users[users].username}" height="50px" width="50px" border="0"></a>
{/if}
{if $rewritemod eq 1}
<a href="{$sitepath}/profile.php?cid={$users[users].username}"><img class="cimm" src="{$sitepath}/maxthumb/{$users[users].thumbs}" title="{$users[users].username}" alt="{$users[users].username}" height="50px" width="50px" border="0"></a>
{/if}
{/if}
{if $users[users].nofposts eq 0}
<img class="cimm" src="{$sitepath}/maxthumb/{$users[users].thumbs}" title="{$users[users].username}" alt="{$users[users].username}" height="50px" width="50px" border="0">
{/if}
{/section}
</div>
<div id="intro">
{if $adsoffon eq 2}
<center>
{$sensedown}
</center>
{/if}
</li>
</div>
</div></div></div></div>
Return current item: php Blogger