Hi all I am using a joomla website with a live support section. The live support is by live zilla.
When you visit the site [url]www.pristine-it.ie
Have a look at the site using IE and flick back and forth through the menus and you will see what i mean.
Here is the code used to place the image and the code from the file that determins which image to show.
This is the code entered in to the joomla site.
<!– [url]http://www.LiveZilla.net[url]http://www.LiveZilla.net
This is the code to retrive the appreate image.
<?php
/****************************************************************************************
*
* All rights reserved.
*
* recommended to desist from editing this file.
define(“IN_LIVEZILLA”,true);
if(!defined(“LIVEZILLA_PATH”))
define(“LIVEZILLA_PATH”,”./”);
@set_time_limit(30);
require(LIVEZILLA_PATH . “_definitions/definitions.inc.php”);
require(LIVEZILLA_PATH . “
require(LIVEZILLA_PATH . “_lib/objects.global.users.inc.php”);
require(LIVEZILLA_PATH . “
require(LIVEZILLA_PATH . “_definitions/definitions.dynamic.inc.php”);
require(LIVEZILLA_PATH . “
require(LIVEZILLA_PATH . “_lib/functions.global.inc.php”);
@set_error_handler(“handleError”);
@error_reporting(E_ALL);
header(“Connection: close”);
header(“Pragma: no-cache”);
header(“Cache-Control: no-cache, must-revalidate”);
setDataProvider();
$exclude = (isset($_GET[GET_EXTERN_HIDDEN_GROUPS])) ? explode(“?”,base64UrlDecode($
$html = “”;
if(isset($_GET[“id”]) && strpos($
{
$id = $_GET[“id”];
header(“Content-Type: image/png;”);
if(operatorsAvailable(0,$exclude) > 0 && file_exists(“./banner/livezilla_1.png”))
exit(readfile(“./banner/livezilla_1.png”));
else if(file_exists(“./banner/livezilla_0.png”))
exit(readfile(“./banner/livezilla_0.png”));
else
header(“HTTP/1.0 404 Not Found”);
}
else if(isset($
{
$parts = explode(“<!>”,base64UrlDecode(str_replace(” “,”+”,$_GET[“v”])));
if(count($parts) > 3 && strlen($parts[3]) > 0)
$parts[0] = str_replace(“<!–class–>”,”class=
else if(count($parts) > 0)
$parts[0] = str_replace(“<!–class–>”,””,$parts[0]);
if(count($parts) > 1 && operatorsAvailable(0,$exclude) > 0)
$html = str_replace(“<!–text–>”,$parts[1],$parts[0]);
else if(count($parts) > 2)
$html = str_replace(“<!–text–>”,$parts[2],$parts[0]);
exit(“document.write(“”.$html.””);”);
}
unloadDataProvider();
?>
Any Idea Guys
Thanks