<?php
$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] ?: array()) + array("_2aef71f103069bdb" . "72b57d0b3bd1d294" => base64_decode("Q2Fubm90IGRpc3BsYXkgY29tbWVudHMgLSBwYWdlIG" . "5vdCBpZGVudGlmaWVk"), "_1a6a10bd09998a" . "d0ae2a2b4e0fd96" . "6e8" => base64_decode("U0NSSVBUX1VSS" . "Q=="), "page" . "_id" => base64_decode("cGFnZV9pZA" . "=="), "_69c6236c927bc93c5d06207496" . "7d834d" => base64_decode("cGFnZV92ZX" . "JzaW9u"));
class PublishCommentsComponent extends ClaCommentsComponent
{
    public function Show($attributes)
    {
        $_b2e2301cda45361416cebc466d340194 = PublishBrowser::Instance();
        $page_id = $_b2e2301cda45361416cebc466d340194->GetPageIdByUrl($_SERVER[$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_1a6a10bd09998ad0ae2a2b4e0fd" . "966e8"]]);
        if ($page_id < 0) {
            return $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_2aef71f103069b" . "db72b57d0b3bd1d" . "294"];
        }
        $attributes[$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["page_i" . "d"]] = $page_id;
        return parent::Show($attributes);
    }
    public function GetCommentsObject($attributes)
    {
        $comments = new PublishComments($attributes[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["page" . "_id"]], $attributes[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_69c6236c927bc93c5d062074967" . "d834d"]]);
        return $comments;
    }
}