diff --git a/application/config/routes.php b/application/config/routes.php index 3e24729..731bf8a 100755 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -79,12 +79,16 @@ $route['country_visa_details'] = 'Dashboard_Controller/country_visa_details'; $route['favourite'] = 'Favourite_Controller/favourite'; - + $route['loginMe'] = 'Login_Controller/loginMe'; $route['forgotPassword'] = "Login_Controller/forgotPassword"; $route['resetPasswordUser'] = "Login_Controller/resetPasswordUser"; $route['resetPasswordConfirmUser'] = "Login_Controller/resetPasswordConfirmUser"; $route['createPasswordUser'] = "Login_Controller/createPasswordUser"; +$route['register'] = 'Login_Controller/register'; +$route['Add_Register'] = 'Login_Controller/Add_Register'; + +$route['user_details'] = 'User_Controller/user_details_master'; $route['logout'] = 'User_Controller/logout'; diff --git a/application/controllers/Login_Controller.php b/application/controllers/Login_Controller.php index 75bfb5f..6c34492 100755 --- a/application/controllers/Login_Controller.php +++ b/application/controllers/Login_Controller.php @@ -252,6 +252,48 @@ class Login_Controller extends CI_Controller redirect("/Login_Controller"); } } -} + /** + * This function used to load the Register page + */ + function Register() + { + $this->global['pageTitle'] = 'Visa : Register'; + $this->load->View('register', $this->global,NULL , NULL); + } + /** + * To Store Register Details + */ + function Add_Register(){ + + $Registerdata = + array( 'Name'=>$this->input->post('Name'), + 'PhoneNo'=>$this->input->post('PhoneNo'), + 'Email'=>$this->input->post('Email'), + 'AlternateEmail'=>$this->input->post('AlternateEmail'), + 'Designation'=>$this->input->post('Designation'), + 'CompanyName'=>$this->input->post('CompanyName'), + 'CityName'=>$this->input->post('CityName'), + 'CountryName'=>$this->input->post('CountryName'), + 'Address'=>$this->input->post('Address')); + $Userdata = + array( 'email'=>$this->input->post('Email'), + 'password'=>getHashedPassword($this->input->post('Password')), + 'mobile'=>$this->input->post('PhoneNo'), + 'roleId'=>'2', + 'name'=>$this->input->post('Name'), + 'createdDtm'=>date('Y-m-d H:i:s')); + $register= $this->Login_Model->Add_Register($Registerdata); + $user= $this->Login_Model->Add_User($Userdata); + + if($register != ''&& $user !='') + { + echo""; + } + else{ + echo""; + + } + } +} ?> \ No newline at end of file diff --git a/application/controllers/User_Controller.php b/application/controllers/User_Controller.php index f789164..c277d3e 100755 --- a/application/controllers/User_Controller.php +++ b/application/controllers/User_Controller.php @@ -30,7 +30,16 @@ class User_Controller extends BaseController $this->loadViews("dashboard", $this->global, NULL , NULL); } - + + /** + * This function used to load the User Details page + */ + function user_details_master(){ + $this->global['pageTitle'] = 'Visa : User Details'; + $data['getuserdetails']= $this->User_Model->Get_UserDetails(); + $this->loadViews('user_details', $this->global,$data , NULL); + } + /** * This function is used to load the user list */ diff --git a/application/models/Login_Model.php b/application/models/Login_Model.php index 9024770..4d0dac7 100755 --- a/application/models/Login_Model.php +++ b/application/models/Login_Model.php @@ -132,6 +132,31 @@ class Login_model extends CI_Model return $query->row(); } + /** + * To store register details into 'Tab_Register' table + * @param array $Registerdata : Its have all the register data + * @return $register : This will return Last inserted id of register number + */ + function Add_Register($Registerdata) + { + $this->db->insert('Tab_Register',$Registerdata); + $register = $this->db->insert_id(); + + return $register; + } + /** + * To store user datas details into 'Tab_Users' table + * @param array $Userdata : Its have all the user datas + * @return $user : This will return Last inserted id of user + */ + function Add_User($Userdata) + { + $this->db->insert('Tab_Users',$Userdata); + $user = $this->db->insert_id(); + + return $user; + } + } ?> \ No newline at end of file diff --git a/application/models/User_Model.php b/application/models/User_Model.php index 48f7f6d..2393e26 100755 --- a/application/models/User_Model.php +++ b/application/models/User_Model.php @@ -2,6 +2,16 @@ class User_model extends CI_Model { + + function Get_UserDetails() + { + $this->db->select('*'); + $this->db->from('Tab_Register'); + $query = $this->db->get(); + $UserDetailsData = $query->result(); + return $UserDetailsData; + } + /** * This function is used to get the user listing count * @param string $searchText : This is optional search text diff --git a/application/views/city_master.php b/application/views/city_master.php index 1158036..a42dc3d 100755 --- a/application/views/city_master.php +++ b/application/views/city_master.php @@ -26,7 +26,8 @@ font-weight: 300; } .slide-up + label { - font-weight: 400; + color: #fff; + font-weight: 400; display: inline-block; position: absolute; transform: translateX(0); @@ -184,6 +185,11 @@ span:nth-child(3) .slide-up:active { .nav-tabs-custom>.nav-tabs>li.active{ border-top-color:#dc2265 !important; } + .box-solid{ + box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14), + 0 3px 3px -2px rgba(0,0,0,0.12), + 0 1px 8px 0 rgba(0,0,0,0.2); + } @@ -196,10 +202,10 @@ span:nth-child(3) .slide-up:active {
-
+
-

City Master

+

City Master

diff --git a/application/views/country_master.php b/application/views/country_master.php index daf9c48..3997c15 100755 --- a/application/views/country_master.php +++ b/application/views/country_master.php @@ -26,6 +26,7 @@ font-weight: 300; } .slide-up + label { + color: #fff; display: inline-block; position: absolute; transform: translateX(0); @@ -182,6 +183,11 @@ span:nth-child(3) .slide-up:active { } .nav-tabs-custom>.nav-tabs>li.active{ border-top-color:#dc2265 !important; + } + .box-solid{ + box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14), + 0 3px 3px -2px rgba(0,0,0,0.12), + 0 1px 8px 0 rgba(0,0,0,0.2); } @@ -196,11 +202,11 @@ span:nth-child(3) .slide-up:active {
-
+
-

Country Master

+

Country Master

diff --git a/application/views/country_visa_details.php b/application/views/country_visa_details.php index 9eb3b03..013c0ee 100755 --- a/application/views/country_visa_details.php +++ b/application/views/country_visa_details.php @@ -27,7 +27,8 @@ font-weight: 300; } .slide-up + label { - font-weight: 400; + color: #fff; + font-weight: 400; display: inline-block; position: absolute; transform: translateX(0); @@ -194,6 +195,11 @@ span:nth-child(3) .slide-up:active { } .nav-tabs-custom>.nav-tabs>li.active{ border-top-color:#dc2265 !important; + } + .box-solid{ + box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14), + 0 3px 3px -2px rgba(0,0,0,0.12), + 0 1px 8px 0 rgba(0,0,0,0.2); } @@ -208,11 +214,11 @@ span:nth-child(3) .slide-up:active {
-
+
-

Country Visa Details

+

Country Visa Details

diff --git a/application/views/document_upload.php b/application/views/document_upload.php index e4de4e5..cbddd9d 100755 --- a/application/views/document_upload.php +++ b/application/views/document_upload.php @@ -26,7 +26,8 @@ font-weight: 300; } .slide-up + label { - font-weight: 400; + color: #fff; + font-weight: 400; display: inline-block; position: absolute; transform: translateX(0); @@ -176,6 +177,11 @@ span:nth-child(3) .slide-up:active { } .nav-tabs-custom>.nav-tabs>li.active{ border-top-color:#dc2265 !important; + } + .box-solid{ + box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14), + 0 3px 3px -2px rgba(0,0,0,0.12), + 0 1px 8px 0 rgba(0,0,0,0.2); } @@ -189,11 +195,11 @@ span:nth-child(3) .slide-up:active {
-
+
-

Document Master

+

Document Master

diff --git a/application/views/includes/Footer.php b/application/views/includes/Footer.php index 82107ae..7fce1fe 100755 --- a/application/views/includes/Footer.php +++ b/application/views/includes/Footer.php @@ -199,7 +199,6 @@ immediately after the control sidebar ->
-->
- @@ -214,6 +213,9 @@ + + + diff --git a/application/views/includes/Header.php b/application/views/includes/Header.php index b9c0ebf..d46dfad 100755 --- a/application/views/includes/Header.php +++ b/application/views/includes/Header.php @@ -168,6 +168,13 @@ +
  • + + User Details + + + +
  • diff --git a/application/views/login.php b/application/views/login.php index 28e8987..7f36bc8 100755 --- a/application/views/login.php +++ b/application/views/login.php @@ -139,8 +139,8 @@
    --> - + I forgot my password
    + Register a new membership
    diff --git a/application/views/register.php b/application/views/register.php new file mode 100644 index 0000000..aeebb22 --- /dev/null +++ b/application/views/register.php @@ -0,0 +1,173 @@ + + + + Visa | Log in + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +

    Register

    +
    + +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    + +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + +
    + +
    + +
    + + + + + + + + + +.designinput { + position: relative; + display: inline-block; + margin-top: 20px; + /*margin-left: 15px;*/ +} +.slide-up { + display: inline-block; + width: 260px; + padding: 10px 0 10px 30px; + font-family: "Open Sans", sans; + font-weight: 400; + color: #377D6A; + background: #efefef; + border: 0; + border-radius: 3px; + outline: 0; + text-indent: 80px; + transition: all .3s ease-in-out; +} +.slide-up::-webkit-input-placeholder { + color: #efefef; + text-indent: 0; + font-weight: 300; +} +.slide-up + label { + color: #fff; + font-weight: 400; + display: inline-block; + position: absolute; + transform: translateX(0); + top: 0; + left: 0; + padding: 10px 15px; + text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4); + transition: all .3s ease-in-out; + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; + overflow: hidden; +} +.slide-up + label:before, .slide-up + label:after { + content: ""; + position: absolute; + right: 0; + left: 0; + z-index: -1; + transition: all .3s ease-in-out; +} +.slide-up + label:before { + top: 6px; + left: 5px; + right: 5px; + bottom: 6px; + background: #df2769; +} +.slide-up + label:after { + top: 0; + bottom: 0; + background: rgb(177, 177, 177); +} + +span:nth-child(1) .slide-up { + text-indent: 105px; +} + +span:nth-child(3) .slide-up { + text-indent: 125px; +} + +span:nth-child(1) .slide-up:focus, +span:nth-child(1) .slide-up:active, +span:nth-child(3) .slide-up:focus, +span:nth-child(3) .slide-up:active { + text-indent: 0; +} + +.slide-up:focus, +.slide-up:active { + color: #377D6A; + text-indent: 0; + background: #fff; +} +.slide-up:focus::-webkit-input-placeholder, +.slide-up:active::-webkit-input-placeholder { + color: #aaa; +} +.slide-up:focus + label, +.slide-up:active + label { + transform: translateY(-100%); +} +.slide-up:focus + label:before, +.slide-up:active + label:before { + border-radius: 5px; +} +.slide-up:focus + label:after, +.slide-up:active + label:after { + transform: translateY(100%); +} + + + + + + + + + + .btn-primary:hover, .btn-primary:active, .btn-primary.hover{ + background-color: #087322; + } + .btn-primary12:hover, .btn-primary12:active, .btn-primary12.hover{ + background-color: #FFC107; + color: #fff; + } + .btn-primary{ + color: #fff; + background-color: rgba(18, 187, 23, 0.75); + border-color: rgba(18, 187, 23, 0.75); + box-shadow: 0 2px 2px 0 rgba(233,30,99,.14), 0 3px 1px -2px rgba(233,30,99,.2), 0 1px 5px 0 rgba(233,30,99,.12); + /*position: relative;*/ + padding: 10px 19px; + margin: 0.3125rem 1px; + min-width: auto; + font-size: 1.20rem; + font-weight: 800; + line-height: 1.428571; + text-decoration: none; + text-transform: uppercase; + vertical-align: middle; + letter-spacing: 0; + cursor: pointer; + border: 0; + border-radius: .2rem; + outline: 0; + transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1); + /*will-change: box-shadow,transform;*/ + } + .btn-primary12{ + color: #fff; + background-color:#f2b865; + border-color: #f2b865; + box-shadow: 0 2px 2px 0 rgba(233,30,99,.14), 0 3px 1px -2px rgba(233,30,99,.2), 0 1px 5px 0 rgba(233,30,99,.12); + /*position: relative;*/ + padding: 10px 19px; + margin: 0.3125rem 1px; + min-width: auto; + font-size: 1.20rem; + font-weight: 800; + line-height: 1.428571; + text-decoration: none; + text-transform: uppercase; + vertical-align: middle; + letter-spacing: 0; + cursor: pointer; + border: 0; + border-radius: .2rem; + outline: 0; + transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1); + /*will-change: box-shadow,transform;*/ + } + + .or-button{ + position: relative; + margin: -13px; + display: inline-block; + padding: 2px 5px; + background-color: #fff; + border-radius: 38px; + } + .box-title-box{ + color: #fff; + margin-left: 18px; + background: linear-gradient(60deg,#ec407a,#d81b60); + box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4); + display: inline-block; + border-radius: 3px; + padding: 13px; + margin-top: -50px; + margin-right: 15px; + float: left; + } + .nav-tabs-custom>.nav-tabs>li.active{ + border-top-color:#dc2265 !important; + } + .box-solid{ + box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14), + 0 3px 3px -2px rgba(0,0,0,0.12), + 0 1px 8px 0 rgba(0,0,0,0.2); + } + + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +

    User Details

    +
    + +
    + + + + + + + + + + + + + + + + + + + + $userdetails){ + $index =$index + 1; + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Reg NoNameMobile NumberEmailCompany NameDesignationCity NameCountry NameAction
    RegNo; ?>Name; ?>PhoneNo; ?>Email; ?>Designation; ?>CompanyName; ?>CityName; ?>CountryName; ?>
    Reg NoNameMobile NumberEmailCompany NameDesignationCity NameCountry NameAction
    +
    + + + + +
    + +
    + +
    + + +
    + +
    + + + + + + diff --git a/application/views/visa_type_master.php b/application/views/visa_type_master.php index fdefc26..e045ac1 100755 --- a/application/views/visa_type_master.php +++ b/application/views/visa_type_master.php @@ -25,6 +25,7 @@ font-weight: 300; } .slide-up + label { + color: #fff; font-weight: 400; display: inline-block; position: absolute; @@ -182,6 +183,11 @@ span:nth-child(3) .slide-up:active { } .nav-tabs-custom>.nav-tabs>li.active{ border-top-color:#dc2265 !important; + } + .box-solid{ + box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14), + 0 3px 3px -2px rgba(0,0,0,0.12), + 0 1px 8px 0 rgba(0,0,0,0.2); } @@ -195,11 +201,11 @@ span:nth-child(3) .slide-up:active {
    -
    +
    -

    Visa Type Master

    +

    Visa Type Master