diff --git a/www/application/controllers/Member.php b/www/application/controllers/Member.php index 297b480..aac84b9 100644 --- a/www/application/controllers/Member.php +++ b/www/application/controllers/Member.php @@ -18,16 +18,81 @@ class Member extends Member_Controller { } public function page() { - // echo 'yes'; view_mypage + $data = array(); + + + $page_items = array( + ['NOTECARD', 'Note Card', 'btn-primary'], + ['VIDEOCARD', 'Video Content', 'btn-danger'], + ['ACTIONITEM', 'Action Item', 'btn-secondary'], + ['FORUMITEM', 'Forum Item', 'btn-success'], + ['TASKCARD', 'Task', 'btn-danger'], + ['RESOURCES', 'Resources', 'btn-light'], + ['RESEARCH', 'Research', 'btn-info'] + ); + + $data['page_items'] = $page_items; + + $page_toindex = true; - //$mysql = "SELECT * FROM members_pages WHERE member_id = " . $_SESSION["member_id"]; - // $r = $this->db->query($mysql); - // $data["page_card"] = $r->result(); - $this->renderMemberPages('view_mypage', $data); + if ($_SERVER['REQUEST_METHOD'] == 'GET') { + + $page_key = $this->input->get('pgname'); + $member_id = $_SESSION["member_id"]; + if ($member_id > 0 && $page_key != '') { + //echo 'yes'; + $mysql = "SELECT * FROM members_pages WHERE member_id = " . $_SESSION["member_id"] . " AND page_key='$page_key'"; + $r = $this->db->query($mysql); + $drow = $r->row(); + + if (isset($drow)) { + $data['title'] = $drow->title; + $data['description'] = $drow->description; + $data['what_page'] = $drow->page_mode; + $this->renderMemberPages('view_mypage', $data); + $page_toindex = false; + } + } + } + if( true == $page_toindex ){ + $this->index(); + } + + } + public function viewCardAddAction(){ + ///member/viewCardAddAction?proc=PROCESS&action_name="+action_name+"&member_id=" + member_id + "&limit=" + limit + "&offset=" + offset + $data =[]; + + if ($_SERVER['REQUEST_METHOD'] == 'GET') { + + $action_name = $this->input->get('action_name'); + $member_id = $_SESSION["member_id"]; + /* if ($member_id > 0 && $page_key != '') { + //echo 'yes'; + $mysql = "SELECT * FROM members_pages WHERE member_id = " . $_SESSION["member_id"] . " AND page_key='$page_key'"; + $r = $this->db->query($mysql); + $drow = $r->row(); + + if (isset($drow)) { + $data['title'] = $drow->title; + $data['description'] = $drow->description; + $data['what_page'] = $drow->page_mode; + $this->renderMemberPages('view_mypage', $data); + $page_toindex = false; + } + } + */ + $this->load->view('member/addpages/'.$action_name, $data); + } + + + + // echo "Yes i got to the controller"; + } public function configure() { // echo 'yes'; view_mypage diff --git a/www/application/views/member/addpages/ACTIONITEM.php b/www/application/views/member/addpages/ACTIONITEM.php new file mode 100644 index 0000000..2691330 --- /dev/null +++ b/www/application/views/member/addpages/ACTIONITEM.php @@ -0,0 +1,29 @@ +
+
+
+

Add New Note

+
+
+
+
+
+ + +
+ + +
+ + +
+
+ +
+ + +
+
+
+
+
+ \ No newline at end of file diff --git a/www/application/views/member/addpages/FORUMITEM.php b/www/application/views/member/addpages/FORUMITEM.php new file mode 100644 index 0000000..2691330 --- /dev/null +++ b/www/application/views/member/addpages/FORUMITEM.php @@ -0,0 +1,29 @@ +
+
+
+

Add New Note

+
+
+
+
+
+ + +
+ + +
+ + +
+
+ +
+ + +
+
+
+
+
+ \ No newline at end of file diff --git a/www/application/views/member/addpages/NOTECARD.php b/www/application/views/member/addpages/NOTECARD.php new file mode 100644 index 0000000..2691330 --- /dev/null +++ b/www/application/views/member/addpages/NOTECARD.php @@ -0,0 +1,29 @@ +
+
+
+

Add New Note

+
+
+
+
+
+ + +
+ + +
+ + +
+
+ +
+ + +
+
+
+
+
+ \ No newline at end of file diff --git a/www/application/views/member/addpages/RESEARCH.php b/www/application/views/member/addpages/RESEARCH.php new file mode 100644 index 0000000..2691330 --- /dev/null +++ b/www/application/views/member/addpages/RESEARCH.php @@ -0,0 +1,29 @@ +
+
+
+

Add New Note

+
+
+
+
+
+ + +
+ + +
+ + +
+
+ +
+ + +
+
+
+
+
+ \ No newline at end of file diff --git a/www/application/views/member/addpages/RESOURCES.php b/www/application/views/member/addpages/RESOURCES.php new file mode 100644 index 0000000..2691330 --- /dev/null +++ b/www/application/views/member/addpages/RESOURCES.php @@ -0,0 +1,29 @@ +
+
+
+

Add New Note

+
+
+
+
+
+ + +
+ + +
+ + +
+
+ +
+ + +
+
+
+
+
+ \ No newline at end of file diff --git a/www/application/views/member/addpages/TASKCARD.php b/www/application/views/member/addpages/TASKCARD.php new file mode 100644 index 0000000..2691330 --- /dev/null +++ b/www/application/views/member/addpages/TASKCARD.php @@ -0,0 +1,29 @@ +
+
+
+

Add New Note

+
+
+
+
+
+ + +
+ + +
+ + +
+
+ +
+ + +
+
+
+
+
+ \ No newline at end of file diff --git a/www/application/views/member/addpages/VIDEOCARD.php b/www/application/views/member/addpages/VIDEOCARD.php new file mode 100644 index 0000000..fe10ea9 --- /dev/null +++ b/www/application/views/member/addpages/VIDEOCARD.php @@ -0,0 +1,47 @@ +
+
+
+

Add Video

+
+
+
+
+
+ + +
+ + +
+ + +
+ +
+
+

Use Button To Select Files

+
+
+
+ + + +
Drop Files Here To Upload
+ +
+
+
+ + +
+ +
+ + +
+ +
+
+
+ \ No newline at end of file diff --git a/www/application/views/member/common/contentsadd_menu.php b/www/application/views/member/common/contentsadd_menu.php new file mode 100644 index 0000000..a100c67 --- /dev/null +++ b/www/application/views/member/common/contentsadd_menu.php @@ -0,0 +1,97 @@ + +
+
+ +
+
+
+

Add Contents to

+

Some quick example text to build on the card title and make up the bulk of + the card's content.

+
+
    +
  • + 4 + Add New Page Card +
  • +
  • + 2 + Dapibus ac facilisis in +
  • +
  • + 1 + Morbi leo risus +
  • +
  • + 3 + Porta ac consectetur ac +
  • +
  • + 8 + Vestibulum at eros +
  • +
  • + 4 + Lorem ipsum dolor sit amet. +
  • +
+ +
+
+ + + +
+ + +
+ +
+
+

Overview

+
+
    +
  • +
  • +
+
+
+
+
+

Thank you for purchasing Vuexy admin template. If you have any queries that are beyond the scope of this help file, please feel free to create a support ticket on our support portal : https://pixinvent.ticksy.com/

+ +

Vuexy admin is super flexible, powerful, clean & modern responsive bootstrap admin template with unlimited possibilities. It includes 4 pre-built templates with organized folder structure, clean & commented code, 100+ pages, 70+ components, 50+ charts, 50+ advance cards (widgets) and many more.

+

Vuexy admin provides searchable navigation, unique menu layouts, advance cards and incredible support. Vuexy admin can be used for any type of web applications: Project Management, eCommerce backends, CRM, Analytics, Fitness or any custom admin panels.

+

It comes with 2 niche dashboards. Vuexy admin template is powered with HTML 5, SASS & Twitter Bootstrap 4 which looks great on Desktops, Tablets, and Mobile Devices. Vuexy admin template comes with starter kit which will help developers to get started quickly.

+

+

Updated: 13/11/2019 - V4.1 Vuesax is now Vuexy :)

