Location: PHPKode > projects > MembersGear > membersgear/templates/admin_fields_v.tpl
{$ADMIN_HEADER}
<div id="content" class="setdiv">
  {*  <div id="contentdiv">
        <div class="leftdiv">
            <div class="righttop">
                <h2>
                    Welcome To SafelistProX 3.2.1 Control Panel</h2>
            </div>
            <div class="contant divborder">
                The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the
                lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps
                over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown
                fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick
                brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
                The quick brown fox jumps over the lazy dog.
                <div class="link-set clear">
                    <a href="#">read more...</a></div>
            </div>
        </div>
        <div class="rightdiv">
            <div class="righttop">
                <h2>
                    Your Safelist Overview</h2>
            </div>
            <div class="contant divborder">
                The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the
                lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps
                over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown
                fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick
                brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
                The quick brown fox jumps over the lazy dog.
                <div class="link-set clear">
                    <a href="#">read more...</a></div>
            </div>
        </div>
    </div>  *}
    
    <div id="full-contentdiv">
        <div class="righttop">
            <h2 align="center">
                Additional Fields
            </h2>
         </div>
         <div class="whole-page clear">
            <!-- Place your content here -->
            
            {*
            <form action="restoreDB.php" method=post
                    enctype="multipart/form-data"
                    onsubmit="return confirm('It will replace all your exising database with backup. Do you really want to proceed?')">
                    <input type=file name=file id="file">
                    <input type=submit value=Restore onclick="">
            </form>
              *}
              <table border="0" width="100%" style="border:solid 0.1em;font-size:12px" bgcolor="">
                    <tr bgcolor="#CDD9E1">
                            <td width="10%">
                                <span style="font-weight:bold">Name <span style="font-size:10px;font-wieght:normal">(internal)</span></span>
                            </td>
                            
                            <td width="13%">
                                <span style="font-weight:bold">Title <br/><span style="font-size:10px;font-wieght:normal">(for display)</span></span>
                            </td>
                            
                            <td width="25%">
                                <span style="font-weight:bold">Field Type</span>
                            </td>
                            
                            <td width="12%">
                                <span style="font-weight:bold">Display Type</span>
                            </td>
                            
                            <td width="20%">
                                <span style="font-weight:bold">Validation function</span>
                            </td>
                            
                            <td width="7%">
                                <span style="font-weight:bold">Order</span>
                            </td>
                            
                            <td width="13%">
                                 <span style="font-weight:bold">Action</span>
                            </td>
                      </tr>
              {section name=data loop=$data}
                      <tr>
                            <td width="10%" class="FieldLabelNote" style="text-align:left !important;">
                                {$data[data].name}
                            </td>
                            
                            <td width="13%" class="FieldLabelNote" style="text-align:left !important;">
                                 {$data[data].label}
                            </td>
                            
                            <td width="25%" class="FieldLabelNote" style="text-align:left !important;">
                                 SQL field({$data[data].datatype})
                            </td>
                            
                            <td width="12%" class="FieldLabelNote" style="text-align:left !important;">
                                {$data[data].displaytype}
                            </td>
                            
                            <td width="20%" class="FieldLabelNote" style="text-align:left !important;">
                                {$data[data].validationfurnction}
                            </td>
                            
                            <td width="7%" class="FieldLabelNote" style="text-align:left !important;">
                                <input type="text" id="txt{$data[data].id}order" style="text-align: center;" name="txt{$data[data].id}order" maxlength="20" size="1">
                            </td>
                            
                            <td width="13%" class="FieldLabelNote" style="text-align:left !important;">
                               <a href="#"> 
                                    <img alt="" align="absmiddle" src="{$ADMIN_IMAGE_DIR}/a_edit.gif" title="Edit"/>
                               </a>
                               
                               <a href="#" > 
                                    <img alt="" align="absmiddle" src="{$ADMIN_IMAGE_DIR}/a_delete.gif" title="Delete"/>
                               </a>
                               
                            </td>
                      </tr>
              {sectionelse}
                    <tr>
                         <td colspan="7" align="center"><span style="color:#000;font-weight:bold">No Record Found</span></td>
                    </tr>
              {/section}
              
                    
              </table>
              <br/>
              <table align="center" width="100%">
                      <tr>
                        <td colspan="7" align="center">
                               <a href="admin_field_ae.php"><input type="button" id="btnAddNew" name="btnAddNew" value="Add Field" style="padding:0px 40px 0px 40px;" onclick=""></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <a href="#"><input type="button" id="btnSaveFieldsOrder" name="btnSaveFieldsOrder" value="Save New Fields Order"></a>
                        </td>
                    </tr>
              </table>
         </div>
    </div>
    <div style="height:200px;">
    
    </div>
    
</div>

{$ADMIN_FOOTER}
Return current item: MembersGear