<commit_before><?php
 include("../../config/settings.inc.php");
 include("$rootpath/include/database.inc.php");
 $width = isset($_GET["width"])? $_GET["width"] : "320";
 $REFRESH = "<meta http-equiv=\"refresh\" content=\"300;\">";
 $TITLE = "Current Watches";
 include("$rootpath/include/header.php");
?>
<b>Nav:</b> <a href="/current/radar.phtml">Current RADAR Products</a> > Watches Overview

<?php if (isset($_GET["sel"])) { ?>

<a href="sel.phtml">View All Watches</a>

<p><img src="/data/sel<?php echo intval($_GET["sel"]); ?>comp.png" />
<?php

 $conn = iemdb("postgis");
 $sql = "SELECT * from watches_current WHERE sel = 'SEL". intval($_GET["sel"])."'";
 $rs = pg_exec($conn, $sql);
 $row = @pg_fetch_array($rs);

 echo "<pre>". $row["report"] ."</pre>";

?>
<?php } else { ?>

<p>Click on an image to get an enlarged view as well as the text for the watch. These images are for the last 10 areas in which watches have been valid for.  If the watch is currently valid, it will appear on the plot.

<table>
<tr>
 <td><b>SEL0:</b><br /><a href="sel.phtml?sel=0"><img src="/data/sel0comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL1:</b><br /><a href="sel.phtml?sel=1"><img src="/data/sel1comp.png" width="<?php echo $width; ?>"></a></td><tr>
<tr>
 <td><b>SEL2:</b><br /><a href="sel.phtml?sel=2"><img src="/data/sel2comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL3:</b><br /><a href="sel.phtml?sel=3"><img src="/data/sel3comp.png" width="<?php echo $width; ?>"></a></td><tr>
<tr>
 <td><b>SEL4:</b><br /><a href="sel.phtml?sel=4"><img src="/data/sel4comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL5:</b><br /><a href="sel.phtml?sel=5"><img src="/data/sel5comp.png" width="<?php echo $width; ?>"></a></td><tr>
<tr>
 <td><b>SEL6:</b><br /><a href="sel.phtml?sel=6"><img src="/data/sel6comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL7:</b><br /><a href="sel.phtml?sel=7"><img src="/data/sel7comp.png" width="<?php echo $width; ?>"></a></td><tr>
<tr>
 <td><b>SEL8:</b><br /><a href="sel.phtml?sel=8"><img src="/data/sel8comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL9:</b><br /><a href="sel.phtml?sel=9"><img src="/data/sel9comp.png" width="<?php echo $width; ?>"></a></td><tr>
</table>
<?php } ?>

<?php include("$rootpath/include/footer.php"); ?><commit_msg>Darn, we lost the formatting on the watch product<commit_after><?php
 include("../../config/settings.inc.php");
 include("$rootpath/include/database.inc.php");
 $width = isset($_GET["width"])? $_GET["width"] : "320";
 $REFRESH = "<meta http-equiv=\"refresh\" content=\"300;\">";
 $TITLE = "Current Watches";
 include("$rootpath/include/header.php");
?>
<b>Nav:</b> <a href="/current/radar.phtml">Current RADAR Products</a> > Watches Overview

<?php if (isset($_GET["sel"])) { ?>

<a href="sel.phtml">View All Watches</a>

<p><img src="/data/sel<?php echo intval($_GET["sel"]); ?>comp.png" />
<?php

 $conn = iemdb("postgis");
 $sql = "SELECT * from watches_current WHERE sel = 'SEL". intval($_GET["sel"])."'";
 $rs = pg_exec($conn, $sql);
 $row = @pg_fetch_array($rs);

 echo $row["report"] ;

?>
<?php } else { ?>

<p>Click on an image to get an enlarged view as well as the text for the watch. These images are for the last 10 areas in which watches have been valid for.  If the watch is currently valid, it will appear on the plot.

<table>
<tr>
 <td><b>SEL0:</b><br /><a href="sel.phtml?sel=0"><img src="/data/sel0comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL1:</b><br /><a href="sel.phtml?sel=1"><img src="/data/sel1comp.png" width="<?php echo $width; ?>"></a></td><tr>
<tr>
 <td><b>SEL2:</b><br /><a href="sel.phtml?sel=2"><img src="/data/sel2comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL3:</b><br /><a href="sel.phtml?sel=3"><img src="/data/sel3comp.png" width="<?php echo $width; ?>"></a></td><tr>
<tr>
 <td><b>SEL4:</b><br /><a href="sel.phtml?sel=4"><img src="/data/sel4comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL5:</b><br /><a href="sel.phtml?sel=5"><img src="/data/sel5comp.png" width="<?php echo $width; ?>"></a></td><tr>
<tr>
 <td><b>SEL6:</b><br /><a href="sel.phtml?sel=6"><img src="/data/sel6comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL7:</b><br /><a href="sel.phtml?sel=7"><img src="/data/sel7comp.png" width="<?php echo $width; ?>"></a></td><tr>
<tr>
 <td><b>SEL8:</b><br /><a href="sel.phtml?sel=8"><img src="/data/sel8comp.png" width="<?php echo $width; ?>"></a></td>
 <td><b>SEL9:</b><br /><a href="sel.phtml?sel=9"><img src="/data/sel9comp.png" width="<?php echo $width; ?>"></a></td><tr>
</table>
<?php } ?>

<?php include("$rootpath/include/footer.php"); ?>
{'fraction_non_alphanumeric': 0.2905982905982906, 'fraction_numerical': 0.01623931623931624, 'mean_word_length': 5.351424694708276, 'pattern_counts': {'":': 0, '<': 243, '<?xml version=': 0, '>': 245, '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': '5414883', 'n_tokens_mistral': 1834, 'n_tokens_neox': 1809, 'n_words': 386}