<div id="content">
    <div class="left span-300">
        {include file='user_info.tpl'}
    </div>
    <div class="right span-650">
        <div class="box">
            
            <div class="btitle"><h2>VIDEO GAME</h2></div>
            <div class="binfo font-12 font-bold">
            By clicking on "Upload", you agree that this game does not violate {$site_name}'s Terms of Service and
            that you are willing to provide any 2257 information upon request.
            </div>
            <br>
            <div id="upload_game_form">
            <form name="uploadGame" id="uploadGame" method="post" enctype="multipart/form-data" target="_self" action="{$relative}/upload/game">
                <input type="hidden" name="MAX_FILE_SIZE" value="{$upload_max_size}" />
                <input type="hidden" name="UPLOAD_IDENTIFIER" id="UPLOAD_IDENTIFIER" value="{$upload_id}" />
                <input type="hidden" name="game_upload_started" />
                <div class="separator">
                    <label for="upload_game_title">Title:</label>
                    <input name="game_title" type="text" value="{$game.title}" id="upload_game_title" class="large" /><br />
                    <span id="game_title_error" class="error" style="display: none;">Please enter the game title!</span>
                </div>
                <div class="separator">
                    <label for="upload_game_keywords">Tags:</label>
                    <textarea name="game_keywords" id="upload_game_keywords">{$game.keywords}</textarea><br />
                    <span id="game_tags_error" class="error" style="display: none;">Please enter game tags (separated only by spaces)!<br /></span>
                    <span class="expl">Enter one or more tags, separated by spaces.</span>
                </div>
                <div class="separator">
                    <label for="upload_game_category">Category:</label>
                    <select name="game_category" id="upload_game_category">
                    <option value="0"{if $game.category == '0'} selected="selected"{/if}>-----</option>
                    {section name=i loop=$categories}
                    <option value="{$categories[i].category_id}"{if $game.category == $categories[i].category_id} selected="selected"{/if}>{$categories[i].category_name|escape:'html'}</option>
                    {/section}
                    </select><br />
                    <span id="game_category_error" class="error" style="display: none;">Please selected a game category!</span>
                </div>
                <div class="separator">
                    <label for="upload_game_file">File:</label>
                    <input name="game_file" type="file" id="upload_game_file" /><br />
                    <span id="game_file_error" class="error" style="display: none;">Please selected a game file!</span>
                    <span id="game_file_ext_error" class="error" style="display: none;"></span>
                </div>
                <div class="separator">
                    <label for="upload_game_thumb_file">Thumb File:</label>
                    <input name="game_thumb_file" type="file" id="upload_game_thumb_file" /><br />
                    <span id="game_thumb_file_error" class="error" style="display: none;">Please selected a game thumb (image) file!</span>
                    <span id="game_thumb_file_ext_error" class="error" style="display: none;"></span>
                </div>
                <br>
                <div class="separator">
                    <label for="upload_game_anonymous_no">Anomymous:</label>
                    <input name="game_anonymous" type="radio" value="no" id="upload_game_anonymous_no" class="radio"{if $game.anonymous == 'no'} checked="checked"{/if} />
                    <span class="radio">No - use my profile name</span><br>
                    <label for="upload_game_anonymous_yes">&nbsp;</label>
                    <input name="game_anonymous" type="radio" value="yes" id="upload_game_anonymous_yes" class="radio"{if $game.anonymous == 'yes'} checked="checked"{/if} />
                    <span class="radio">Yes - anonymous</span>
                </div>
                <div class="separator">
                    <label for="upload_game_privacy_public">Privacy:</label>
                    <input name="game_privacy" type="radio" value="public" id="upload_game_privacy_public" class="radio"{if $game.privacy == 'public'} checked="checked"{/if} />
                    <span class="radio">Public - anybody can see this video</span><br>
                    <label for="upload_game_privacy_private">&nbsp;</label>
                    <input name="game_privacy" type="radio" value="private" id="upload_game_privacy_private" class="radio"{if $game.privacy == 'private'} checked="checked"{/if} />
                    <span class="radio">Private - only your friends can play this game</span>
                </div>
                <br>
                <div id="upload_loader" style="display: none;">
                    <img src="{$relative}/images/ajax-loader.gif">
                </div>
                <div id="upload_status" style="display:none;">
                    <div id="upload_progress"><div class="bar" style="width: 0;">&nbsp;</div></div>
                    <div class="upload_info">
                        <div id="upload_time"></div>
                        <div id="upload_size"></div>
                        <div class="clear"></div>
                    </div>
                </div>
                <div id="upload_message" style="display: none;"></div>
                <div class="separator">
                    <label for="upload_game_submit">&nbsp;</label>
                    <input name="submit_upload_game" type="button" id="upload_game_submit" value="Upload Game" class="button" />
                </div>
            </form>
            </div>
            <br />
            <div class="binfo font-12 font-bold">
                Thank you for your contribution to {$site_name}. Each video, photo and game will be converted into a
                format that is compatible with our systems. This process can take between 24-48h to be completed
                depending on volume. Nevertheless, an email will be sent to you once your game is published!
            </div>
            <br />
        </div>
    </div>
    <div class="clear"></div>
</div>
