# Approval/Upgrade/Denial Template Variables

*Article Topics:* [*Sites*](/getting-started/common-topics/sites.md)*,* [*Customization*](/getting-started/common-topics/customization.md)

## Approval/Denial Template Variables

The following is the a of template variables that are available on the "page\_approval" and "page\_denial" templates for your site which can be found in the [Sites Admin](/nats-admin/sites/site-templates.md). These templates are displayed to surfers upon successful/failed signups only if you have not specified an Approval URL/Denial URL for the tour. Please also keep in mind that these variables may differ from what is available on your installation depending on your version. To see a full list for your specific version, you can use the smarty {debug} tool to see the full list of available smarty template variables.

### Member

* {$member.memberid}
* {$member.identid}
* {$member.loginid}
* {$member.networkid}
* {$member.refurl\_lookup\_id}
* {$member.status}
* {$member.trial}
* {$member.joined}
* {$member.expired}
* {$member.last\_login}
* {$member.stamp}
* {$member.siteid}
* {$member.username}
* {$member.password}
* {$member.cryptpass}
* {$member.ip}
* {$member.email}
* {$member.session}
* {$member.mailok}
* {$member.flat\_price}
* {$member.first\_login}
* {$member.third\_party\_partner\_id}
* {$member.cascadeid}
* {$member.cascade\_item\_id}
* {$member.token}
* {$member.original\_username}
* {$member.renamed}
* {$member.marked}
* {$member.max\_password\_display\_time}
* {$member.member\_subscription\_id}
* {$member.memberidx}
* {$member.billerid}
* {$member.statid}
* {$member.cost}
* {$member.cost\_charge}
* {$member.spent}
* {$member.refunded}
* {$member.charges}
* {$member.next\_rebill}
* {$member.optionid}
* {$member.rebills}
* {$member.active}
* {$member.expires}
* {$member.nats\_expires}
* {$member.biller\_expires}
* {$member.original\_optionid}
* {$member.created\_date}
* {$member.loginid\_assigned}
* {$member.identid\_assigned}
* {$member.passthrough1}
* {$member.passthrough2}
* {$member.passthrough3}
* {$member.passthrough4}
* {$member.passthrough5}
* {$member.defaulted\_optionid}
* {$member.forced\_optionid}
* {$member.member\_identid}
* {$member.member\_loginid}
* {$member.firstname}
* {$member.lastname}
* {$member.address1}
* {$member.address2}
* {$member.zip}
* {$member.city}
* {$member.country}
* {$member.state}
* {$member.shipping\_firstname}
* {$member.shipping\_lastname}
* {$member.shipping\_address1}
* {$member.shipping\_address2}
* {$member.shipping\_zip}
* {$member.shipping\_city}
* {$member.shipping\_country}
* {$member.shipping\_state}
* {$member.phone}
* {$member.xsell\_success}
* {$member.xsell\_message}
* {$member.custom1}
* {$member.custom2}
* {$member.custom3}
* {$member.custom4}
* {$member.custom5}
* {$member.last\_modified}
* {$member.campaignid}
* {$member.programid}
* {$member.tourid}
* {$member.adtoolid}
* {$member.subid1}
* {$member.subid2}
* {$member.countryid}
* {$member.promotionalid}

### Site

* {$site.siteid}
* {$site.networkid}
* {$site.site}
* {$site.deleted}
* {$site.name}
* {$site.type}
* {$site.hidden}
* {$site.date\_added}
* {$site.date\_live}
* {$site.network}
* {$site.reuse\_active}
* {$site.no\_personal\_member\_info}
* {$site.mobile\_tour}
* {$site.site\_group\_id}
* {$site.featured}

### Option

* {$option.optionid}
* {$option.siteid}
* {$option.networkid}
* {$option.deleted}
* {$option.enabled}
* {$option.orderid}
* {$option.option\_type\_id}
* {$option.billerid}
* {$option.programid}
* {$option.legacy}
* {$option.biller\_details} - will be an array of the biller codes and settings for this option
* {$option.details.initial}
* {$option.details.initial\_days}
* {$option.details.rebill}
* {$option.details.rebill\_days}
* {$option.details.name}
* {$option.details.packageid}
* {$option.details.no\_old\_members}
* {$option.details.hidden}
* {$option.details.initial\_free}
* {$option.details.package\_upgrade\_allowed}
* {$option.details.enable\_global\_package\_upgrade}
* {$option.details.token\_rebuy\_allowed}
* {$option.details.ncr\_email}

### Transaction

* {$transaction.transaction\_id}
* {$transaction.identid}
* {$transaction.loginid}
* {$transaction.networkid}
* {$transaction.biller\_time}
* {$transaction.server\_time}
* {$transaction.biller\_transid}
* {$transaction.billerid}
* {$transaction.amount}
* {$transaction.biller\_amount}
* {$transaction.biller\_currency}
* {$transaction.exchange\_rate}
* {$transaction.trans\_type\_id}
* {$transaction.member\_subscription\_id}
* {$transaction.charges}
* {$transaction.charge\_deduct}
* {$transaction.process\_type}
* {$transaction.related\_transid}
* {$transaction.historical}
* {$transaction.retro\_payout}
* {$transaction.retrieval\_type}
* {$transaction.related\_trans\_type}
* {$transaction.taxes}
* {$transaction.taxes\_deduct}
* {$transaction.ptype}

## Upgrade Approval/Denial Template Variables

The "page\_upgrade\_approval" and "page\_upgrade\_denial" templates have the $member and $site template variables, but not the $option template variable.

## Related Articles

{% content-ref url="/pages/2rdaUZVGOjZn8B4q4BA4" %}
[Approval/Upgrade/Denial Variables](/nats-admin/sites/further-reading/approval-upgrade-denial-variables.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toomuchmedia.com/nats-admin/sites/further-reading/approval-upgrade-denial-template-variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
