Jump to content

Smarty used by developer please help


jayesh_akbari

Recommended Posts

Hello guys,

 

my developer run away from project and what he made are following in header.tpl file... can anyone explain me what it mean?

 

*New page style*}

{if $SCRIPT_NAME == "/Lisa-style-guid.php"

|| $SCRIPT_NAME == "/index.php"

|| $SCRIPT_NAME == "/hosting.php"

|| $SCRIPT_NAME == "/styleguide.php"

|| $SCRIPT_NAME == "/reseller-fibre.php"

|| $SCRIPT_NAME == "/serverstatus.php"

|| $SCRIPT_NAME == "/live-chat.php"

|| $SCRIPT_NAME == "/about/legal.php"

|| $SCRIPT_NAME == "/about.php"

|| $SCRIPT_NAME == "/about/careers.php"

|| $SCRIPT_NAME == "/get-more-data.php"

|| $SCRIPT_NAME == "/concurrent-free-accounts.php"

|| $SCRIPT_NAME == "/clientvoip.php" && $loggedin eq false

|| $SCRIPT_NAME == "/clientrica.php" && $loggedin eq false

|| $SCRIPT_NAME == "/debitmandate.php" && $loggedin eq false

}

{assign var="isWaLisaPage" value= true}

 

 

{else}

 

 

{*All other older pages*}

{*Website static php pages*}

{if $SCRIPT_NAME == "/announcementsrss.php"

|| $SCRIPT_NAME == "/banned.php"

|| $SCRIPT_NAME == "/fax-solutions.php"

|| $SCRIPT_NAME == "/midnight.php"

|| $SCRIPT_NAME == "/geodomain.php"

|| $SCRIPT_NAME == "/fibre/parkhurst.php"

|| $SCRIPT_NAME == "/fibre/parkhurst.php"

|| $SCRIPT_NAME == "/fibre/suburb.php"

|| $SCRIPT_NAME == "/web-design.php"

|| $SCRIPT_NAME == "/fibre-sub-new.php"

|| $SCRIPT_NAME == "/uncapped-lisa.php"

|| $SCRIPT_NAME == "/wa-elements.php"

|| $SCRIPT_NAME == "/web-design-v2.php"

}

{assign var="isWebsitePage" value=true}

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