Location: PHPKode > projects > Webextreme > webextreme/denyfilterview.php
<?php
  require("functions.php");
  if(!check_login())
  {
    header("Location: index.php");
  }

?>
<html>
<head>
<title><?php echo $lang['denyfilter_view']; ?></title>
<link rel="stylesheet"                  href="style.css">
<meta http-equiv="pragma"               content="no-cache">
<meta http-equiv="content-type"         content="text/html; charset=iso-8859-1">
</head>

<body>

<div align="center">
  <table border="0" bgcolor="black" cellpadding="2" cellspacing="1">
    <tr>
      <td class="highlightwhite" align="center"><?php echo $lang['denyfilter_management']; ?></td>
    </tr>
    <tr>
      <td bgcolor="white">
        <table border="0" cellspacing="1" cellpadding="4">
          <tr bgcolor="C0C0C0" align="center">
            <td class="header" valign="top"><?php echo $lang['denyfilter_condition']; ?></td>
            <td class="header" valign="top"><?php echo $lang['denyfilter_value']; ?></td>
          </tr>
<?php

	$results = get_denyfilterlist();

  $count = true;
  $countt = count($results);
  $countt--;

  for ($idx = 0; $idx < $countt; $idx++)
  {			
      $denyfilterdata = parse_denyfilterlist($results[$idx]);

      if($count)
      {
?>
          <tr class="menu" onmouseover="className='menuhover';" onmouseout="className='menu';" onclick="javascript:location.href='denyfilteredit.php?CONDITION=<?php echo $denyfilterdata["Condition"]; ?>&VALUE=<?php echo $denyfilterdata["Value"]?>';" valign="top">
<?php
        $count = false;
      }
      else
      {
?>
          <tr class="menu" onmouseover="className='menuhover';" onmouseout="className='menu';" bgcolor="#E0E0E0" onclick="javascript:location.href='denyfilteredit.php?CONDITION=<?php echo $denyfilterdata["Condition"]; ?>&VALUE=<?php echo $denyfilterdata["Value"]?>';" valign="top">
<?php
        $count = true;
      }
?>
            <td align="left"><?php echo $denyfilterdata["Condition"]; ?></td>
            <td align="right"><?php echo $denyfilterdata["Value"]; ?></td>
            </tr>
<?php
}
?>
        </table>
      </td>
    </tr>

    <tr>
      <td align="center" bgcolor="white"><input type="button" value="<?php echo $lang['add_denyfilter']; ?>" class="norm" onclick="location.href='denyfilteredit.php';"></td>
    </tr>


  </table>
</div>

<?php display_info(); ?>

</body>
</html>
Return current item: Webextreme