A PHP Error was encountered

Severity: Notice

Message: Undefined variable: results

Filename: models/Tm_dodiving.php

Line Number: 274

Backtrace:

File: /var/www/html/application/models/Tm_dodiving.php
Line: 274
Function: _error_handler

File: /var/www/html/application/controllers/Explore.php
Line: 61
Function: getArticleByTags

File: /var/www/html/index.php
Line: 315
Function: require_once

BLOGS

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: views/articleFilter.php

Line Number: 39

Backtrace:

File: /var/www/html/application/views/articleFilter.php
Line: 39
Function: _error_handler

File: /var/www/html/application/views/master_color.php
Line: 145
Function: view

File: /var/www/html/application/controllers/Explore.php
Line: 63
Function: view

File: /var/www/html/index.php
Line: 315
Function: require_once

AVAILABLE TRIPS

Card image cap
WAKATOBI

GO DIVE RAJA AMPAT LIVE ON BOARD

7 Dives / 3 Days
Absolute Scuba Bali

Rp 10.185.000,- / pax
Card image cap
WAKATOBI

GO DIVE RAJA AMPAT LIVE ON BOARD

7 Dives / 3 Days
Absolute Scuba Bali

Rp 10.185.000,- / pax
Card image cap
WAKATOBI

GO DIVE RAJA AMPAT LIVE ON BOARD

7 Dives / 3 Days
Absolute Scuba Bali

Rp 10.185.000,- / pax
Card image cap
WAKATOBI

GO DIVE RAJA AMPAT LIVE ON BOARD

7 Dives / 3 Days
Absolute Scuba Bali

Rp 10.185.000,- / pax
Card image cap
WAKATOBI

GO DIVE RAJA AMPAT LIVE ON BOARD

7 Dives / 3 Days
Absolute Scuba Bali

Rp 10.185.000,- / pax
BOOK
Card image cap
WAKATOBI

GO DIVE RAJA AMPAT LIVE ON BOARD

7 Dives / 3 Days
Absolute Scuba Bali

Rp 10.185.000,- / pax
BOOK
Card image cap
WAKATOBI

GO DIVE RAJA AMPAT LIVE ON BOARD

7 Dives / 3 Days
Absolute Scuba Bali

Rp 10.185.000,- / pax
BOOK
Card image cap
WAKATOBI

GO DIVE RAJA AMPAT LIVE ON BOARD

7 Dives / 3 Days
Absolute Scuba Bali

Rp 10.185.000,- / pax
BOOK
$.ajax({ url:"https://e-nyelam.com/login/loginGoogle", type:"POST", async: true, data: { Lid: id, Lemail: email, Ltoken: token, Lsosmed: sosmed, Lfullname: profile.getName() }, success:function( result ){ //$('#cekres').html(result); //alert (result); console.log( result ) // Lempar ke halaman register google if ( result.status == false ) { //signOut(); //alert (result.redirect_url); window.open( result.redirect_url, "_self" ); } else { location.reload(); } // } }); //$.ajax({ // url:"https://e-nyelam.com/login/loginGoogle", // type:"POST", // async: true, // data:{Lid:id, Lemail:email, Ltoken:token, Lsosmed:sosmed}, // success:function(result){ // //$('#cekres').html(result); // //alert (result); // location.reload(); // } //}); } // Sign-in success callback function onSuccess(googleUser) { console.log(googleUser); //alert (sessionStorage.getItem('myUserEntity')); //alert (googleUser.isSignedIn()); //if(sessionStorage.getItem('myUserEntity') == null){ //Redirect to login page, no user entity available in sessionStorage //if (googleUser.isSignedIn() == false){ if ($('#ceklogin').val() == 0){ var profile = googleUser.getBasicProfile(); var id = profile.getId(); var email = profile.getEmail(); var token = googleUser.getAuthResponse().id_token; var sosmed = 'google'; $.ajax({ url:"https://e-nyelam.com/login/loginGoogle", type:"POST", async: true, data:{Lid:id, Lemail:email, Ltoken:token, Lsosmed:sosmed}, success:function(result){ //$('#cekres').html(result); //alert (result); location.reload(); } }); } // var myUserEntity = {}; // myUserEntity.Id = id; // sessionStorage.setItem('myUserEntity',JSON.stringify(myUserEntity)); //} } // Sign-in failure callback function onFailure(error) { alert(error); } function signOut() { $.ajax({ url:"https://e-nyelam.com/login/logoutGoogle", type:"POST", success:function(result){ var auth2 = gapi.auth2.getAuthInstance(); auth2.signOut().then(function () { console.log('User signed out.'); sessionStorage.clear(); location.href = "https://e-nyelam.com/"; }); } }); }