News:

Please note these forums are mostly a testing ground for my SMF work and I don't really use them otherwise.

Main Menu

Paste-1214119245:v:use_geshi-1:v:type-php

Started by Guest, Jun 22, 2008, 07:20 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Guest

<?php
/* Welcome to the AC's interactive pages, this area is for members and staff */
// Let's MAKE THIS WORK!
require("drivers/index.template.php");
template_theac_header();
// Let's make a page now
global $memberContext;
echo '<div align="center">
      <span class="heading">AC MEMBERGROUPS</span>
<span class="subheading">IN ORDER OF IMPORTANCE OR STATUS</span></div>


<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td align="center" valign="top">ADMINISTRATOR [1]</td>
  </tr>
  <tr>
    <td align="center" valign="top">';
      unset($members);
      $members = ssi_fetchGroupMembers(1,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
  </tr>
</table>


<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td align="center" valign="top" width="50%">ADMIN [43]</td>
    <td align="center" valign="top" width="50%">SECRET SERVICE [87]</td>
  </tr>
  <tr>
    <td align="center" valign="top">';
      unset($members);
      $members = ssi_fetchGroupMembers(43,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
    <td align="center" valign="top">';
   if(allowedTo('admin_button'))    
   {
      unset($members);
      $members = ssi_fetchGroupMembers(87,'array');
      foreach($members As $member)
      echo $member['link']."
";
   }
   else
   { echo '
Sorry, you arent allowed to see this!';}
      echo'</td>
  </tr>
</table>


<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td align="center" valign="top" width="25%">SUPER AA [52]</td>
    <td align="center" valign="top" width="25%">MODERATOR [50]</td>
    <td align="center" valign="top" width="25%">AC FRIEND [86]</td>
    <td align="center" valign="top" width="25%">AA [47]</td>
  </tr>
  <tr>
    <td align="center" valign="top">';
      unset($members);
      $members = ssi_fetchGroupMembers(52,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
    <td align="center" valign="top" >';
      unset($members);
      $members = ssi_fetchGroupMembers(50,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
    <td align="center" valign="top">';
      unset($members);
      $members = ssi_fetchGroupMembers(86,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
    <td align="center" valign="top" >';
      unset($members);
      $members = ssi_fetchGroupMembers(47,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
  </tr>
</table>


<table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td align="center" valign="top" width="16%">DONATOR [51]</td>
    <td align="center" valign="top" width="16%">AFFILIATE [54]</td>
    <td align="center" valign="top" width="16%">RADIO DJ [41]</td>
    <td align="center" valign="top" width="16%">HIDEAWAY MEMBER [34]</td>
    <td align="center" valign="top" width="16%">PRODUCTION WORKER [55]</td>
    <td align="center" valign="top" width="16%">AWF SUPPORTER [63]</td>
  </tr>
  <tr>
    <td align="center" valign="top" >';
      unset($members);
      $members = ssi_fetchGroupMembers(51,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
    <td align="center" valign="top" >';
      unset($members);
      $members = ssi_fetchGroupMembers(54,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
    <td align="center" valign="top" >';
      unset($members);
      $members = ssi_fetchGroupMembers(41,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
    <td align="center" valign="top" >';
   if(allowedTo('admin_button'))    
   {
      unset($members);
      $members = ssi_fetchGroupMembers(34,'array');
      foreach($members As $member)
      echo $member['link']."
";
   }
   else
   { echo '
Sorry, you arent allowed to see this!';}
      echo'</td>
    <td align="center" valign="top" >';
   if(allowedTo('admin_button'))    
   {
      unset($members);
      $members = ssi_fetchGroupMembers(55,'array');
      foreach($members As $member)
      echo $member['link']."
";
   }
   else
   { echo '
Sorry, you arent allowed to see this!';}
      echo'</td>
    <td align="center" valign="top" >';
      unset($members);
      $members = ssi_fetchGroupMembers(63,'array');
      foreach($members As $member)
      echo $member['link']."
";
      echo'</td>
  </tr>
</table>';
?>