dsg
INSERT INTO `cp_filehtml` (`id`,`modul`,`app`,`path`,`type`,`cat`,`file_name`,`content`) VALUES ('524','profile','1','u2/creator','0','js','view-user-profile.js----','$(document).on(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'ptr:refresh\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\', \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'.profile-landing-page.view-page.ptr-content\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\', async function (e) {\r\n try {\r\n currentPostPage = 1\r\n currentFPostPage = 1\r\n\r\n store.dispatch(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'removePathData\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\', `/user/${userId}`)\r\n\r\n await renderProfileData(null, userId)\r\n\r\n store.dispatch(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'getUserPosts\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\', {\r\n user_id: userId,\r\n clear: true\r\n })\r\n\r\n store.dispatch(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'getUserTags\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\', {\r\n user_id: userId,\r\n clear: true\r\n })\r\n\r\n refreshed = true\r\n } catch (error) {\r\n console.log(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'Error refreshing profile page:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\', error);\r\n }\r\n\r\n app.ptr.get(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'.profile-landing-page.view-page.ptr-content\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\').done()\r\n})');
Copy This

Warning: file_get_contents(/home/u340524018/domains/agniaga.com/public_html/sub/u2/creator/view-user-profile.js----): Failed to open stream: No such file or directory in /home/u340524018/domains/agniaga.com/public_html/sub/u2/cp/inc.filehtml.php on line 319
$(document).on(\\\\\\\\\\\\\\\'ptr:refresh\\\\\\\\\\\\\\\', \\\\\\\\\\\\\\\'.profile-landing-page.view-page.ptr-content\\\\\\\\\\\\\\\', async function (e) {
    try {
        currentPostPage = 1
        currentFPostPage = 1

        store.dispatch(\\\\\\\\\\\\\\\'removePathData\\\\\\\\\\\\\\\', `/user/${userId}`)

        await renderProfileData(null, userId)

        store.dispatch(\\\\\\\\\\\\\\\'getUserPosts\\\\\\\\\\\\\\\', {
            user_id: userId,
            clear: true
        })

        store.dispatch(\\\\\\\\\\\\\\\'getUserTags\\\\\\\\\\\\\\\', {
            user_id: userId,
            clear: true
        })

        refreshed = true
    } catch (error) {
        console.log(\\\\\\\\\\\\\\\'Error refreshing profile page:\\\\\\\\\\\\\\\', error);
    }

    app.ptr.get(\\\\\\\\\\\\\\\'.profile-landing-page.view-page.ptr-content\\\\\\\\\\\\\\\').done()
})
Array
(
)
Add JS Function Name