Problem
Hi Guys
I have a problem with this MOD. So far I know, I use 1.6ST with a German modification.
I put all the stuff from the instructions to the files. If I put know the code:
<?
// Get the report options
$OptionsQuery = "SELECT viewable from ".REPORTS_TABLE." LIMIT 1";
$OptionsResult = mysql_query($OptionsQuery) or die(mysql_error());
while($graphOptions = mysql_fetch_array($OptionsResult)){?>
<div id="container">
<div id="header">
<a id="logo" href="index.php" title="osTicket"><img src="images/ostlogo.jpg" width="188" height="72" alt="osTicket"></a>
<p id="info">Welcome back, <strong><?=$thisuser->getUsername()?></strong>
<?php
if($thisuser->isAdmin() && !defined('ADMINPAGE')) { ?>
| <a href="admin.php">Admin Panel</a> | <a href="reports.php">Reports</a>
<?}else{?>
| <a href="index.php">Staff Panel </a> <? if((!$thisuser->isadmin() && !$thisuser->isManager() && $graphOptions=='staff') ||
(!$thisuser->isadmin() && $thisuser->isManager() && (($graphOptions=='managers') || ($graphOptions=='staff'))) ||
$thisuser->isadmin())
{?> | <a href="reports.php">Reports</a> <?}?>
<?}?>
| <?="$isdeptmanager";?><a href="profile.php?t=pref">My Preference</a> | <a href="logout.php">Log Out</a></p>
<?}?>
To the file include/staff/header.inc.php the Page look like without a css (almost) everything is stretched.
If I don’t use the code above in the file and go direct to reports.php I see 2 links. Link 1 wit a few information about the tickets statistics but no graphs. Link 2 is for Settings, but the Page are empty.