You are here

function getMenu in Production check & Production monitor 7

Same name and namespace in other branches
  1. 6 includes/prod_check.memcache.inc \getMenu()

File

includes/prod_check.memcache.inc, line 507

Code

function getMenu() {
  global $PHP_SELF;
  echo "<ol class=menu>";
  if ($_GET['op'] != 4) {
    echo <<<EOB
    <li><a href="{<span class="php-variable">$PHP_SELF</span>}&op={<span class="php-variable">$_GET</span>[<span class="php-string">'op'</span>]}">Refresh Data</a></li>
EOB;
  }
  else {
    echo <<<EOB
    <li><a href="{<span class="php-variable">$PHP_SELF</span>}&op=2}">Back</a></li>
EOB;
  }
  echo menu_entry(1, 'View Host Stats'), menu_entry(2, 'Variables');
  echo <<<EOB
\t</ol>
\t<br/>
EOB;
}