footer.tpl 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {*
  2. **********************************************************
  3. * Developed by: Team Theme Metro
  4. * Website: http://www.thememetro.com
  5. **********************************************************
  6. *}
  7. {if $templatefile eq "pagebuilder" or $templatefile eq "homepage" or $pagetype eq "custom" or $templatefile eq "domainregister" or $templatefile eq "domaintransfer"}{else}
  8. </div><!-- /.main-content -->
  9. {if !$inShoppingCart && ($primarySidebar->hasChildren() || $secondarySidebar->hasChildren()) && $templatefile !== 'clientregister' || $templatefile == "affiliates"}
  10. <div class="col-xl-3 d-none d-xl-block">
  11. <div class="sidebar sidebar-primary{if $themesettings.clientarea.sidebars == "1"} default{/if}">
  12. {include file="$template/includes/sidebar.tpl" sidebar=$primarySidebar}
  13. {include file="$template/core/includes/sidebar-primary-custom.tpl" sidebar=$primarySidebar}
  14. </div>
  15. {if !$inShoppingCart && $secondarySidebar->hasChildren()}
  16. <div class="d-none d-lg-block sidebar sidebar-secondary{if $themesettings.clientarea.sidebars == "1"} default{/if}">
  17. {include file="$template/core/includes/sidebar-secondary-custom.tpl"}
  18. {include file="$template/includes/sidebar.tpl" sidebar=$secondarySidebar}
  19. {include file="$template/core/includes/sidebar-promo.tpl" sidebar=$secondarySidebar}
  20. </div>
  21. {/if}
  22. </div>
  23. {/if}
  24. {if !$inShoppingCart && $secondarySidebar->hasChildren()}
  25. {if $templatefile !== 'clientregister'}
  26. <div class="d-xl-none col-xl-3 mt-4 sidebar sidebar-secondary{if $themesettings.clientarea.sidebars == "1"} default{/if}">
  27. {include file="$template/core/includes/sidebar-secondary-custom.tpl"}
  28. {include file="$template/includes/sidebar.tpl" sidebar=$secondarySidebar}
  29. {include file="$template/core/includes/sidebar-promo.tpl" sidebar=$secondarySidebar}
  30. </div>
  31. {/if}
  32. {/if}
  33. <div class="clearfix"></div>
  34. </div>
  35. </div>
  36. </div>
  37. </section>
  38. {/if}
  39. <!--Footer-->
  40. {include file="$template/core/includes/global-footer.tpl"}
  41. <!--End Footer-->
  42. </div>
  43. <script>
  44. {if $loggedin}
  45. {if $pagetitle eq $LANG.clientareatitle && ($smarty.get.action eq "changepw" || $smarty.get.action eq "contacts" || $smarty.get.action eq "emails" || $smarty.get.action eq "security" || $smarty.get.action eq "details" || $smarty.get.action eq "security") or $templatefile == "clientareahome"}
  46. $('.Secondary_Navbar-Account').addClass('open');
  47. {/if}
  48. {/if}
  49. {if $loggedin}
  50. {if $templatefile eq "configureproductdomain" || $templatefile eq "configureproduct" || $templatefile eq "viewcart" || $templatefile eq "checkout" || $templatefile eq "complete" || $templatefile eq "products" || $filename eq "cart" & $smarty.get.gid eq "addons" || $pagetitle eq $LANG.clientareatitle && ($smarty.get.action eq "products" || $smarty.get.action eq "productdetails" || $smarty.get.action eq "services" || $smarty.get.action eq "cancel" || $templatefile eq "clientareahome")}
  51. $('.Primary_Navbar-Services').addClass('open');
  52. {/if}
  53. {/if}
  54. {if $condlinks.domainreg || $condlinks.domaintrans}
  55. {if $templatefile eq "configuredomains" || $templatefile eq "domain-renewals" || $templatefile eq "domain-pricing" || $filename eq "cart" & $smarty.get.domain eq "register" || $filename eq "cart" & $smarty.get.domain eq "transfer" || $filename eq "cart" & $smarty.get.gid eq "renewals" || $pagetitle eq $LANG.clientareatitle && ($smarty.get.action eq "domains" || $smarty.get.action eq "domaindetails" || $smarty.get.action eq "domainaddons" || $smarty.get.action eq "domaincontacts" || $smarty.get.action eq "domainregisterns" || $smarty.get.action eq "domaingetepp")}
  56. $('.Primary_Navbar-Domains').addClass('open');
  57. {/if}
  58. {/if}
  59. {if $loggedin}
  60. {if $pagetitle eq $LANG.clientareatitle && ($smarty.get.action eq "invoices" || $smarty.get.action eq "addfunds" || $smarty.get.action eq "masspay" || $smarty.get.action eq "creditcard" || $smarty.get.action eq "quotes")}
  61. $('.Primary_Navbar-Billing').addClass('open');
  62. {/if}
  63. {if $templatefile eq "viewinvoice" || $templatefile eq "viewquote" || $filename eq "affiliates"}
  64. $('.Primary_Navbar-Billing').addClass('open');
  65. {/if}
  66. {/if}
  67. {if $templatefile eq "downloads" || $templatefile eq "downloadscat" || $templatefile eq "downloaddenied" || $templatefile eq "announcements" || $templatefile eq "viewannouncement" || $templatefile eq "knowledgebase" || $templatefile eq "knowledgebasearticle" || $templatefile eq "knowledgebasecat" || $filename eq "submitticket" || $filename eq "supporttickets" || $filename eq "viewticket" || $filename eq "knowledgebase" || $filename eq "downloads" || $filename eq "serverstatus"}
  68. $('.Primary_Navbar-Support').addClass('open');
  69. {/if}
  70. {if $loggedin}
  71. {if $templatefile eq "managessl" || $skipMainBodyContainer}
  72. $('.Primary_Navbar-Website_Security').addClass('open');
  73. {/if}
  74. {/if}
  75. {if $pagebuilder || $templatefile eq "managessl" || $skipMainBodyContainer}
  76. $('.Primary_Navbar-Services').addClass('open');
  77. {/if}
  78. {if $templatefile eq "homepage"}
  79. $('.Primary_Navbar-Services').addClass('open');
  80. {/if}
  81. </script>