Support Incident Tracker GIT4.x
incident_html_top.inc.php File Reference

Go to the source code of this file.

Variables

 if (isset($i18ndirection) AND!empty($i18ndirection))
 $lastseensql = "UPDATE LOW_PRIORITY `{$dbUsers}` SET lastseen=NOW() WHERE id='{$_SESSION['userid']}' LIMIT 1"
if(mysql_error())
trigger_error(mysql_error() 
E_USER_WARNING
 $incidentid = $id
 $sql = "SELECT *, i.id AS incidentid, "
 $incidentresult = mysql_query($sql)
 $incident = mysql_fetch_object($incidentresult)
 $sitesql = "SELECT name, notes FROM `{$dbSites}` WHERE id = '{$incident->siteid}'"
 $siteresult = mysql_query($sitesql)
 $site = mysql_fetch_object($siteresult)
 $site_name = $site->name
if($incident->softwareid > 0) $servicelevel_tag = $incident->servicelevel
 $priority = $incident->priority
 $slsql = "SELECT * FROM `{$dbServiceLevels}` WHERE tag='{$servicelevel_tag}' AND priority='{$incident->priority}' "
 $slresult = mysql_query($slsql)
 $servicelevel = mysql_fetch_object($slresult)
 $target = incident_get_next_target($incidentid)
 $working_day_mins = ($CONFIG['end_working_day'] - $CONFIG['start_working_day']) / 60
 $reviewsince = incident_time_since_review($incidentid)
 $reviewtarget = ($servicelevel->review_days * 1440)

Variable Documentation

$incidentid = $id

Definition at line 73 of file incident_html_top.inc.php.

$incidentresult = mysql_query($sql)

Definition at line 81 of file incident_html_top.inc.php.

$lastseensql = "UPDATE LOW_PRIORITY `{$dbUsers}` SET lastseen=NOW() WHERE id='{$_SESSION['userid']}' LIMIT 1"

Definition at line 62 of file incident_html_top.inc.php.

$priority = $incident->priority
$reviewsince = incident_time_since_review($incidentid)

Definition at line 175 of file incident_html_top.inc.php.

$reviewtarget = ($servicelevel->review_days * 1440)

Definition at line 176 of file incident_html_top.inc.php.

$servicelevel = mysql_fetch_object($slresult)
if ($incident->softwareid > 0) $servicelevel_tag = $incident->servicelevel

Definition at line 115 of file incident_html_top.inc.php.

Referenced by make_incident_billing_array().

$site = mysql_fetch_object($siteresult)

Definition at line 87 of file incident_html_top.inc.php.

Referenced by show_edit_site(), and transactions_report().

$site_name = $site->name

Definition at line 88 of file incident_html_top.inc.php.

$siteresult = mysql_query($sitesql)

Definition at line 85 of file incident_html_top.inc.php.

Referenced by show_edit_site().

$sitesql = "SELECT name, notes FROM `{$dbSites}` WHERE id = '{$incident->siteid}'"

Definition at line 84 of file incident_html_top.inc.php.

$slresult = mysql_query($slsql)

Definition at line 136 of file incident_html_top.inc.php.

$slsql = "SELECT * FROM `{$dbServiceLevels}` WHERE tag='{$servicelevel_tag}' AND priority='{$incident->priority}' "

Definition at line 135 of file incident_html_top.inc.php.

$sql = "SELECT *, i.id AS incidentid, "

Definition at line 76 of file incident_html_top.inc.php.

$target = incident_get_next_target($incidentid)
$working_day_mins = ($CONFIG['end_working_day'] - $CONFIG['start_working_day']) / 60

Definition at line 143 of file incident_html_top.inc.php.

Referenced by format_workday_minutes(), and incident_sla_history().

if (mysql_error()) trigger_error("MySQL Query Error ".mysql_error() E_USER_WARNING

Definition at line 64 of file incident_html_top.inc.php.

if(is_array($pagescripts))

Definition at line 12 of file incident_html_top.inc.php.