Jump to content

Please help with customising my template!


sequencehost

Recommended Posts

Hello everyone,

 

I am trying to customise my template but my whmcs pages wont show up now. I have added my website style sheet to my whmcs style sheet. I have also added my code to the header.tlp and footer.tlp but now nothing shows up. Here is my code.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset={$charset}" />
<title>{$companyname} - {$pagetitle}{if $kbarticle.title} - {$kbarticle.title}{/if}</title>
{if $systemurl}<base href="{$systemurl}" />
{/if}<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="includes/jscript/jquery.js"></script>
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="http://www.sequencehosting.com/favicon.ico" />
<link rel="shortcut Icon" href="http://www.sequencehosting.com/favicon.ico" />
<script src="rollover.js" type="text/javascript"></script>
</head>

<body  id="page8" onload="MM_preloadImages('images/m1-act.gif','images/m2-act.gif','images/m3-act.gif','images/m4-act.gif','images/m5-act.gif','images/m6-act.gif','images/m7-act.gif')">
<div class="tail-top">
 	<div class="tail-bottom">
   	<div class="main">
         	<div id="header">
      	  		<form action="" id="form"><div class="indent-1"><div class="container"><input class="input" type="text" value="Check domain name" /><select><option>.com</option></select><a href="#" onclick="document.getElementById('form1').submit()"><img alt="" src="images/button.png" class="alignMiddle" /></a></div></div></form>
               <a href="index.php"><img alt="" src="images/logo.png" class="logo" /></a><br />
<a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','images/m1-act.gif',1)"><img src="images/m1.gif" width="129" height="45" alt="" id="Image2" /></a><a href="shared-hosting.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images/m2-act.gif',1)"><img src="images/m2.gif" width="129" height="45" alt="" id="Image3" /></a><a href="domains.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','images/m3-act.gif',1)"><img src="images/m3.gif" width="129" height="45" alt="" id="Image4" /></a><a href="company.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/m4-act.gif',1)"><img src="images/m4.gif" width="129" height="45" alt="" id="Image5" /></a><a href="contact.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/m5-act.gif',1)"><img src="images/m5.gif" width="129" height="45" alt="" id="Image6" /></a><a href="support.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/m6-act.gif',1)"><img src="images/m6.gif" width="129" height="45" alt="" id="Image7" /></a><a href="clients.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','images/m7-act.gif',1)"><img src="images/m7.gif" width="127" height="45" alt="" id="Image8" /></a><br />
               <div class="indent">
               	<a href="shared-hosting.php"><img alt="" src="images/banner2.jpg" class="bunner" /></a>
                 <a href="shared-hosting.php"><img alt="" src="images/title1.png" /></a><br />
                 <a href="shared-hosting.php"><img alt="" src="images/title2.png" /></a><br />
<img alt="" src="images/title3.png" /><br />
<img alt="" src="images/title4.png" /><br />
<img alt="" src="images/title5.png" /><br />
                   <a href="shared-hosting.php"><img alt="" src="images/title6.png" class="title" /></a><a href="shared-hosting.php"><img alt="" src="images/title7.png" /></a><br />
               </div>
     		</div>
<div class="wrapper">

<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="announcements.php">{$LANG.announcementstitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>

<p>{if "templates/$template/images/$filename.png"|file_exists}<img src="templates/{$template}/images/{$filename}.png" align="right" alt="" />{/if}
<span class="heading">{$pagetitle}</span><br />
{$LANG.globalyouarehere}: {$breadcrumbnav}</p>

{if $loggedin}
<p align="center" class="clientarealinks"><a href="clientarea.php"><img src="images/clientarea.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareanavhome}</a><a href="clientarea.php?action=details"><img src="images/details.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareanavdetails}</a><a href="clientarea.php?action=products"><img src="images/products.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareaproducts}</a><a href="clientarea.php?action=domains"><img src="images/domains.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareanavdomains}</a><a href="clientarea.php?action=invoices"><img src="images/invoices.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.invoices}</a><a href="supporttickets.php"><img src="images/supporttickets.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareanavsupporttickets}</a><a href="affiliates.php"><img src="images/affiliates.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.affiliatestitle}</a><a href="clientarea.php?action=emails"><img src="images/emails.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareaemails}</a></p>
{/if}

 

header file.

 

<br class="clear" />
                   </div>
               </div>
           </div>	 
     		<div id="footer">
               <div class="indent-footer">Sequence Hosting © 2009<br /><a href="shared-hosting.php">Shared Hosting</a> | <a href="domains.php">Domains</a> | <a href="company.php">Company</a> | <a href="contact.php">Contact</a> | <a href="support.php">Support</a> | <a href="clients.php">Clients</a><br />

               <a href="privacy-policy.php">Privacy Policy</a> | <a href="terms-of-service.php">Terms Of Service</a> | <a href="acceptable-usage-policy.php">Acceptable Usage Policy</a></div>
           </div>
        </div>
    </div>
</div>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7437954-5");
pageTracker._trackPageview();
} catch(err) {}</script>

</body>
</html>

 

footer file.

 

Any help will be much appretiated!

 

Thanks everyone

Link to comment
Share on other sites

For starters try replace :

 

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7437954-5");
pageTracker._trackPageview();
} catch(err) {}</script>

 

 

WITH

 

{literal}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7437954-5");
pageTracker._trackPageview();
} catch(err) {}</script>
{/literal}

 

See if the page shows something!

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