<!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>Admin :{$language.lblManageBussiness}</title>
<script type="text/javascript">
var lblAlertOk='{$language.lblAlertOk}';
var lblAlertCancel='{$language.lblAlertCancel}';
var lblAlertYes='{$language.lblAlertYes}';
var lblAlertNo='{$language.lblAlertNo}';
var lblAlert='{$language.lblAlert}';
</script>

<script type="text/javascript" src="{$common_js}/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="{$common_js}/jquery-migrate-1.4.1.js"></script>
<script type="text/javascript" src="{$view_javascript}/message.plugin.js"></script>
<script>
//CHK LENGTH
function ismaxlength(obj)
{
   var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : ""
   if (obj.getAttribute && obj.value.length>mlength){
   obj.value=obj.value.substring(0,mlength)
    jAlert("Maximum of 200 characters are allowed");
	}
}
</script>
<link href="{$view_styles}/popup.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body >
<div class="popup-block">
        <div id="common_message" ></div>
        <div class="heading_section"> {form->start name="frmDeclineRequest" action="" method="post"}
          {form->hidden name="curraffiliateReqID" value=$curraffiliateReqID}
          <div class="form_listing" >
            <ul>
             <li class="clearfix">
                <div class="leftside full_width">
                  <div class="leftside01">{$language.lblReasonForDecline}</div>
                  <div class="rightside01"> {form->textarea onkeyup="return ismaxlength(this)" tabindex="1" onchange="return ismaxlength(this)" maxlength="200" name="affiliateDeclineReason" class="length0_50pers" rows="8" cols="3" validate="required" validate_event="submit"  error=$language.errReason} </div>
                  
                </div>
                <div class="clear"></div>
              </li>
              <li class="clearfix">
                <div class="leftside01">&nbsp;</div>
                <div class="rightside01">
                <div class="submit-block textto_center"> <span>&nbsp; </span> {form->submit  name="submitDeclineRequest" tabindex="1" id="submit" class="curve-3" value=$language.lblDeclineRequest} {$language.lblOr}
        {html->anchor id="cancel" tabindex="1" onclick="parent.location.reload();" name="cancelDeclineRequest"  caption="{$language.lblCancel}"} </div>
                 
              </li>
            </ul>
          </div>
        </div>
</div>
</body>
</html>
</div>
{form->validate_script form="frmDeclineRequest"}
{form->rootpath_script}
{form->basepath_script}
<script type="text/javascript" src="{$common_js}/validate.plugin.js"></script>
</body>
</html>