andersbirkenstam
04-01-07, 09:56 AM
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
<?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