diff --git a/app/controllers/PageController.php b/app/controllers/PageController.php index ef278fd..95f7899 100644 --- a/app/controllers/PageController.php +++ b/app/controllers/PageController.php @@ -628,6 +628,11 @@ public function postSocialmediaInfo() /* Home Page (GET) */ public function getAboutUs() { + $user = DB::table('users')->orderBy('created_at', 'desc')->first(); + $usercount = (int) $user->id; + //return $usercount; + View::share('usercount', $usercount); + return View::make('page.aboutus'); } diff --git a/app/views/page/aboutus.blade.php b/app/views/page/aboutus.blade.php index 28c95c6..8b13208 100644 --- a/app/views/page/aboutus.blade.php +++ b/app/views/page/aboutus.blade.php @@ -11,6 +11,7 @@

#iitmconnect is the first project that has been taken up by the I&AR Web Operations Team.

The purpose of this porject is to help you stay in touch with insti forever.

+

Users registered since April 21, 2015 on #iitmconnect : {{$usercount}}

diff --git a/app/views/page/basicinfo.blade.php b/app/views/page/basicinfo.blade.php index a5a54a2..b62f089 100644 --- a/app/views/page/basicinfo.blade.php +++ b/app/views/page/basicinfo.blade.php @@ -37,6 +37,9 @@ @endforeach + @if(!$basic_info->department == "") + Department Saved : {{ $basic_info->department }} + @endif
+ @if(!$basic_info->minor == "") + Minor Saved : {{ $basic_info->minor }} + @endif
@@ -67,6 +73,22 @@ PhD + + + + @@ -241,6 +263,18 @@ case "PhD": optionsRadiosDegree_id = "radio4d"; break; + case "M. Tech": + optionsRadiosDegree_id = "radio4e"; + break; + case "MA (HS)": + optionsRadiosDegree_id = "radio4f"; + break; + case "MBA": + optionsRadiosDegree_id = "radio4g"; + break; + case "M.Sc": + optionsRadiosDegree_id = "radio4h"; + break; default: optionsRadiosDegree_id = "radio4a"; break;