<?php
global $message;
echo $message;
?>
<div class="wrap metabox-holder has-right-sidebar">
    <h2>Setting</h2>
    <div class="postbox">
        <h3><span>Setting</span></h3>
        <div class="inside">
            <div id="valid-message"></div>
            <form action="" name="campagin" method="POST" enctype="multipart/form-data">
                <table width="96%" align="center" cellpadding="3" cellspacing="3" class="afp-campagin">
                    <tr>
                        <td  width="20%" height="20px"><b>Enter Autoresponder Code:</b></td>
                        <td width="78%">
                            <textarea name="cand_html_code" cols="85" rows="12" id="htmlcode"><?php echo stripcslashes(get_option('cand_html_code')); ?></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>
                            <input type="submit" name="submit" value="Submit" />
                        </td>
                    </tr>
                </table>
            </form>
            <div style="width:96%;margin-top: 30px;margin-bottom: 30px;clear:both;">
                <div style="float:left;width:auto;margin-right: 20px;">
                    <div style="margin-bottom:30px;clear: both;">
                        <a href="<?php echo $this->imgweburl ?>"><img src="<?php echo $this->imgurl ?>" alt="" /></a>
                    </div>
                    <div style="margin-bottom:20px;clear: both;">
                        <a href="<?php echo $this->weburl ?>"><?php echo $this->anchortext ?></a>
                    </div>
                </div>
                <div style="width:auto;" >
                    <iframe src="<?php echo $this->iframeurl ?>" height="600px" width="650px"></iframe> 
                </div>
            </div>
        </div>
    </div>
</div>