'20', 'en_id' => NULL, 'secid' => '1', 'language' => 'en', 'title' => 'Poker Hand Simulator', 'article' => 'Were you a 90%-10% favorite or only 80%-20%? We have added a [[ext Poker Hand Simulator @@ http://simulator.pokertips.org/]] so you can calculate odds on your last big hand.', 'longarticle' => '', 'author' => 'TwoGun', 'date' => '2004-01-07 02:16:37', 'site' => '', 'catid' => '0', 'related' => '', ); include_once $enroot . '/inc/functions.inc'; include_once $enroot . '/inc/fn_ptcode.inc'; include_once $enroot . "/gen/news/inc/categories.$language.inc"; include_once $enroot . "/gen/news/inc/meta.inc"; $interlinking = 'bottom'; $interlinkmap = array(); foreach( $news_startdates as $la => $d ) if( $la != $language && !is_null($d) && $row->date >= $d ) $interlinkmap[ $la ] = "http://www.pokertips.org/news/search.php?id=$row->id&lang=$la"; $date = date( 'Y-m-d', strtotime($row->date) ); $catname = $news_categories[ $row->catid ][ 'title' ]; $header = ptcode_to_html( $row->title, $distribution ); $subheader = "$catname, $date, by $row->author"; $submenu = $DOCUMENT_ROOT . '/submenu/main.inc'; $NEWSICON = $news_categories[ $row->catid ][ 'icon' ]; $NEWSICON = ''. static_img( "/images/newsicons/$NEWSICON.gif", $NEWSICON ).''; include_once $enroot . '/inc/header.inc'; $article = $row->longarticle ? $row->longarticle : $row->article; $html = ptcode_to_html( $article, 'non-US' ); if( $distribution == 'US' ) { $p = '(.*redirect.php.site.([a-z]+).*)?'; ereg( $p.$p.$p.$p.$p, $html, $sites ); $sites = array( $sites[2], $sites[4], $sites[6], $sites[8], $sites[10] ); $sites = array_unique($sites); $idx = array_search( false, $sites ); if( $idx !== FALSE ) unset( $sites[$idx] ); $sites = array_map( getName, $sites ); $us_note = 'not accept real-money players from the United States.'; list( $a, $b, $c ) = $sites; if( count($sites) == 1 ) $us_note = "$a does $us_note"; else if( count($sites) == 2 ) $us_note = "$a and $b do $us_note"; else if( count($sites) >= 3 ) $us_note = "$a, $b, and $c do $us_note"; else $us_note = ""; $html = ptcode_to_html( $article, $distribution ); if( $us_note ) $html .= "

$us_note

"; } $a_related = unserialize( $row->related ); if( is_array( $a_related ) ) { list( $a_rlink, $a_rtext ) = $a_related; $a_rlink = unserialize( $a_rlink ); $a_rtext = unserialize( $a_rtext ); $a_rtext = array_map( 'htmlentities', $a_rtext ); $a_anchor = array(); for( $i = 0; $i < count( $a_rlink ); $i++ ) { $uri = $a_rlink[$i]; $t = $a_rtext[$i]; $t = $t ? $t : $uri; if( $uri ) $a_anchor[] = ''.$t.''; } $html .= "

Related Links

".implode( $a_anchor, "
" )."

"; } echo $html; ?>

Return to Poker News