Location: PHPKode > projects > MembersGear > membersgear/templates/admin_user_subscription_manage.tpl
{$ADMIN_HEADER}
<div id="content" class="setdiv">
{if $msg neq ''}  
    <br/><center><span class=errormsg style="">{if $msg neq ''}{$msg}{/if}</span></center>   
{/if}
 <div id="full-contentdiv">
          <div class="righttop">
                <h2 align="center">
                    Edit subscription of {$username}</h2>
            </div>
         <div class="whole-page clear">
            <!-- Place your content here -->
            {if $IsEdit eq 'yes'}
                    {assign var="action" value="update"}
              {else}
                   
                    {assign var="action" value="insert"}
                  
              {/if}
              <form method="post" name="myform" action="admin_user_subscription_m.php?action={$action}&from={$from}"> 
                    <input type="hidden" name="subuid" id="subuid" value="{if $IsEdit eq 'yes'}{$subid}{/if}">   
                    <input type="hidden" value="{$userid}" name="uid" id="uid">
                     <div class="formformat ">
                          <table border="0"  width="60%"  align="center"  cellspacing="0" cellpadding="0" >    
                          <tbody>
                            <tr>
                                <td class="right-side-text" width="228px"><label>Product Membership Status : <label class="star">*</label></label></td>
                            
                                <td class="left-side-text">
                                
                                  <select id="ddlstatus" name="ddlstatus" class="selectcss"  style="width: 200px ! important;" >
                                    <option value=''>select..</option>
                                    {foreach from=$laprodmemstatus item="laprodmemstatusitem" key="k"} 
                                         <option value="{$k}"
                                        {if $IsEdit eq 'yes'}
                                                {if $prodmemsubid eq $k}
                                                   selected=""
                                                 {/if} 
                                           {elseif $IsEdit eq ''}
                                                  
                                           {elseif $post.ddlstatus eq $k} 
                                                   selected=""
                                           {/if}>{$laprodmemstatusitem}</option>
                                    {/foreach}                                    
                                    </select>   
                                </td>
                             </tr>
                                 <tr>
                           
                                <td  class="right-side-text">&nbsp;</td>
                                <td  class="buttontd">  
                                    <input class="btncss" type="submit" name="submit" {if $IsEdit eq 'yes'}value="Save"{else}value="Submit"{/if}>&nbsp;&nbsp;&nbsp;
                                    <input  class="btncss" type="button" name="btnBack" value="Cancel" onclick="window.history.go(-1);"></td>
                            </tr>   
                          </tbody>
                          </table>
                      </div>
              </form>
               </div>
   </div> 
  {literal} 
   <script language="JavaScript" type="text/javascript">
   
    var frmvalidator  = new Validator("myform");
    frmvalidator.EnableMsgsTogether();
    frmvalidator.addValidation("ddlstatus","dontselect=''","Please select Product Membership Status.");   
   </script>
  {/literal}    
  </div>
{$ADMIN_FOOTER}
Return current item: MembersGear