Location: PHPKode > scripts > Ja2BU > themes/default/article.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">
<head>
{config_load file="languages/lang_$langs.conf"}
<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 href="scripts/prettify.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="themes/{$themes}/styles/basic.css" />
<link rel="stylesheet" type="text/css" href="themes/{$themes}/styles/article.css" />
<link rel="alternate" type="application/atom+xml" title="{$sitetitle} - RSS" href="{$sitepath}/rss.php" />
<title>{if $bloginc eq true}{section name="article" loop=$article}{$article[article].btexty|stripslashes} - {$sitetitle}{sectionelse}{$sitetitle}{/section}{else}404{/if}</title>
<script type="text/javascript" src="scripts/prettify.js"></script>
<script type='text/javascript' src='scripts/jquery-1.5.1.min.js'></script>
<script type="text/javascript" src="scripts/jquery-ui-1.8.2.custom.min.js"></script>
<script type="text/javascript" src="scripts/pirobox_extended.js"></script>
<script type="text/javascript" src="scripts/piro.js"></script>
<script type="text/javascript" src="scripts/vote.js"></script>
<script type="text/javascript" src="scripts/votes.js"></script>
<script type="text/javascript" src="editor/ed.js"></script>
<script type="text/javascript" src="scripts/slide.js"></script>
</head> 
<body onload="prettyPrint()">
<div id="wrapper">
{include file="themes/$themes/maindir.php"}
<div id="content">
<div id="blanks">
<div id="leftblock">
{section name="article" loop=$article}
<div id="cycle">
<div style="width:730px;float:left;">
{assign var="name" value=$article[article].blogid}
<div id="cycle-b">
<div class="myBox">
<span class='votes_count' id='votes_count{$article[article].blogid}'>
<div>{math equation="x - y" x={$article[article].total_rating} y={$article[article].total_ratings}}</div>
</span>
</div>
<div class="tBox">
<span class='vote_buttons' id='vote_buttons{$article[article].blogid}'>
{nocache}
{if $smarty.session.loggedin|default eq true}
{/nocache}
<a href='javascript:;' class='vote_up' id='{$name}'>
{nocache}
{else}
{/nocache}
<a href="login.php?ref={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"  rel="content-380-448" class="pirobox_gall" id='login_up'></a>
{nocache}
{/if}
{/nocache}
</a>
{nocache}
{if $smarty.session.loggedin|default eq true}
{/nocache}
<a href='javascript:;' class='vote_down' id='{$name}'>
{nocache}
{else}
{/nocache}
<a href="login.php?ref={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"  rel="content-380-448" class="pirobox_gall" id='login_down'></a>
{nocache}
{/if}
{/nocache}
</a>
</span>
</div>
</div>
<div id="cycle-c">
{if $article[article].buserid neq '0'}
<a href="profile.php?id={$article[article].buser}" title="{$article[article].buser}">
{if $article[article].bimgs neq '0'}
<img class="thumb" src="minthumb/{$article[article].bimgs}" alt="{$article[article].buser}" width="25px" height="25px" border="0px" />
{else}
<img class="thumb" src="themes/{$themes}/styles/images/noavatar25.png" alt="{$article[article].buser}" width="25px" height="25px" border="0px" />
{/if}
</a>
{else}
<img class="thumb" src="minthumb/{$article[article].bimgs}" width="25px" height="25px" border="0px" />
{/if}
</div>
<div id="cycle-d">
<div class="myviewBox">
{$article[article].commno}
</div>
<div class="tviewBox">
{#answers#}
</div>
</div>
<div id="cycle-e">
<div class="myviewBox">
{$article[article].views}
</div>
<div class="tviewBox">
{#view#}
</div>
</div>
<div id="cycle-f">
<div id="cycle-g">
{if $rewritemod == 1}
<a class="ha4" href="{$article[article].univer}-{$article[article].bhelper}.html">{$article[article].btexty|stripslashes|truncate:128}</a>
{/if}
{if $rewritemod == 2}
<a class="ha4" href="article.php?name={$article[article].univer}">{$article[article].btexty|stripslashes|truncate:128}</a>
{/if}
</div>
</div>
</div>
<div style="float:left;width:730px;margin-bottom:10px;padding:1px;background:#f8f8f8;">
{if $article[article].buserid neq '0'}
<a href="profile.php?id={$article[article].buser}" title="{$article[article].buser}">{$article[article].buser}</a> {#on#} {$article[article].bdate|date_format:"%a, %b %e, %Y, %H:%M:%S"}, {$article[article].bdate|timeAgo} {#ago#},
{else}
{$article[article].buser} {#on#} {$article[article].bdate|date_format:"%a, %b %e, %Y, %H:%M:%S"}, {$article[article].bdate|timeAgo} {#ago#},
{/if}
{#postedin#}&nbsp;{if $article[article].main eq '1'}{#questions#}{/if}{if $article[article].main eq '2'}{#snippets#}{/if}
</div>
<div style="float:left;width:730px;margin-bottom:10px;">
{$article[article].bamess|intergrate:$sitepath|stripslashes|bbcode2html|nl2br}
</div>
<div style="clear:both"></div>





<div id="icons">
&nbsp;<a title="submit to Twitter" href="http://twitter.com" onclick="window.open('http://twitter.com/home?status=Currently reading'+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;"><img src="{$sitepath}/themes/{$themes}/styles/images/twitter.png" border="0" width="16px" height="16px" /></a>
&nbsp;<a title="submit to Stumbleupon" href="http://www.stumbleupon.com" onclick="window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title));return false;"><img src="{$sitepath}/themes/{$themes}/styles/images/stumbleupon.png" border="0" width="16px" height="16px" /></a>
&nbsp;<a title="submit to Del.icio.us" href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=2&amp;url='+encodeURIComponent(location.href)+'&amp;notes=&amp;title='+encodeURIComponent(document.title));return false;"><img src="{$sitepath}/themes/{$themes}/styles/images/delicious.png" border="0" width="16px" height="16px" /></a>
&nbsp;<a title="submit to Facebook" href="http://www.facebook.com"  onclick="window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(location.href)+'&amp;t='+encodeURIComponent(document.title));return false;"><img src="{$sitepath}/themes/{$themes}/styles/images/facebook.png" border="0" width="16px" height="16px" /></a>
&nbsp;<a title="submit to Technorati" href="http://www.technorati.com" onclick="window.open('http://www.technorati.com/faves?add='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;"><img src="{$sitepath}/themes/{$themes}/styles/images/technorati.png" border="0" width="16px" height="16px" /></a>
&nbsp;<a title="submit to Digg" href="http://digg.com"  onclick="window.open('http://digg.com/submit?phase=2&amp;url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title));return false;"><img src="{$sitepath}/themes/{$themes}/styles/images/digg.png" border="0" width="16px" height="16px" /></a>
&nbsp;<a title="submit to yahoo" href="http://myweb2.search.yahoo.com" onclick="window.open('http://myweb2.search.yahoo.com/myreviews/bookmarklet?u='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title));return false;"><img src="{$sitepath}/themes/{$themes}/styles/images/yahoo.png" border="0" width="16px" height="16px" /></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="{$sitepath}/print.php?name={$article[article].univer}" title="{#print#}" target="_blank"><img src="{$sitepath}/themes/{$themes}/styles/images/print.png" border="0" width="16px" height="16px" /></a>
&nbsp;&nbsp;<a href="tella.php?id={$sitepath}/article.php?name={$article[article].univer}" title="{#sendto#}" rel="content-322-335" class="pirobox_gall1"><img src="themes/{$themes}/styles/images/send.png" border="0" width="16px" height="16px"></a>
{nocache}{if $smarty.session.logged_in|default eq true}{/nocache}<a href="admin/editarticle.php?id={$article[article].blogid}">
{nocache}&nbsp;&nbsp;<img src="themes/{$themes}/styles/images/editnews.png" title="Edit" border="0" width="16px" height="16px" /></a>{/if}{/nocache}
</div>







{if $bloginc eq true}
<div id="tab">{$article[article].commno} {#answers#}</div>
<div id="comments">
{foreach from=$reviews item=firstsub}
{assign var="mainrev" value=$firstsub.idrev}
{assign var="cname" value=$firstsub.revid}
{if $firstsub.idrev neq true}
<div class="featurecat">
<div id="incline">
<div class="vbutton">
<div class="myBox">
<span class='cvotes_count' id='cvotes_count{$cname}'>
<div>{math equation="x - y" x={$firstsub.revrating} y={$firstsub.revratings}}</div>
</span>
</div>
<div class="tBox">
<span class='cvote_buttons' id='cvote_buttons{$cname}'>
{nocache}
{if $smarty.session.loggedin|default eq true}
{/nocache}
<a href='javascript:;' class='cvote_up' id='{$cname}'>
{nocache}
{else}
{/nocache}
<a href="login.php?ref={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"  rel="content-380-458" class="pirobox_gall" id='login_up'></a>
{nocache}
{/if}
{/nocache}
</a>
{nocache}
{if $smarty.session.loggedin|default eq true}
{/nocache}
<a href='javascript:;' class='cvote_down' id='{$cname}'>
{nocache}
{else}
{/nocache}
<a href="login.php?ref={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"  rel="content-380-458" class="pirobox_gall" id='login_down'></a>
{nocache}
{/if}
{/nocache}
</a>  
</span>
</div>
</div>
{if $firstsub.comimage neq '0'}
<img src="{$sitepath}/minthumb/{$firstsub.comimage}" alt="{$firstsub.comenter}" height="25px" width="25px" border="0" />
{else}
<img src="themes/{$themes}/styles/images/noavatar25.png"}" alt="{$firstsub.comenter}" width="25px" height="25px" border="0" />
{/if}
<a href="profile.php?id={$firstsub.comenter}"><span class="ha3">{$firstsub.comenter}</span></a>
<br />
<span class="smally">
<span class="docy">&nbsp;</span>{$firstsub.cdate|timeAgo}&nbsp;{#ago#}&nbsp;{#via#}&nbsp;{$firstsub.comenter|truncate:22}&nbsp;&nbsp;
<span class="time">&nbsp;</span>{$firstsub.cdate|date_format:"%A, %B %e, %Y"}&nbsp;&nbsp;
</span>
</div>
{$firstsub.ctexte|intergrate:$sitepath|stripslashes|bbcode2html|nl2br}
<br />
<div>
{nocache}
{if $smarty.session.loggedin|default eq true}
{/nocache}
&nbsp;&nbsp;&nbsp;<span class="comment">&nbsp;</span><a href="#" id="slidecontrol_{$cname}" class="slidecontrol">{#reply#}</a>
{nocache}
{/if}
{/nocache}
</div>
{foreach from=$reviews item=secsub}
{if $secsub.idrev eq true && $secsub.idrev eq $firstsub.revid}
<div id="replyto" style="background:{cycle values="#FFFFFF,#FAFAFA"}">
<a href="profile.php?id={$secsub.comenter}"><strong>{$secsub.comenter}</strong></a>
{$secsub.ctexte|stripslashes}
<br />
{$secsub.cdate|date_format:"%A, %B %e, %Y"}
</div>
{/if}
{/foreach}
<div id="slidedisplay_{$firstsub.revid}" style="display:none;">
<form name="cform" method="post" action="review.php">
&nbsp;{#reply#}:<br />
<input type="hidden" name="comrev" value="{$incname}">
<input type="hidden" name="idrev" value="{$firstsub.revid}">
<input type="hidden" name="main" value="0">
<input type="hidden" name="ccuid" value="{$kori}">
<input type="hidden" name="incing" value="{$usercc}{$incname}">
<input type="hidden" name="newimg" value="{$thumbs}">
<input type="hidden" name="text" value="{$usercc}">
<input type="hidden" name="chelper" value="{$similar}">
<textarea name="text1" rows="3" cols="50" id="secondfield"></textarea><br /><br />
<input type="submit" class="buton" name="submit" value="Submit">
</form>
</div>
</div>
{/if}
{foreachelse}
<div id="info">&#187; {#noreview#}</div>
{/foreach}
</div>
<div>
{if $incname eq true}
{nocache}{if $smarty.session.loggedin|default eq true}{/nocache}
{nocache}{include file="themes/$themes/form.php"}{/nocache}
{nocache}{else}{/nocache}
<a href="signin.php?return={$incname}">&#187; {#mustbe#}</a>
{nocache}{/if}{/nocache}
{/if}
</div>
{/if}
</div>
{sectionelse}

{/section}




</div>
<div id="rightblock">
{if $adsoffon eq 2}
<div id="blockd">
<div id="blockhead">{#sponsor#}</div>
{$senseup}
</div>
{/if}
<div id="blocked">
<div id="blockhead">{#trends#}</div>
{foreach from=$article item=m}
{assign var="tags" value=$m.tags} 
{assign var="link" value=","|explode:$tags} 
{section name=i loop=$link}
<div id="hashtags"><a href="tagged.php?qa={$link[i]|escape|replace:" ":"+"}">{$link[i]|escape}</a></div>
{sectionelse}
{/section}
{/foreach}
</div>
{if $bloginc eq true}
<div id="blockd">
<div id="blockhead">{#related#}</div>
{section name="onewse" loop=$onewse}
<div id="ha5">
{if $onewse[onewse].omages neq 0}
{if $rewritemod == 1}
<a href="{$onewse[onewse].oniver}-{$onewse[onewse].ohelper}.html">
{/if}
{if $rewritemod == 2}
<a href="article.php?name={$onewse[onewse].oniver}">
{/if}
<img src="minthumb/{$onewse[onewse].omages}" alt="{$onewse[onewse].otexty}" width="48" height="48" border="0" /></a>
{/if}
{if $rewritemod == 1}
<div class="ha3"><span class="circle">&nbsp;</span><a href="{$onewse[onewse].oniver}-{$onewse[onewse].ohelper}.html"><span class="ha3">{$onewse[onewse].otexty|stripslashes|truncate:98}</span></a></div>
{/if}
{if $rewritemod == 2}
<div class="ha3"><span class="circle">&nbsp;</span><a href="article.php?name={$onewse[onewse].oniver}"><span class="ha3">{$onewse[onewse].otexty|stripslashes|truncate:98}</span></a></div>
{/if}
{$onewse[onewse].oamess|stripslashes|wordwrap:29:"\n":true|truncate:180}
</div>
{sectionelse}
{#norelated#}
{/section}
</div>
{/if}
</div>
</div>
<div id="beforefooter"></div>
</div>
Return current item: Ja2BU