Current File : /home/inlingua/public_html/icentex/evaluation/include/config/constant.php
<?php

/* WEBSITE CONSTANTS*/ 

$constants=new query('setting');

$constants->DisplayAll();

while($constant=$constants->GetObjectFromRecord()):

	define("$constant->key", $constant->value,false);

endwhile;





/*Email subjects. */

define("SUBJECT_CONFIRM_EMAIL",SITE_NAME." : Login details" ,false);

define("SUBJECT_REGISTER_EMAIL",SITE_NAME." : Please confirm your email address.",false);

//define("SUBJECT_FORGOT_PASSWORD_EMAIL",SITE_NAME." : Your login details.",false);

define("SUBJECT_CHANGE_PASSWORD_EMAIL",SITE_NAME." : Your new login details.",false);

define("SUBJECT_PRODUCT_TO_FRIEND_EMAIL",SITE_NAME." : Your friend has recommeded you a product.",false);

define("SUBJECT_ONLINE_ENQUIRY",SITE_NAME." : Online enquiry regarding ",false);

define("SUBJECT_FREE_SAMPLE",SITE_NAME." : Free Sample Request of ",false);

define("SUBJECT_FREE_CALLBACK",SITE_NAME." : Free callback request.",false);

define("SUBJECT_NEW_PROPERTY",SITE_NAME." : New Property Received.",false);


/* PHP Validation types*/

define('VALIDATE_REQUIRED', "req", false);

define('VALIDATE_EMAIL',"email", false);

define("VALIDATE_MAX_LENGTH","maxlength",false);

define("VALIDATE_MIN_LENGTH","minlength",false);

define("VALIDATE_NUMERIC","num",false);

define("VALIDATE_ALPHA","alpha",false);

define("VALIDATE_ALPHANUM","alphanum",false);

define("TEMPLATE","default",false);

//define("ADMIN_CATEGORY_PAGE_SIZE", "50",false);

define("ADMIN_FOLDER",'erickson_admin',false);

define("ADD_ATTRIBUTE_PRICE_TO_PRODUCT_PRICE", false);

define("ATTRIBUTE_PRICE_OVERLAP", false);

/*Paging format values.*/

define("PAGING_FORMAT_NUMBERED","Numbered",false);

define("PAGING_FORMAT_PREVNEXT","PrevNext",false);

define("PAGING_FORMAT_BOTH","Both",false);



$conf_shipping_type=array('quantity', 'subtotal');

define('SHIPPING_TYPE', 'quantity',false);



$AllowedPdfTypes=array('application/pdf');

$AllowedImageTypes=array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/jpg', 'image/png');

$AllowedResumeType = array('application/doc','application/msword','application/docx','application/vnd.openxmlformats-officedocument.wordprocessingml.document','application/vnd.ms-excel','application/pdf','text/csv');

$AllowedCadType=array ('application/pdf', 'application/octet-stream','application/DXF','application/dxf', 'application/DWG', 'application/dwg','image/pjpeg', 'image/jpeg', 'image/JPG', 'image/X-PNG', 'image/PNG', 'image/png', 'image/x-png',);

/* new allowed photo mime type array.*/

$conf_allowed_photo_mime_type=array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/jpg', 'image/png');



$conf_order_status=array('Received', 'Processing', 'Shipped', 'Delivered');



$highest_edu_array = array("B.A","B.Arch","BCA","B.B.A","B.Com","B.Ed","BDS","BHM","B.Pharma","B.Sc","B.Tech/B.E.","LLB","MBBS","Diploma","BVSC","CA","CS","ICWA","Integrated PG","LLM","M.A","M.Arch","M.Com","M.Ed","M.Pharma","M.Sc","M.Tech","MBA/PGDM","MCA","MS","PG Diploma","MVSC","MCM");



$company_type_array = array("Advice and Service","Automotive Industry","Chemical Production","Conglomerate","Contractors/Building and Construction","Education","Entertainment","Energy Industry","Finance and Insurance","Food and Drink","Governmental Organization", "HR and Marketing" ,"IT/Telecommunications and Electronics", "Media","Non-Governmental Organization","Pharmacology and Biotechnology","Research Institution","Retail","Shipping","Technology and Engineering","Textiles and Clothing","Trade Organization","Transportation","Wholesale Industry");



$publication_status = array("open","pending","closed","Application");

$publication_type = array("Analysis","Report","Interview","Commentary");

$publication_language = array("Arabic","Cantonese","Danish","Dutch","English","French","German","Hindi","Italian","Japanese","Mandarin","Persian","Portuguese","Russian","Swedish","Spanish");

$publication_video_type = array("Youtube embed code","Vimeo embed code");

$company_array = array("educen","Other company");

$access_level=array("edit","update");

?>