<?php
include("config.php3");
include($BIB."bib_generic.php3");
include($BIB."bib_tables.php3");
$sess = open_page($sessid, 1);
//if ($sess->memberid == -1) $sess->reinit("Error: invalid access to bet page");
if ($sess->memberid == -1) $sess->redirect($REGISTRATION_PAGE, "");

$REDIRECT_PAGE = base64_encode($CHOOSE_BET_PAGE);

$member = getmember($sess->memberid);
$player = getplayer($sess->memberid);

$page_courante="pronostics";
$sub_header='subh_connecte.inc';
$title = C_PARISTITLE;
include("header.inc");

?>
<table width=100% border=0><tr>
	<td width=630px>
	</td>
	<td valign=top rowspan=2>
			<br>
			<?php include( $ARCHIVES_DIR . "pub_registration.html"); ?>
			<br><br>
			<?php include( $ARCHIVES_DIR . "pub_prono.html"); ?>
			
	</td>				
</tr>
<tr><td>
<table width=500 border=0 cellspacing="0" cellpadding="4">
<tr>
	<td class="smallDark" valign=top>
<?php if ($ValidateBet != "")	echo "<div align=center class=error>Votre pronostic a été validé.</div><br>"; ?>
<?php
	

// on affiche les paris
?>
<?php table_ktf_up( '<h1 class="h1table">Pronostics gratuits</h1>', '610px','black', 1, '14px', '#f2c000'  ); ?>
	<div style="text-align: justify;margin:3px;" class=smallDark >
		<?php echo C_PARIERSUR; ?><br>	
	</div>

		<div style="height:365px;overflow:scroll;"><?php include ($AFFICHE_PARIS_CHOOSE_BET_PAGE); ?></div>

<?php table_ktf_down( '',1 ); ?>

</td></tr>

<tr>
	<td class=smallDark align=right colspan>
	<a href="javascript: if (window.print) window.print();"><img src="<?php echo $IMAGES_DIR; ?>boutons/bouton_imprimer.gif" border=0></a>
	<br>
	<a class=smallDarkGreenLink onMouseover="showtip(this,event,'<?php echo C_CALENDRIERMOIS?>')" onMouseout="hidetip()" href="<?php echo $sess->link3($MY_BETS_PAGE, "");?>"><img src="<?php echo $IMAGES_DIR?>triangleorange.gif" border=0>&nbsp;Tous mes résultats</a>
	<br>
	<a class=smallDarkGreenLink onMouseover="showtip(this,event,'<?php echo C_CALENDRIERMOIS?>')" onMouseout="hidetip()" href="<?php echo $sess->link3($STATS_PAGE, "type_classement=3");?>"><img src="<?php echo $IMAGES_DIR?>triangleorange.gif" border=0>&nbsp;<?php echo C_CALENDRIERMOIS?></a>
	</td>
</tr>
</table>

	</td>
</tr>
</table>

<?php
//include($BIB."bib_vote_ok.php3");
?>
<?php
include("footer.inc");
?>

