Exemplo n.º 1
0
<?php

/* Forum/Folder Menu */
function mmlink($text, $link)
{
    global $PHP_SELF, $f;
    echo "<a href=\"{$link}\">{$text}</a><br>\n";
}
$Title = GetForumPath($num);
?>
<script language="JavaScript" type="text/javascript">
  function dropforum(url, folder){
    if(folder){
      ans=window.confirm("You are about to drop this folder.  All sub folders and sub forums of this folder will be dropped also.  Do you want to continue?");
    }
    else{
      ans=window.confirm("You are about to drop this forum.  Do you want to continue?");
    }
    if(ans){
      window.location.replace(url);
    }
  }
</script>
<table border="0" cellspacing="0" cellpadding="3" class="box-table">
<tr>
    <td align="center" class="table-header"><?php 
echo $Title;
?>
</td>
</tr>
<?php 
Exemplo n.º 2
0
<table border="0" cellspacing="0" cellpadding="3" class="box-table">
<tr>
    <td align="center" class="table-header">Moderate For:</td>
</tr>
<tr>
<td nowrap="nowrap">
<?php 
while (list($fid, $value) = each($PHORUM["admin_user"]["forums"])) {
    $path = GetForumPath($fid);
    echo "<a href=\"{$PHP_SELF}?f={$fid}&page=managemenu\">{$path}</a><br />\n";
}
?>
</td>
</tr>
</table>