+

By: PIXINVENT Team

+

Support Portal: https://pixinvent.ticksy.com/

+ + +
+
+
+ + + +
+ +
+
+
+
+

Intoduction Video

+
+
+ +
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/www/application/views/member/common/side_menu.php b/www/application/views/member/common/side_menu.php index a009b75..93fece8 100644 --- a/www/application/views/member/common/side_menu.php +++ b/www/application/views/member/common/side_menu.php @@ -9,38 +9,19 @@ - - + + + + diff --git a/www/application/views/member/pages/manage_contents.php b/www/application/views/member/pages/manage_contents.php new file mode 100644 index 0000000..076328c --- /dev/null +++ b/www/application/views/member/pages/manage_contents.php @@ -0,0 +1,90 @@ + +
+
+ +
+
+
+

Add Contents to

+

Some quick example text to build on the card title and make up the bulk of + the card's content.

+
+
    + + +
  • + 0 + +
  • + + +
+ +
+
+ + + +
+ + +
+
+ + + +
+ + + + +
+ +
+ + + + + +
+ +
+ + + + + + diff --git a/www/application/views/member/pages/pages_DEFAULT.php b/www/application/views/member/pages/pages_DEFAULT.php new file mode 100644 index 0000000..1910459 --- /dev/null +++ b/www/application/views/member/pages/pages_DEFAULT.php @@ -0,0 +1,101 @@ +

Candy canes donut chupa chups candy canes lemon drops oat cake wafer. Cotton candy candy canes + marzipan carrot cake. Sesame snaps lemon drops candy marzipan donut brownie tootsie roll. Icing + croissant bonbon biscuit gummi bears.

+ + +
+
+ +
+
+
+

Menu

+

Some quick example text to build on the card title and make up the bulk of + the card's content.

