array( 'URL_HOME'=>'', 'URL_CONTENT'=>'contenu', 'URL_SIGNUP'=>'signup', 'URL_CATEGORIES'=>'categories', 'URL_PRODUCTS'=>'produits', 'URL_PRODUCT'=>'produit', 'URL_CONTACT'=>'contact', 'URL_LOGIN'=>'login', 'URL_LOGOUT'=>'logout', 'URL_CLIENT'=>'client', 'URL_NEWSLETTER'=>'newsletter', 'URL_DETENTE'=>'detente', 'URL_ANNOUNCEMENT'=>'announcement', 'URL_POSITION'=>'position', 'URL_ACTIVATE'=>'activate', 'URL_POSTULATE'=>'postuler', 'URL_CANDIDATURE'=>'candidature', ) ); $MODULES = array('users', 'groups', 'permissions'); $PERMISSIONS = array( 'a'=>'Ajout', 'r'=>'Lecture', 'w'=>'Modification', 'd'=>'Suppression' ); define('DATABASE_DRIVER', 'MySql'); define('VAR_MEMBER_ID', 'MEMBER_LOGGED'); define('DEFAULT_LANG', 'fr'); define('LANG', 'LANG'); // user messages define('USRMSG_SUCCESS', 'SUCCESS'); define('USRMSG_ERROR', 'ERROR'); // CHAT SERVER define("CHAT_SERVER", "prod"); define("CHAT_SERVER_PORT", 9090); define("CHAT_PORT", "5222"); define("CHAT_SECRETKEY", "f38dgvcA"); //skQv7ELM define("CHAT_LOGS", "../logs/chat"); define("CHAT_REQUESTS", "ENTIWENA_V2_CHAT_REQUESTS"); // Authentication define ("MIN_PASSWORD_LENGTH", 3); define ("USERNAME_MIN", 2); define ("USERNAME_MAX", 12); define ("MAX_NEWS_WIDTH_BIG", 200); define ("THUMBNAIL_JPEG_QUALITY", 128); define("SMTP", "127.0.0.1"); // affichage par page define("PAGE_SIZE", 70); define("INDEX_PAGE_SIZE", 9); define("ARCHIVE_PAGE_SIZE", 15); define("SEARCH_PAGE_SIZE", 5); // contact info define ("EMAIL_CONTACT", "contact@labtech.com.tn"); define ("EMAIL_FROM", "contact@labtech.com.tn"); define ("EMAIL_ADMIN", "contact@labtech.com.tn"); // format de dates define("DATETIME", "Y-m-d H:i:s"); define("DATE_FR", "d/m/Y"); define("DATE_MYSQL", "Y-m-d"); define("DATE_JAP", "Ymd"); define("TIME_FR", "H:i:s"); define("TIME_DAY_STAMP", 86400); // downloads define("FOLDER_DOWNLOADS", "downloads/"); // d'uploads define("FOLDER_UPLOADS", "uploads"); define("FOLDER_PHOTOS", FOLDER_UPLOADS . "/photos"); define("FOLDER_FILES", FOLDER_UPLOADS . "/files"); define("FOLDER_PHOTOS_THUMBNAILS", FOLDER_PHOTOS . "/thumbnails"); define('RECAPTCHA_PUBLIC_KEY', '6LceidASAAAAAKp4NsKVhQrpOAbjHr23R6H2ToHf'); define('RECAPTCHA_PRIVATE_KEY', '6LceidASAAAAAHb9KrnLb5I_Bn7jwT68_tv4dPGX'); // Crontab define("CRON_WINK", 1); define("CRON_VISIT", 2); define("CRON_PM", 3); define("CRON_FRIEND_REQUEST", 4); define("CRON_FRIEND_REQUEST_ACCEPT", 11); define("CRON_INVITATION", 5); define("CRON_SIGNUP", 6); define("CRON_ACTIVATE_ACCOUNT", 7); define("CRON_PASSWORD", 8); define("CRON_CONTACT", 9); define("CRON_ABUSIVE_CONTENT", 10); define("CRON_ADMIN_SIGNUP", 100); define("CRON_ADMIN_DESCRIPTION", 104); define("CRON_ADMIN_NEW_PASSWORD", 105); define("ABUSIVE_PHOTO", 1); define("ABUSIVE_DESCRIPTION", 2); define("ABUSIVE_MESSAGE", 3); define("ABUSIVE_PROFILE", 4); define("EMAIL_TEMPLATES", "/tpl/"); $EMAILS = array( 'signup'=>'register.htm', 'activation'=>'activate.htm', 'new_description'=>'desc.htm', 'description_accepted'=>'register.htm', 'message'=>'pm.htm', 'new_photo'=>'', 'photo_accepted'=>'photo.htm', 'wink'=>'wink.htm', 'friend_add'=>'friend_add.htm', 'friend_accept'=>'friend_accept.htm', 'visit'=>'visit.htm', 'invitation'=>'invitation.htm', 'abusive'=>'abusive.htm', 'contact'=>'contact.htm', 'new_password'=>'pwd.htm' ); // images define("IMG_FOLDER", "images/"); define("MAX_IMAGES", 5); define("MAX_PORTFOLIO_REFERENCES", 3); define("IMG_DEFAULT_LOGO", "pict2.gif"); define("THUMBNAIL_WIDTH", 80); define("THUMBNAIL_HEIGHT", 80); define("CAPTCHA", "CAPTCHA"); define('ISODATE', 'Y-m-d H:i:s'); define("SESSION_TIMEOUT", 3600); define("SESSION_COOKIE", "ENTIWENA_LOGGED"); $MESSAGES = array( 'fr'=>array( ), 'en'=>array() ); $months = array( 'fr'=>array( 1=>'Janvier', 2=>'Février', 3=>'Mars', 4=>'Avril', 5=>'Mai', 6=>'Juin', 7=>'Juillet', 8=>'Août', 9=>'Septembre', 10=>'Octobre', 11=>'Novembre', 12=>'Décembre' ) ); $secret_questions = array( 'fr'=>array( 1=>'Quel est le nom de ton/ta meilleur(e) ami(e) ?', 2=>'Quel est le nom de famille de ton musicien préféré?', 3=>'Quel est le nom de ton livre préféré?', 4=>'Quel est le nom de la rue dans laquelle tu as grandi?' ) ); $a_zodiac = array( 'fr'=>array( array("sign"=>"Bélier", "from"=>"03-21", "to"=>"04-20", "elem"=>"Feu") , array("sign"=>"Taureau", "from"=>"04-21", "to"=>"05-20", "elem"=>"Terre"), array("sign"=>"Gémeaux", "from"=>"05-21", "to"=>"06-21", "elem"=>"Air") , array("sign"=>"Cancer", "from"=>"06-22", "to"=>"07-23", "elem"=>"Eau") , array("sign"=>"Lion", "from"=>"07-24", "to"=>"08-23", "elem"=>"Feu") , array("sign"=>"Vierge", "from"=>"08-24", "to"=>"09-23", "elem"=>"Terre"), array("sign"=>"Balance", "from"=>"09-24", "to"=>"10-23", "elem"=>"Air") , array("sign"=>"Scorpion", "from"=>"10-24", "to"=>"11-22", "elem"=>"Eau") , array("sign"=>"Sagittaire", "from"=>"11-23", "to"=>"12-20", "elem"=>"Feu") , array("sign"=>"Capricorne", "from"=>"12-21", "to"=>"01-20", "elem"=>"Terre"), array("sign"=>"Verseau", "from"=>"01-21", "to"=>"02-19", "elem"=>"Air") , array("sign"=>"Poissons", "from"=>"02-20", "to"=>"03-20", "elem"=>"Eau") ) ); $MIME = array( 'hqx' => 'application/mac-binhex40', 'cpt' => 'application/mac-compactpro', 'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'), 'bin' => 'application/macbinary', 'dms' => 'application/octet-stream', 'lha' => 'application/octet-stream', 'lzh' => 'application/octet-stream', 'exe' => 'application/octet-stream', 'class' => 'application/octet-stream', 'psd' => 'application/x-photoshop', 'so' => 'application/octet-stream', 'sea' => 'application/octet-stream', 'dll' => 'application/octet-stream', 'oda' => 'application/oda', 'pdf' => array('application/pdf', 'application/x-download'), 'ai' => 'application/postscript', 'eps' => 'application/postscript', 'ps' => 'application/postscript', 'smi' => 'application/smil', 'smil' => 'application/smil', 'mif' => 'application/vnd.mif', 'xls' => array('application/excel', 'application/vnd.ms-excel', 'application/msexcel'), 'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint'), 'wbxml' => 'application/wbxml', 'wmlc' => 'application/wmlc', 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dxr' => 'application/x-director', 'dvi' => 'application/x-dvi', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'php' => 'application/x-httpd-php', 'php4' => 'application/x-httpd-php', 'php3' => 'application/x-httpd-php', 'phtml' => 'application/x-httpd-php', 'phps' => 'application/x-httpd-php-source', 'js' => 'application/x-javascript', 'swf' => 'application/x-shockwave-flash', 'sit' => 'application/x-stuffit', 'tar' => 'application/x-tar', 'tgz' => 'application/x-tar', 'xhtml' => 'application/xhtml+xml', 'xht' => 'application/xhtml+xml', 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'), 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mpga' => 'audio/mpeg', 'mp2' => 'audio/mpeg', 'mp3' => array('audio/mpeg', 'audio/mpg'), 'aif' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'ra' => 'audio/x-realaudio', 'rv' => 'video/vnd.rn-realvideo', 'wav' => 'audio/x-wav', 'bmp' => 'image/bmp', 'gif' => 'image/gif', 'jpeg' => array('image/jpg', 'image/jpe', 'image/jpeg', 'image/pjpeg'), 'jpg' => array('image/jpg', 'image/jpe', 'image/jpeg', 'image/pjpeg'), 'jpe' => array('image/jpg', 'image/jpe', 'image/jpeg', 'image/pjpeg'), 'png' => array('image/png', 'image/x-png'), 'tiff' => 'image/tiff', 'tif' => 'image/tiff', 'css' => 'text/css', 'html' => 'text/html', 'htm' => 'text/html', 'shtml' => 'text/html', 'txt' => 'text/plain', 'text' => 'text/plain', 'log' => array('text/plain', 'text/x-log'), 'rtx' => 'text/richtext', 'rtf' => 'text/rtf', 'xml' => 'text/xml', 'xsl' => 'text/xml', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'mpe' => 'video/mpeg', 'qt' => 'video/quicktime', 'mov' => 'video/quicktime', 'avi' => 'video/x-msvideo', 'movie' => 'video/x-sgi-movie', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'word' => array('application/msword', 'application/octet-stream'), 'xl' => 'application/excel', 'eml' => 'message/rfc822' ); ?>'mysql', 'host'=>'localhost', 'db'=>'labtechtn_db', 'user'=>'labtechtn_db', 'passwd'=>'admin' ); ?>