<br><br>
<?php
if($optin_arr['9']=='aweber')
{
?>
<!--aweber -->
<table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
                            <form method="post" action="https://www.aweber.com/scripts/addlead.pl" target="_blank">
                            <input type="hidden" name="meta_web_form_id" value="<?php echo $optin_arr['1']; ?>">
                            <input type="hidden" name="meta_split_id" value="">
                            <input type="hidden" name="listname" value="<?php echo $optin_arr['2']; ?>">
                            <input type="hidden" name="redirect" value="<?php echo $optin_arr['3']; ?>">
                            <input type="hidden" name="meta_adtracking" value="">
                            <input type="hidden" name="meta_message" value="1">
                            <input type="hidden" name="meta_required" value="name,from">
                            <input type="hidden" name="meta_forward_vars" value="0">
                            <table width="400" align="center" class="main1">
                              <tr>
                                <td colspan="2" align="center"><center>
                                    <div align="center"><strong class="main1"><?php echo $optin_arr['0']; ?></strong></div>
                                </center></td>
                              </tr>
                              <tr>
                                <td width="95" height="30" align="right" valign="middle" style="padding-right: 5px;">Name:</td>
                                <td width="293" height="30" align="left" valign="middle"><input type="text" name="name" value="" size="25"></td>
                              </tr>
                              <tr>
                                <td height="30" align="right" valign="middle" style="padding-right: 5px;">Email:</td>
                                <td height="30" align="left" valign="middle"><input type="text" name="from" value="" size="25"></td>
                              </tr>
                              <tr>
                                <td height="40" colspan="2" align="center" valign="middle">
                                <input type="submit" name="submit" value="Submit"></td>
                              </tr>
                            </table>
                        </form>   
    </td>
  </tr>
</table>
<!--aweber -->
<?php
}
?>
<?php
if($optin_arr['9']=='gr')
{
?>
<!--getresponse -->
<table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
                            <form action="https://app.getresponse.com/add_subscriber.html" accept-charset="utf-8" method="post" target="_blank">
                            <input type="hidden" name="campaign_token" value="<?php echo $optin_arr['7']; ?>" />
                            <input type="hidden" name="thankyou_url" value="<?php echo $optin_arr['3']; ?>"/>
                            <input type="hidden" name="start_day" value="0" />
                            <input type="hidden" name="forward_data" value="" />
                            <table width="400" align="center" class="main1">
                              <tr>
                                <td colspan="2" align="center"><center>
                                    <div align="center"><strong class="main1"><?php echo $optin_arr['0']; ?></strong></div>
                                </center></td>
                              </tr>
                              <tr>
                                <td width="95" height="30" align="right" valign="middle" style="padding-right: 5px;">Name:</td>
                                <td width="293" height="30" align="left" valign="middle"><input type="text" name="first_name"/></td>
                              </tr>
                              <tr>
                                <td height="30" align="right" valign="middle" style="padding-right: 5px;">Email:</td>
                                <td height="30" align="left" valign="middle"><input type="text" name="email"/></td>
                              </tr>
                              <tr>
                                <td height="40" colspan="2" align="center" valign="middle">
                                <input type="submit" name="submit" value="Submit"></td>
                              </tr>
                            </table>
                        </form>   
    </td>
  </tr>
</table>
<!--getresponse -->
<?php
}
?>
<?php
if($optin_arr['9']=='ot')
{
?>
<!--alternate ar -->
<table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" class="main1">  
<!--alternate ar --> 
<div align="center"><strong><?php echo $optin_arr['0']; ?></strong></div>
<?php echo $optin_arr['5']; ?>
<!--alternate ar -->
    </td>
  </tr>
</table>
<?php
}
?>
<br>