<?php
$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_aed8da0f19091214b78f8" . "0351048517c" => base64_decode("c3RybGV" . "u"));




abstract class NewsDialogBase extends ErrorHandler
{
    
    
    
    
    
    
    protected $news_item;
    
    
    
    
    
    
    protected $is_admin = false;
    protected $lang_dialog;
    
    
    
    
    
    
    
    public function __construct(NewsItemBase $_60378eae7533ef2a18e2cf710db06291, $admin_mode = false)
    {
        $this->news_item = $_60378eae7533ef2a18e2cf710db06291;
        $this->is_admin = $admin_mode;
        $this->lang_dialog = new LanguageDialog($_60378eae7533ef2a18e2cf710db06291);
    }
    
    
    
    
    
    
    public function IsAdmin()
    {
        return $this->is_admin;
    }
    
    
    
    
    
    
    
    
    
    
    protected static function ParseDate($_b1587f9c43f1b559c8731e6cf60b2173, $_c8b38c7133c2e8460c1cca42230ac6c2 = '00:00')
    {
        if ($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_aed8da0f19091214b7" . "8f80351048517c"]($_b1587f9c43f1b559c8731e6cf60b2173) == 0) {
            return null;
        }
        $_67a0d624aebcceb0abd5ce56a53ff06f = Date::CreateFrom($_b1587f9c43f1b559c8731e6cf60b2173, $_c8b38c7133c2e8460c1cca42230ac6c2);
        if (!$_67a0d624aebcceb0abd5ce56a53ff06f) {
            return null;
        }
        return $_67a0d624aebcceb0abd5ce56a53ff06f->getDate(DATE_FORMAT_TIMESTAMP);
    }
}