Jump to content

Changing content using url if statement


bytedisorder

Recommended Posts

I have a few pages that are use the encoded domainchecker.php file, since I cant change the template file I want these pages to display different content based on the visitors url.

 

	<div class="textcenter"><h3>{if $href eq "https://www.bitronictech.net/buy-domains-bitcoin.php"}Domain Names from only 1 BTC a year!{else}{$LANG.domainuniques}{/if}</h3></div>
   <p>{$LANG.domaincheckerenterdomain}</p>

 

I dont have the right code here, but how do I specify the url in the if statement correctly?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated