  <br>
  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <form action="controllers/inputController.php" method="post" name="userform" id="userform">
  <!--
  <input name="group_pkey" id="group_pkey" type="hidden" value="<?=$usergroup_data['group_pkey'];?>">
  -->
   <input name="group_pkey" id="group_pkey" type="hidden" value="<?php echo $_GET['itemid'];?>">
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Group Name</td>
  <td valign=top width=610 class=formvalue><?=$usergroup_data['group_name'];?></td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Description</td>
  <td valign=top width=610 class=formvalue><?=$usergroup_data['group_description'];?></td>
  </tr>
  </table>

  <hr size=1><br>

  <?
  // Tab -----------------------------------------
  $tab_quantity=5;
  $tab_style=1;	// (single-row)
  $tab_name=array("&nbsp;&nbsp;<b>Crawls</b>&nbsp;&nbsp;","&nbsp;<b>Browsing</b>&nbsp;","&nbsp;&nbsp;<b>RSS</b>&nbsp;&nbsp;","&nbsp;<b>Configurations</b>&nbsp;","&nbsp;<b>System</b>&nbsp;");
  include_once('tab.php');
  //----------------------------------------------
  ?>
  <table width="99%" border="0" cellspacing="0" cellpadding="0">
  <tr valign=top>
  <td valign=top>

  <div id='tab-body:0' class='tab-body' style='border: none; display: block;'>

  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <tr valign=top>
  <td valign=top width=30 class=listheader>No</td>
  <td valign=top width=400 class=listheader>Function</td>
  <td valign=top width=330 class=listheader>Options</td>
  </tr>

  <? $optcount=0; ?>

  <tr valign=top>
  <td valign=top width=760 colspan=3 class=listcontent><b>Crawling Functions</b></td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Initiate new blank crawl</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_initnew']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_initnew']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Initiate new crawl from SPI</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_initfromspi']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_initfromspi']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Initiate new crawl from Saved Search</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_initfromsaved']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_initfromsaved']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Schedule crawls</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_schedulecrawl']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_schedulecrawl']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Select seed URL from seed list</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_selectseed']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_selectseed']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Save crawl as SPI</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_saveasspi']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_saveasspi']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Save crawl as Saved Search</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_saveassaved']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_saveassaved']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <tr valign=top>
  <td valign=top width=760 colspan=3 class=listcontent><b>Crawl Limitations</b></td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Maximum crawl run time</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_maxruntime']==0) echo "<i>Unlimited</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==900) echo "<i>15 minutes</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==1800) echo "<i>30 minutes</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==3600) echo "<i>1 hour</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==7200) echo "<i>2 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==10800) echo "<i>3 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==14400) echo "<i>4 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==18000) echo "<i>5 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==21600) echo "<i>6 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==25200) echo "<i>7 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==28800) echo "<i>8 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==32400) echo "<i>9 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==36000) echo "<i>10 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==39600) echo "<i>11 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==43200) echo "<i>12 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==64800) echo "<i>18 hours</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxruntime']==86400) echo "<i>24 hours</i>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Maximum crawl breadth</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_maxbreadth']==0) echo "<i>Unlimited</i>"; else echo "<i>".$usergroup_data['access_crawl_maxbreadth']."</i>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Maximum crawl depth</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_maxdepth']==0) echo "<i>Unlimited</i>"; else echo "<i>".$usergroup_data['access_crawl_maxdepth']."</i>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Maximum no of pages examined</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_maxexamined']==0) echo "<i>Unlimited</i>"; else echo "<i>".$usergroup_data['access_crawl_maxexamined']."</i>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Maximum no of matches found</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_maxmatches']==0) echo "<i>Unlimited</i>"; else echo "<i>".$usergroup_data['access_crawl_maxmatches']."</i>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Maximum page/file size captured</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_maxsize']==0) echo "<i>Unlimited</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==1) echo "<i>First Paragraph</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==2) echo "<i>First 2 Paragraphs</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==3) echo "<i>10KB</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==4) echo "<i>20KB</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==5) echo "<i>50KB</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==6) echo "<i>100KB</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==7) echo "<i>1MB</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==8) echo "<i>2MB</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==9) echo "<i>5MB</i>"; ?>
  <? if ($usergroup_data['access_crawl_maxsize']==10) echo "<i>10MB</i>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Download PDF files</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_allowpdf']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_allowpdf']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Download picture files</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_allowpictures']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_allowpictures']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Download video files</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_allowvideos']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_allowvideos']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Download binary (.exe) files</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_allowbinary']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_allowbinary']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Download ZIP files</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_allowzip']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_allowzip']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Download text files</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_allowtext']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_allowtext']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <tr valign=top>
  <td valign=top width=760 colspan=3 class=listcontent><b>Crawl Monitoring</b></td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Monitor other group members' crawls</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_monitorothers']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_monitorothers']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Stop other group members' crawls</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_stopothers']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_stopothers']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>View scheduled crawls</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_crawl_viewschedule']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_crawl_viewschedule']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  </table>

  </div>

  <div id='tab-body:1' class='tab-body' style='border: none; display: none;'>

  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <tr valign=top>
  <td valign=top width=30 class=listheader>No</td>
  <td valign=top width=400 class=listheader>Function</td>
  <td valign=top width=330 class=listheader>Options</td>
  </tr>

  <? $optcount=0; ?>

  <tr valign=top>
  <td valign=top width=760 colspan=3 class=listcontent><b>Browsing Functions</b></td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Browse pages by session</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_bysession']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_bysession']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Browse pages by classification</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_byclass']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_byclass']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Browse pages by status</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_bystatus']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_bystatus']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Browse pages by lists</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_bylists']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_bylists']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Browse pages by searching repository</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_bysearch']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_bysearch']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <tr valign=top>
  <td valign=top width=760 colspan=3 class=listcontent><b>Page Operations</b></td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>View page details</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_viewpage']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_viewpage']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Rate pages</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_ratepage']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_ratepage']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Tag pages</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_tagpage']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_tagpage']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Classify pages</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_classifypage']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_classifypage']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Format pages</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_formatpage']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_formatpage']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Export pages</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_exportpage']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_exportpage']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Refresh pages</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_refreshpage']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_refreshpage']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Purge pages</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_purgepage']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_purgepage']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>View page history</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_browse_viewhistory']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_browse_viewhistory']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  </table>

  </div>

  <div id='tab-body:2' class='tab-body' style='border: none; display: none;'>

  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <tr valign=top>
  <td valign=top width=30 class=listheader>No</td>
  <td valign=top width=400 class=listheader>Function</td>
  <td valign=top width=330 class=listheader>Options</td>
  </tr>

  <? $optcount=0; ?>

  <tr valign=top>
  <td valign=top width=760 colspan=3 class=listcontent><b>RSS Feeds</b></td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Browse RSS feeds</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_rss_browse']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_rss_browse']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Subscribe to RSS feeds</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_rss_subscribe']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_rss_subscribe']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage RSS feeds</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_rss_managefeeds']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_rss_managefeeds']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage RSS feed subscriptions</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_rss_managesubscriptions']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_rss_managesubscriptions']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  </table>

  </div>

  <div id='tab-body:3' class='tab-body' style='border: none; display: none;'>

  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <tr valign=top>
  <td valign=top width=30 class=listheader>No</td>
  <td valign=top width=400 class=listheader>Function</td>
  <td valign=top width=330 class=listheader>Options</td>
  </tr>

  <? $optcount=0; ?>

  <tr valign=top>
  <td valign=top width=760 colspan=3 class=listcontent><b>Configuration Functions</b></td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage Special Purpose Indexes</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_config_managespi']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_config_managespi']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage Saved Searches</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_config_managesaved']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_config_managesaved']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage Seeds</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_config_manageseeds']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_config_manageseeds']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage Classifications</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_config_manageclassification']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_config_manageclassification']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage Information Categories</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_config_managecategories']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_config_managecategories']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage Subject Headings</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_config_managesubjects']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_config_managesubjects']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage vocabulary</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_config_managevocabulary']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_config_managevocabulary']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage templates</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_config_managetemplates']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_config_managetemplates']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage lists</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_config_managelists']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_config_managelists']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  </table>

  </div>

  <div id='tab-body:4' class='tab-body' style='border: none; display: none;'>

  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <tr valign=top>
  <td valign=top width=30 class=listheader>No</td>
  <td valign=top width=400 class=listheader>Function</td>
  <td valign=top width=330 class=listheader>Options</td>
  </tr>

  <? $optcount=0; ?>

  <tr valign=top>
  <td valign=top width=760 colspan=3 class=listcontent><b>System Management</b></td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage welcome note</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_system_managewelcome']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_system_managewelcome']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage news</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_system_managenews']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_system_managenews']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>
  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage staff particulars</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_system_managestaff']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_system_managestaff']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>
  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage user profiles</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_system_manageusers']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_system_manageusers']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>
  <? $optcount++; ?>
  <tr valign=top>
  <td valign=top width=30 class=listnumber><?=$optcount;?></td>
  <td valign=top width=400 class=listcontent>Manage user access groups</td>
  <td valign=top width=330 class=listcontent style="text-align: left;">&nbsp;
  <? if ($usergroup_data['access_system_manageaccess']==1) echo "<font color='#008000'><i>Allowed</i></font>"; ?>
  <? if ($usergroup_data['access_system_manageaccess']==0) echo "<font color='#ff0000'><i>Denied</i></font>"; ?>
  </td>
  </tr>

  </table>

  </div>

  </td>
  </tr>
  <input name="job" id="job" type="hidden" value="">
  <!--
  <input name="group_pkey" type="hidden" value="<?php echo $_GET['itemid'];?>">
  -->
  </form>
  </table>
