$commentID = (int) $_GET['cid'];
$postID = (int) $_GET['pid'];
$commentAction = $_GET['action'];
$commentAction = addslashes(preg_replace("/[^a-z0-9]/i", '', strip_tags($commentAction)));
$localization = 'ajaxEdit';
$min = '';
if ($aecomments->get_admin_option('compressed_scripts') == 'true') {
    $min = ".min";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
AECCSS::output_interface_css();
AECJS::register_popups_js('request-deletion');
wp_print_scripts(array('aec_popups'));
wp_print_styles(array('aeccommenteditor'));
do_action('add_wp_ajax_comments_css_editor');
?>
<title>WP Ajax Edit Comments Request Deletion</title>
</head>
<body class="request-deletion">
<div id="comment-options">
<h3><?php 
_e("Request Deletion", 'ajaxEdit');
?>
</h3>
<?php 
/* Admin nonce */
wp_nonce_field('requestdeletion_' . $commentID);
 public static function load_frontend($skiptest = true)
 {
     global $aecomments, $post;
     if (is_admin()) {
         return;
     }
     $load_footer = $aecomments->get_admin_option('scripts_in_footer') == "true" ? true : false;
     $min = '';
     if ($aecomments->get_admin_option('compressed_scripts') == 'true') {
         $min = ".min";
     }
     if ($skiptest == true) {
         if (!is_page() && !is_single()) {
             return;
         }
         if ('closed' == $post->comment_status && !is_user_logged_in()) {
             return;
         }
     }
     $expand = $aecomments->get_admin_option('expand_posts') == 'true' ? true : false;
     $afterthedeadline = $aecomments->get_admin_option('after_deadline_posts') == "true" ? true : false;
     if (!$expand && !$afterthedeadline) {
         return;
     }
     $deps = array('jquery');
     if ($expand) {
         if (AECDependencies::queue_colorbox_script($min, $load_footer)) {
             $deps[] = "colorbox";
         }
     }
     AECJS::output_js('aec_frontend', $deps, true);
 }
$commentID = (int) $_GET['cid'];
$postID = (int) $_GET['pid'];
$commentAction = $_GET['action'];
$commentAction = addslashes(preg_replace("/[^a-z0-9]/i", '', strip_tags($commentAction)));
$comment = get_comment($commentID);
$min = '';
if ($aecomments->get_admin_option('compressed_scripts') == 'true') {
    $min = ".min";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
AECCSS::output_interface_css();
AECJS::register_popups_js('move-comment');
wp_print_scripts(array('aec_popups', 'jquery-tools-tabs'));
wp_print_styles(array('aeccommenteditor'));
do_action('add_wp_ajax_comments_css_editor');
?>
<title>WP Ajax Edit Comments Move Comment</title>
</head>
<body class="hidden move">
<div id="comment-options">
<?php 
/* Admin nonce */
if (AECCore::is_comment_owner($postID)) {
    wp_nonce_field('wp-ajax-edit-comments_move-comment');
}
?>
<div class="wrap">
$commentID = (int) $_GET['cid'];
$postID = (int) $_GET['pid'];
$commentAction = $_GET['action'];
$commentAction = addslashes(preg_replace("/[^a-z0-9]/i", '', strip_tags($commentAction)));
$localization = 'ajaxEdit';
$min = '';
if ($aecomments->get_admin_option('compressed_scripts') == 'true') {
    $min = ".min";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
AECCSS::output_interface_css();
AECJS::register_popups_js('blacklist-comment');
wp_print_scripts(array('aec_popups', 'jquery-tools-tabs'));
wp_print_styles(array('aeccommenteditor'));
do_action('add_wp_ajax_comments_css_editor');
?>
<title>WP Ajax Edit Comments Blacklist Comment</title>
</head>
<body class="hidden blacklist">
<?php 
$comment = get_comment(intval($_GET['cid']));
/* Admin nonce */
wp_nonce_field('wp-ajax-edit-comments_blacklist-comment');
?>
<div><input type="hidden" id="commentID" value="<?php 
echo $commentID;
?>
$commentID = (int) $_GET['cid'];
$postID = (int) $_GET['pid'];
$commentAction = $_GET['action'];
$commentAction = addslashes(preg_replace("/[^a-z0-9]/i", '', strip_tags($commentAction)));
$comment = get_comment($commentID);
$min = '';
if ($aecomments->get_admin_option('compressed_scripts') == 'true') {
    $min = ".min";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
AECCSS::output_interface_css();
AECJS::register_popups_js('comment-editor');
wp_print_scripts(array('aec_popups', 'jquery-tools-tabs'));
wp_print_styles(array('aeccommenteditor'));
do_action('add_wp_ajax_comments_css_editor');
?>
<title>WP Ajax Edit Comments Comment Editor</title>
</head>
<body class="hidden editor">

<div id="container">
<?php 
if (AECCore::is_comment_owner()) {
    ?>
<div class="wrap">

	<!-- the tabs -->
 public static function output_js($handler, $dependencies = array(), $in_footer = false)
 {
     AECJS::get_js($handler, $dependencies, $in_footer);
     //echo out
 }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>WP Ajax Edit Comments Popup Box</title>
<?php 
global $aecomments;
if (!isset($aecomments)) {
    //for wp-load.php
    die('Access Denied');
}
load_plugin_textdomain('ajaxEdit', false, dirname(dirname(plugin_basename(__FILE__))) . '/languages/');
//For language purposes, this doesn't seem to run when a user first leaves a comment.
do_action('aec-popup-box-head');
AECCSS::output_interface_css();
AECJS::register_popups_js('comment-popup');
wp_print_scripts(array('aec_popups'));
wp_print_styles(array('aeccommenteditor'));
do_action('add_wp_ajax_comments_css_editor');
?>
</head>
<body id="aec-popup">
<?php 
do_action('aec-popup-box');
?>
<p><?php 
_e("Please type out your comment below.", 'ajaxEdit');
?>
</p>
<div id="aec_edit_options"></div>
<textarea name="comment" id="comment" cols="100%" rows="5" tabindex="1"></textarea>
<div class="form" id="buttons"><input type="button" id="close" name="close" value="<?php 
$localization = 'ajaxEdit';
$comment = get_comment($commentID);
$post = get_post($comment->comment_post_ID);
$user = get_userdata($post->post_author);
$email = $user->user_email;
$min = '';
if ($aecomments->get_admin_option('compressed_scripts') == 'true') {
    $min = ".min";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
AECCSS::output_interface_css();
AECJS::register_popups_js('email');
wp_print_scripts(array('aec_popups'));
wp_print_styles(array('aeccommenteditor'));
do_action('add_wp_ajax_comments_css_editor');
?>
<title>WP Ajax Edit Comments E-mail</title>
</head>
<body class="hidden email">
<div id="comment-options">
<?php 
/* Admin nonce */
wp_nonce_field('wp-ajax-edit-comments_email-comment');
?>
<input type="hidden" id="commentID" value="<?php 
echo $commentID;
?>