Example #1
0
$data->get_dropdown();
?>
  <td>
  <b>Cases</b><br>
       <?php 
if (isset($_POST['cases']) && $_POST['cases'] != 'all') {
    echo "<input type='radio' name='cases' value ='all'> All Cases <br>";
} else {
    echo "<input type='radio' name='cases' value ='all' checked> All Cases <br>";
}
?>
  <button type='button' onclick='toggleCase("classifys", "dvwindow")' class='styled-button-srch'>Filter By Classification</button>
  <div class='classifys dvwindow hide'>
  <button type='button' onclick='toggleCase("classifys", "dvwindow")' class='styled-button-DV'>Hide</button>
  <?php 
$cat = new cats($db, $rad = True);
$cat->cat();
?>
  </div>
</td>
<td>
    <input type='submit' name='submit'></input>
  </td>
  </tr>
</table>

  </form>
</div>
</div>
<?php 
include 'footer.php';
Example #2
0
    echo "\r\n\r\n  <button type='button' onclick='toggleCase(" . '"classifys", "bigwindow")' . "' class='styled-button-srch'>Filter By Classification</button>\r\n  <div class='classifys bigwindow hide'>\r\n  <button type='button' onclick='toggleCase(" . '"classifys", "bigwindow")' . "' class='styled-button-DV'>Hide</button>";
    $cat->cat();
    $cat = null;
    echo "\r\n  </div>\r\n";
}
?>
    </div>
  <input type="hidden" name="searching" value="yes" />
  <input type="hidden" name="init" value="0" />
  <input type="hidden" name="limit" value="25" />
  <noscript> <input type="hidden" name="noscript" value="1" /> </noscript>
  <input type="submit" name="search" value="Search" />
  <?php 
if (isset($_GET['noscript']) || !isset($_COOKIE['username'])) {
    echo "<div id='multi'><p>Filter by Classification</p>";
    $cat = new cats($db, False, True);
    $cat->cat_multi();
    $cat = null;
    echo "<br><br></div>";
}
?>
  </form>
    <h2>Data Visualization</h2>
    <p>Visualize what the FBI news is reporting on cyber crime. <a href='datavis.php'> View Data Visualization </a></p>


    <h2>Crime Cases</h3>
    <p>Our database has compiled various cases of cyber crime from the FBI and
     other sources.
     <?php 
echo "<a id='cases' href='cases.php?init=0&count={$case_count}&limit=25'>Browse Cases</a></p>";
Example #3
0
					<?php 
        wp_reset_postdata();
        ?>
				</div>
			</div>
		</div>
	<?php 
    }
    ?>

<?php 
}
?>

<?php 
$portfolio = cats::getCat(5);
if ($portfolio) {
    $portfolio_posts = posts::getPosts($portfolio['term_id']);
    ?>

	<?php 
    if ($portfolio_posts) {
        ?>
		<div class="container-fluid portfolio-wrap">
			<div class="container">
				<div class="header">
					<h2><?php 
        echo $portfolio['name'];
        ?>
</h2>
					<ul class="filter-panel">