Esempio n. 1
0
        linksync_jQuery1('#response').removeClass('error').addClass('updated').html("<?php 
    echo $response;
    ?>
").fadeIn().delay(3000).fadeOut(4000);
                   
    </script>
    <?php 
}
if (isset($_POST['apikey_delete'])) {
    $api_key = explode('|', $_POST['id']);
    $table_name = $wpdb->prefix . 'linksync_laidKey';
    $where = array('id' => $api_key[0]);
    if ($wpdb->delete($table_name, $where, $where_format = null)) {
        if (get_option('linksync_laid') == $api_key[1]) {
            update_option('linksync_laid', '');
            linksync_class::releaseOptions();
        }
    }
}
?>
<div id="tiptip_holder" style="margin:187px 1px 1px 643px  !important;display: none;" class="tip_top">
    <div id="tiptip_arrow" style="margin-left: 74.5px; margin-top: 47px;"><div id="tiptip_arrow_inner"></div></div>
    <div id="tiptip_content">The linksync API Key is a unique key that's created when you link two apps via the linksync dashboard. You need a valid API Key for this linkysnc extension to work.
    </div>
</div>
<div id="myModal" class="reveal-modal">
    <form method="POST" name="f1" action="">
        <center><span style="color: #0074a2;font-size: 18px;">Enter the API Key</span></center>
        <hr>
        <div style="float: left;font-size: 14px;color: #0074a2; text-align: right; margin-top: 4px;">API Key*:</div>
        <div style="float: left;margin-left: 10px;">