{"id":15963,"date":"2025-02-25T12:01:40","date_gmt":"2025-02-25T10:01:40","guid":{"rendered":"https:\/\/www.beseit.net\/?p=15963"},"modified":"2025-02-25T13:23:50","modified_gmt":"2025-02-25T11:23:50","slug":"estructura-del-projecte-polidic","status":"publish","type":"post","link":"http:\/\/www.beseit.net\/?p=15963","title":{"rendered":"Estructura del projecte Polidic"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>\/\/ Includes inicials\ninclude_once('inicia_variables_sessio.php')\nrequire('func.php'); \n---------------------------\n&lt;body>\n    &lt;!-- Inclou el men\u00fa -->\n    &lt;?php include_once('mes_taules_lang.php'); ?>\n    &lt;?php include_once('menu.php'); ?><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\nEstructura del projecte Polidic\n&lt;?php\n\/*\nEstructura\n\/project\/\n\u2502\n\u251c\u2500\u2500 index.php\n|   \u251c\u2500\u2500 &lt;body&gt;:mes_taules_lang.php(include)\n|   \u251c\u2500\u2500 &lt;body&gt; include'menu.php' ( necesita\n|        la variable  $mes_taules_lang -&gt;\n|        a  $_GET&#91;lang])|   \n|  \n\u251c\u2500\u2500inicia_variables_sessio.php\n\u251c\u2500\u2500 \n\u251c\u2500\u2500 func.php\n\u251c\u2500\u2500 styles.css\n\u251c\u2500\u2500 images\/\n\u2502\n\u251c\u2500\u2500 js\/\n\u2502   \u251c\u2500\u2500 scripts.js !-- Gestiona el men\u00fa sandwich $_GET&#91;lang];\n\u2502   \u251c\u2500\u2500 jquery.min.js\n\u2502   \u2514\u2500\u2500 tiny.js\n\u251c\u2500\u2500 admin.php\n|   \u2514\u2500\u2500 ($_SESSION&#91;'admin']=1 retornar a admin)\n\u251c\u2500\u2500Inicia.php\n    \u251c\u2500\u2500\/\/reseteja SESSION i redirigeix a index.php\n    \u251c\u2500\u2500header('Location: \/polidic\/');\n    \u2514\u2500\u2500($_SESSION&#91;'admin']=1 retornar a admin)\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-15963","post","type-post","status-publish","format-standard","hentry","category-bloc-de-notes"],"_links":{"self":[{"href":"http:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/15963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15963"}],"version-history":[{"count":13,"href":"http:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/15963\/revisions"}],"predecessor-version":[{"id":15983,"href":"http:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/15963\/revisions\/15983"}],"wp:attachment":[{"href":"http:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15963"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}