feat: update footer with site policies, add CTA retrieval SQL, and refactor block content management

This commit is contained in:
2026-07-17 22:07:01 +07:00
parent 49b8d2b2ea
commit 6af9240c22
59 changed files with 140 additions and 612 deletions
+18
View File
@@ -0,0 +1,18 @@
import java.net.URI;
import java.nio.file.Paths;
public class TestFileUri {
public static void main(String[] args) throws Exception {
String uploadPath = "/home/x79/sisvietnamvn_01/sisvietnamvn_main/uploads";
System.out.println("Using file:/ + uploadPath:");
try {
URI uri1 = new URI("file:/" + uploadPath + "/");
System.out.println(" Host: " + uri1.getHost());
System.out.println(" Path: " + uri1.getPath());
} catch(Exception e) { e.printStackTrace(); }
System.out.println("\nUsing Paths.get().toUri():");
URI uri2 = Paths.get(uploadPath).toUri();
System.out.println(" URI: " + uri2.toString());
}
}