	<div id="the_body">
        <div class="container_12">
            <div class="grid_8">    
                <div class="grid_8 alpha omega">
                	<div class="description">
                        <h1>{$lang102}</h1>
                   	</div>
                	<div id="content">
                                            
                        <form id="registration_form" name="registration_form" method="post" action="{$baseurl}/signup">
                        
                        {include file="msg.tpl"}

                        <table style="width: 487px;" class="form" cellpadding="10">
                        	<tr>
                                <td valign="top" style="padding-top: 12px; font-size:16px;">{$lang163}:</td>
                                <td>
                                    <input type="text" name="username" id="username" value="{$username}">
                                </td>
                            </tr>
                            <tr>
                                <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang225}:</td>
                                <td>
                                    <input type="password" name="password" id="password" value="{$password}" onkeydown="updateMeter();" onkeyup="updateMeter();"><br>
                                    <link href="{$cssurl}/passwordmeter.css" rel="stylesheet" type="text/css" />
                                    <div class="strengthMeter" id="strengthMeter"><div class="scoreBar" id="scoreBar"></div></div>
                                </td>
                            </tr>
                            <tr>
                                <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang248}:</td>
                                <td>
                                    <input type="password" name="confirmpassword" id="confirmpassword" value="{$confirmpassword}"><br>
                                </td>
                            </tr>
                            <tr>
                                <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang160}:</td>
                                <td>
                                    <input type="text" name="email" id="email" value="{$smarty.request.email}">
                                </td>
                            </tr>                            
                            <tr>
                                <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang134}:</td>
                                <td>
                                	<select name="gender" style="width:45%; font-size:16px; padding:10px;">
                                    	<option value="1" {if $gender ne "0"}selected="selected"{/if}>{$lang135}</option>
                                        <option value="0" {if $gender eq "0"}selected="selected"{/if}>{$lang136}</option>
                                    </select>
                                </td>
                            </tr>
                            {if $enable_captcha ne "0"}
                            <tr>
                                <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang249}:</td>
                                <td>
                                    <input name="imagecode" type="text" value="" maxlength="5"/><br>
                                </td>
                            </tr>
                            <tr>
                                <td valign="top" style="padding-top: 12px;">&nbsp;</td>
                                <td>
                                    <img src="{$baseurl}/include/captcha.php" />
                                </td>
                            </tr>
                            {/if} 
                            <tr>
                                <td colspan="2" align="center">
                                    <p style="font-weight: normal;">
                                        {$lang250} <a href="{$baseurl}/termsofuse.php" target="_blank">{$lang251}</a>.
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td>
                                	<input name="register" type="submit" value="{$lang693}" class="btn"/>
                                </td>
                            </tr>
                        </table>
                        <input type="hidden" name="redirect" value="{$redirect}" />
                        </form>                       
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
            
            {include file="block_125.tpl"}
            <div class="clear"></div>
        </div>
    
    </div>