<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$language.lblAdmin} : {$language.lblFollowers}</title>
{include file='CommonStyles.tpl'}
{include file='CommonJavaScript.tpl'}
<link rel="stylesheet" type="text/css" href="{$view_styles}/grid_listing.css" />
<link rel="stylesheet" type="text/css" href="{$view_styles}/right-menu.css" />
{include file='CommonCustomStyles.tpl'}

</head><body>
<div class="outer_container">
   {include file='CommonTop.tpl'}
  <!--End:Header Container-->
 
  <!--End:Header Container-->
   <!--***********************************END HEADER ONTAINER********************************-->
  <div class="content_container2 clearfix">
    <div class="right-sidebar">
    <div class="side_wrapper">
   {html->anchor priv_href="business/new/" href="business/new/" caption="<strong><span class='add'></span>{$language.lblAddBussiness}</strong>" class="custom-btnt"}
    {include file='BusinessRightLinks.tpl'}
     </div>
     </div>
      <div class="left_wrapper">
    <div class="content_wrapper">
{*    {html->anchor href="business/follow/" caption="{$language.lblBack}" class="action-link fixing_right top-spacing"}*}
 <h2>{$language.lblBusinessFollowers}</h2>
       {form->start name="formBusinessSearch" action="" method="post" enctype="multipart/form-data"}
        <div class="search_container">
          <div class="inner">
            <ul class="clearfix">
            	<li class="column"> 
                    <p class="label-field01">{$language.lblBusinessName}</p>
                   <span class="form-field01">                   
                    {form->textbox name="businessName" class="text-box"} </span></li> 

                 </li>
                  <li class="column">					  
                	<p class="label-field01">&nbsp;</p>
               {form->submit name="submitSearch" value="{$language.lblSearch}" class="button01 margin-r-10"} 
               {html->anchor href="/business/follow/" class="action-link" caption="{$language.lblListAll}" tabindex="8"}</li>
                </ul>
          </div>
        </div>
                 <div id="common_message" ></div>
         {if $resListBusinessFollowers} {form->start name="frmBusinessFollowers"  method="post"}
          {form->submit name="businessFollowers" id="businessFollowers" class="txt-link fixing_right" value="{$language.lblExport}"}<div class="clear"></div>
                {form->close}{/if}
                 {if $resListBusinessFollowers}
          <div class="grid_table00">
            <table width="100%" border="0" cellspacing="0" cellpadding="0"   >
              <tr>
                <th align="left" valign="middle"  width="130"> {$language.lblName}</th>
                <th align="left" valign="middle" width="375" >{$language.lblCotactemail}</th>
                <th align="left" valign="middle" width="375" >{$language.lblMerchant}</th>
                <th align="left" valign="middle"  width="150">{$language.lblFollowedDate}</th> 
              </tr>
              {foreach from=$resListBusinessFollowers item=businessFollowers}
              <tr>
                <td align="left" valign="top">{$businessFollowers.userFirstName|escape}   </td>
                <td align="left" valign="top">{$businessFollowers.userEmail|escape} <br /></td>
                 <td align="left" valign="top">{$businessFollowers.businessName|escape} <br /></td>
                <td align="left" valign="top">{$businessFollowers.followDate|date_format:$date_format}&nbsp;{$businessFollowers.followDate|date_format:$time_format} </td>
              </tr>
               {/foreach}
              </table>
</div> <!--End:Table Listing-->        

<div class="fixing_right pagination_outer">
                    	{paginate->layout  key="page" label_record="{$language.lblRecorsFound}" label_pages="{$language.lblPages}"}
            			<!--end: Pagination-->
            			 <div class="clear"></div>
        </div>
    <div class="clear"></div>   
                  
{else}

<div id="common_message"  class="message_info"> {$language.msgNoRecords}</div>

{/if}       
        </div>
        <!--End:Border 3-->
      </div>
      <!--End:Border 2-->
    </div>
  <!--***************************************END CONTAINER SECTION******************************************************-->
  <!--End:Content Container-->
  {include file='CommonBottom.tpl'}
</div>
<!--End:Outer Container--> 
</body>
<script type="text/javascript">
$(document).ready(function(){
    $('.side_wrapper ul li a').removeClass('selected');   $('.side_wrapper ul li a[rel=follow]').addClass('selected');
});
</script> 
</html>
