Samx Here
n1udSecurity


Server : Apache
System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64
User : hednacluml ( 122243)
PHP Version : 8.3.9
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Directory :  /home/hednacluml/univers/plugins/auto/saisies/saisies-vues/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/hednacluml/univers/plugins/auto/saisies/saisies-vues/date.html
#SET{valeur, #ENV{valeur}}
[(#GET{valeur}|=={0000-00-00 00:00:00}|oui)
	#SET{valeur,''}
]
[(#GET{valeur}|=={0000-00-00}|oui)
	#SET{valeur,''}
]
[(#REM) Seulement si c'est une date SQL, on transforme en format slash. Sinon ça continue d'afficher la valeur de départ ]
#SET{date_mysql,([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])}
[(#GET{valeur}|match{#GET{date_mysql}}|oui)
	[(#ENV{horaire}|?{
		#SET{valeur,#ENV{valeur}|affdate{'d/m/Y H:i:s'}}
		,
		#SET{valeur,#ENV{valeur}|affdate{'d/m/Y'}}
	})]
]
[<p class="date">(#GET{valeur})</p>]

SAMX