Absolut Engine PHP Cross Reference Web Portal Systems

Source: /admin/adduser.php - 62 lines - 3252 bytes - Summary - Text - Print

   1  <?
   2  @include ("coreclass.php");
   3  $ae=new CEngine();
   4  $ae->RequestVariables();
   5  $ae->EngineInitialize();
   6  $ae->UserVerifySession();
   7  $ae->UserVerifyLevel();
   8  @include ("header.php");
   9  @include ("menu.php");
  10  ?>
  11  <div id="content">
  12  <?
  13  $object=$ae->DisplayError(8);
  14  ?>
  15  <form method="post" action="modify.php?command=51" enctype="multipart/form-data">
  16  <fieldset><legend><? echo $ae->textbasic[57]; ?></legend>
  17  <label for="user"><? echo $ae->textbasic[0] ?></label>
  18  <input type="text" name="user" id="user" size="20" value="<? echo $object->user; ?>" /><br class="clear" />
  19  <label for="password"><? echo $ae->textbasic[1] ?></label>
  20  <input type="password" name="password" id="password" size="30"><br class="clear" />
  21  <label for="password2"><? echo $ae->textbasic[2] ?></label>
  22  <input type="password" name="password2" id="password2" size="30"><br class="clear" />
  23  <label for="fullname"><? echo $ae->textbasic[3] ?></label>
  24  <input type="text" name="fullname" id="fullname" size="50" value="<? echo $object->fullname; ?>" /><br class="clear" />
  25  <label for="email"><? echo $ae->textbasic[27] ?></label>
  26  <input type="text" name="email" id="email" size="30" value="<? echo $object->email; ?>" /><br class="clear" />
  27  <label for="position"><? echo $ae->textbasic[4] ?></label>
  28  <select name="position" id="position">
  29  <option value="0"<? if (!$object->position) echo ' selected="selected"'; ?>><? echo $ae->textbasic[15] ?></option>
  30  <option value="1"<? if ($object->position==1) echo ' selected="selected"'; ?>><? echo $ae->textbasic[5] ?></option>
  31  <option value="2"<? if ($object->position==2) echo ' selected="selected"'; ?>><? echo $ae->textbasic[6] ?></option>
  32  <option value="3"<? if ($object->position==3) echo ' selected="selected"'; ?>><? echo $ae->textbasic[7] ?></option>
  33  <option value="4"<? if ($object->position==4) echo ' selected="selected"'; ?>><? echo $ae->textbasic[146] ?> (4)</option>
  34  <option value="5"<? if ($object->position==5) echo ' selected="selected"'; ?>><? echo $ae->textbasic[146] ?> (5)</option>
  35  </select><br class="clear" />
  36  <label for="language"><? echo $ae->textbasic[26] ?></label>
  37  <select name="language" id="language">
  38  <?
  39  $ae->RequestLanguageVersions();
  40  while (list($key,$optionvalue)=each($ae->languagearray))
  41  {
  42  echo '<option value="',$optionvalue,'"';
  43  if (!$object AND $optionvalue=="EN") echo ' selected="selected"';
  44  elseif ($object->language==$optionvalue) echo ' selected="selected"';
  45  echo '>',$optionvalue,'</option>';
  46  }
  47  ?>
  48  </select><br class="clear" />
  49  <label for="file"><? echo $ae->textbasic[30] ?></label>
  50  <input type="file" name="file" id="file" size="50"><br class="clear" />
  51  <label for="otherinfo"><? echo $ae->textbasic[31] ?></label>
  52  <textarea cols="78" rows="5" name="otherinfo" id="otherinfo"><? echo $object->otherinfo; ?></textarea>
  53  <br class="clear" />
  54  <label for="submit"></label>
  55  <input type="submit" name="submit" id="submit" value="<? echo $ae->textbasic[103] ?>" class="button" />
  56  <input type="hidden" name="username" value="<? echo $ae->username ?>" />
  57  <input type="hidden" name="session" value="<? echo $ae->session ?>" />
  58  <input type="hidden" name="MAX_FILE_SIZE" value="<? echo $ae->sizemaximages ?>">
  59  </fieldset>
  60  </form>
  61  </div>
  62  <? @include ("footer.php");

title

Description

title

Description

title

Description

title

title

Body