<!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.lblSubscribersImport}</title>
{include file='CommonStyles.tpl'}
{include file='CommonJavaScript.tpl'}
{include file='CommonCustomStyles.tpl'}
<link rel="stylesheet" type="text/css" href="{$view_styles}/inner-formlisting.css" media="screen" />
<link href="{$view_styles}/right-menu.css" rel="stylesheet" type="text/css" />
</head><body>
<div class="outer_container">
  {include file='CommonTop.tpl'}
  <!--End:Header Container--> 
  <!--***********************************************************************START CONTAINER SECTION******************************************************-->
 <div class="content_container2 clearfix">
    <div class="right-sidebar">
      <div class="side_wrapper"> {include file='importrightlink.tpl'} </div>
    </div>
    <!--End: Right Block-->
    <div class="left_wrapper">
      <div class="content_wrapper">
    <h2>{$language.lblSubscribersImport}</h2>
                <div id="common_message" ></div>
            {form->start name="subscriber_import" action="" method="post" enctype="multipart/form-data"}
            <div class="form_listing ">
            <ul>
				<li class="clearfix">
                 <div class="leftside01">{$language.lblSelectAffiliate}</div>
                <!--End:Left-->
                <div class="rightside01">
				 {form->select caption="->{$language.lblSelectProductType}" name="affiliateID" class="width_50per" options=$affiliates validate='required' error="{$language.errSelectAffiliate}" tabindex="1"}
                </div>
              </li>
				<li class="clearfix">
                <div class="leftside01">{$language.lblSelectFile} (csv)</div>
                <!--End:Left-->
                <div class="rightside01">
                    {form->upload name="csvFile" id="fileField" validate="required~*csvFile->isFileType->csv" error=$language.lblSelectCsv tabindex="1"}
                    <span class="sub-text">{html->anchor href="affiliate/ajaxsamplecsvsubscribe/" caption=$language.lblDownloadsample}
                    {$language.lblAndUseTheSame}</span>
                </div>
                <!--End:right-->
                <div class="clear"></div>
					{*
					<div class="rightside01">
				{form->checkbox  name="downloadExist" options="Download the Exist subscribers list after Importing"}<br/>
				{form->checkbox  name="downloadDuplicate" options="Download the Duplicate email list after Importing"}<br/>
				{form->checkbox  name="downloadInvalid" options="Download the Invalid Mail list after Importing"}
				<br/><br/>
				</div>
				*}
              </li>
				<li class="clearfix">
              <div class="submit-block clearfix "> 
                <span>&nbsp; </span>
                <div class="leftside01">&nbsp;</div>
                <div class="rightside01">
                 {form->submit name="submit_import"  value="{$language.lblImportSubscribers}" class="curve-3" tabindex="1"}
				 {if $listPrivilege}
                {$language.lblOr} 
                {html->anchor href="affiliate/importsubscriberslist/" caption="{$language.lblCancel}" tabindex="1"}
				{/if}
                </div>
                <!--End:right-->
              </div>
               
              </li>
            </ul>
          
          </div> {form->close}<!--End:From Listing--> 
        </div>
      
    </div>
    <!--End: left Block-->
  </div>
  <!--***********************************************************************END CONTAINER SECTION******************************************************--> 
  <!--End:Content Container--> 
  {include file='CommonBottom.tpl'} 
</div>
{form->validate_script form="subscriber_import"}
{html->messages_script id="common_message"}
<!--End:Outer Container-->
<script type="text/javascript" src="{$view_javascript}/subscriber.page.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.side_wrapper ul li a[rel=importSubscriber]').addClass('selected');
	 setSideMenu(); 
});
</script>
{include file='CommonJavaScriptBottom.tpl'} 
<script type="text/javascript" src="{$common_js}/validate.plugin.js"></script>
</body>
</html>