{% if page == 'dashboard' %}

Dashboard

{{ total_games }}

Total Games

{{ today_results }}

Today's Results

{{ total_posts }}

Total Posts

{% elif page == 'auto-scrape' %}

Auto Scrape Settings

🕐 India Time (IST)

{{ india_time }}

Last Scrape: {{ last_auto_scrape or 'Never' }}

Interval: Every {{ scrape_interval }} minutes

⏱️ Set Auto Scrape Interval

Set how often data should be scraped automatically (in minutes)

Scrape Sources

{% for source in scrape_sources %} {% endfor %}
URL Status Last Scraped
{{ source.url }} {% if source.is_active %}Active{% else %}Inactive{% endif %} {{ source.last_scraped or 'Never' }}

Daily Auto Scrape Scheduler

Set times when auto-scrape should run daily. Data will be fetched from satta-king-fast.com at these times.

{% for schedule in scrape_schedules %} {% else %} {% endfor %}
Schedule Time Status Action
{{ schedule.schedule_time }} {% if schedule.is_active %}Active{% else %}Inactive{% endif %}
No schedules set. Add a time below.
{% elif page == 'games' %}

Games ({{ games|length }})

{% for game in games %} {% endfor %}
Name Time Slot Status
{{ game.name }} {{ game.time_slot }} {% if game.is_active %}Active{% else %}Inactive{% endif %}
{% elif page == 'posts' %}

Posts ({{ posts|length }})

{% for post in posts %} {% endfor %}
Title Date Views
{{ post.title[:50] }}... {{ post.post_date }} {{ post.views }}
{% elif page == 'daily-posts' %}

Daily Update Scheduler

Set a time when posts for ALL games will be automatically created for today. Results will show "Waiting" until actual results are scraped.

Current Status:

Scheduled Time: {{ '%02d'|format(daily_post_hour|int) }}:{{ '%02d'|format(daily_post_minute|int) }} IST

Last Posts Created: {{ last_daily_posts_created or 'Never' }}

Current India Time: {{ india_time }}

Total Games: {{ total_games }}

Manual Post Creation

Create posts for all games immediately for today's date.

{% elif page == 'news' %}

Add New News Article

SEO Settings

All News Articles ({{ news_posts|length if news_posts else 0 }})

{% if news_posts %} {% for news in news_posts %} {% endfor %} {% else %} {% endif %}
Title Status Views Date Actions
{{ news.title[:40] }}{% if news.title|length > 40 %}...{% endif %} {% if news.status == 'published' %}Published{% else %}Draft{% endif %} {{ news.views }} {{ news.created_at }}
No news articles yet. Add one above.
{% elif page == 'pages' %}

Footer Pages Management

Manage footer pages (About, Contact, Disclaimer, Privacy Policy, Terms). These pages are important for AdSense approval.

All Pages ({{ site_pages|length if site_pages else 0 }})

{% if site_pages %} {% for pg in site_pages %} {% endfor %} {% else %} {% endif %}
Title Slug Status Last Updated Actions
{{ pg.title }} /page/{{ pg.slug }} {% if pg.is_published %}Published{% else %}Draft{% endif %} {{ pg.updated_at.strftime('%Y-%m-%d') if pg.updated_at else 'N/A' }} Edit
No pages found.

Add New Page

Will be accessible at /page/your-slug
{% elif page == 'ads' %}

Ads & Analytics Management

🔐 AdSense Verification Code

Add your AdSense site verification meta tag to verify ownership. This goes in the <head> section.

📊 Google Analytics

Add your Google Analytics tracking code (GA4 or Universal Analytics). Paste the complete script.

🤖 AdSense Auto Ads

Paste your AdSense Auto Ads script. Auto Ads will automatically place ads on optimal positions.

📄 ads.txt Configuration

Required for AdSense. This file will be served at /ads.txt

View ads.txt →

📍 Manual Ad Placements

Add custom ad units for specific positions. Professional placements for better user experience and earnings.

{% for placement in ['header_banner', 'below_title', 'in_content_1', 'in_content_2', 'sidebar', 'before_footer', 'popup_modal'] %}
{{ placement.replace('_', ' ') }}
{% endfor %}