+
+
    +
  • + 4 + Add New Page Card +
  • +
  • + 2 + Dapibus ac facilisis in +
  • +
  • + 1 + Morbi leo risus +
  • +
  • + 3 + Porta ac consectetur ac +
  • +
  • + 8 + Vestibulum at eros +
  • +
  • + 4 + Lorem ipsum dolor sit amet. +
  • +
+ +
+
+ + + +
+ + +
+ +
+
+

Overview

+
+
    +
  • +
  • +
+
+
+
+
+

Thank you for purchasing Vuexy admin template. If you have any queries that are beyond the scope of this help file, please feel free to create a support ticket on our support portal : https://pixinvent.ticksy.com/

+ +

Vuexy admin is super flexible, powerful, clean & modern responsive bootstrap admin template with unlimited possibilities. It includes 4 pre-built templates with organized folder structure, clean & commented code, 100+ pages, 70+ components, 50+ charts, 50+ advance cards (widgets) and many more.

+

Vuexy admin provides searchable navigation, unique menu layouts, advance cards and incredible support. Vuexy admin can be used for any type of web applications: Project Management, eCommerce backends, CRM, Analytics, Fitness or any custom admin panels.

+

It comes with 2 niche dashboards. Vuexy admin template is powered with HTML 5, SASS & Twitter Bootstrap 4 which looks great on Desktops, Tablets, and Mobile Devices. Vuexy admin template comes with starter kit which will help developers to get started quickly.

+

+

Updated: 13/11/2019 - V4.1 Vuesax is now Vuexy :)

+

By: PIXINVENT Team

+

Support Portal: https://pixinvent.ticksy.com/

+ + +
+
+
+ + + +
+ +
+
+
+
+

Intoduction Video

+
+
+ +
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/www/application/views/member/pages/pages_OTHER.php b/www/application/views/member/pages/pages_OTHER.php new file mode 100644 index 0000000..9d6376d --- /dev/null +++ b/www/application/views/member/pages/pages_OTHER.php @@ -0,0 +1,11 @@ + + + +
+ + + + + + +
\ No newline at end of file diff --git a/www/application/views/member/view_mypage.php b/www/application/views/member/view_mypage.php index 6c97f60..9b7c961 100644 --- a/www/application/views/member/view_mypage.php +++ b/www/application/views/member/view_mypage.php @@ -18,7 +18,7 @@
-

Candy canes donut chupa chups candy canes lemon drops oat cake wafer. Cotton candy candy canes - marzipan carrot cake. Sesame snaps lemon drops candy marzipan donut brownie tootsie roll. Icing - croissant bonbon biscuit gummi bears.

- - -
-
- - - -
-
-
-
- - -
-
- Pastry pudding cookie toffee bonbon jujubes jujubes powder topping. Jelly beans gummi bears sweet roll - bonbon muffin liquorice. Wafer lollipop sesame snaps. -
-
-
-
- -
-
- Sweet pie candy jelly. Sesame snaps biscuit sugar plum. Sweet roll topping fruitcake. Caramels - liquorice biscuit ice cream fruitcake cotton candy tart. -
-
-
-
- -
-
- Tart gummies dragée lollipop fruitcake pastry oat cake. Cookie jelly jelly macaroon icing jelly beans - soufflé cake sweet. Macaroon sesame snaps cheesecake tart cake sugar plum. -
-
-
-
-
- - Accordion Item 4 - -
-
-
- Cheesecake muffin cupcake dragée lemon drops tiramisu cake gummies chocolate cake. Marshmallow tart - croissant. Tart dessert tiramisu marzipan lollipop lemon drops. -
-
-
-
-
-
-
-
-
-
-
-

Video Card

-
-
- -
-
-

Candy cupcake sugar plum oat cake wafer marzipan jujubes.

- Card link - Another link -
-
-
-
-
-
-
-
-

Feedback Form

-
-
-
-
-
- - -
- -
- - -
- -
- - -
-
- -
- - -
-
-
-
-
-
-
- - - +
-

Pudding candy canes sugar plum cookie chocolate cake powder croissant. Carrot cake tiramisu danish - candy cake muffin croissant tart dessert. Tiramisu caramels candy canes chocolate cake sweet roll - liquorice icing cupcake.

+
diff --git a/www/application/views/member/view_securefoot.php b/www/application/views/member/view_securefoot.php index 5177531..676404e 100644 --- a/www/application/views/member/view_securefoot.php +++ b/www/application/views/member/view_securefoot.php @@ -1,40 +1,48 @@ - -
-
- - - + + + + + - - - + + + - - + + - - - - + + + + - - - - - + + + + - - - + + + + + - - + + + + + + + + + \ No newline at end of file diff --git a/www/application/views/member/view_securehead.php b/www/application/views/member/view_securehead.php index 466fd1f..649d566 100644 --- a/www/application/views/member/view_securehead.php +++ b/www/application/views/member/view_securehead.php @@ -29,6 +29,8 @@ + + @@ -46,6 +48,15 @@ + + + + + + + + + @@ -64,7 +75,7 @@ + @@ -301,7 +314,7 @@