#CACHE{0}[(#HTTP_HEADER{Content-Type: text/plain; charset=#CHARSET})] //les groupes puis mots [(#INCLURE{fond=dev/motconf})] // Les articles du site /* #TITRE* */ if ($article == "[(#TITRE*|sc_NewLine2str)]") { $contenu\['titre'\] = "[(#TITRE*|sc_NewLine2str)]";[ $contenu\['virtuel'\] = "(#VIRTUEL*)";][ $contenu\['descriptif'\] = << // Structure et contenu du site $id_rubrique = create_rubrique("[(#TITRE*|sc_NewLine2str)]", '0', "[(#DESCRIPTIF*|sc_NewLine2str)]");[ create_logo('documents/(#LOGO_RURIQUE_NORMAL|fichier)', $type='rub', $id_rubrique, '[(#LOGO_RURIQUE_NORMAL|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]');][ create_logo('documents/(#LOGO_RURIQUE_SURVOL|fichier)', $type='rub', $id_rubrique, '[(#LOGO_RURIQUE_SURVOL|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]','off');][(#REM) ] create_rubrique_mot("[(#INFO_TITRE*{rubrique,#ID_RUBRIQUE}|sc_NewLine2str)]", "[(#TITRE*|sc_NewLine2str)]", "[(#INFO_TITRE*{groupe_mot,#ID_GROUPE}|sc_NewLine2str)]");[(#REM) ][(#REM) ] $id_article = create_article(trouve_article_sc("[(#TITRE*|sc_NewLine2str)]"), "[(#INFO_TITRE*{rubrique,#ID_RUBRIQUE}|sc_NewLine2str)]");[ create_logo('documents/(#LOGO_ARTICLE_NORMAL|fichier)', $type='article', $id_article, '[(#LOGO_ARTICLE_NORMAL|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]');][ create_logo('documents/(#LOGO_ARTICLE_SURVOL|fichier)', $type='article', $id_article, '[(#LOGO_ARTICLE_SURVOL|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]','off');][(#REM) ] create_article_mot("[(#_ArticlesRub:TITRE*|sc_NewLine2str)]", "[(#INFO_TITRE*{rubrique,#ID_RUBRIQUE}|sc_NewLine2str)]", "[(#TITRE*|sc_NewLine2str)]", "[(#INFO_TITRE*{groupe_mot,#ID_GROUPE}|sc_NewLine2str)]");[(#REM) ][(#REM) ][(#REM) ] $sites = array(); $sites['nom_site'] = "[(#NOM_SITE*|sc_NewLine2str)]"; $sites['url_site'] = "#URL_SITE"; $sites['descriptif'] = "[(#DESCRIPTIF*|sc_NewLine2str)]"; $sites['url_syndic'] = "#URL_SYNDIC"; $sites['statut'] = '#STATUT'; $id_site = create_site($sites, "[(#INFO_TITRE*{rubrique,#ID_RUBRIQUE}|sc_NewLine2str)]");[ create_logo('documents/(#LOGO_SITE_NORMAL{#ID_SYNDIC}|fichier)', $type='site', $id_site, '[(#LOGO_SITE_NORMAL{#ID_SYNDIC}|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]');][ create_logo('documents/(#LOGO_SITE_SURVOL{#ID_SYNDIC}|fichier)', $type='site', $id_site, '[(#LOGO_SITE_SURVOL{#ID_SYNDIC}|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]','off');][(#REM) ] create_site_mot($id_site, "[(#TITRE*|sc_NewLine2str)]", "[(#INFO_TITRE*{groupe_mot,#ID_GROUPE}|sc_NewLine2str)]");[(#REM) ][(#REM) ] $id_parent = $id_rubrique; $id_rubrique = create_rubrique("[(#TITRE*|sc_NewLine2str)]", $id_parent, "[(#DESCRIPTIF*|sc_NewLine2str)]");[ create_logo('documents/(#LOGO_RURIQUE_NORMAL|fichier)', $type='rub', $id_rubrique, '[(#LOGO_RURIQUE_NORMAL|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]');][ create_logo('documents/(#LOGO_RURIQUE_SURVOL|fichier)', $type='rub', $id_rubrique, '[(#LOGO_RURIQUE_SURVOL|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]','off');][(#REM) ] create_rubrique_mot("[(#INFO_TITRE*{rubrique,#ID_RUBRIQUE}|sc_NewLine2str)]", "[(#TITRE*|sc_NewLine2str)]", "[(#INFO_TITRE*{groupe_mot,#ID_GROUPE}|sc_NewLine2str)]");[(#REM) ][(#REM) ] $id_article = create_article(trouve_article_sc("[(#TITRE*|sc_NewLine2str)]"), "[(#INFO_TITRE*{rubrique,#ID_RUBRIQUE}|sc_NewLine2str)]");[ create_logo('documents/(#LOGO_ARTICLE_NORMAL|fichier)', $type='article', $id_article, '[(#LOGO_ARTICLE_NORMAL|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]');][ create_logo('documents/(#LOGO_ARTICLE_SURVOL|fichier)', $type='article', $id_article, '[(#LOGO_ARTICLE_SURVOL|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]','off');][(#REM) ] create_article_mot("[(#_ArticlesSsRub:TITRE*|sc_NewLine2str)]", "[(#INFO_TITRE*{rubrique,#ID_RUBRIQUE}|sc_NewLine2str)]", "[(#TITRE*|sc_NewLine2str)]", "[(#INFO_TITRE*{groupe_mot,#ID_GROUPE}|sc_NewLine2str)]");[(#REM) ][(#REM) ][(#REM) ] $sites = array(); $sites['nom_site'] = "[(#NOM_SITE*|sc_NewLine2str)]"; $sites['url_site'] = "#URL_SITE"; $sites['descriptif'] = "[(#DESCRIPTIF*|sc_NewLine2str)]"; $sites['url_syndic'] = "#URL_SYNDIC"; $sites['statut'] = '#STATUT'; $id_site = create_site($sites, "[(#INFO_TITRE*{rubrique,#ID_RUBRIQUE}|sc_NewLine2str)]");[ create_logo('documents/(#LOGO_SITE_NORMAL{#ID_SYNDIC}|fichier)', $type='site', $id_site, '[(#LOGO_SITE_NORMAL{#ID_SYNDIC}|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]');][ create_logo('documents/(#LOGO_SITE_SURVOL{#ID_SYNDIC}|fichier)', $type='site', $id_site, '[(#LOGO_SITE_SURVOL{#ID_SYNDIC}|fichier|pathinfo{#CONST{PATHINFO_EXTENSION}})]','off');][(#REM) ] create_site_mot($id_site, "[(#TITRE*|sc_NewLine2str)]", "[(#INFO_TITRE*{groupe_mot,#ID_GROUPE}|sc_NewLine2str)]");[(#REM) ][(#REM) ] [(#REM) ]