Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/admin/fs_list_list.htm
<!-- TITLE: Manage Fieldsets -->

<script>
function goExport(){

  var block = 'chk_id[]';
  var ok = false;
  var el = document.frm.elements;
  for (var i=0; i<el.length; i++) {
    if(el[i].name.substr(0,block.length)==block && el[i].checked){
      ok = true;
      break;
    }
  }
  if(!ok) alert('Please select fieldset(s) to export');
  return ok;

}
</script>

<form method=post name=frm>

<table border="0" cellPadding=3 cellSpacing="1" width="90%" align=center>

  <tr>
    <td colspan="4" align=center>

<table border=1 width="100%" cellpadding=1 cellspacing=0>

<tr class=ex_row>
    <td width="1%">&nbsp;</td>
    <td width="1%">
    <input type=checkbox name=chk_all value=1 OnClick="SwitchItemsAdm()">
    </td>
    <td width="1%">&nbsp;</td>
    <td>&nbsp;<b>Fieldset ID</td>
    <td width="10%" nowrap>&nbsp;<b>Categories Assigned&nbsp;</td>
    <td width="5%">&nbsp;<b>{Items}&nbsp;</td>
    <td width="5%">&nbsp;<b>Fields&nbsp;</td>
    <td width="5%">&nbsp;<b>Options&nbsp;</td>
    <td width="5%">&nbsp;<b>Templates&nbsp;</td>
</tr>

<tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><p class=ag_adm>{user_fields}</td>
    <td><center>&#151;</td>
    <td><center>&nbsp;</td>
    <td><center><a href="index.php?page=fs_fields&fset=%7Buser_fields%7D">edit</a></td>
    <td><center>&nbsp;</td>
    <td><center>&nbsp;</td>
</tr>



<!-- TPL_INSERT : row -->
<!-- TPL_CELL : def -->

<tr>
    <td>##num##.</td>
    <td><input type=checkbox name=chk_id[] value="##id##"></td>
    <td><a href="##PAGE_URL##id=##id##"><img src=../img/admin/modify.gif alt="[M]" border=0></a></td>
    <td><p class=ag_adm>##id##</td>
    <td><center>

<!-- IF ##cat_amt## -->
<b>##cat_amt##</b> / <a href="##PAGE_URL##id=##id##">view</a>
<!-- ELSE -->
&#151;
<!-- ENDIF -->

</td>
    <td><center>##item_amt##</td>
    <td><center><a href="index.php?page=fs_fields&fset=##id##">edit</a></td>
    <td><center><a href="index.php?page=fs_setup&fset=##id##">edit</a></td>
    <td><center><a href="index.php?page=tpl&fset=##id##">edit</a></td>
</tr>

<!-- IF ##descr## -->
<tr>
<td colspan=10 class=txt8>&nbsp;##descr##</td>
</tr>
<!-- ENDIF -->

<!-- /TPL_CELL : def -->
<!-- /TPL_INSERT : row -->


</table>

<p>
##nav##
<p>

<input type=button value=" Add " class=button 
onClick="document.location='##PAGE_URL##pg=add'"><input 
type=submit name=submdel value="Delete" class=button 
onClick="return(confirm('Delete ?'))"><input type=reset 
value="Reset" class=button>

<!-- IF ##gz_ok## -->
 &nbsp;&nbsp;
<input type=submit name=submexport value="Export" class=btnred OnClick="return(goExport())"> 
<!-- ENDIF -->

    </td>

  </tr>

</table>

</form>


<!-- IF ##gz_ok## -->

<form method=post name=frm_import ENCTYPE="multipart/form-data">

<input type=hidden name=token value="##TOKEN##">

<center>

<i>You can import previously exported fieldset(s) here:</i>
<br>
Upload Fieldset Archive (zip):
&nbsp;
<input type=file name=fs_zip size=20>
<input type=submit name=import value="Import" class=btnred>
</center>
</form>

<!-- ENDIF -->
Return current item: Esvon Personals