AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.145.97.1


Current Path : /var/www/lhjmq-records.qc.ca/public_html/administration/lib/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/administration/lib/roles.php

<?php
function role_valid($mysql_link, $role_id){
	$res = mysql_query($sql = 'SELECT * FROM types_personnels WHERE id_type_pers = '.$role_id, $mysql_link);
	if(mysql_num_rows($res) > 0){
		return true;
	}else{
		return false;
	}
}
function role_default(){
	return 3;
}
?>