{stored_object name=$smarty.session.session_id|truncate:10:"" type="newcomp" from="newcomp" assign="newcomp"}

{if $smarty.request.confirmReset}{stored_object name=$smarty.session.session_id|truncate:10:"" type="newcomp" destroy="true"}{/if}

{include_php file="shared_handle:newcomp.prepareInvitation"}
{include_php file="shared_handle:newcomp.review"}
{include_php file="shared_handle:newcomp.verifyAccount"}
{include_php file="shared_handle:newcomp.verifyInitialPot"}
{include_php file="shared_handle:newcomp.createCompetition"}

<h1 class="underline">Congratulations! You have successfully created a competition!</h1>

Return now to "<a href="?pg=myhome">My Home</a>" to view your active competitions!<br />
<br />
You may notice that your competition does not immediately show up under "Competitions I am in". You must log out, then back in,
before your competition will show up in that list.