registerJs( '$("document").ready(function(){ $("#userprofile").hide(); $("#booking").show(); $("#edit").hide(); $("#fanclub").hide(); $("#remove").hide(); $(".nav a").on("click", function(){ $(".nav").find(".active").removeClass("active"); $(this).parent().addClass("active"); }); $("#profile-button").click(function(e){ $("#userprofile").show(); $("#booking").hide(); $("#edit").hide(); $("#fanclub").hide(); $("#remove").hide(); e.preventDefault(); }); $("#history-button").click(function(e){ $("#userprofile").hide(); $("#booking").show(); $("#edit").hide(); $("#fanclub").hide(); $("#remove").hide(); e.preventDefault(); }); $("#edit-button").click(function(e){ $("#userprofile").hide(); $("#booking").hide(); $("#edit").show(); $("#fanclub").hide(); $("#remove").hide(); e.preventDefault(); }); $("#join-button").click(function(e){ $("#userprofile").hide(); $("#booking").hide(); $("#edit").hide(); $("#fanclub").show(); $("#remove").show(); e.preventDefault(); }); $("#remove-button").click(function(e){ $("#userprofile").hide(); $("#booking").hide(); $("#edit").hide(); $("#fanclub").show(); $("#remove").show(); e.preventDefault(); }); //~ $("#remove-fan").click(function(){ //~ $("#userprofile").hide(); //~ $("#booking").hide(); //~ $("#edit").hide(); //~ $("#fanclub").show(); //~ $("#remove").show(); //~ //~ //~ }); });' ); ?> session; $user_id = $session['userid']; $username = $session['username']; ?>
Booking Date | Booking Id | Amount | Movie Name | Theatre Name | Rate Movie | |
---|---|---|---|---|---|---|
booking_date );?> | booking_id ); ?> | amount ); ?> | where( [ 'id' => $history->movie_id ] )->one(); ?>movie_name ); ?> | where( [ 'id' => $history->theatre_id ] )->one();?>theatre_name ); ?> | where( [ 'movie_id' => $history->movie_id ] )->andWhere( [ 'user_id' => $user_id ] ) ->one();//print_r($review);die(); if ( $review == NULL ) {?>= Html::a('Rate Movie', ['/rating/rating','user_id'=>$user_id, 'movie_id'=>$history->movie_id], ['class'=>'btn btn-success']) ?> | Movie Rated |
First Name | first_name; ?> | Last Name | last_name; ?> |
Email ID | email; ?> |
Location | location; ?> |
Address | address; ?> | Occupation | occupation; ?> |
Phone No | phone; ?> |