Jump to content

Include smarty in .php


ihab2me

Recommended Posts

Hello ,

 

Can anyone tell me how to include smarty in .php file?

 

I wanna include this code in a .php file

 

{if $loggedin}<a href="clientarea.php?action=details" title="{$LANG.clientareanavdetails}"><strong>{$LANG.clientareanavdetails}</strong></a><a href="logout.php" title="Logout"><strong>{$LANG.logouttitle}</strong></a>{else} {$LANG.please} <a href="clientarea.php" title="{$LANG.loginbutton}"><strong>{$LANG.loginbutton}</strong></a>{$LANG.or} <a href="register.php" title="{$LANG.clientregistertitle}"><strong>{$LANG.clientregistertitle}</strong></a>{/if}

 

Take in consideration that the whmcs located at "subdomain.mysite.com" while the .php file located at "mysite.com"

 

waiting for a kind reply :)

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