Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
academy-lms
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Phạm Văn Đoan
academy-lms
Commits
259f8092
Commit
259f8092
authored
Mar 02, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tổ chức lại module quản lý khóa học
parent
f8807205
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
4 additions
and
4 deletions
+4
-4
Admin.php
application/controllers/Admin.php
+4
-4
course_add.php
application/views/backend/admin/course/course_add.php
+0
-0
course_edit.php
application/views/backend/admin/course/course_edit.php
+0
-0
course_media_add.php
application/views/backend/admin/course/course_media_add.php
+0
-0
course_media_edit.php
application/views/backend/admin/course/course_media_edit.php
+0
-0
courses-server-side.php
...cation/views/backend/admin/course/courses-server-side.php
+0
-0
courses.php
application/views/backend/admin/course/courses.php
+0
-0
pending_courses.php
application/views/backend/admin/course/pending_courses.php
+0
-0
No files found.
application/controllers/Admin.php
View file @
259f8092
...
@@ -449,7 +449,7 @@ class Admin extends CI_Controller
...
@@ -449,7 +449,7 @@ class Admin extends CI_Controller
$page_data
[
'courses'
]
=
$this
->
crud_model
->
filter_course_for_backend
(
$page_data
[
'selected_category_id'
],
$page_data
[
'selected_instructor_id'
],
$page_data
[
'selected_price'
],
$page_data
[
'selected_status'
]);
$page_data
[
'courses'
]
=
$this
->
crud_model
->
filter_course_for_backend
(
$page_data
[
'selected_category_id'
],
$page_data
[
'selected_instructor_id'
],
$page_data
[
'selected_price'
],
$page_data
[
'selected_status'
]);
$page_data
[
'status_wise_courses'
]
=
$this
->
crud_model
->
get_status_wise_courses
();
$page_data
[
'status_wise_courses'
]
=
$this
->
crud_model
->
get_status_wise_courses
();
$page_data
[
'instructors'
]
=
$this
->
user_model
->
get_instructor
();
$page_data
[
'instructors'
]
=
$this
->
user_model
->
get_instructor
();
$page_data
[
'page_name'
]
=
'courses-server-side'
;
$page_data
[
'page_name'
]
=
'course
/course
s-server-side'
;
$page_data
[
'categories'
]
=
$this
->
crud_model
->
get_categories
();
$page_data
[
'categories'
]
=
$this
->
crud_model
->
get_categories
();
$page_data
[
'page_title'
]
=
get_phrase
(
'active_courses'
);
$page_data
[
'page_title'
]
=
get_phrase
(
'active_courses'
);
$this
->
load
->
view
(
'backend/index'
,
$page_data
);
$this
->
load
->
view
(
'backend/index'
,
$page_data
);
...
@@ -609,7 +609,7 @@ class Admin extends CI_Controller
...
@@ -609,7 +609,7 @@ class Admin extends CI_Controller
}
}
$page_data
[
'page_name'
]
=
'pending_courses'
;
$page_data
[
'page_name'
]
=
'
course/
pending_courses'
;
$page_data
[
'page_title'
]
=
get_phrase
(
'pending_courses'
);
$page_data
[
'page_title'
]
=
get_phrase
(
'pending_courses'
);
$this
->
load
->
view
(
'backend/index'
,
$page_data
);
$this
->
load
->
view
(
'backend/index'
,
$page_data
);
}
}
...
@@ -646,13 +646,13 @@ class Admin extends CI_Controller
...
@@ -646,13 +646,13 @@ class Admin extends CI_Controller
if
(
$param1
==
'add_course'
)
{
if
(
$param1
==
'add_course'
)
{
$page_data
[
'languages'
]
=
$this
->
crud_model
->
get_all_languages
();
$page_data
[
'languages'
]
=
$this
->
crud_model
->
get_all_languages
();
$page_data
[
'categories'
]
=
$this
->
crud_model
->
get_categories
();
$page_data
[
'categories'
]
=
$this
->
crud_model
->
get_categories
();
$page_data
[
'page_name'
]
=
'course_add'
;
$page_data
[
'page_name'
]
=
'course
/course
_add'
;
$page_data
[
'page_title'
]
=
get_phrase
(
'add_course'
);
$page_data
[
'page_title'
]
=
get_phrase
(
'add_course'
);
$this
->
load
->
view
(
'backend/index'
,
$page_data
);
$this
->
load
->
view
(
'backend/index'
,
$page_data
);
}
elseif
(
$param1
==
'course_edit'
)
{
}
elseif
(
$param1
==
'course_edit'
)
{
$this
->
is_drafted_course
(
$param2
);
$this
->
is_drafted_course
(
$param2
);
$page_data
[
'page_name'
]
=
'course_edit'
;
$page_data
[
'page_name'
]
=
'course
/course
_edit'
;
$page_data
[
'course_id'
]
=
$param2
;
$page_data
[
'course_id'
]
=
$param2
;
$page_data
[
'page_title'
]
=
get_phrase
(
'edit_course'
);
$page_data
[
'page_title'
]
=
get_phrase
(
'edit_course'
);
$page_data
[
'languages'
]
=
$this
->
crud_model
->
get_all_languages
();
$page_data
[
'languages'
]
=
$this
->
crud_model
->
get_all_languages
();
...
...
application/views/backend/admin/course_add.php
→
application/views/backend/admin/course
/course
_add.php
View file @
259f8092
File moved
application/views/backend/admin/course_edit.php
→
application/views/backend/admin/course
/course
_edit.php
View file @
259f8092
File moved
application/views/backend/admin/course_media_add.php
→
application/views/backend/admin/course
/course
_media_add.php
View file @
259f8092
File moved
application/views/backend/admin/course_media_edit.php
→
application/views/backend/admin/course
/course
_media_edit.php
View file @
259f8092
File moved
application/views/backend/admin/courses-server-side.php
→
application/views/backend/admin/course
/course
s-server-side.php
View file @
259f8092
File moved
application/views/backend/admin/courses.php
→
application/views/backend/admin/course
/course
s.php
View file @
259f8092
File moved
application/views/backend/admin/pending_courses.php
→
application/views/backend/admin/
course/
pending_courses.php
View file @
259f8092
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment