Anders Posted April 1, 2007 Share Posted April 1, 2007 Hello, i ma using this code for integrate to my html site <?php require("dbconnect.php"); require("includes/functions.php"); $pagetitle = $_LANG['clientareatitle']; $pageicon = "images/support/clientarea.gif"; $breadcrumbnav=''.$_LANG['globalsystemname'].''; require("init.php"); if ($_SESSION['loggedinstatus']=="true") { # User is Logged In - put any code you like here } # Define the template filename to be used without the .tpl extension $templatefile = "domainchecker.php"; /* To assign variables in Smarty use the following syntax. $smarty->assign('variablename', $value); This can then be used as {$variablename} in the template */ include("display.php"); ?> you can see the result here project7.se/webbhotell/domainchecker.php?setlanguage=true as you can see is not working properly i cant see the domaincheck things, if i upload the php file without html it works. any ides what i am doing wrong? Warm regards Anders 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted April 1, 2007 WHMCS CEO Share Posted April 1, 2007 I am not sure what your question is here? The above code is for creating your own page. You certainly can't add this into one of the existing WHMCS pages! Matt 0 Quote Link to comment Share on other sites More sharing options...
Anders Posted April 1, 2007 Author Share Posted April 1, 2007 oh, i must have missunderstand so is not possible to intgrate to html pages as i have done? If not, could you integrate as you see here website: project7.se/webbhotell/ to my html site with your Integration Service? Warm Regards Anders 0 Quote Link to comment Share on other sites More sharing options...
Anders Posted April 2, 2007 Author Share Posted April 2, 2007 Matt, any news on my question? Warm Regards Anders 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted April 3, 2007 Share Posted April 3, 2007 Anders - what is it you are trying to acheive ? Your website (html) with the whmcs icons etc on the page ? Then you just add your html code to the various .tpl templates ... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.