<?php
include "../classes/app.class.php"; // This ensures your $functions and $db are ready

if(isset($_GET['id'])) {
    $id = intval($_GET['id']);
    // Call the function directly to return the HTML
    // Note: If renderTankBlock is inside a class, use $functions->renderTankBlock($id)
    renderTankBlock($id); 
}
?>