-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDocuments
120 lines (95 loc) · 3.88 KB
/
Documents
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/**
* Documnets
*
* Serial: 120327
* by: M.Karminski
*
*/
Copyright (C) 2011,2012 Molotov.Karminski
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Classsheet Version 0.9.1
Molotov.Karminski "Linfcstmr"
//命名规范
文件名
file_a_in_this_folder.php
函数
function function_type_a_names($option_a, $option_b此处应按单词字母顺序排列){
$sql_select_names_by_id; //SQL statements
$option_a //Input vars
$normalVars //Normal vars
$GLOBAL_VARS //Global vars & static vars
$timeMachineArray[] //Array
}
全局变量&静态变量
global $GLOBAL_VARS;
static $STATIC_VARS;
临时变量
$timeMachine;
$timeMachineArray[];
数组计数器变量
$timeMachineArrayCount0[];
$timeMachineArrayCount1[][];
//编写规范
所有函数应按照最小事务原则进行编写,即:输入最少的数据,只负责本部分工作.
//File settings
class_manage 班级管理
classroom_manage 教室管理
classroom_schedule_manage 教室课程表
config 数据库设置
course_manage 课程管理
course_period_manage 学时管理
Documents 本文档
html_head HTML头部
index 其中.html为登陆页面.php为登录后页面
semester_manage 学期管理
settings 设置
students_schedule_manage 学生课程表
teachers_manage 教室管理
total_schedule_mange 总课表管理
weeks_schedule_manage 周课表管理
//Variables List
//Global vars
$DB_Connect Database connect vars.
$DB_HOST Database host location.
$DB_NAME Database name.
$DB_USER Database user name.
$DB_PASS Database user password.
$PAGE_SWITCH To control NAV CSS style.
$PAGE_TITLE_INFO
$SYSTEM_NAME This system name,Show in html head tag.
//BUG report
[BUG_120428_01] Import .csv data require UTF-8 fromat.
[BUG_120429_01] Database_query_function.php line 57.[FIX]
[BUG_120429_02] Import length too short at global_functions.php line 165.[FIX]
[BUG_120501_01] There have a title line at import .csv file, the database record will add a blank line. course_import.php line 42.[FIX]
[BUG_120520_01] The after course_period_manage change the course_manage will lost course period data.
[BUG_120520_02] The totalScheduleArray have such blanks, and all other pages.
[BUG_120521_01] If one train course just have 4 course period and first 2 course period taked by theory course,
then last 2 course period title info will fill with "W" which means "Finish". The "0" is required.
[BUG_120605_01] The schedule fill method which filled "W" is broken.
//Size counter
120430_1321 119k
120520_1702 183k
120526_1434 201k
120605_2003 213k
//Type names
Course type title key names:
[G]概论课 [Z]铸造 [H]焊接 [C]车工 [Q]钳工 [S]数控 [T]特加 [X]铣刨磨 [D]锻压 [GY]工艺设计 [K]考试
Classroom type title key names:
[J]教室 [S]编程室 [H]焊接室 [D]锻压室 [Z]铸热室 [T]特加室
Teacher type title key names:
[G]概论课教师 [GY]工艺设计教师 [K]监考教师 [Z]铸造理论课教师 [H]焊接理论课教师 [C]车工理论课教师 [Q]钳工理论课教师 [S]数控理论课教师 [T]特加理论课教师 [S]铣刨磨理论课教师 [D]锻压理论课教师
//Issues
1.考试地点问题,为什么现在在科厦统一考试
2.概论课教师问题,为什么概论课教师会包括理论课教师
3.遇到开会情况直接删除课程真的大丈夫?