<? 
$title="Sign In";
require 'templates/'.$tfold.'/header.php';?>
	<table width="980" cellpadding="0" cellspacing="0" align="center">
	<tr>
<tr><td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/t_header_l_bl.gif></td>
<td class="tdhead_main_bl" width="30%" height="24" valign="middle">

<table width="250" cellpadding="0" cellspacing="0" >
<tr><td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/heading-left-log.gif></td>
<td class="head_main_bl" width="98%" height="24" valign="middle">&nbsp;<B>Login</b></td>
<td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/heading-right-bl.gif></td></tr>
	</table>
</td>
<td class="tdhead_main_bl" width="68%" height="24" valign="middle">&nbsp;</td>
<td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/t_header_r_bl.gif></td></tr>
	</table>

<table border="0" cellpadding="0" cellspacing="0" width="980" align="center" class="ft_right_bl">
<tr>
<td width="15" height="5"><img src = "templates/<? echo "$tfold" ?>/img_files/spacer2.gif" height="10"></td>
<td width="180" height="5" nowrap></td>
<td colspan="3" align="center" valign="bottom" height="5" width="60"></td>
<td width="310" height="5 nowrap><b><font size="2">
<div align="left"></div></font></b></td>
</tr>
<tr>
<td width="2">&nbsp;</td>
<td valign="top" width="180">
<form method="post" name="RegisterEnterInfo" Action="user_reg.php">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<BR>
<td valign="top"><? echo "$lang_408" ?></p>
<input class="submit_button" type="submit" value="Register"><BR><BR></td>
<BR>
<BR>
</tr>
</table>
</form>
</td>
<td width="30">&nbsp;</td>
<td valign="top" width="1" align="center" bgcolor="#cccccc" style="padding-left:0px; padding-right:0px;"><img src = "templates/<? echo "$tfold" ?>/img_files/spacer2.gif"></td>
<td width="29">&nbsp;</td>
<td>
<form method="post" name="form" Action="<? $_SERVER['PHP_SELF']?>">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top">
<font color="#ff0000">&nbsp;</font>
<BR>
<BR>Already a <?=$mysitename?> user?<BR>
                    <? echo "$lang_409" ?> <br></td>
</tr>
</table>
<? if(!empty($msg))
{
?>
<table>
<tr>&nbsp;</tr>
<tr><td><font size="2" color="red"><b>
<? if($msg==1)
{
?>
Your Account Suspended!
<?
}
else
{
?>
<?= $msg; ?>
<?
}
?></b></font></td></tr></table>
<?
}
?>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top"><b> <? echo "$lang_18" ?></b><br><div class="h_text_cell_mid">
  <input type="text" class="h_text_mid" name="txtUsername" maxlength="64" tabindex="1" value="<?= $user;?>" size="27"></div><br>
<span class="help"></span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top"><b><? echo "$lang_19" ?></b><br><div class="h_text_cell_mid">
<input type="password" class="h_text_mid" name="txtPassword" maxlength="64" value="" tabindex="2" size="27" onBlur="this.form.code.focus()"></div>
<br><span class="help"><a href="forgot.php">Forgot</a> your <? echo "$lang_19" ?>?</span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td>&nbsp;</td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<input type="hidden" name= value=check>
<input type="hidden" name=mode value=check>
<input type="hidden" value="<?= urlencode($url);?>" name="url">
<input type="hidden" value="<?= $productid; ?>" name="productid">
<td width="35%"><input class="submit_button" type="submit"  value="Sign In"></td>
</tr>
</table>
</form>
</td>
</tr>
<!-- <tr>
<td width="15">&nbsp;</td>
<td colspan="5">
<hr color="#cccccc" noshade size="1">
</td>
</tr> -->
<tr>
<td width="15">&nbsp;</td>
<td colspan="5">&nbsp;
</td>
</tr>
</table>

	<table width="980" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="98%" height="5" valign="middle"><img src=templates/<?=$tfold?>/img_files/t_bot_bl.gif border="0"></b></td>
</tr>
	</table>
<? require'templates/'.$tfold.'/footer.php';?>
</table>
</td></tr>
</table>