<?php
DUP_Util::hasCapability('read');

require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/javascript.php');
require_once(DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php');
?>
<style>
    /*================================================
    PAGE-SUPPORT:*/
    div.dup-support-all {font-size:13px; line-height:20px}
    table.dup-support-hlp-hdrs {border-collapse:collapse; width:100%; border-bottom:1px solid #dfdfdf}
    table.dup-support-hlp-hdrs {background-color:#efefef;}
    table.dup-support-hlp-hdrs td {
        padding:2px; height:52px;
        font-weight:bold; font-size:17px;
        background-image:-ms-linear-gradient(top, #FFFFFF 0%, #DEDEDE 100%);
        background-image:-moz-linear-gradient(top, #FFFFFF 0%, #DEDEDE 100%);
        background-image:-o-linear-gradient(top, #FFFFFF 0%, #DEDEDE 100%);
        background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #DEDEDE));
        background-image:-webkit-linear-gradient(top, #FFFFFF 0%, #DEDEDE 100%);
        background-image:linear-gradient(to bottom, #FFFFFF 0%, #DEDEDE 100%);
    }
    table.dup-support-hlp-hdrs td img{margin-left:7px}
    div.dup-support-hlp-txt{padding:10px 4px 4px 4px; text-align:center}
    div.dup-support-give-area {width:400px; height:185px; float:left; border:1px solid #dfdfdf; border-radius:4px; margin:10px; line-height:18px;box-shadow: 0 8px 6px -6px #ccc;}
    div.dup-spread-word {display:inline-block; border:1px solid red; text-align:center}
	
    img#dup-support-approved { -webkit-animation:approve-keyframe 12s 1s infinite alternate backwards}
    form#dup-donate-form input {opacity:0.7;}
    form#dup-donate-form input:hover {opacity:1.0;}
    img#dup-img-5stars {opacity:0.7;}
    img#dup-img-5stars:hover {opacity:1.0;}
	
	/* EMAIL AREA */
	div.dup-support-email-area {width:825px; height:250px; border:1px solid #dfdfdf; border-radius:4px; margin:10px; line-height:18px;box-shadow: 0 8px 6px -6px #ccc;}
	#mce-EMAIL {font-size:20px; height:40px; width:500px}
	#mce-responses {width:300px}
	#mc-embedded-subscribe { height: 35px; font-size: 16px; font-weight: bold}
	div.mce_inline_error {width:300px; margin: auto !important}
	div#mce-responses {margin: auto; padding: 10px; width:500px}
</style>

<script>var switchTo5x = true;</script>
<script type="text/javascript" src="https://ws.sharethis.com/button/buttons.js"></script>
<script>stLight.options({publisher: "1a44d92e-2a78-42c3-a32e-414f78f9f484"});</script> 

<div class="wrap dup-wrap dup-support-all">
	
    <?php duplicator_header(__("About", 'duplicator')) ?>
    <hr size="1" />

    <div style="width:850px; margin:auto; margin-top: 20px">
        <table style="width:825px">
            <tr>
                <td style="width:90px">
                    <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/logo-box.png" style='text-align:top; margin:0'  />
                </td>
                <td valign="top" style="padding-top:10px; font-size:14px">
                    <?php
                    _e("Duplicator helps you streamlines your workflows and quickly clone a WordPress site. The plugin was made to help you speed up the migration process of moving a WordPress site. Please help us to continue in the development effort of this plugin with a 5 star.", 'duplicator');
                    ?>
                </td>
            </tr>
        </table><br/>

        <!-- PARTNER WITH US -->
        <div class="dup-support-give-area">
            <table class="dup-support-hlp-hdrs">
                <tr >
                    <td style="height:30px; text-align: center;">
                        <span style="display: inline-block; margin-top: 5px"><?php _e('Rate Duplicator', 'duplicator') ?></span>
                    </td>
                </tr>
            </table>
            <table style="text-align: center;width:100%; font-size:11px; font-style:italic; margin-top:25px">
                <tr>
                    <td valign="top">
                        <a href="http://wordpress.org/extend/plugins/duplicator" target="_blank"><img id="dup-img-5stars" src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/5star.png" /></a>
                        <div  style=" font-size: 16px; font-weight: bold">
							<a href="http://wordpress.org/extend/plugins/duplicator" target="_blank"><?php _e('Leave 5 Stars', 'duplicator') ?></a>
						</div>
                    </td>
                </tr>
            </table>
        </div> 

        <!-- SPREAD THE WORD  -->
        <div class="dup-support-give-area">
            <table class="dup-support-hlp-hdrs">
                <tr>
                    <td style="height:30px; text-align: center;">
                        <span style="display: inline-block; margin-top: 5px"><?php _e('Spread the Word', 'duplicator') ?></span>
                    </td>
                </tr>
            </table>
            <div class="dup-support-hlp-txt">
                <?php
                $title = __("Duplicate Your WordPress", 'duplicator');
                $summary = __("Rapid WordPress Duplication by snapcreek.com", 'duplicator');
                $share_this_data = "st_url='" . DUPLICATOR_HOMEPAGE . "' st_title='{$title}' st_summary='{$summary}'";
                ?>
                <div style="width:100%; padding:20px 10px 0px 10px" align="center">
                    <span class='st_facebook_vcount' displayText='Facebook' <?php echo $share_this_data; ?> ></span>
                    <span class='st_twitter_vcount' displayText='Tweet' <?php echo $share_this_data; ?> ></span>
                    <span class='st_googleplus_vcount' displayText='Google +' <?php echo $share_this_data; ?> ></span>
                    <span class='st_linkedin_vcount' displayText='LinkedIn' <?php echo $share_this_data; ?> ></span>
                    <span class='st_email_vcount' displayText='Email' <?php echo $share_this_data; ?> ></span>
                </div><br/>
            </div>
        </div>
        <br style="clear:both" /><br/>
		
		<!-- STAY IN THE LOOP  -->
        <div class="dup-support-email-area">
            <table class="dup-support-hlp-hdrs">
                <tr>
                    <td style="height:30px; text-align: center;">
                        <span style="display: inline-block; margin-top: 5px"><?php _e('Stay in the Loop', 'duplicator') ?></span>
                    </td>
                </tr>
            </table>
            <div class="dup-support-hlp-txt">
				<div class="email-box">
					<div class="email-area">
						<!-- Begin MailChimp Signup Form -->
						<div class="email-form">
							<div style="font-size:18px; width: 525px; padding: 5px 0 15px 0; text-align: center; font-style: italic; margin: auto">
								<?php _e('Subscribe to the Duplicator newsletter and stay on top of great ideas, tutorials, and better ways to improve your workflows', 'duplicator') ?>...
							</div>
							

							<div id="mc_embed_signup">
								<form action="//snapcreek.us11.list-manage.com/subscribe/post?u=e2a9a514bfefa439bf2b7cf16&amp;id=1270a169c1" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
									<div id="mc_embed_signup_scroll">
										<div class="mc-field-group">
											<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="Your Best Email *">
										</div>
										<div id="mce-responses" class="clear">
											<div class="response" id="mce-error-response" style="display:none"></div>
											<div class="response" id="mce-success-response" style="display:none"></div>
										</div>
										<div style="position:absolute; left:-5000px;"><input type="text" name="b_e2a9a514bfefa439bf2b7cf16_1270a169c1" tabindex="-1" value=""></div>
										<div style="margin: auto; text-align: center">
											<input type="submit" class="button-primary button-large" value="Sign me up!" name="subscribe" id="mc-embedded-subscribe" >
										</div>
										<!-- Forces the submission to use Duplicator group -->
										<input style="display:none" checked="checked" type="checkbox" value="1" name="group[15741][1]" id="mce-group[15741]-15741-0">						
									</div>
								</form>
							</div>
						</div>
	
						<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
						<script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
						<!--End mc_embed_signup-->
					</div>
				</div>
				
				
				
            </div>
        </div>
        <br style="clear:both" /><br/>
		
		
		<!--div style='margin: auto; text-align: center; margin-top: 20px'>
			<a href="http://lifeinthegrid.com/tools" target="_blank"  class="button button-large button-primary">
				<i class="fa fa-rocket" style="margin-right:8px"></i><?php _e('Get More Great Tools', 'duplicator') ?>...
			</a>
		</div-->


    </div>
</div><br/><br/><br/><br/>