SGL_Registry Object
(
    [aProps] => Array
        (
            [currentUrl] => SGL_URL Object
                (
                    [url] => /newspaper/action/newspaperdetail/newspaperId/6124/
                    [protocol] => http
                    [username] => 
                    [password] => 
                    [host] => ndigi.ir
                    [port] => 80
                    [path] => 
                    [querystring] => /newspaper/action/newspaperdetail/newspaperId/6124/
                    [aQueryData] => Array
                        (
                            [moduleName] => newspaper
                            [managerName] => newspaper
                            [action] => newspaperdetail
                            [newspaperId] => 6124
                        )

                    [frontScriptName] => 
                    [aRes] => Array
                        (
                            [0] => Array
                                (
                                )

                            [1] => Array
                                (
                                )

                            [2] => Array
                                (
                                    [moduleName] => newspaper
                                    [managerName] => newspaper
                                    [action] => newspaperdetail
                                    [newspaperId] => 6124
                                )

                        )

                    [anchor] => 
                    [useBrackets] => 1
                    [user] => 
                    [pass] => 
                )

            [request] => SGL_Request_Browser Object
                (
                    [aProps] => Array
                        (
                            [/newspaper/action/newspaperdetail/newspaperId/6124/] => 
                            [moduleName] => newspaper
                            [managerName] => newspaper
                            [action] => newspaperdetail
                            [newspaperId] => 6124
                        )

                    [type] => 1
                )

            [manager] => NewspaperMgr Object
                (
                    [masterTemplate] => masterNoCols.html
                    [template] => newspaperList.html
                    [pageTitle] => Newspaper Manager
                    [validated] => 1
                    [sortBy] => 
                    [_aActionsMapping] => Array
                        (
                            [newspaperdetail] => Array
                                (
                                    [0] => newspaperdetail
                                )

                            [newspaperdetailTest] => Array
                                (
                                    [0] => newspaperdetailTest
                                )

                            [buy] => Array
                                (
                                    [0] => buy
                                )

                            [archive] => Array
                                (
                                    [0] => archive
                                )

                            [newspaperMainPage] => Array
                                (
                                    [0] => newspaperMainPage
                                )

                        )

                    [conf] => Array
                        (
                            [db] => Array
                                (
                                    [type] => mysql_SGL
                                    [host] => localhost
                                    [protocol] => unix
                                    [socket] => 
                                    [port] => 3306
                                    [user] => ndigi
                                    [pass] => p+@P9mt=*32gBGzz
                                    [name] => ndigi
                                    [postConnect] => 
                                    [mysqlDefaultStorageEngine] => 0
                                    [charset] => 
                                    [collation] => 
                                    [sepTableForEachSequence] => 0
                                    [prefix] => 
                                )

                            [site] => Array
                                (
                                    [outputUrlHandler] => SGL_UrlParser_SefStrategy
                                    [inputUrlHandlers] => Classic,Alias,Sef
                                    [name] => نشر دیجیتال
                                    [showLogo] => logo.png
                                    [description] => Coming soon to a webserver near you.
                                    [keywords] => pear, php, framework, cms, content management
                                    [compression] => 0
                                    [outputBuffering] => 0
                                    [banIpEnabled] => 0
                                    [denyList] => 
                                    [allowList] => 
                                    [tidyhtml] => 0
                                    [blocksEnabled] => 1
                                    [safeDelete] => 1
                                    [frontScriptName] => 
                                    [defaultModule] => default
                                    [defaultManager] => default
                                    [defaultArticleViewType] => 1
                                    [defaultParams] => 
                                    [templateEngine] => flexy
                                    [wysiwygEditor] => ckeditor
                                    [extendedLocale] => 0
                                    [localeCategory] => LC_ALL
                                    [adminGuiTheme] => default_admin
                                    [defaultTheme] => default
                                    [masterTemplate] => masterNoCols.html
                                    [masterLayout] => layout-navleft-1col_fluid.css
                                    [filterChain] => 
                                    [globalJavascriptFiles] => js/SGL.js,js/jquery/jquery.min.js,js/bootstrap.min.js,js/app.js,js/gototop.js,js/jquery.slimscroll.js,js/modernizr-2.8.3-respond-1.4.2.min.js,js/owl.carousel.min.js,js/smooth-scroll.min.js,js/persianumber.min.js
                                    [globalJavascriptOnReadyDom] => 
                                    [globalJavascriptOnload] => 
                                    [globalJavascriptOnUnload] => 
                                    [customOutputClassName] => 
                                    [customRebuildTasks] => 
                                    [maintenanceMode] => 0
                                    [adminKey] => 
                                    [rolesHaveAdminGui] => SGL_ADMIN,SGL_SITEMANAGER
                                    [broadcastMessage] => 
                                    [loginTarget] => 
                                    [logoutTarget] => 
                                    [serverTimeOffset] => Asia/Tehran
                                    [baseUrl] => http://ndigi.ir
                                )

                            [sms] => Array
                                (
                                    [mciSendPasswd] => http://172.24.10.5/pishkhan/sendsms.php
                                    [default] => http://172.24.10.5/ndigi/send.php
                                )

                            [path] => Array
                                (
                                    [additionalIncludePath] => 
                                    [moduleDirOverride] => 
                                    [uploadDirOverride] => 
                                    [tmpDirOverride] => 
                                    [pathToCustomConfigFile] => 
                                    [installRoot] => /var/www/html/st/ndigi
                                    [webRoot] => /var/www/html/st/ndigi/public_html
                                )

                            [cookie] => Array
                                (
                                    [path] => /
                                    [domain] => 
                                    [secure] => 0
                                    [name] => MJOSESSID
                                    [rememberMeEnabled] => 0
                                )

                            [session] => Array
                                (
                                    [maxLifetime] => 0
                                    [extended] => 0
                                    [singleUser] => 0
                                    [handler] => file
                                    [allowedInUri] => 0
                                    [savePath] => 
                                    [permsRetrievalMethod] => 
                                )

                            [cache] => Array
                                (
                                    [enabled] => 0
                                    [libCacheEnabled] => 0
                                    [lifetime] => 86400
                                    [cleaningFactor] => 0
                                    [readControl] => 1
                                    [writeControl] => 1
                                    [javascript] => 0
                                )

                            [debug] => Array
                                (
                                    [authorisationEnabled] => 1
                                    [sessionDebugAllowed] => 0
                                    [customErrorHandler] => 1
                                    [production] => 1
                                    [showBacktrace] => 0
                                    [profiling] => 0
                                    [emailAdminThreshold] => 'PEAR_LOG_DEBUG'
                                    [showBugReporterLink] => 1
                                    [enableDebugBlock] => 0
                                    [showUntranslated] => 1
                                    [dataObject] => 0
                                    [infoBlock] => 0
                                )

                            [translation] => Array
                                (
                                    [tablePrefix] => translation
                                    [addMissingTrans] => 0
                                    [fallbackLang] => fa_utf_8
                                    [container] => file
                                    [installedLanguages] => en_utf_8,fa_utf_8
                                    [languageAutoDiscover] => 0
                                    [defaultLangBC] => 1
                                )

                            [navigation] => Array
                                (
                                    [enabled] => 1
                                    [renderer] => SimpleRenderer
                                    [driver] => SimpleDriver
                                )

                            [log] => Array
                                (
                                    [enabled] => 0
                                    [type] => file
                                    [name] => var/log/php_log.txt
                                    [priority] => 'PEAR_LOG_DEBUG'
                                    [ident] => PearFrm
                                    [ignoreRepeated] => 
                                    [paramsUsername] => 
                                    [paramsPassword] => 
                                    [showErrors] => 1
                                )

                            [app] => Array
                                (
                                    [key] => #K#2O1six*mojAm$
                                )

                            [mta] => Array
                                (
                                    [backend] => mail
                                    [sendmailPath] => /usr/sbin/sendmail
                                    [sendmailArgs] => -t -i
                                    [smtpHost] => 127.0.0.1
                                    [smtpLocalHost] => pear.net
                                    [smtpPort] => 25
                                    [smtpAuth] => 0
                                    [smtpUsername] => 
                                    [smtpPassword] => 
                                )

                            [email] => Array
                                (
                                    [admin] => mostafa.der@gmail.com
                                    [support] => mostafa.der@gmail.com
                                    [info] => mostafa.der@gmail.com
                                )

                            [popup] => Array
                                (
                                    [winHeight] => 500
                                    [winWidth] => 600
                                )

                            [censor] => Array
                                (
                                    [mode] => 0
                                    [replaceString] => *censored*
                                    [badWords] => your,bad,words,here
                                )

                            [p3p] => Array
                                (
                                    [policies] => 1
                                    [policyLocation] => 
                                    [compactPolicy] => CUR ADM OUR NOR STA NID
                                )

                            [tuples] => Array
                                (
                                    [version] => 1.0.4
                                )

                            [table] => Array
                                (
                                    [block] => block
                                    [block_role] => block_role
                                    [block_assignment] => block_assignment
                                    [module] => module
                                    [sequence] => sequence
                                    [uri_alias] => uri_alias
                                    [section] => section
                                    [login] => login
                                    [organisation] => organisation
                                    [organisation_type] => organisation_type
                                    [org_preference] => org_preference
                                    [permission] => permission
                                    [preference] => preference
                                    [role] => role
                                    [role_permission] => role_permission
                                    [user] => usr
                                    [user_permission] => user_permission
                                    [user_preference] => user_preference
                                    [user_session] => user_session
                                    [user_cookie] => user_cookie
                                    [product] => product
                                    [product_category] => product_category
                                    [product_category_type] => product_category_type
                                    [product_category_field] => product_category_field
                                    [product_detail] => product_detail
                                    [discount] => discount
                                    [discount_user] => discount_usr
                                    [product_price] => product_price
                                    [product_file] => product_file
                                    [product_user] => product_usr
                                    [co_worker_bill] => co_worker_bill
                                    [product_like] => product_like
                                    [general_setting] => general_setting
                                    [course] => course
                                    [course_section] => course_section
                                    [course_file] => course_file
                                    [course_grade] => course_grade
                                    [course_lesson] => course_lesson
                                    [course_video] => course_video
                                    [course_group] => course_group
                                    [course_tag] => course_tag
                                    [course_faq] => course_faq
                                    [course_view] => course_view
                                    [course_like] => course_like
                                    [course_rate] => course_rate
                                    [course_member] => course_member
                                    [course_member_video] => course_member_video
                                    [course_member_plan] => course_member_plan
                                    [course_member_log] => course_member_log
                                    [book_rate] => book_rate
                                    [music_album] => music_album
                                    [music_genre] => music_genre
                                    [music_artist] => music_artist
                                    [music_track] => music_track
                                    [music_like] => music_like
                                    [music_artist_title] => music_artist_title
                                    [music_track_artist_title] => music_track_artist_title
                                    [music_member] => music_member
                                    [music_member_plan] => music_member_plan
                                    [music_member_log] => music_member_log
                                    [music_member_listen] => music_member_listen
                                    [item_category] => item_category
                                    [document] => document
                                    [document_type] => document_type
                                    [item] => item
                                    [item_addition] => item_addition
                                    [item_type] => item_type
                                    [item_type_mapping] => item_type_mapping
                                    [advertisment] => advertisment
                                    [slider] => slider
                                    [apps] => apps
                                    [clip] => clip
                                    [clip_file] => clip_file
                                    [clip_comment] => clip_comment
                                    [clip_like] => clip_like
                                    [clip_category] => clip_category
                                    [clip_member] => clip_member
                                    [clip_member_log] => clip_member_log
                                    [clip_member_plan] => clip_member_plan
                                    [newspaper] => newspaper
                                    [newspaper_version] => newspaper_version
                                    [newspaper_category] => newspaper_category
                                    [service] => service
                                    [subscribers] => subscribers
                                    [subscribe_log] => subscribe_log
                                    [usr_app] => usr_app
                                    [book] => book
                                    [book_like] => book_like
                                    [book_category] => book_category
                                    [book_member] => book_member
                                    [book_member_log] => book_member_log
                                    [book_member_view] => book_member_view
                                    [book_member_plan] => book_member_plan
                                    [config] => config
                                    [bulk_message_report] => bulk_message_report
                                    [bulk_message] => bulk_message
                                )

                            [localConfig] => Array
                                (
                                    [moduleName] => newspaper
                                )

                            [score] => Array
                                (
                                    [register] => 30
                                    [introduction] => 20
                                    [introducing] => 20
                                    [buy] => 1
                                )

                            [introduce_code] => Array
                                (
                                    [length] => 6
                                )

                            [AdminNewspaperMgr] => Array
                                (
                                    [requiresAuth] => 1
                                    [showUntranslated] => 1
                                    [adminGuiAllowed] => 1
                                )

                            [NewspaperVersionMgr] => Array
                                (
                                    [requiresAuth] => 1
                                    [showUntranslated] => 1
                                    [adminGuiAllowed] => 1
                                )

                            [AdminNewspaperCategoryMgr] => Array
                                (
                                    [requiresAuth] => 1
                                    [showUntranslated] => 1
                                    [adminGuiAllowed] => 1
                                )

                            [PublisherMgr] => Array
                                (
                                    [requiresAuth] => 0
                                    [showUntranslated] => 1
                                    [adminGuiAllowed] => 
                                )

                            [PublisherVersionMgr] => Array
                                (
                                    [requiresAuth] => 0
                                    [showUntranslated] => 1
                                    [adminGuiAllowed] => 
                                )

                            [NewspaperMgr] => Array
                                (
                                    [requiresAuth] => 0
                                    [showUntranslated] => 1
                                    [adminGuiAllowed] => 
                                )

                            [NewspaperMobileMgr] => Array
                                (
                                    [showUntranslated] => 1
                                )

                            [NewspaperCafeMobileMgr] => Array
                                (
                                    [showUntranslated] => 1
                                )

                            [AdminNewspaperReportMgr] => Array
                                (
                                    [requiresAuth] => 1
                                    [showUntranslated] => 1
                                    [adminGuiAllowed] => 1
                                )

                            [width] => Array
                                (
                                    [value] => 1200
                                    [default] => 1200
                                    [description] => عرض تصویر اصلی روزنامه
                                )

                            [height] => Array
                                (
                                    [value] => 868
                                    [default] => 868
                                    [description] => ارتفاع تصویر اصلی روزنامه
                                )

                            [quality] => Array
                                (
                                    [value] => 75
                                    [default] => 69
                                    [description] => کیفیت عکس روزنامه یا مجله بار گذاری شده نکته با بالا رفتن کیفیت حجم تصاویر نیز تغییر خواهند کرد
                                )

                            [thumblnail_width] => Array
                                (
                                    [value] => 300
                                    [default] => 300
                                    [description] => عرض تصویر کوچک روزنامه
                                )

                            [thumblnail_height] => Array
                                (
                                    [value] => 214
                                    [default] => 214
                                    [description] => ارتفاع تصویر کوچک روزنامه
                                )

                            [thumblnail_quality] => Array
                                (
                                    [value] => 69
                                    [default] => 90
                                    [description] => کیفیت عکس روزنامه یا مجله بار گذاری شده نکته با بالا رفتن کیفیت حجم تصاویر نیز تغییر خواهند کرد
                                )

                            [AdminRecoveryMgr] => Array
                                (
                                    [requiresAuth] => 1
                                    [showUntranslated] => 1
                                    [adminGuiAllowed] => 1
                                )

                        )

                    [dbh] => DB_mysql_SGL Object
                        (
                            [phptype] => mysql_SGL
                            [dbsyntax] => mysql_SGL
                            [features] => Array
                                (
                                    [limit] => alter
                                    [new_link] => 4.2.0
                                    [numrows] => 1
                                    [pconnect] => 1
                                    [prepare] => 
                                    [ssl] => 
                                    [transactions] => 1
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1044] => -26
                                    [1046] => -14
                                    [1048] => -3
                                    [1049] => -27
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1061] => -5
                                    [1062] => -5
                                    [1064] => -2
                                    [1091] => -4
                                    [1100] => -21
                                    [1136] => -22
                                    [1142] => -26
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                    [1356] => -13
                                    [1451] => -3
                                    [1452] => -3
                                )

                            [connection] => Resource id #1
                            [dsn] => Array
                                (
                                    [phptype] => mysql_SGL
                                    [dbsyntax] => mysql_SGL
                                    [username] => ndigi
                                    [password] => p+@P9mt=*32gBGzz
                                    [protocol] => unix
                                    [hostspec] => 
                                    [port] => 
                                    [socket] => localhost
                                    [database] => ndigi
                                )

                            [autocommit] => 1
                            [transaction_opcount] => 0
                            [_db] => ndigi
                            [fetchmode] => 3
                            [fetchmode_object_class] => stdClass
                            [was_connected] => 
                            [last_query] => SELECT nt.*
                             FROM   (SELECT n.name, 
                                            n.newspaper_id,
                                            nv.image, 
                                            nv.file, 
                                            nv.newspaper_version_id, 
                                            nv.newspaper_version_id AS product_id, 
                                            nv.publish_date,
                                            n.price,
                                            n.type,
                                            n.newspaper_category_id,
                                            nv.created_date,
                                            n.subscribe_code,
                                            if(n.newspaper_category_id = 6 , 'مجله', 'روزنامه') AS moduleType

                                    FROM      newspaper_version AS nv

                                    LEFT JOIN newspaper AS n
                                    ON        n.newspaper_id = nv.newspaper_id

                                    WHERE     nv.is_delete = ''
                                    AND       n.is_delete  = ''
                                    AND       nv.is_enable = 1

                                    ORDER BY  nv.publish_date desc) AS nt
                             GROUP BY nt.name
                             ORDER BY nt.created_date DESC
                            [options] => Array
                                (
                                    [result_buffering] => 500
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [last_parameters] => Array
                                (
                                )

                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [prepared_queries] => Array
                                (
                                )

                            [_last_query_manip] => 
                            [_next_query_manip] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [da] => SGL_Delegator Object
                        (
                            [aDelegates] => Array
                                (
                                    [0] => DefaultDAO Object
                                        (
                                            [masterTemplate] => masterNoCols.html
                                            [template] => 
                                            [pageTitle] => default
                                            [validated] => 
                                            [sortBy] => 
                                            [_aActionsMapping] => Array
                                                (
                                                )

                                            [conf] => Array
                                                (
                                                    [db] => Array
                                                        (
                                                            [type] => mysql_SGL
                                                            [host] => localhost
                                                            [protocol] => unix
                                                            [socket] => 
                                                            [port] => 3306
                                                            [user] => ndigi
                                                            [pass] => p+@P9mt=*32gBGzz
                                                            [name] => ndigi
                                                            [postConnect] => 
                                                            [mysqlDefaultStorageEngine] => 0
                                                            [charset] => 
                                                            [collation] => 
                                                            [sepTableForEachSequence] => 0
                                                            [prefix] => 
                                                        )

                                                    [site] => Array
                                                        (
                                                            [outputUrlHandler] => SGL_UrlParser_SefStrategy
                                                            [inputUrlHandlers] => Classic,Alias,Sef
                                                            [name] => نشر دیجیتال
                                                            [showLogo] => logo.png
                                                            [description] => Coming soon to a webserver near you.
                                                            [keywords] => pear, php, framework, cms, content management
                                                            [compression] => 0
                                                            [outputBuffering] => 0
                                                            [banIpEnabled] => 0
                                                            [denyList] => 
                                                            [allowList] => 
                                                            [tidyhtml] => 0
                                                            [blocksEnabled] => 1
                                                            [safeDelete] => 1
                                                            [frontScriptName] => 
                                                            [defaultModule] => default
                                                            [defaultManager] => default
                                                            [defaultArticleViewType] => 1
                                                            [defaultParams] => 
                                                            [templateEngine] => flexy
                                                            [wysiwygEditor] => ckeditor
                                                            [extendedLocale] => 0
                                                            [localeCategory] => LC_ALL
                                                            [adminGuiTheme] => default_admin
                                                            [defaultTheme] => default
                                                            [masterTemplate] => masterNoCols.html
                                                            [masterLayout] => layout-navleft-1col_fluid.css
                                                            [filterChain] => 
                                                            [globalJavascriptFiles] => js/SGL.js,js/jquery/jquery.min.js,js/bootstrap.min.js,js/app.js,js/gototop.js,js/jquery.slimscroll.js,js/modernizr-2.8.3-respond-1.4.2.min.js,js/owl.carousel.min.js,js/smooth-scroll.min.js,js/persianumber.min.js
                                                            [globalJavascriptOnReadyDom] => 
                                                            [globalJavascriptOnload] => 
                                                            [globalJavascriptOnUnload] => 
                                                            [customOutputClassName] => 
                                                            [customRebuildTasks] => 
                                                            [maintenanceMode] => 0
                                                            [adminKey] => 
                                                            [rolesHaveAdminGui] => SGL_ADMIN,SGL_SITEMANAGER
                                                            [broadcastMessage] => 
                                                            [loginTarget] => 
                                                            [logoutTarget] => 
                                                            [serverTimeOffset] => Asia/Tehran
                                                            [baseUrl] => http://ndigi.ir
                                                        )

                                                    [sms] => Array
                                                        (
                                                            [mciSendPasswd] => http://172.24.10.5/pishkhan/sendsms.php
                                                            [default] => http://172.24.10.5/ndigi/send.php
                                                        )

                                                    [path] => Array
                                                        (
                                                            [additionalIncludePath] => 
                                                            [moduleDirOverride] => 
                                                            [uploadDirOverride] => 
                                                            [tmpDirOverride] => 
                                                            [pathToCustomConfigFile] => 
                                                            [installRoot] => /var/www/html/st/ndigi
                                                            [webRoot] => /var/www/html/st/ndigi/public_html
                                                        )

                                                    [cookie] => Array
                                                        (
                                                            [path] => /
                                                            [domain] => 
                                                            [secure] => 0
                                                            [name] => MJOSESSID
                                                            [rememberMeEnabled] => 0
                                                        )

                                                    [session] => Array
                                                        (
                                                            [maxLifetime] => 0
                                                            [extended] => 0
                                                            [singleUser] => 0
                                                            [handler] => file
                                                            [allowedInUri] => 0
                                                            [savePath] => 
                                                            [permsRetrievalMethod] => 
                                                        )

                                                    [cache] => Array
                                                        (
                                                            [enabled] => 0
                                                            [libCacheEnabled] => 0
                                                            [lifetime] => 86400
                                                            [cleaningFactor] => 0
                                                            [readControl] => 1
                                                            [writeControl] => 1
                                                            [javascript] => 0
                                                        )

                                                    [debug] => Array
                                                        (
                                                            [authorisationEnabled] => 1
                                                            [sessionDebugAllowed] => 0
                                                            [customErrorHandler] => 1
                                                            [production] => 1
                                                            [showBacktrace] => 0
                                                            [profiling] => 0
                                                            [emailAdminThreshold] => 'PEAR_LOG_DEBUG'
                                                            [showBugReporterLink] => 1
                                                            [enableDebugBlock] => 0
                                                            [showUntranslated] => 1
                                                            [dataObject] => 0
                                                            [infoBlock] => 0
                                                        )

                                                    [translation] => Array
                                                        (
                                                            [tablePrefix] => translation
                                                            [addMissingTrans] => 0
                                                            [fallbackLang] => fa_utf_8
                                                            [container] => file
                                                            [installedLanguages] => en_utf_8,fa_utf_8
                                                            [languageAutoDiscover] => 0
                                                            [defaultLangBC] => 1
                                                        )

                                                    [navigation] => Array
                                                        (
                                                            [enabled] => 1
                                                            [renderer] => SimpleRenderer
                                                            [driver] => SimpleDriver
                                                        )

                                                    [log] => Array
                                                        (
                                                            [enabled] => 0
                                                            [type] => file
                                                            [name] => var/log/php_log.txt
                                                            [priority] => 'PEAR_LOG_DEBUG'
                                                            [ident] => PearFrm
                                                            [ignoreRepeated] => 
                                                            [paramsUsername] => 
                                                            [paramsPassword] => 
                                                            [showErrors] => 1
                                                        )

                                                    [app] => Array
                                                        (
                                                            [key] => #K#2O1six*mojAm$
                                                        )

                                                    [mta] => Array
                                                        (
                                                            [backend] => mail
                                                            [sendmailPath] => /usr/sbin/sendmail
                                                            [sendmailArgs] => -t -i
                                                            [smtpHost] => 127.0.0.1
                                                            [smtpLocalHost] => pear.net
                                                            [smtpPort] => 25
                                                            [smtpAuth] => 0
                                                            [smtpUsername] => 
                                                            [smtpPassword] => 
                                                        )

                                                    [email] => Array
                                                        (
                                                            [admin] => mostafa.der@gmail.com
                                                            [support] => mostafa.der@gmail.com
                                                            [info] => mostafa.der@gmail.com
                                                        )

                                                    [popup] => Array
                                                        (
                                                            [winHeight] => 500
                                                            [winWidth] => 600
                                                        )

                                                    [censor] => Array
                                                        (
                                                            [mode] => 0
                                                            [replaceString] => *censored*
                                                            [badWords] => your,bad,words,here
                                                        )

                                                    [p3p] => Array
                                                        (
                                                            [policies] => 1
                                                            [policyLocation] => 
                                                            [compactPolicy] => CUR ADM OUR NOR STA NID
                                                        )

                                                    [tuples] => Array
                                                        (
                                                            [version] => 1.0.4
                                                        )

                                                    [table] => Array
                                                        (
                                                            [block] => block
                                                            [block_role] => block_role
                                                            [block_assignment] => block_assignment
                                                            [module] => module
                                                            [sequence] => sequence
                                                            [uri_alias] => uri_alias
                                                            [section] => section
                                                            [login] => login
                                                            [organisation] => organisation
                                                            [organisation_type] => organisation_type
                                                            [org_preference] => org_preference
                                                            [permission] => permission
                                                            [preference] => preference
                                                            [role] => role
                                                            [role_permission] => role_permission
                                                            [user] => usr
                                                            [user_permission] => user_permission
                                                            [user_preference] => user_preference
                                                            [user_session] => user_session
                                                            [user_cookie] => user_cookie
                                                            [product] => product
                                                            [product_category] => product_category
                                                            [product_category_type] => product_category_type
                                                            [product_category_field] => product_category_field
                                                            [product_detail] => product_detail
                                                            [discount] => discount
                                                            [discount_user] => discount_usr
                                                            [product_price] => product_price
                                                            [product_file] => product_file
                                                            [product_user] => product_usr
                                                            [co_worker_bill] => co_worker_bill
                                                            [product_like] => product_like
                                                            [general_setting] => general_setting
                                                            [course] => course
                                                            [course_section] => course_section
                                                            [course_file] => course_file
                                                            [course_grade] => course_grade
                                                            [course_lesson] => course_lesson
                                                            [course_video] => course_video
                                                            [course_group] => course_group
                                                            [course_tag] => course_tag
                                                            [course_faq] => course_faq
                                                            [course_view] => course_view
                                                            [course_like] => course_like
                                                            [course_rate] => course_rate
                                                            [course_member] => course_member
                                                            [course_member_video] => course_member_video
                                                            [course_member_plan] => course_member_plan
                                                            [course_member_log] => course_member_log
                                                            [book_rate] => book_rate
                                                            [music_album] => music_album
                                                            [music_genre] => music_genre
                                                            [music_artist] => music_artist
                                                            [music_track] => music_track
                                                            [music_like] => music_like
                                                            [music_artist_title] => music_artist_title
                                                            [music_track_artist_title] => music_track_artist_title
                                                            [music_member] => music_member
                                                            [music_member_plan] => music_member_plan
                                                            [music_member_log] => music_member_log
                                                            [music_member_listen] => music_member_listen
                                                            [item_category] => item_category
                                                            [document] => document
                                                            [document_type] => document_type
                                                            [item] => item
                                                            [item_addition] => item_addition
                                                            [item_type] => item_type
                                                            [item_type_mapping] => item_type_mapping
                                                            [advertisment] => advertisment
                                                            [slider] => slider
                                                            [apps] => apps
                                                            [clip] => clip
                                                            [clip_file] => clip_file
                                                            [clip_comment] => clip_comment
                                                            [clip_like] => clip_like
                                                            [clip_category] => clip_category
                                                            [clip_member] => clip_member
                                                            [clip_member_log] => clip_member_log
                                                            [clip_member_plan] => clip_member_plan
                                                            [newspaper] => newspaper
                                                            [newspaper_version] => newspaper_version
                                                            [newspaper_category] => newspaper_category
                                                            [service] => service
                                                            [subscribers] => subscribers
                                                            [subscribe_log] => subscribe_log
                                                            [usr_app] => usr_app
                                                            [book] => book
                                                            [book_like] => book_like
                                                            [book_category] => book_category
                                                            [book_member] => book_member
                                                            [book_member_log] => book_member_log
                                                            [book_member_view] => book_member_view
                                                            [book_member_plan] => book_member_plan
                                                            [config] => config
                                                            [bulk_message_report] => bulk_message_report
                                                            [bulk_message] => bulk_message
                                                        )

                                                    [localConfig] => Array
                                                        (
                                                            [moduleName] => newspaper
                                                        )

                                                    [score] => Array
                                                        (
                                                            [register] => 30
                                                            [introduction] => 20
                                                            [introducing] => 20
                                                            [buy] => 1
                                                        )

                                                    [introduce_code] => Array
                                                        (
                                                            [length] => 6
                                                        )

                                                    [AdminNewspaperMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                    [NewspaperVersionMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                    [AdminNewspaperCategoryMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                    [PublisherMgr] => Array
                                                        (
                                                            [requiresAuth] => 0
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 
                                                        )

                                                    [PublisherVersionMgr] => Array
                                                        (
                                                            [requiresAuth] => 0
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 
                                                        )

                                                    [NewspaperMgr] => Array
                                                        (
                                                            [requiresAuth] => 0
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 
                                                        )

                                                    [NewspaperMobileMgr] => Array
                                                        (
                                                            [showUntranslated] => 1
                                                        )

                                                    [NewspaperCafeMobileMgr] => Array
                                                        (
                                                            [showUntranslated] => 1
                                                        )

                                                    [AdminNewspaperReportMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                    [width] => Array
                                                        (
                                                            [value] => 1200
                                                            [default] => 1200
                                                            [description] => عرض تصویر اصلی روزنامه
                                                        )

                                                    [height] => Array
                                                        (
                                                            [value] => 868
                                                            [default] => 868
                                                            [description] => ارتفاع تصویر اصلی روزنامه
                                                        )

                                                    [quality] => Array
                                                        (
                                                            [value] => 75
                                                            [default] => 69
                                                            [description] => کیفیت عکس روزنامه یا مجله بار گذاری شده نکته با بالا رفتن کیفیت حجم تصاویر نیز تغییر خواهند کرد
                                                        )

                                                    [thumblnail_width] => Array
                                                        (
                                                            [value] => 300
                                                            [default] => 300
                                                            [description] => عرض تصویر کوچک روزنامه
                                                        )

                                                    [thumblnail_height] => Array
                                                        (
                                                            [value] => 214
                                                            [default] => 214
                                                            [description] => ارتفاع تصویر کوچک روزنامه
                                                        )

                                                    [thumblnail_quality] => Array
                                                        (
                                                            [value] => 69
                                                            [default] => 90
                                                            [description] => کیفیت عکس روزنامه یا مجله بار گذاری شده نکته با بالا رفتن کیفیت حجم تصاویر نیز تغییر خواهند کرد
                                                        )

                                                    [AdminRecoveryMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                )

                                            [dbh] => DB_mysql_SGL Object
                                                (
                                                    [phptype] => mysql_SGL
                                                    [dbsyntax] => mysql_SGL
                                                    [features] => Array
                                                        (
                                                            [limit] => alter
                                                            [new_link] => 4.2.0
                                                            [numrows] => 1
                                                            [pconnect] => 1
                                                            [prepare] => 
                                                            [ssl] => 
                                                            [transactions] => 1
                                                        )

                                                    [errorcode_map] => Array
                                                        (
                                                            [1004] => -15
                                                            [1005] => -15
                                                            [1006] => -15
                                                            [1007] => -5
                                                            [1008] => -17
                                                            [1022] => -5
                                                            [1044] => -26
                                                            [1046] => -14
                                                            [1048] => -3
                                                            [1049] => -27
                                                            [1050] => -5
                                                            [1051] => -18
                                                            [1054] => -19
                                                            [1061] => -5
                                                            [1062] => -5
                                                            [1064] => -2
                                                            [1091] => -4
                                                            [1100] => -21
                                                            [1136] => -22
                                                            [1142] => -26
                                                            [1146] => -18
                                                            [1216] => -3
                                                            [1217] => -3
                                                            [1356] => -13
                                                            [1451] => -3
                                                            [1452] => -3
                                                        )

                                                    [connection] => Resource id #1
                                                    [dsn] => Array
                                                        (
                                                            [phptype] => mysql_SGL
                                                            [dbsyntax] => mysql_SGL
                                                            [username] => ndigi
                                                            [password] => p+@P9mt=*32gBGzz
                                                            [protocol] => unix
                                                            [hostspec] => 
                                                            [port] => 
                                                            [socket] => localhost
                                                            [database] => ndigi
                                                        )

                                                    [autocommit] => 1
                                                    [transaction_opcount] => 0
                                                    [_db] => ndigi
                                                    [fetchmode] => 3
                                                    [fetchmode_object_class] => stdClass
                                                    [was_connected] => 
                                                    [last_query] => SELECT nt.*
                             FROM   (SELECT n.name, 
                                            n.newspaper_id,
                                            nv.image, 
                                            nv.file, 
                                            nv.newspaper_version_id, 
                                            nv.newspaper_version_id AS product_id, 
                                            nv.publish_date,
                                            n.price,
                                            n.type,
                                            n.newspaper_category_id,
                                            nv.created_date,
                                            n.subscribe_code,
                                            if(n.newspaper_category_id = 6 , 'مجله', 'روزنامه') AS moduleType

                                    FROM      newspaper_version AS nv

                                    LEFT JOIN newspaper AS n
                                    ON        n.newspaper_id = nv.newspaper_id

                                    WHERE     nv.is_delete = ''
                                    AND       n.is_delete  = ''
                                    AND       nv.is_enable = 1

                                    ORDER BY  nv.publish_date desc) AS nt
                             GROUP BY nt.name
                             ORDER BY nt.created_date DESC
                                                    [options] => Array
                                                        (
                                                            [result_buffering] => 500
                                                            [persistent] => 
                                                            [ssl] => 
                                                            [debug] => 0
                                                            [seqname_format] => %s_seq
                                                            [autofree] => 
                                                            [portability] => 0
                                                            [optimize] => performance
                                                        )

                                                    [last_parameters] => Array
                                                        (
                                                        )

                                                    [prepare_tokens] => Array
                                                        (
                                                        )

                                                    [prepare_types] => Array
                                                        (
                                                        )

                                                    [prepared_queries] => Array
                                                        (
                                                        )

                                                    [_last_query_manip] => 
                                                    [_next_query_manip] => 
                                                    [_debug] => 
                                                    [_default_error_mode] => 
                                                    [_default_error_options] => 
                                                    [_default_error_handler] => 
                                                    [_error_class] => DB_Error
                                                    [_expected_errors] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [1] => NewspaperDAO Object
                                        (
                                            [masterTemplate] => masterNoCols.html
                                            [template] => 
                                            [pageTitle] => default
                                            [validated] => 
                                            [sortBy] => 
                                            [_aActionsMapping] => Array
                                                (
                                                )

                                            [conf] => Array
                                                (
                                                    [db] => Array
                                                        (
                                                            [type] => mysql_SGL
                                                            [host] => localhost
                                                            [protocol] => unix
                                                            [socket] => 
                                                            [port] => 3306
                                                            [user] => ndigi
                                                            [pass] => p+@P9mt=*32gBGzz
                                                            [name] => ndigi
                                                            [postConnect] => 
                                                            [mysqlDefaultStorageEngine] => 0
                                                            [charset] => 
                                                            [collation] => 
                                                            [sepTableForEachSequence] => 0
                                                            [prefix] => 
                                                        )

                                                    [site] => Array
                                                        (
                                                            [outputUrlHandler] => SGL_UrlParser_SefStrategy
                                                            [inputUrlHandlers] => Classic,Alias,Sef
                                                            [name] => نشر دیجیتال
                                                            [showLogo] => logo.png
                                                            [description] => Coming soon to a webserver near you.
                                                            [keywords] => pear, php, framework, cms, content management
                                                            [compression] => 0
                                                            [outputBuffering] => 0
                                                            [banIpEnabled] => 0
                                                            [denyList] => 
                                                            [allowList] => 
                                                            [tidyhtml] => 0
                                                            [blocksEnabled] => 1
                                                            [safeDelete] => 1
                                                            [frontScriptName] => 
                                                            [defaultModule] => default
                                                            [defaultManager] => default
                                                            [defaultArticleViewType] => 1
                                                            [defaultParams] => 
                                                            [templateEngine] => flexy
                                                            [wysiwygEditor] => ckeditor
                                                            [extendedLocale] => 0
                                                            [localeCategory] => LC_ALL
                                                            [adminGuiTheme] => default_admin
                                                            [defaultTheme] => default
                                                            [masterTemplate] => masterNoCols.html
                                                            [masterLayout] => layout-navleft-1col_fluid.css
                                                            [filterChain] => 
                                                            [globalJavascriptFiles] => js/SGL.js,js/jquery/jquery.min.js,js/bootstrap.min.js,js/app.js,js/gototop.js,js/jquery.slimscroll.js,js/modernizr-2.8.3-respond-1.4.2.min.js,js/owl.carousel.min.js,js/smooth-scroll.min.js,js/persianumber.min.js
                                                            [globalJavascriptOnReadyDom] => 
                                                            [globalJavascriptOnload] => 
                                                            [globalJavascriptOnUnload] => 
                                                            [customOutputClassName] => 
                                                            [customRebuildTasks] => 
                                                            [maintenanceMode] => 0
                                                            [adminKey] => 
                                                            [rolesHaveAdminGui] => SGL_ADMIN,SGL_SITEMANAGER
                                                            [broadcastMessage] => 
                                                            [loginTarget] => 
                                                            [logoutTarget] => 
                                                            [serverTimeOffset] => Asia/Tehran
                                                            [baseUrl] => http://ndigi.ir
                                                        )

                                                    [sms] => Array
                                                        (
                                                            [mciSendPasswd] => http://172.24.10.5/pishkhan/sendsms.php
                                                            [default] => http://172.24.10.5/ndigi/send.php
                                                        )

                                                    [path] => Array
                                                        (
                                                            [additionalIncludePath] => 
                                                            [moduleDirOverride] => 
                                                            [uploadDirOverride] => 
                                                            [tmpDirOverride] => 
                                                            [pathToCustomConfigFile] => 
                                                            [installRoot] => /var/www/html/st/ndigi
                                                            [webRoot] => /var/www/html/st/ndigi/public_html
                                                        )

                                                    [cookie] => Array
                                                        (
                                                            [path] => /
                                                            [domain] => 
                                                            [secure] => 0
                                                            [name] => MJOSESSID
                                                            [rememberMeEnabled] => 0
                                                        )

                                                    [session] => Array
                                                        (
                                                            [maxLifetime] => 0
                                                            [extended] => 0
                                                            [singleUser] => 0
                                                            [handler] => file
                                                            [allowedInUri] => 0
                                                            [savePath] => 
                                                            [permsRetrievalMethod] => 
                                                        )

                                                    [cache] => Array
                                                        (
                                                            [enabled] => 0
                                                            [libCacheEnabled] => 0
                                                            [lifetime] => 86400
                                                            [cleaningFactor] => 0
                                                            [readControl] => 1
                                                            [writeControl] => 1
                                                            [javascript] => 0
                                                        )

                                                    [debug] => Array
                                                        (
                                                            [authorisationEnabled] => 1
                                                            [sessionDebugAllowed] => 0
                                                            [customErrorHandler] => 1
                                                            [production] => 1
                                                            [showBacktrace] => 0
                                                            [profiling] => 0
                                                            [emailAdminThreshold] => 'PEAR_LOG_DEBUG'
                                                            [showBugReporterLink] => 1
                                                            [enableDebugBlock] => 0
                                                            [showUntranslated] => 1
                                                            [dataObject] => 0
                                                            [infoBlock] => 0
                                                        )

                                                    [translation] => Array
                                                        (
                                                            [tablePrefix] => translation
                                                            [addMissingTrans] => 0
                                                            [fallbackLang] => fa_utf_8
                                                            [container] => file
                                                            [installedLanguages] => en_utf_8,fa_utf_8
                                                            [languageAutoDiscover] => 0
                                                            [defaultLangBC] => 1
                                                        )

                                                    [navigation] => Array
                                                        (
                                                            [enabled] => 1
                                                            [renderer] => SimpleRenderer
                                                            [driver] => SimpleDriver
                                                        )

                                                    [log] => Array
                                                        (
                                                            [enabled] => 0
                                                            [type] => file
                                                            [name] => var/log/php_log.txt
                                                            [priority] => 'PEAR_LOG_DEBUG'
                                                            [ident] => PearFrm
                                                            [ignoreRepeated] => 
                                                            [paramsUsername] => 
                                                            [paramsPassword] => 
                                                            [showErrors] => 1
                                                        )

                                                    [app] => Array
                                                        (
                                                            [key] => #K#2O1six*mojAm$
                                                        )

                                                    [mta] => Array
                                                        (
                                                            [backend] => mail
                                                            [sendmailPath] => /usr/sbin/sendmail
                                                            [sendmailArgs] => -t -i
                                                            [smtpHost] => 127.0.0.1
                                                            [smtpLocalHost] => pear.net
                                                            [smtpPort] => 25
                                                            [smtpAuth] => 0
                                                            [smtpUsername] => 
                                                            [smtpPassword] => 
                                                        )

                                                    [email] => Array
                                                        (
                                                            [admin] => mostafa.der@gmail.com
                                                            [support] => mostafa.der@gmail.com
                                                            [info] => mostafa.der@gmail.com
                                                        )

                                                    [popup] => Array
                                                        (
                                                            [winHeight] => 500
                                                            [winWidth] => 600
                                                        )

                                                    [censor] => Array
                                                        (
                                                            [mode] => 0
                                                            [replaceString] => *censored*
                                                            [badWords] => your,bad,words,here
                                                        )

                                                    [p3p] => Array
                                                        (
                                                            [policies] => 1
                                                            [policyLocation] => 
                                                            [compactPolicy] => CUR ADM OUR NOR STA NID
                                                        )

                                                    [tuples] => Array
                                                        (
                                                            [version] => 1.0.4
                                                        )

                                                    [table] => Array
                                                        (
                                                            [block] => block
                                                            [block_role] => block_role
                                                            [block_assignment] => block_assignment
                                                            [module] => module
                                                            [sequence] => sequence
                                                            [uri_alias] => uri_alias
                                                            [section] => section
                                                            [login] => login
                                                            [organisation] => organisation
                                                            [organisation_type] => organisation_type
                                                            [org_preference] => org_preference
                                                            [permission] => permission
                                                            [preference] => preference
                                                            [role] => role
                                                            [role_permission] => role_permission
                                                            [user] => usr
                                                            [user_permission] => user_permission
                                                            [user_preference] => user_preference
                                                            [user_session] => user_session
                                                            [user_cookie] => user_cookie
                                                            [product] => product
                                                            [product_category] => product_category
                                                            [product_category_type] => product_category_type
                                                            [product_category_field] => product_category_field
                                                            [product_detail] => product_detail
                                                            [discount] => discount
                                                            [discount_user] => discount_usr
                                                            [product_price] => product_price
                                                            [product_file] => product_file
                                                            [product_user] => product_usr
                                                            [co_worker_bill] => co_worker_bill
                                                            [product_like] => product_like
                                                            [general_setting] => general_setting
                                                            [course] => course
                                                            [course_section] => course_section
                                                            [course_file] => course_file
                                                            [course_grade] => course_grade
                                                            [course_lesson] => course_lesson
                                                            [course_video] => course_video
                                                            [course_group] => course_group
                                                            [course_tag] => course_tag
                                                            [course_faq] => course_faq
                                                            [course_view] => course_view
                                                            [course_like] => course_like
                                                            [course_rate] => course_rate
                                                            [course_member] => course_member
                                                            [course_member_video] => course_member_video
                                                            [course_member_plan] => course_member_plan
                                                            [course_member_log] => course_member_log
                                                            [book_rate] => book_rate
                                                            [music_album] => music_album
                                                            [music_genre] => music_genre
                                                            [music_artist] => music_artist
                                                            [music_track] => music_track
                                                            [music_like] => music_like
                                                            [music_artist_title] => music_artist_title
                                                            [music_track_artist_title] => music_track_artist_title
                                                            [music_member] => music_member
                                                            [music_member_plan] => music_member_plan
                                                            [music_member_log] => music_member_log
                                                            [music_member_listen] => music_member_listen
                                                            [item_category] => item_category
                                                            [document] => document
                                                            [document_type] => document_type
                                                            [item] => item
                                                            [item_addition] => item_addition
                                                            [item_type] => item_type
                                                            [item_type_mapping] => item_type_mapping
                                                            [advertisment] => advertisment
                                                            [slider] => slider
                                                            [apps] => apps
                                                            [clip] => clip
                                                            [clip_file] => clip_file
                                                            [clip_comment] => clip_comment
                                                            [clip_like] => clip_like
                                                            [clip_category] => clip_category
                                                            [clip_member] => clip_member
                                                            [clip_member_log] => clip_member_log
                                                            [clip_member_plan] => clip_member_plan
                                                            [newspaper] => newspaper
                                                            [newspaper_version] => newspaper_version
                                                            [newspaper_category] => newspaper_category
                                                            [service] => service
                                                            [subscribers] => subscribers
                                                            [subscribe_log] => subscribe_log
                                                            [usr_app] => usr_app
                                                            [book] => book
                                                            [book_like] => book_like
                                                            [book_category] => book_category
                                                            [book_member] => book_member
                                                            [book_member_log] => book_member_log
                                                            [book_member_view] => book_member_view
                                                            [book_member_plan] => book_member_plan
                                                            [config] => config
                                                            [bulk_message_report] => bulk_message_report
                                                            [bulk_message] => bulk_message
                                                        )

                                                    [localConfig] => Array
                                                        (
                                                            [moduleName] => newspaper
                                                        )

                                                    [score] => Array
                                                        (
                                                            [register] => 30
                                                            [introduction] => 20
                                                            [introducing] => 20
                                                            [buy] => 1
                                                        )

                                                    [introduce_code] => Array
                                                        (
                                                            [length] => 6
                                                        )

                                                    [AdminNewspaperMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                    [NewspaperVersionMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                    [AdminNewspaperCategoryMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                    [PublisherMgr] => Array
                                                        (
                                                            [requiresAuth] => 0
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 
                                                        )

                                                    [PublisherVersionMgr] => Array
                                                        (
                                                            [requiresAuth] => 0
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 
                                                        )

                                                    [NewspaperMgr] => Array
                                                        (
                                                            [requiresAuth] => 0
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 
                                                        )

                                                    [NewspaperMobileMgr] => Array
                                                        (
                                                            [showUntranslated] => 1
                                                        )

                                                    [NewspaperCafeMobileMgr] => Array
                                                        (
                                                            [showUntranslated] => 1
                                                        )

                                                    [AdminNewspaperReportMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                    [width] => Array
                                                        (
                                                            [value] => 1200
                                                            [default] => 1200
                                                            [description] => عرض تصویر اصلی روزنامه
                                                        )

                                                    [height] => Array
                                                        (
                                                            [value] => 868
                                                            [default] => 868
                                                            [description] => ارتفاع تصویر اصلی روزنامه
                                                        )

                                                    [quality] => Array
                                                        (
                                                            [value] => 75
                                                            [default] => 69
                                                            [description] => کیفیت عکس روزنامه یا مجله بار گذاری شده نکته با بالا رفتن کیفیت حجم تصاویر نیز تغییر خواهند کرد
                                                        )

                                                    [thumblnail_width] => Array
                                                        (
                                                            [value] => 300
                                                            [default] => 300
                                                            [description] => عرض تصویر کوچک روزنامه
                                                        )

                                                    [thumblnail_height] => Array
                                                        (
                                                            [value] => 214
                                                            [default] => 214
                                                            [description] => ارتفاع تصویر کوچک روزنامه
                                                        )

                                                    [thumblnail_quality] => Array
                                                        (
                                                            [value] => 69
                                                            [default] => 90
                                                            [description] => کیفیت عکس روزنامه یا مجله بار گذاری شده نکته با بالا رفتن کیفیت حجم تصاویر نیز تغییر خواهند کرد
                                                        )

                                                    [AdminRecoveryMgr] => Array
                                                        (
                                                            [requiresAuth] => 1
                                                            [showUntranslated] => 1
                                                            [adminGuiAllowed] => 1
                                                        )

                                                )

                                            [dbh] => DB_mysql_SGL Object
                                                (
                                                    [phptype] => mysql_SGL
                                                    [dbsyntax] => mysql_SGL
                                                    [features] => Array
                                                        (
                                                            [limit] => alter
                                                            [new_link] => 4.2.0
                                                            [numrows] => 1
                                                            [pconnect] => 1
                                                            [prepare] => 
                                                            [ssl] => 
                                                            [transactions] => 1
                                                        )

                                                    [errorcode_map] => Array
                                                        (
                                                            [1004] => -15
                                                            [1005] => -15
                                                            [1006] => -15
                                                            [1007] => -5
                                                            [1008] => -17
                                                            [1022] => -5
                                                            [1044] => -26
                                                            [1046] => -14
                                                            [1048] => -3
                                                            [1049] => -27
                                                            [1050] => -5
                                                            [1051] => -18
                                                            [1054] => -19
                                                            [1061] => -5
                                                            [1062] => -5
                                                            [1064] => -2
                                                            [1091] => -4
                                                            [1100] => -21
                                                            [1136] => -22
                                                            [1142] => -26
                                                            [1146] => -18
                                                            [1216] => -3
                                                            [1217] => -3
                                                            [1356] => -13
                                                            [1451] => -3
                                                            [1452] => -3
                                                        )

                                                    [connection] => Resource id #1
                                                    [dsn] => Array
                                                        (
                                                            [phptype] => mysql_SGL
                                                            [dbsyntax] => mysql_SGL
                                                            [username] => ndigi
                                                            [password] => p+@P9mt=*32gBGzz
                                                            [protocol] => unix
                                                            [hostspec] => 
                                                            [port] => 
                                                            [socket] => localhost
                                                            [database] => ndigi
                                                        )

                                                    [autocommit] => 1
                                                    [transaction_opcount] => 0
                                                    [_db] => ndigi
                                                    [fetchmode] => 3
                                                    [fetchmode_object_class] => stdClass
                                                    [was_connected] => 
                                                    [last_query] => SELECT nt.*
                             FROM   (SELECT n.name, 
                                            n.newspaper_id,
                                            nv.image, 
                                            nv.file, 
                                            nv.newspaper_version_id, 
                                            nv.newspaper_version_id AS product_id, 
                                            nv.publish_date,
                                            n.price,
                                            n.type,
                                            n.newspaper_category_id,
                                            nv.created_date,
                                            n.subscribe_code,
                                            if(n.newspaper_category_id = 6 , 'مجله', 'روزنامه') AS moduleType

                                    FROM      newspaper_version AS nv

                                    LEFT JOIN newspaper AS n
                                    ON        n.newspaper_id = nv.newspaper_id

                                    WHERE     nv.is_delete = ''
                                    AND       n.is_delete  = ''
                                    AND       nv.is_enable = 1

                                    ORDER BY  nv.publish_date desc) AS nt
                             GROUP BY nt.name
                             ORDER BY nt.created_date DESC
                                                    [options] => Array
                                                        (
                                                            [result_buffering] => 500
                                                            [persistent] => 
                                                            [ssl] => 
                                                            [debug] => 0
                                                            [seqname_format] => %s_seq
                                                            [autofree] => 
                                                            [portability] => 0
                                                            [optimize] => performance
                                                        )

                                                    [last_parameters] => Array
                                                        (
                                                        )

                                                    [prepare_tokens] => Array
                                                        (
                                                        )

                                                    [prepare_types] => Array
                                                        (
                                                        )

                                                    [prepared_queries] => Array
                                                        (
                                                        )

                                                    [_last_query_manip] => 
                                                    [_next_query_manip] => 
                                                    [_debug] => 
                                                    [_default_error_mode] => 
                                                    [_default_error_options] => 
                                                    [_default_error_handler] => 
                                                    [_error_class] => DB_Error
                                                    [_expected_errors] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [session] => SGL_Session Object
                (
                    [_timeout] => 
                )

        )

    [moduleName] => newspaper
    [masterTemplate] => masterNoCols.html
    [error] => Array
        (
        )

    [pageTitle] => Newspaper Manager
    [template] => newspaperList.html
    [action] => newspaperdetail
    [aDelete] => 
    [submitted] => 
    [newspaper] => stdClass Object
        (
        )

    [publicationId] => 
    [newspaperId] => 6124
    [chargeType] => 
)