Banner do POLIHOS - Simulador de políticas e economia

Registros de alterações do POLIHOS.com

Versão 1.0.0

Registro público de alterações

05/12/2025

  1. #52 - 05/12/2025 01:22:47

    Refactor military state logic and queries

    Simplifies and restructures the logic for loading military state data, handling errors, and fetching unit information. Removes complex battle and group management code from the main file, focusing on data retrieval and error handling for each area type. Also removes an unused CSS file.

  2. #51 - 05/12/2025 00:13:33

    Update og:image meta tag in divisao.php

    Replaced dynamic military group image with a static banner image for the Open Graph og:image meta tag to ensure consistent social sharing visuals.

  3. #50 - 05/12/2025 00:09:07

    Handle 404 and 500 errors with HTTP response codes

    Replaces calls to the 404 error page with direct HTTP response codes for 404 and 500 errors in divisao.php. This improves error handling by setting the appropriate response code instead of immediately including the error page.

04/12/2025

  1. #49 - 04/12/2025 23:59:31

    Refactor military division battle logic

    Simplifies and restructures the battle logic for military divisions, consolidating POST request handling and improving error reporting. Updates SQL queries for group counts, fixes parameter bindings, and unifies response messages for attack, defense, and retreat actions. Also improves code readability and maintainability by reducing repetition and grouping related logic.

  2. #48 - 04/12/2025 21:48:23

    Update army chief card image

    Replaces the image for the army chief action card with a new file to better represent the content.

  3. #47 - 04/12/2025 21:31:41

    Implementa paginação e melhorias na gestão do exército

    Adiciona paginação em diversas consultas SQL para recursos militares, grupos, estados, redes e organizações, melhorando a performance e usabilidade. Refatora tratamento de erros para reportar automaticamente e aprimora validações de entrada. Atualiza metadados, scripts e layout da página do exército nacional.

  4. #46 - 04/12/2025 03:49:03

    Restrict conflict sections to police leader

    Updated conditional checks to ensure that conflict-related sections are only displayed when the current character is the police leader. This prevents unauthorized access to these sections by other users.

  5. #45 - 04/12/2025 03:45:41

    Refactor police page with improved error handling and pagination

    Reworked pagina/mundo/paises/policia.php to use JSON responses for POST actions, added robust error handling with automatic error reporting, and implemented pagination for multiple data queries. Improved input sanitization, replaced header redirects with JSON output, and enhanced code structure for maintainability and clarity.

  6. #44 - 04/12/2025 00:37:03

    Refactor gabinete.php (casa civil) error handling and UI

    Simplifies error handling by using a centralized automatic error reporting script and removes verbose error logging code. Improves transaction management for renunciation actions, updates meta tags and Open Graph image, refactors UI elements for better clarity, and enhances the structure and layout of the executive cabinet page.

03/12/2025

  1. #43 - 03/12/2025 22:28:44

    Add new state and country info fields, improve image fallback

    Introduces additional fields to $array_economia, $pais_info, and $estado_info for more detailed state and country data, including pollution, laws, and statistics. Updates image paths and adds onerror fallback for state and regional images to improve robustness against missing assets.

Voltar ao topo ↑