From ec1f5965debff904f9fe52bdd52140e1e11952a5 Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Wed, 26 Feb 2020 08:54:25 -0500 Subject: [PATCH] fix --- www/application/controllers/Member.php | 4 +- .../libraries/Start_Controller.php | 1 + .../views/member/pages/pages_OTHER.php | 52 ++++++++++--------- 3 files changed, 30 insertions(+), 27 deletions(-) diff --git a/www/application/controllers/Member.php b/www/application/controllers/Member.php index b3c4e89..5258065 100644 --- a/www/application/controllers/Member.php +++ b/www/application/controllers/Member.php @@ -223,6 +223,8 @@ class Member extends Member_Controller { } public function upload() { + set_time_limit(5000); + $page_item_id = 0; $data = []; $page_key = ""; @@ -289,8 +291,6 @@ class Member extends Member_Controller { $x['member_id'] = $_SESSION["member_id"]; $x['session'] = $_SESSION["sessionid"]; $x['sessionid'] = $_SESSION["sessionid"]; - - } else { $message = 'There was some error moving the file to upload directory. Please make sure the upload directory is writable by web server.'; } diff --git a/www/application/libraries/Start_Controller.php b/www/application/libraries/Start_Controller.php index 25c55dc..ce4fcdf 100644 --- a/www/application/libraries/Start_Controller.php +++ b/www/application/libraries/Start_Controller.php @@ -34,6 +34,7 @@ class Start_Controller extends COR_Controller { $_SESSION['mypage'] = $out["mypage"]; $_SESSION["top_message"] = " Welcome ".$_SESSION['firstname']; $_SESSION['myfolder'] = $out["folder"]; + $_SESSION['profile_picture'] =""; } if (!empty($_SERVER['HTTP_CLIENT_IP'])) { diff --git a/www/application/views/member/pages/pages_OTHER.php b/www/application/views/member/pages/pages_OTHER.php index ce22635..18902bb 100644 --- a/www/application/views/member/pages/pages_OTHER.php +++ b/www/application/views/member/pages/pages_OTHER.php @@ -1,18 +1,18 @@
- -
+ + +
-

First Title

+

More Title

-
- -
+
- - + -
-
-
-

Another Title

-
- -
- -
- - -
-
@@ -53,10 +40,25 @@

More Title

-
- -
+
- + + +
+
+
+

More Title

+
+ + +
+
+ + +
\ No newline at end of file