From edf3f334f22a0351070dad57aa0e4279df07263e Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sat, 8 Feb 2020 13:31:12 -0500 Subject: [PATCH] fix --- www/application/controllers/Member.php | 32 ++--- .../views/member/view_myprofile.php | 116 ++++++++++++++++++ .../views/member/view_securefoot.php | 5 + .../views/member/view_securehead.php | 24 ++-- 4 files changed, 143 insertions(+), 34 deletions(-) create mode 100644 www/application/views/member/view_myprofile.php diff --git a/www/application/controllers/Member.php b/www/application/controllers/Member.php index 40c3c13..c58bf33 100644 --- a/www/application/controllers/Member.php +++ b/www/application/controllers/Member.php @@ -92,10 +92,13 @@ class Member extends Member_Controller { // echo "Yes i got to the controller"; } - public function myprofile() { + public function myprofile(){ + + $data = array(); + $this->renderMemberPages('view_myprofile', $data); } - + public function configure() { // echo 'yes'; view_mypage @@ -131,29 +134,14 @@ class Member extends Member_Controller { // exit(); } + + + + + $this->configure(); } - public function addNotecard() { - $data = array(); - - if ($_SERVER['REQUEST_METHOD'] == 'POST') { - - $data['title'] = trim($this->input->post('title')); - $data['detail'] = trim($this->input->post('detail')); - $data['member_id'] = $_SESSION["member_id"]; - $data['session'] = $_SESSION["sessionid"]; - - - - - // exit(); - } - - - // $this->renderMemberPages('view_mycalendar', $data); - } - public function mycalendar() { $data = array(); $this->renderMemberPages('view_mycalendar', $data); diff --git a/www/application/views/member/view_myprofile.php b/www/application/views/member/view_myprofile.php new file mode 100644 index 0000000..12609a7 --- /dev/null +++ b/www/application/views/member/view_myprofile.php @@ -0,0 +1,116 @@ + + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ + Business +
+
+ + Work +
+
+ + Personal +
+
+ + Others +
+
+
+
+
+
+
+
+
+ + + +
+ + +
+
+
+ + + \ No newline at end of file diff --git a/www/application/views/member/view_securefoot.php b/www/application/views/member/view_securefoot.php index f37af11..919ee45 100644 --- a/www/application/views/member/view_securefoot.php +++ b/www/application/views/member/view_securefoot.php @@ -124,6 +124,7 @@ + @@ -136,6 +137,10 @@ + + + + diff --git a/www/application/views/member/view_securehead.php b/www/application/views/member/view_securehead.php index cffbdd3..8bd54ea 100644 --- a/www/application/views/member/view_securehead.php +++ b/www/application/views/member/view_securehead.php @@ -1,8 +1,8 @@ - @@ -30,7 +30,6 @@ - @@ -54,6 +53,7 @@ + @@ -102,7 +102,7 @@ -->