$_GET = array_map('stripslashes_deep', $_GET);
    $_COOKIE = array_map('stripslashes_deep', $_COOKIE);
}
if (isset($_SESSION["sess_userid"]) and $_SESSION["sess_userid"] != "") {
    $userid = $_SESSION["sess_userid"];
} else {
    header("Location:login.php");
    exit;
}
if (isset($_GET['msg'])) {
    $message = $_GET['msg'];
}
//delete product review
if ($_GET['delete_permanent'] == 'Y') {
    $feedback_id = $_REQUEST['feedback_id'];
    $message = Userdashboard::updateProductFeedbackStatus($feedback_id);
    $url = "list_product_feedbacks.php?msg=" . $message;
    generalMethods::redirect($url);
}
//get currency
$currency_attributes = displayCurrencyType();
//get all product reviews
$product_feedbacks = Userdashboard::listProductFeedbacks($userid);
$totalrows = count($product_feedbacks);
//get pagination results
$limit = getPaginationLimit();
if ($limit == 0) {
    $limit = 10;
}
$page = isset($_GET['page']) ? trim($_GET['page']) : 1;
if (empty($page)) {