{"id":3588,"date":"2023-11-15T15:11:21","date_gmt":"2023-11-15T13:11:21","guid":{"rendered":"https:\/\/www.agrotica-expo.gr\/program\/"},"modified":"2026-03-10T15:07:23","modified_gmt":"2026-03-10T13:07:23","slug":"program","status":"publish","type":"page","link":"https:\/\/www.agrotica-expo.gr\/en\/program\/","title":{"rendered":"Events program"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3588\" class=\"elementor elementor-3588 elementor-3582\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-44617ee e-flex e-con-boxed e-con e-parent\" data-id=\"44617ee\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-053f43e elementor-widget elementor-widget-html\" data-id=\"053f43e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div class=\"table-controls\">\r\n<button onclick=\"exportPDF()\" class=\"btn\">PDF<\/button>\r\n<button onclick=\"exportExcel()\" class=\"btn\">Excel<\/button>\r\n<\/div>\r\n\r\n<div id=\"live-events-table\"><\/div>\r\n\r\n<link href=\"https:\/\/cdn.jsdelivr.net\/npm\/gridjs\/dist\/theme\/mermaid.min.css\" rel=\"stylesheet\">\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/gridjs\/dist\/gridjs.umd.js\"><\/script>\r\n\r\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/xlsx\/0.18.5\/xlsx.full.min.js\"><\/script>\r\n\r\n<div style=\"display:none;\" id=\"raw-api-data\">\r\n{\n    \"err\": 11,\n    \"errDescr\": \"SQL Error\",\n    \"xerr\": {\n        \"code\": \"EREQUEST\",\n        \"originalError\": [],\n        \"name\": \"RequestError\",\n        \"precedingErrors\": [\n            {\n                \"code\": \"EREQUEST\",\n                \"originalError\": {\n                    \"info\": {\n                        \"name\": \"ERROR\",\n                        \"handlerName\": \"onErrorMessage\",\n                        \"number\": 205,\n                        \"state\": 1,\n                        \"class\": 16,\n                        \"message\": \"All queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists.\",\n                        \"serverName\": \"Erp_Data_Srv\\\\SQL2022\",\n                        \"procName\": \"view_Events_ALL\",\n                        \"lineNumber\": 3\n                    }\n                },\n                \"name\": \"RequestError\",\n                \"number\": 205,\n                \"lineNumber\": 3,\n                \"state\": 1,\n                \"class\": 16,\n                \"serverName\": \"Erp_Data_Srv\\\\SQL2022\",\n                \"procName\": \"view_Events_ALL\"\n            },\n            {\n                \"code\": \"EREQUEST\",\n                \"originalError\": {\n                    \"info\": {\n                        \"name\": \"ERROR\",\n                        \"handlerName\": \"onErrorMessage\",\n                        \"number\": 4413,\n                        \"state\": 1,\n                        \"class\": 16,\n                        \"message\": \"Could not use view or function 'view_Events_ALL' because of binding errors.\",\n                        \"serverName\": \"Erp_Data_Srv\\\\SQL2022\",\n                        \"procName\": \"\",\n                        \"lineNumber\": 1\n                    }\n                },\n                \"name\": \"RequestError\",\n                \"number\": 4413,\n                \"lineNumber\": 1,\n                \"state\": 1,\n                \"class\": 16,\n                \"serverName\": \"Erp_Data_Srv\\\\SQL2022\",\n                \"procName\": \"\"\n            }\n        ]\n    }\n}\r\n<\/div>\r\n\r\n<script>\r\n\r\nlet tableData=[];\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\",function(){\r\n\r\nconst raw=document.getElementById(\"raw-api-data\").innerText;\r\n\r\ntry{\r\n\r\nconst json=JSON.parse(raw);\r\n\r\ntableData=json.map(e=>[\r\ne.date,\r\ne.TimeFrom.trim(),\r\ne.TimeTo.trim(),\r\ne.titleEng.trim(),\r\ne.OrganizerNameEng.trim(),\r\ne.VenueEng.trim()\r\n]);\r\n\r\nnew gridjs.Grid({\r\n\r\ncolumns:[\r\n\"Date\",\r\n\"From\",\r\n\"To\",\r\n\"Event\",\r\n\"Organizer\",\r\n\"Venue\"\r\n],\r\n\r\ndata:tableData,\r\nsearch:true,\r\nsort:true,\r\npagination:false\r\n\r\n}).render(document.getElementById(\"live-events-table\"));\r\n\r\n}\r\ncatch(err){\r\n\r\ndocument.getElementById(\"live-events-table\").innerHTML=\"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd\";\r\n\r\n}\r\n\r\n});\r\n\r\nfunction exportExcel(){\r\n\r\nconst ws=XLSX.utils.aoa_to_sheet([\r\n[\"Date\",\"From\",\"To\",\"Event\",\"Organizer\",\"Venue\"],\r\n...tableData\r\n]);\r\n\r\nconst wb=XLSX.utils.book_new();\r\n\r\nXLSX.utils.book_append_sheet(wb,ws,\"Events\");\r\n\r\nXLSX.writeFile(wb,\"events.xlsx\");\r\n\r\n}\r\n\r\nfunction exportPDF(){\r\n\r\n  let html = \"\";\r\n\r\n  html += \"<!DOCTYPE html>\";\r\n  html += \"<html>\";\r\n  html += \"<head>\";\r\n  html += \"<meta charset='UTF-8'>\";\r\n  html += \"<title>\u03a0\u03af\u03bd\u03b1\u03ba\u03b1\u03c2 \u0395\u03ba\u03b4\u03b7\u03bb\u03ce\u03c3\u03b5\u03c9\u03bd<\/title>\";\r\n  html += \"<style>\";\r\n  html += \"@page{size:A4 landscape;margin:10mm}\";\r\n  html += \"body{font-family:Arial, Helvetica, sans-serif;font-size:12px;margin:0}\";\r\n  html += \"table{border-collapse:collapse;width:100%}\";\r\n  html += \"td,th{border:1px solid #999;padding:6px;vertical-align:top}\";\r\n  html += \"th{background:#eee;text-align:left}\";\r\n  html += \"thead{display:table-header-group}\";   \/\/ \u03b5\u03c0\u03b1\u03bd\u03b1\u03bb\u03b1\u03bc\u03b2\u03ac\u03bd\u03b5\u03b9 header \u03c3\u03b5 \u03ba\u03ac\u03b8\u03b5 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1\r\n  html += \"tr{page-break-inside:avoid}\";        \/\/ \u03b1\u03c0\u03bf\u03c6\u03c5\u03b3\u03ae \u03ba\u03bf\u03c8\u03af\u03bc\u03b1\u03c4\u03bf\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ce\u03bd\r\n  html += \"<\/style>\";\r\n  html += \"<\/head>\";\r\n  html += \"<body>\";\r\n\r\n  \/\/ HTML table\r\n  html += \"<table>\";\r\n  html += \"<thead><tr>\";\r\n  html += \"<th>\u0397\u03bc\u03ad\u03c1\u03b1<\/th>\";\r\n  html += \"<th>\u0391\u03c0\u03cc<\/th>\";\r\n  html += \"<th>\u0388\u03c9\u03c2<\/th>\";\r\n  html += \"<th>\u0395\u03ba\u03b4\u03ae\u03bb\u03c9\u03c3\u03b7<\/th>\";\r\n  html += \"<th>\u039f\u03c1\u03b3\u03b1\u03bd\u03c9\u03c4\u03ae\u03c2<\/th>\";\r\n  html += \"<th>\u03a4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1<\/th>\";\r\n  html += \"<\/tr><\/thead>\";\r\n  html += \"<tbody>\";\r\n\r\n  tableData.forEach(function(r){\r\n    html += \"<tr>\";\r\n    r.forEach(function(c){\r\n      html += \"<td>\"+c+\"<\/td>\";\r\n    });\r\n    html += \"<\/tr>\";\r\n  });\r\n\r\n  html += \"<\/tbody>\";\r\n  html += \"<\/table>\";\r\n  html += \"<\/body>\";\r\n  html += \"<\/html>\";\r\n\r\n  const win = window.open(\"\", \"_blank\");\r\n\r\n  win.document.open();\r\n  win.document.write(html);\r\n  win.document.close();\r\n\r\n  \/\/ \u03a0\u03c1\u03bf\u03c3\u03b8\u03ad\u03c4\u03bf\u03c5\u03bc\u03b5 header & footer \u03c0\u03c1\u03b9\u03bd \u03c4\u03bf print\r\n  win.onload = function(){\r\n    win.focus();\r\n\r\n    \/\/ Header \u03bc\u03b5 \u03c4\u03af\u03c4\u03bb\u03bf & \u03b7\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1\r\n    const headerDiv = document.createElement(\"div\");\r\n    headerDiv.style.textAlign = \"center\";\r\n    headerDiv.style.marginBottom = \"10px\";\r\n    headerDiv.innerHTML = \"<h2>Side Events<\/h2><p>\"+new Date().toLocaleDateString()+\"<\/p>\";\r\n    win.document.body.insertBefore(headerDiv, win.document.body.firstChild);\r\n\r\n    \/\/ Footer \u03ba\u03ac\u03c4\u03c9 \u03b4\u03b5\u03be\u03b9\u03ac\r\n    const footerDiv = document.createElement(\"div\");\r\n    footerDiv.style.position = \"fixed\";\r\n    footerDiv.style.bottom = \"0\";\r\n    footerDiv.style.right = \"10px\";\r\n    footerDiv.style.fontSize = \"10px\";\r\n    footerDiv.innerHTML = \"\u03a3\u03b5\u03bb\u03af\u03b4\u03b1: 1\";\r\n    win.document.body.appendChild(footerDiv);\r\n\r\n    \/\/ \u0395\u03ba\u03c4\u03cd\u03c0\u03c9\u03c3\u03b7 \u03bc\u03b5 \u03bc\u03b9\u03ba\u03c1\u03ae \u03ba\u03b1\u03b8\u03c5\u03c3\u03c4\u03ad\u03c1\u03b7\u03c3\u03b7 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c6\u03bf\u03c1\u03c4\u03ce\u03c3\u03b5\u03b9 layout\r\n    setTimeout(function(){\r\n      win.print();\r\n    }, 300);\r\n  };\r\n\r\n}\r\n\r\n<\/script>\r\n\r\n<style>\r\n\r\n.table-controls{\r\n  margin-bottom:15px;\r\n  display:flex;\r\n  justify-content:flex-end;\r\n  gap:10px;\r\n}\r\n\r\n.btn{\r\nbackground:#0073aa;\r\ncolor:white;\r\nborder:none;\r\npadding:10px 18px;\r\nmargin-right:10px;\r\ncursor:pointer;\r\nborder-radius:4px;\r\nfont-weight:bold;\r\n}\r\n\r\n<\/style>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>PDF Excel<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3588","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Events program - Agrotica<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.agrotica-expo.gr\/program\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Events program - Agrotica\" \/>\n<meta property=\"og:description\" content=\"PDF Excel\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.agrotica-expo.gr\/program\/\" \/>\n<meta property=\"og:site_name\" content=\"Agrotica\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AgroticaExpo\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-10T13:07:23+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/program\\\/\",\"url\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/program\\\/\",\"name\":\"Events program - Agrotica\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/#website\"},\"datePublished\":\"2023-11-15T13:11:21+00:00\",\"dateModified\":\"2026-03-10T13:07:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/program\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.agrotica-expo.gr\\\/program\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/program\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Events program\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/#website\",\"url\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/\",\"name\":\"Agrotica\",\"description\":\"Agrotica\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/#organization\",\"name\":\"Agrotica\",\"url\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/Logo_Agrotica4-1-1.png\",\"contentUrl\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/Logo_Agrotica4-1-1.png\",\"width\":350,\"height\":100,\"caption\":\"Agrotica\"},\"image\":{\"@id\":\"https:\\\/\\\/www.agrotica-expo.gr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/AgroticaExpo\\\/\",\"https:\\\/\\\/www.instagram.com\\\/agrotica_expo\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/agrotica-expo\\\/\",\"https:\\\/\\\/www.youtube.com\\\/playlist?list=PLkGbBOEm_M-p1wYeBXSl0vUOBKtRxmbe2\",\"https:\\\/\\\/invite.viber.com\\\/?g2=AQAi9aziZpw69EgySP5qQjdMIxYpSMBb3Ai32kTI9Yzo4z19eH8OfRjPpa46hw&lang=en\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Events program - Agrotica","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.agrotica-expo.gr\/program\/","og_locale":"en_US","og_type":"article","og_title":"Events program - Agrotica","og_description":"PDF Excel","og_url":"https:\/\/www.agrotica-expo.gr\/program\/","og_site_name":"Agrotica","article_publisher":"https:\/\/www.facebook.com\/AgroticaExpo\/","article_modified_time":"2026-03-10T13:07:23+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.agrotica-expo.gr\/program\/","url":"https:\/\/www.agrotica-expo.gr\/program\/","name":"Events program - Agrotica","isPartOf":{"@id":"https:\/\/www.agrotica-expo.gr\/#website"},"datePublished":"2023-11-15T13:11:21+00:00","dateModified":"2026-03-10T13:07:23+00:00","breadcrumb":{"@id":"https:\/\/www.agrotica-expo.gr\/program\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.agrotica-expo.gr\/program\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.agrotica-expo.gr\/program\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.agrotica-expo.gr\/"},{"@type":"ListItem","position":2,"name":"Events program"}]},{"@type":"WebSite","@id":"https:\/\/www.agrotica-expo.gr\/#website","url":"https:\/\/www.agrotica-expo.gr\/","name":"Agrotica","description":"Agrotica","publisher":{"@id":"https:\/\/www.agrotica-expo.gr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.agrotica-expo.gr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.agrotica-expo.gr\/#organization","name":"Agrotica","url":"https:\/\/www.agrotica-expo.gr\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.agrotica-expo.gr\/#\/schema\/logo\/image\/","url":"https:\/\/www.agrotica-expo.gr\/wp-content\/uploads\/2023\/03\/Logo_Agrotica4-1-1.png","contentUrl":"https:\/\/www.agrotica-expo.gr\/wp-content\/uploads\/2023\/03\/Logo_Agrotica4-1-1.png","width":350,"height":100,"caption":"Agrotica"},"image":{"@id":"https:\/\/www.agrotica-expo.gr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/AgroticaExpo\/","https:\/\/www.instagram.com\/agrotica_expo\/","https:\/\/www.linkedin.com\/showcase\/agrotica-expo\/","https:\/\/www.youtube.com\/playlist?list=PLkGbBOEm_M-p1wYeBXSl0vUOBKtRxmbe2","https:\/\/invite.viber.com\/?g2=AQAi9aziZpw69EgySP5qQjdMIxYpSMBb3Ai32kTI9Yzo4z19eH8OfRjPpa46hw&lang=en"]}]}},"_links":{"self":[{"href":"https:\/\/www.agrotica-expo.gr\/en\/wp-json\/wp\/v2\/pages\/3588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agrotica-expo.gr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.agrotica-expo.gr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.agrotica-expo.gr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agrotica-expo.gr\/en\/wp-json\/wp\/v2\/comments?post=3588"}],"version-history":[{"count":22,"href":"https:\/\/www.agrotica-expo.gr\/en\/wp-json\/wp\/v2\/pages\/3588\/revisions"}],"predecessor-version":[{"id":7937,"href":"https:\/\/www.agrotica-expo.gr\/en\/wp-json\/wp\/v2\/pages\/3588\/revisions\/7937"}],"wp:attachment":[{"href":"https:\/\/www.agrotica-expo.gr\/en\/wp-json\/wp\/v2\/media?parent=3588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}