예제 #1
0
<button type="submit">Change to current folder:<br /><em><?php 
                                            echo $preurl . $d;
                                            ?>
</em></button><?php 
                                        }
                                        ?>
            </form>
          </td>
        </tr>
        <tr>
          <th align="right" valign="top">
            Rank:&nbsp;
          </th>
          <td align="left" valign="top">
            <?php 
                                        echo utype($user['priv']) ? utype($user['priv']) : 'User';
                                        ?>
          </td>
        </tr>
      </table>
      <script language="javascript" type="text/javascript">
      <!--
        document.getElementById('chg').style.display='none';
        function chg(val)
        {
          if (val)
          {
            document.getElementById('chg').style.display='block';
            document.getElementById('chgb').style.display='none';
          }
          else
예제 #2
0
                echo $i;
                ?>
        </td>
        <td>
          <?php 
                echo '<span' . (utype($cuser['priv']) === 'Admin' ? ' style="color:#BB2222"' : '') . '>' . $cuser['dname'] . '</span>';
                ?>
        </td>
        <td>
          <?php 
                echo $cuser['psub'] ? $cuser['psub'] : '<em>All</em>';
                ?>
        </td>
        <td>
          <?php 
                echo utype($cuser['priv']);
                ?>
&nbsp;
        </td>
        <td>
          <?php 
                echo $i ? reldate($cuser['pli']) : '&mdash;';
                ?>
        </td>
        <td>
<?php 
                if ($i > 1) {
                    ?>
          <form action="admin.php?t=users&amp;d=<?php 
                    echo $hd, $hasid;
                    ?>