Absolut Engine PHP Cross Reference Web Portal Systems

Source: /admin/menu1.php - 39 lines - 1968 bytes - Summary - Text - Print

   1  <?
   2  echo '<h2>',$ae->textbasic[56],'</h2>';
   3  echo '<ul>';
   4  echo '<li><a href="',TEMPDIR,'adduser.php?username=',$ae->username,'&session=',$ae->session,'">',$ae->textbasic[57],'</a></li>';
   5  echo '<li><form method="post" action="',TEMPDIR,'modify.php?command=50">';
   6  echo '<label for="userID">',$ae->textbasic[58],'</label><br class="clear" />';
   7  $ae->DBQuery("SELECT * FROM ".$ae->table[5]." ORDER BY fullname");
   8  echo '<select name="userID" id="userID">';
   9  while ($ae->DBGetRow())
  10        {
  11        $optionvalue=$ae->access["ID"];
  12        $optiontext=$ae->access["fullname"];
  13        echo '<option value="',$optionvalue,'">',$optiontext,'</option>';
  14        }
  15  echo '</select><br class="clear" />';
  16  echo '<label for="submit"></label>';
  17  echo '<input type="submit" name="submit" value="',$ae->textbasic[106],'" class="button" />';
  18  echo '<input type="submit" name="submit" id="submit" value="',$ae->textbasic[110],'" onclick="return ConfirmAction(\'',$ae->textbasic[53],'\')" class="button" />';
  19  echo '<input type="hidden" name="username" value="',$ae->username,'" />';
  20  echo '<input type="hidden" name="session" value="',$ae->session,'" />';
  21  echo '</fieldset></form>';
  22  echo '</li>';
  23  echo '<li><a href="',TEMPDIR,'managermodule.php?username=',$ae->username,'&session=',$ae->session,'">',$ae->textbasic[34],'</a></li>';
  24  $ae->DBQuery("SELECT * FROM ".$ae->table[8]." WHERE menu1='1' ORDER BY module");
  25  while ($ae->DBGetRow())
  26        {
  27        $temp=$ae->outcome;
  28        $moduledir=TEMPDIR."modules/".$ae->access["directory"];
  29        $menuitem=join('',file($moduledir.'/menu1.php'));
  30        $menuitem=str_replace('<a href="','<a href="'.$moduledir.'/',$menuitem);
  31        $menuitem=str_replace('action="','action="'.$moduledir.'/',$menuitem);
  32        $menuitem=str_replace('<?','',$menuitem);
  33        $menuitem=str_replace('<?php','',$menuitem);
  34        $menuitem=str_replace('?>','',$menuitem);
  35        eval ($menuitem);
  36        $ae->outcome=$temp;
  37        }
  38  echo '</ul>';
  39  ?>

title

Description

title

Description

title

Description

title

title

Body