Location: PHPKode > projects > JakCMS > JAKCMS_PRO_2_2_6/upload/template/jakcms/photo.html
{include="header"}
		<div id="content">
		<div id="content_final">
		<?php if ($JAK_PRINTME || $JAK_ASACCESS) { ?>
		<div class="moderate">
		<?php } ?>
		<?php if ($JAK_ASACCESS) { ?>
		<a class="admincp" href="{$BASE_URL}admin/index.php?p=gallery&sp=edit&id={$PAGE_ID}" title="{$tl.general.g}">&nbsp;</a>
		<?php } ?>
		<?php if ($JAK_PRINTME) { ?>
		<a id="jakprint" class="printme" href="#">&nbsp;</a>
		<?php } ?>
		<?php if ($JAK_PRINTME || $JAK_ASACCESS) { ?>
		</div>
		<?php } ?>
		<?php if ($PAGE_ACTIVE) { ?>
		<div class="status-failure">{$tl.errorpage.ep}</div>
		<?php } ?>
		<?php if ($JAK_GET_ADS && $JAK_GET_ADS_ACONT) { ?>
		<!-- ADS -->
		<div class="contentads">{$JAK_GET_ADS_ACONT}</div>
		<?php } ?>
		<a id="{$tl.link.l18}"></a>
		<?php if ($PAGE_TITLE) { ?><h1>{$PAGE_TITLE}</h1><?php } ?>
		<?php if ($PAGE_SHOWDATE) { ?><span class="showdate">{$tl.general.g85}{$PAGE_TIME}</span><?php } ?>
		<div id="printdiv" style="text-align:center;margin-top:10px"><img src="{$BASE_URL}{$JAK_GUPLOAD_PATH}{$JAK_PHOTO_BIG}" alt="{$v.imagename}" /></div>
		<div class="clear"></div>
		<div class="infobox-art">
		<div class="left">
		<?php if ($JAK_MODULE) { ?>
		<p><strong>{$tl.general.g21}</strong> <span id="jakratecaption"></span></p>
		<div id="ratecontainer">
		<form id="jakrat" action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
			<?php if (isset($JAK_RATELIST) && is_array($JAK_RATELIST)) foreach($JAK_RATELIST as $key => $r) { ?>
				<input type="radio" name="rate" value="{$key}" title="{$r}"<?php if ($key == $JAK_VOTE_STAR) { ?> checked="checked"<?php } if ($JAK_RATE_DONE) { ?> disabled<?php } ?> />
			<?php } ?>
			<?php if (!$JAK_RATE_DONE) { ?>
				<input type="submit" class="editorbutton" value="{$tl.rate.r7}" />
			<?php } ?>
				<input type="hidden" name="pageid" value="{$PAGE_ID}" />
				<input type="hidden" name="typem" value="{$JAK_MODULE}" />
		</form>
		<div id="loader">{$tl.rate.r5}</div>
		</div>
		<div>
			{$tl.rate.r8} <span id="currentv">{$JAK_VOTERESULT}</span>/<strong>5</strong>
			(<span id="votes">{$JAK_TOTALVOTE}</span> {$tl.rate.r6})
		</div>
		<?php } ?>
		</div>
		<div class="right">
		<?php if ($JAK_TAGLIST && $JAK_USER_TAGS) { ?>
		<p><strong>{$tl.general.g14}</strong>{$JAK_TAGLIST}</p>
		<?php } ?>
		</div>
		</div>
		<div class="clear"></div>
		<div class="fnp">
		 <?php if ($JAK_NAV_NEXT) { ?> <a href="{$BASE_URL}{$JAK_NAV_NEXT}{$tl.link.l19}"><img src="{$BASE_URL}template/{$JAK_TEMPLATE}/img/previcon.png" alt="prev" /> {$JAK_NAV_NEXT_TITLE}</a><?php } if ($JAK_NAV_NEXT && $JAK_NAV_PREV) { ?> :: <?php } if ($JAK_NAV_PREV) { ?><a href="{$BASE_URL}{$JAK_NAV_PREV}{$tl.link.l19}">{$JAK_NAV_PREV_TITLE} <img src="{$BASE_URL}template/{$JAK_TEMPLATE}/img/nexticon.png" alt="next" /></a><?php } ?>
		</div>
		<?php if ($JAK_GET_ADS && $JAK_GET_ADS_BCONT) { ?>
		<!-- ADS -->
		<div class="cbads">{$JAK_GET_ADS_BCONT}</div>
		<?php } ?>
		
		<!-- Load Comments if exist -->
		<?php if ($JAK_COMMENTS) { ?>
		<h2>({$JAK_COMMENTS_TOTAL}) {$tl.general.g89}</h2>
		<div class="comments">
		<ol>
		<?php } ?>
		<?php if (isset($JAK_COMMENTS) && is_array($JAK_COMMENTS)) foreach($JAK_COMMENTS as $v) { ?>
		<li>
		<div class="avatar">
		<?php if ($v["picture"]) { if ($v["userid"] != 0) { ?><a href="{$BASE_URL}{$v.parseurl}"><?php } ?><img src="<?php if ($v["localfile"] == 1) { ?>{$JAK_AVATARPATH_BASE}<?php } ?>{$v.picture}" alt="{$v.name}" /><?php } else { ?><img src="{$JAK_AVATARPATH_BASE}/standard_s.png" alt="pic" /><?php if ($v["userid"] != 0) { ?></a><?php } } ?>
		</div>
		<div class="<?php if (!$v["isam"]) { ?>comment<?php } else if ($v["isam"] == '2') { ?>commentm<?php } else { ?>commenta<?php } ?>">
		<h5><?php if ($v["userid"] != 0) { ?><a href="{$BASE_URL}{$v.parseurl}">{$v.name}</a><?php } else { ?>{$v.name}<?php } ?> <span>{$tl.general.g15}{$v.created}</span></h5>
		<?php if ($JAK_CUR_SESSION == $v["session"]) { ?>
		<div class="status-ok">{$tl.general.g167}</div>
		<?php } ?>
		{$v.message}
		<!-- Moderate Functions -->
		<?php if ($JAK_GALLERYPOSTDELETE && $v["userid"] == $JAK_USERID || $JAK_GALLERYMODERATE) { ?>
		<div class="moderate">
		<?php } ?>
		<?php if ($JAK_GALLERYMODERATE) { ?>
		<a class="pdelete" href="{$BASE_URL}{$v.parseurl1}" title="{$tl.general.g22}" onclick="if(!confirm('{$tl.general.del}'))return false;">&nbsp;</a>
		<?php } ?>
		<?php if ($JAK_GALLERYPOSTDELETE && $v["userid"] == $JAK_USERID || $JAK_GALLERYMODERATE) { ?>
		<a class="pedit" href="{$BASE_URL}{$v.parseurl2}" title="{$tl.general.g}">&nbsp;</a>
		<?php } ?>
		<?php if ($JAK_GALLERYPOSTDELETE && $v["userid"] == $JAK_USERID || $JAK_GALLERYMODERATE) { ?>
		<a class="ptrash" href="{$BASE_URL}{$v.parseurl3}" title="{$tl.general.g147}">&nbsp;</a>
		<?php } ?>
		<?php if ($JAK_GALLERYPOSTDELETE && $v["userid"] == $JAK_USERID || $JAK_GALLERYMODERATE) { ?>
		</div>
		<?php } ?>
		<div class="border"></div>
		  <div class="arrow"></div>
		</div>
		</li>
		<?php } ?>
		<?php if ($JAK_COMMENTS) { ?>
		</ol>
		</div>
		<?php } ?>
		
		<!-- Show Comment Editor if set so -->
		<?php if ($PAGE_SHOW_EDITOR) { ?>
		<div id="commContainer">
		<h2>{$tl.general.g16}</h2>
		{include="commentform"}
		</div>
		<?php } ?>
		
		</div>
		<div id="sidebar">
		{include="sidebar"}
		</div>
		</div><!-- #content -->
{include="footer"}
Return current item: JakCMS