<commit_before><?php
include("../../../../config/settings.inc.php");
include("$rootpath/include/database.inc.php");
$baseuri = "warnings.phtml";
putenv("TZ=GMT");

if (isset($_GET["img_x"]) && isset($_GET["img_y"]) )
{
  $arExtents = explode(",", $_GET["extents"]);
  $ll_x = $arExtents[0];  
  $ll_y = $arExtents[1];
  $ur_x = $arExtents[2];
  $ur_y = $arExtents[3];

  $dy = ($ur_y - $ll_y) / floatval(480);
  $dx = ($ur_x - $ll_x) / floatval(640);

  $_GET["lon0"] = ($_GET["img_x"] * $dx) + $ll_x ;
  $_GET["lat0"] = $ur_y - ($_GET["img_y"] * $dy) ;
  $_GET["site"] = "user";
}

$cu = isset($_GET["cu"]) ? $_GET["cu"]: 0;
$loop = isset($_GET["loop"]) ? $_GET["loop"] : 0;
$tz = isset($_GET["tz"]) ? $_GET["tz"] : "CDT";
$tzdict = Array("UTC" => 0, "EDT" => 14400, "EST" => 18000, "CDT" => 18000, "CST" => 21600, "MDT" => 21600, "MST" => 25200, "PDT" => 25200, "PST" => 28800);

$tzoff = $tzdict[$tz];

$filter = isset($_GET["filter"]) ? $_GET["filter"]: 0;

$site = isset($_GET["site"]) ? $_GET["site"]: "DMX";
$sortcol = isset($_GET["sortcol"]) ? $_GET["sortcol"]: "issued";<commit_msg>Fix for using the right timezone<commit_after><?php
include("../../../../config/settings.inc.php");
include("$rootpath/include/database.inc.php");
$baseuri = "warnings.phtml";
putenv("TZ=GMT");

if (isset($_GET["img_x"]) && isset($_GET["img_y"]) )
{
  $arExtents = explode(",", $_GET["extents"]);
  $ll_x = $arExtents[0];  
  $ll_y = $arExtents[1];
  $ur_x = $arExtents[2];
  $ur_y = $arExtents[3];

  $dy = ($ur_y - $ll_y) / floatval(480);
  $dx = ($ur_x - $ll_x) / floatval(640);

  $_GET["lon0"] = ($_GET["img_x"] * $dx) + $ll_x ;
  $_GET["lat0"] = $ur_y - ($_GET["img_y"] * $dy) ;
  $_GET["site"] = "user";
}

$cu = isset($_GET["cu"]) ? $_GET["cu"]: 0;
$loop = isset($_GET["loop"]) ? $_GET["loop"] : 0;
$tz = isset($_GET["tz"]) ? $_GET["tz"] : "CST";
$tzdict = Array("UTC" => 0, "EDT" => 14400, "EST" => 18000, "CDT" => 18000, "CST" => 21600, "MDT" => 21600, "MST" => 25200, "PDT" => 25200, "PST" => 28800);

$tzoff = $tzdict[$tz];

$filter = isset($_GET["filter"]) ? $_GET["filter"]: 0;

$site = isset($_GET["site"]) ? $_GET["site"]: "DMX";
$sortcol = isset($_GET["sortcol"]) ? $_GET["sortcol"]: "issued";
{'fraction_non_alphanumeric': 0.30531576556110857, 'fraction_numerical': 0.05088596092685143, 'mean_word_length': 4.825396825396825, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2120685', 'n_tokens_mistral': 1049, 'n_tokens_neox': 978, 'n_words': 170}