fbc_is_session_active() : $fb_active_session = FALSE;
/*** facebook connect include files and fb session check code */
$connection = db_connect();
if(empty($connection)){
db_connection_log($_SERVER['REQUEST_URI'],$_SERVER['REQUEST_URI']);
exit();
}//if(empty($connection))
require ('sessionRequiredErrMsg.php3');
//$_SESSION['sn_id'] = 1115909;
// Code for not Caching data
//header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
//header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
//header("Cache-Control: no-store, no-cache, must-revalidate");
//header("Cache-Control: post-check=0, pre-check=0", false);
//header("Pragma: no-cache");
function draw_pager($url, $total_pages, $current_page = 1,$showrec) {
$paging_numbers = '';
if ( $current_page <= 0 || $current_page > $total_pages ) {
$current_page = 1;
}
if ( $current_page > 1 ) {
$paging_numbers .= "[Start] \n";
//printf( "[Prev] \n" , ($current_page-1));
//(($p - 1) * $showrec) + 1
$paging_numbers .= "[Prev] \n";
}
for( $i = ($current_page-2); $i <= $current_page+2; $i++ ) {
if ($i < 1) continue;
if ( $i > $total_pages ) break;
if ( $i != $current_page ) {
//printf( "%1\$d \n" , $i);
$paging_numbers .= "".$i." \n";
} else {
//printf("%1\$d \n",$i);
//(($p - 1) * $showrec) + 1
$paging_numbers .= "".$i." \n";
}
}
if ( $current_page < $total_pages ) {
//printf( "[Next] \n" , ($current_page+1));
//(($p - 1) * $showrec) + 1
$paging_numbers .= "[Next] \n" ;
//printf( "[End] \n" , $total_pages);
$paging_numbers .= "[End] \n";
}
return $paging_numbers;
}//function draw_pager($url, $total_pages
?>
::: Gaming Hungama :::
 |
 |
|
Keep a track of your points and redemption here as the points get updated as you win. |
1) {
$paging_numbers = draw_pager('passbook.php3', $total_pages, $current_page ,$showrec);
}//if($total_pages > 1)
}//if(strlen($err_str) < 1)
if(strlen($err_str) < 1){
?>
|
| Date |
Section |
Points Earned |
Points Deducted |
Balance |
'."\n".'
'.$gameplaza_transaction_added_on.' | '."\n".'
';
echo $gameplaza_narration;
//if($gameplaza_products_id){
// echo $gameplaza_products_array[$gameplaza_products_id];
//}else if($gameplaza_master_id){
// echo $gameplaza_master_array[$gameplaza_master_id];
//}//if($gameplaza_products_id)
echo ' | '."\n".'
';
if($gameplaza_points>=0) echo $gameplaza_points;
echo ' | '."\n".'
';
if($gameplaza_points<=0) echo $gameplaza_points;
echo ' | '."\n".'
'.$gameplaza_total_points.' | '."\n".'
'."\n";
$i++;
}//while(list($gameplaza_transaction_id, $gameplaza_master_id
?>
| |
|
|
|
|
To view your Pass Book you need to log into Gaming Hungama.';
}
}
?>
|
|
|
| |
|