Location: PHPKode > projects > Absolut Engine > absolut-engine-33870/admin/menu1.php
<?
echo '<div class="menubox1"><div class="menubox2"><div class="menubox3"><div class="menubox4"><div class="menubox5"><div class="menubox6"><div class="menubox7">';
echo '<div class="menubox8">';
echo '<h2><span class="bordertop">',$ae->textbasic[56],'</span></h2>';
echo '<ul class="menulist">';
echo '<li><a href="adduser.php?username=',$ae->username,'&session=',$ae->session,'">',$ae->textbasic[57],'</a></li>';
echo '<li><form method="post" action="edituser.php" id="fid">';
echo '<input type="hidden" name="username" value="',$ae->username,'" /><input type="hidden" name="session" value="',$ae->session,'" />';
echo '<strong>',$ae->textbasic[58],'<strong>';
$ae->DBQuery("SELECT * FROM ".$ae->table[5]." ORDER BY fullname");
echo ' <select name="userID">';
while ($ae->DBGetRow())
{
$optionvalue=$ae->access["ID"];
$optiontext=$ae->access["fullname"];
echo '<option value="',$optionvalue,'">',substr($optiontext,0,20),'...</option>';
}
echo '</select><br />';
echo '<input type="hidden" name="action" value="" />
<input type="button" value="',$ae->textbasic[106],'" onClick="send_form(1,this.form);" class="button" />
<input type="button" value="',$ae->textbasic[110],'" onClick="confirmed=confirm(\'',$ae->textbasic[53],'\');if (confirmed) send_form(2,this.form);" class="button" /></form></li>';
echo '<li><a href="managermodule.php?username=',$ae->username,'&session=',$ae->session,'">',$ae->textbasic[34],'</a></li>';
$ae->DBQuery("SELECT * FROM ".$ae->table[8]." WHERE menu1=1 ORDER BY module");
while ($ae->DBGetRow())
{
$outcome2=$ae->outcome;
$moduledir=$ae->access["directory"];
$menuitem=join('',file('modules/'.$moduledir.'/menu1.php'));
$menuitem=str_replace('<a href="','<a href="modules/'.$moduledir.'/',$menuitem);
$menuitem=str_replace('<?','',$menuitem);
$menuitem=str_replace('<?php','',$menuitem);
$menuitem=str_replace('?>','',$menuitem);
eval ($menuitem);
$ae->outcome=$outcome2;
}
echo '</ul>';
echo '</div>';
echo '</div></div></div></div></div></div></div>';
?>
Return current item: Absolut Engine