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. #55 - 05/12/2025 20:54:22

    Add detailed entry policy messages to empresa.php

    Enhanced feedback for denied sector entry by outputting specific messages about bilateral free trade agreements and entry policies before the general denial message.

  2. #54 - 05/12/2025 03:49:29

    Remove error logging and topic approval logic

    Problema da criação do tópico no forum arrumado. Variavel e conexão estavam errado.

    Eliminates custom error logging and reporting code, as well as the logic for handling topic approval/disapproval via POST requests. Also refactors some SQL statement handling and error catching for improved consistency and resource management.

  3. #53 - 05/12/2025 03:41:54

    Set minimum input value to 1 for action forms

    Changed the minimum value for several <input type="number"> fields from 0 to 1 in action forms to prevent users from submitting zero-value actions. This improves validation and ensures meaningful input for campaign, health, security, reputation, and loan-related actions.

  4. #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.

  5. #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.

  6. #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.

Voltar ao topo ↑