I agree with the other fine answers, but I want to add something regarding the "uncalled bet".
As far as I know the rules states that uncalled bet aren't part of any pot. But in practice, players may be surprised should they open the hand histories from some sites...
First I'd like to point out that, in the end, the results are exactly the same (so I'm not disagreeing in any way with what others wrote).
There's however a related "uncalled bet" issue and, depending on the sites, the uncalled bet is either returned immediately or not (to the player who put more in the pot than any other).
on some online poker sites (like PokerStars), the "uncalled
bet amount" is immediately returned to player A (and that's written
in the hand history).
on some other sites, a side pot is created and it is both unraked and uncontested and, of course, "won" by the player who
has the most. This can clearly be seen in the hand histories of
these sites (all the sites from the iPoker network are using such an hand history format if I'm not
mistaken).
For example if we have this:
player A (who has say $150) raises to $100, player B calls $30 and is all-in
There's only one player all-in and yet, on some sites, you'll have two pots appearing in the hand history:
Main pot: $60. Side-pot: $70.
One could say it's a "fake" side-pot in that it's unraked and uncontested but the fact stays: there are sites that writes "X players all-in" and "X side pots" (not X-1).
I don't like it when it's done this way. I think writing an "uncalled bet returned to ..." is much cleaner than creating an unraked side-pot but I wanted to point this out because it certainly may look confusing to anyone opening such hand histories.
As a last side note, in addition to some sites having these unraked and uncontested side-pots, you can also have a (raked or not) uncontested side pot.
For example:
player I raise to $12 and is all-in, player J raises to $36, player K
raises to $72, player J folds
In this case there's a main pot of $36 ($12 * 3) and there's also a side-pot. Depending on the rules used by the poker sites that side pot shall contain either $48 (($36-$12) * 2) or $84.
In any case that side pot shall be uncontested (it shall always be won by player K) and the rake shall only be taken on $48.
To get back to the uncalled bet issue, on some sites the hand summary shall look like:
"Main pot $36. Side-pot $48"
while on others it shall look like:
"Main pot $36. Side-pot $84"