How to check URL value in Nitroll sell Portal?

I’ve the following URL

http://store.xxx.co.uk/store/search.asp?themefield=product_theme&theme=Hartman%20Garden%20Furniture

In the CMS I want to specify some condition based on the theme parameter value from above URL. I even the checked the Nitroscript.pdf (provided by member of this forum) http://shop.historicnewengland.org/store/administration/downloads/Customizing%20Your%20WebStore%20with%20NitroScript.pdf but couldn’t find any details.

Basically I need to covert the following PHP code to NitroScript.

<?php if ($_GET["theme"]) { do the follow } <? Any help would be appreciated.

{if (product[‘product_theme’] eq ‘Hartman Garden Furniture’)}

This item is in the Hartman Garden Furniture Theme

{endif}

Hi Brian, thanks for your input. The script you depicted is only working within the product the loop. Eg:

{foreach product}
YOUR CODE
{endForEach}

I want to add some elements but not within the product loop that’s why I want to access the URL parameter value. Do you know how can I do that?

In-case if you say that there is no options apart from you referred above then, can I introduce custom boolean variables? eg:

{foreach product}
{if (product[‘product_theme’] eq ‘Hartman Garden Furniture’)}

{customProductAvailable= true}

{endif}
{endForEach}

{if(customProductAvailable)}
Then display new element
{endif}