post_content, 15))); ?>
AFFILILABS_CPT_COMPARISON_TABLE, 'posts_per_page' => -1, 'post_status' => 'publish', ); $lists_query = new WP_Query($lists_args); $lists = $lists_query->posts; $navbar = new AffiliLabs_Navbar(); $navbar->load_scripts(); $button = new AffiliLabs_Button(); $modal = new AffiliLabs_Modal(); $modal->load_scripts(); $modal->init(); $spinner = new AffiliLabs_Spinner(); $spinner->load_scripts(); $spinner->init(); $video_frame = new AffiliLabs_VideoFrame(); $video_frame->load_scripts(); $video_frame->init(); wp_enqueue_style('affililabs-lists', AFFILILABS_LISTS_CSS_URL, array(), AFFILILABS_VERSION); wp_enqueue_script('affililabs-lists', AFFILILABS_LISTS_JS_URL, array('jquery'), AFFILILABS_VERSION, true); wp_localize_script( 'affililabs-lists', 'affililabs_lists_data', array( 'ajax_url' => admin_url('admin-ajax.php'), 'nonce' => wp_create_nonce('affl_admin_nonce'), 'i18n' => array( 'delete_confirm_title' => esc_html__('Delete Confirmation', 'affililabs'), 'delete_confirm' => esc_html__('Are you sure you want to delete this list?', 'affililabs'), 'delete_confirm_button_confirm' => esc_html__('Delete', 'affililabs'), 'delete_confirm_button_cancel' => esc_html__('Cancel', 'affililabs'), 'delete_success_title' => esc_html__('Success', 'affililabs'), 'delete_success_message' => esc_html__('The list was successfully deleted.', 'affililabs'), 'delete_error_title' => esc_html__('Error', 'affililabs'), 'delete_error_message' => esc_html__('Error deleting list.', 'affililabs'), 'deleting_list_spinner' => esc_html__('Deleting list...', 'affililabs'), 'ai_suggest_title' => esc_html__('AI List Suggestions', 'affililabs'), 'ai_suggest_loading' => esc_html__('Generating suggestions...', 'affililabs'), 'ai_suggest_error' => esc_html__('Could not get suggestions. Please check your API key and try again.', 'affililabs'), 'ai_suggest_no_suggestions' => esc_html__('No suggestions found based on your current products.', 'affililabs'), 'ai_suggest_accept' => esc_html__('Accept', 'affililabs'), 'ai_suggest_saving' => esc_html__('Saving...', 'affililabs'), 'ai_suggest_save_success' => esc_html__('Suggested list created successfully!', 'affililabs'), 'ai_suggest_save_error' => esc_html__('Error creating list from suggestion.', 'affililabs'), 'status_active' => esc_html__('Active', 'affililabs'), 'status_inactive' => esc_html__('Inactive', 'affililabs'), 'products_label' => esc_html__('Products:', 'affililabs'), 'status_label' => esc_html__('Status:', 'affililabs'), 'edit_button' => esc_html__('Edit', 'affililabs'), 'delete_button' => esc_html__('Delete', 'affililabs'), 'ai_suggest_save_success_added' => esc_html__('Suggested list created successfully and added to the page.', 'affililabs'), 'ai_suggest_update_success' => esc_html__('List updated successfully.', 'affililabs'), ), 'assets' => array( 'ai_icon' => AFFILILABS_ASSETS_STARS_SVG, 'check_icon' => AFFILILABS_ASSETS_CHECK_FILLED_SVG, 'checklist_icon' => AFFILILABS_ASSETS_CHECKLIST_SVG, 'trash_icon' => AFFILILABS_ASSETS_TRASH_SVG, ) ) ); ?>
post_content, 15))); ?>