Location: PHPKode > projects > MembersGear > membersgear/templates/admin_dashboard.tpl
{$ADMIN_HEADER} 
<div id="content" class="setdiv">
<div id="full-contentdiv">
          <div class="righttop">
                <h2  align="center">
                   Welcome to  Admin Control Panel
                </h2>
            </div>
         <div class="whole-page clear">
            <!-- Place your content here -->
          
              <form method="post" name="myform" action="admin_admin_m.php?action={$action}">
                 <input type="hidden" name="uid" id="uid" value="{if $IsEdit eq 'yes'}{$userdata[0].id}{/if}">   
                 <div class="formformat">
                 <table  border="0"  cellspacing="0" cellpadding="0" width="100%">    
                  <tbody>
                           <tr>
                            <td valign="top"  class="right-side-text" style="border-bottom:0px;text-align:right;color:#AF4600;padding-right:10px;"><label>logged in Date {$smarty.now|date_format:"%d-%m-%Y"}</label>
                            </td>
                           </tr>
                            <tr>
                            <td valign="top"  class="right-side-text" style="border-bottom:0px;text-align:right;color:#AF4600;padding-right:10px;"><label>logged in IP {php}echo $_SERVER['REMOTE_ADDR'];{/php} </label>
                            
                                                        
                            </td>
                           </tr>
                            <tr>
                            <td valign="top"  class="right-side-text" style="width:348px;border-bottom:0px;">&nbsp;</td> 
                           </tr>
                           <tr>
                             <td>
                                <table border="0"  cellspacing="0" cellpadding="0" style="width:50%;" align="center">
                                <tr>
                                    <td colspan="2" class="right-side-text" style="text-align:center;padding-bottom:5px;">
                                        <label>Users Subscription </label>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top"  class="right-side-text" style="width:200px;padding-bottom:5px;">
                                      <label>Active  </label>
                                    </td>
                                    <td class="left-side-text">
                                      {$dashboarddata.activecount}   
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top"  class="right-side-text" style="width:200px;padding-bottom:5px;">
                                    <label>InActive</label>
                                    </td>
                                    <td class="left-side-text">
                                      {$dashboarddata.inactivecount}   
                                    </td>
                                </tr>
                                  <tr>
                                    <td valign="top"  class="right-side-text" style="width:200px;padding-bottom:5px;">
                                     <label> Pending   </label>
                                    </td>
                                    <td class="left-side-text">
                                      {$dashboarddata.pendingcount}   
                                    </td>
                                </tr>
                                  <tr>
                                    <td valign="top"  class="right-side-text" style="width:200px;padding-bottom:5px;">
                                      <label>Expire  </label>
                                    </td>
                                    <td class="left-side-text">
                                      {$dashboarddata.expirecount}   
                                    </td>
                                </tr>
                                 <tr>
                                    <td valign="top"  class="right-side-text" style="width:200px;padding-bottom:5px;">
                                    <label>Total</label>
                                    </td>
                                    <td class="left-side-text">
                                      {$dashboarddata.totalcount}   
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top"  class="right-side-text" style="width:200px;padding-bottom:5px;">
                                    <label>  User Access log today</label>
                                    </td>
                                    <td class="left-side-text">
                                    {$dashboarddata.usercountfortoday}    
                                    </td>
                                </tr>  
                                <tr>
                                  <td valign="top"  class="right-side-text" style="width:200px;padding-bottom:5px;">
                                        <label>  Email log messages today</label>
                                  </td>
                                  <td class="left-side-text">
                                     {$dashboarddata.emaillogfortoday}   
                                  </td>
                                  </tr>
                               
                               </table><br/><br/>
                                </td>
                             </tr>
                            
                          
                                
                             
                              
                         
                  </tbody>
                  </table>  
               </div> 
              </form>
            </div>
  </div>
    </div>                  
{$ADMIN_FOOTER}
Return current item: MembersGear