💡 Ad Placement Guide

  • Header Banner: 728x90 leaderboard at top of page
  • Below Title: 336x280 rectangle below page title
  • In Content 1: Native/In-feed ad after first section
  • In Content 2: 300x250 medium rectangle mid-content
  • Sidebar: 300x600 skyscraper in sidebar
  • Before Footer: 728x90 leaderboard above footer
  • Popup Modal: Interstitial ad (use sparingly)

📈 Current Settings Status

AdSense Verification {% if adsense_verification %}✓ Configured{% else %}Not Set{% endif %}
Google Analytics {% if google_analytics_code %}✓ Active{% else %}Not Set{% endif %}
Auto Ads {% if adsense_auto_ads %}✓ Enabled{% else %}Not Set{% endif %}
ads.txt {% if ads_txt_content %}✓ Configured{% else %}Not Set{% endif %}
Publisher ID {% if adsense_publisher_id %}{{ adsense_publisher_id }}{% else %}Not Set{% endif %}
{% elif page == 'sitemap' %}

Sitemap Management

Site URL Configuration

Set your production domain for sitemaps (without trailing slash)

Sitemap Index Structure

Your sitemap is split into multiple files for better Google indexing (optimized for ~100 daily posts)

Sitemap File Content Status Action
/sitemap.xml Main Index (links to all sitemaps) ✓ Active View
/sitemap-main.xml Homepage, Chart, Daily Updates, News ✓ Active View
/sitemap-games.xml All {{ total_games }} Game Chart Pages ✓ Active View
/sitemap-news.xml News Articles ✓ Active View
/sitemap-pages.xml Static Pages ✓ Active View
/sitemap-posts-YYYY-MM.xml Monthly Posts (auto-generated per month) ✓ Dynamic Auto

Google Search Console

Submit Your Sitemap

  1. Go to Google Search Console
  2. Select your property
  3. Go to Sitemaps in the left menu
  4. Enter: sitemap.xml
  5. Click Submit

Tip: Google will automatically discover all linked sitemaps from the index!

robots.txt

Your robots.txt automatically includes sitemap reference

User-agent: *
Allow: /
Sitemap: {{ site_url or 'https://sattaking.com.im' }}/sitemap.xml

View robots.txt →

{% elif page == 'push' %}

Push Notifications

{{ push_active_subscribers or 0 }}

Active Subscribers

{{ push_total_subscribers or 0 }}

Total Subscribers

{{ push_total_sent or 0 }}

Notifications Sent

Subscription Prompt Settings

Customize the notification prompt that appears to new visitors

Auto Notifications

Configure automatic notifications for results and posts

Send Manual Notification

Recent Notifications

{% for log in notification_logs %} {% else %} {% endfor %}
Title Type Sent Success Failed Time
{{ log.title }} {{ log.notification_type }} {{ log.total_sent }} {{ log.success_count }} {{ log.fail_count }} {{ log.sent_at.strftime('%d %b, %I:%M %p') if log.sent_at else '-' }}
No notifications sent yet
{% elif page == 'branding' %}

Site Branding

Upload Site Logo, Favicon & Icon

Upload your site branding images. Recommended sizes: Logo (200x50px), Favicon (32x32px), Site Icon (192x192px)

🏷️ Site Logo

Main logo shown in header (PNG, JPG, SVG)

{% if site_logo %}
Current Logo
{% endif %}

⭐ Favicon

Small icon in browser tab (ICO, PNG, 32x32px)

{% if site_favicon %}
Current Favicon
{% endif %}

📱 Site Icon (PWA)

App icon for mobile (PNG, 192x192px or larger)

{% if site_icon %}
Current Icon
{% endif %}

Current Branding Status

Asset Status Path
Site Logo {% if site_logo %}✓ Uploaded{% else %}✗ Not Set{% endif %} {{ site_logo or 'N/A' }}
Favicon {% if site_favicon %}✓ Uploaded{% else %}✗ Not Set{% endif %} {{ site_favicon or 'N/A' }}
Site Icon (PWA) {% if site_icon %}✓ Uploaded{% else %}✗ Not Set{% endif %} {{ site_icon or 'N/A' }}
{% else %}

{{ page|title }}

This section is under development.

{% endif %}