diff --git a/admin/setalinkgen/linkgen.html b/admin/setalinkgen/linkgen.html
new file mode 100644
index 0000000..5dc1b82
--- /dev/null
+++ b/admin/setalinkgen/linkgen.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+ Generatore
+
+
+
+
+ Generatore di <td> per ER-TPL
+ Generatore <img>
+ Inserisci matricola:
+
+ Inserisci il nome del modello (quello della cartella):
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/setalinkgen/linkgen.js b/admin/setalinkgen/linkgen.js
new file mode 100644
index 0000000..93de7ff
--- /dev/null
+++ b/admin/setalinkgen/linkgen.js
@@ -0,0 +1,42 @@
+function generatd() {
+ const matricola = document.getElementById("matricola").value.trim();
+ var link = document.getElementById("link").value.trim();
+
+ if (!matricola || !link) {
+ alert("Compila entrambi i campi.");
+ return;
+ }
+
+ try {
+ link = "https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Leo/SETA/"+link+"/"+matricola;
+
+ const linkFinaleNoTrue = link+".jpg&x=1920&y=1080"
+ const linkFinaleTrue = link+".jpg&x=1920&y=1080&a=true"
+ const htmlString = " |  | ";
+
+ const escapedOutput = htmlString
+ .replace(/&/g, "&")
+ .replace(//g, ">");
+
+ document.getElementById("output").innerHTML = escapedOutput;
+
+ } catch (error) {
+ alert("URL non valido.");
+ }
+}
+
+function copiaOutput() {
+ const code = document.getElementById("output").innerText;
+ navigator.clipboard.writeText(code).then(() => {
+ //alert("Codice copiato negli appunti!");
+ }).catch(() => {
+ alert("Errore durante la copia.");
+ });
+}
+
+function pulisciimg() {
+ document.getElementById("mezzo").value = "";
+ document.getElementById("link").value = "";
+ document.getElementById("output").innerHTML = "";
+}
\ No newline at end of file
diff --git a/admin/setalinkgen/style.css b/admin/setalinkgen/style.css
new file mode 100644
index 0000000..7aeface
--- /dev/null
+++ b/admin/setalinkgen/style.css
@@ -0,0 +1,18 @@
+body{
+ text-align: center;
+ font-family: Consolas;
+ background-color: #282828;
+ color:white;
+}
+div.output{
+ font-size: 80%;
+ background-color: black;
+ min-height:150px;
+ border-radius: 10px;
+}
+p.output{
+ padding-top:5px;
+ padding-left:5px;
+ padding-right:5px;
+ margin:0;
+}
\ No newline at end of file