<?PHP
/* JAG Online -------------------------- 06/03/2004 ------------------ v1.31 [6.5~7.1] */
/*                                                                                     */
/*      ////////// //\\ \\\\\\\\\\       Created by Dashe at http://nsd.jagamarog.com  */
/*             // //  \\ \\                                                            */
/*            // //    \\ \\             Email Address:           dashe@jagamarog.com  */
/*           // /////\\\\\ \\   \\\\\                                                  */
/*          // //        \\ \\      \\                                                 */
/*         // //          \\ \\\\\\\\\\                                                */
/* /////////  a g a m a r o g . c o m   N u k e   S c r i p t   D e v e l o p m e n t  */
/*                                                                                     */     
/* Created By Dashe -> http://nsd.jagamarog.com                                        */ 
/*  تعريب ملتقى العرب  http://arabmultaqa.com                                                                                    */
/* ----------------------------------------------------------------------------------- */

/* DO NOT EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING ------------------------------ */

/* Start of Content------------------------------------------------------------------- */
if(!is_user($user))
	{
	mt_srand ((double)microtime()*1000000);
	$maxran 	= 1000000;
	$random_num = mt_rand(0, $maxran);
		
		$content .= "	<TABLE WIDTH='100%' BORDER='0' CELLPADDING='0' CELLSPACING='0'>\n";
		$content .= "		<TR>\n";
		$content .= "			<TD ALIGN='right' VALIGN='TOP' CLASS='boxcontent'>\n";
		$content .= "				<NOBR><B>"._LOGIN_TITLE.":</B></NOBR></A></TD>\n";
		$content .= "		</TR>\n";
		$content .= "	</TABLE>\n";
		
		$content .= "	<TABLE WIDTH='100%' BORDER='0' CELLPADDING='0' CELLSPACING='0'>\n";	
		$content .= "	<FORM ACTION='modules.php' METHOD='POST'>\n";
		$content .= "		<INPUT TYPE='HIDDEN' NAME='name' VALUE='Your_Account'>\n";
		$content .= "		<TR>\n";
		$content .= "			<TD ALIGN='right' VALIGN='MIDDLE' CLASS='boxcontent'>\n";
		$content .= "				"._NICKNAME."</TD>\n";
		$content .= "			<TD ALIGN='RIGHT' VALIGN='MIDDLE'>\n";
		$content .= " 				<INPUT TYPE='TEXT' NAME='username' SIZE='10' MAXLENGHT='25'></TD>\n";
		$content .= "		</TR>\n";
		$content .= "		<TR>\n";
		$content .= "			<TD ALIGN='right' VALIGN='MIDDLE' CLASS='boxcontent'>\n";
		$content .= "				"._PASSWORD."</TD>\n";
		$content .= "			<TD ALIGN='RIGHT' VALIGN='MIDDLE'>\n";
		$content .= "				<INPUT TYPE='PASSWORD' NAME='user_password' SIZE='10' MAXLENGHT='20'></TD>\n";
		$content .= "		</TR>\n";
		$content .= "		<TR>\n";
		
	if ($gfx_chk == "") $gfx_chk = 7;
	if (extension_loaded("gd") AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) 
		{
		$content .= "			<TD ALIGN='right' VALIGN='MIDDLE' COLSPAN='2' HEIGHT='18' CLASS='boxcontent'>\n";
		$content .= "				"._TYPESECCODE."</TD>\n";
		$content .= "		</TR>\n";
		$content .= "		<TR>\n";
		$content .= "			<TD ALIGN='right' VALIGN='MIDDLE'>\n";
		$content .= "				<INPUT TYPE='TEXT' NAME='gfx_check' SIZE='7' MAXLENGTH='6'></TD>\n";
		$content .= "			<TD ALIGN='RIGHT' VALIGN='MIDDLE'>\n";
		$content .= "				<IMG SRC='modules.php?name=Your_Account&op=gfx&random_num=$random_num' BORDER='1' WIDTH='77' HEIGHT='20' ALIGN='CENTER' ALT='"._SECURITYCODE."' TITLE='"._SECURITYCODE."'></TD>\n";
		$content .= "				<INPUT TYPE='HIDDEN' NAME='random_num' VALUE='$random_num'></TD>\n";
		}
	else 
		{
		$content .= "			<TD ALIGN='right' VALIGN='MIDDLE' COLSPAN='2'>\n";
		$content .= "				<INPUT TYPE='HIDDEN' NAME='random_num' VALUE='$random_num'>\n";
		$content .= "				<INPUT TYPE='HIDDEN' NAME='gfx_check' VALUE='$code'></TD>\n";
		}
			
		$content .= "		</TR>\n";	
		$content .= "	</TABLE>\n";	
			
		$content .= "	<TABLE WIDTH='100%' BORDER='0' CELLPADDING='0' CELLSPACING='0'>\n";		
		$content .= "		<TR>\n";
		$content .= "			<TD ALIGN='right' VALIGN='MIDDLE'>\n";
		
		if ($OnlineCfg[show_login_register] == 1)
			{
			$content .= "				<B><NOBR>(<A HREF='modules.php?name=Your_Account&op=new_user'>"._BREG."</A>)</B></NOBR></TD>\n";
			}
		else
			{
			$content .= "				&nbsp;</TD>\n";
			}
			
		$content .= "			<TD ALIGN='RIGHT' VALIGN='MIDDLE'>\n";
		$content .= "				<INPUT TYPE='HIDDEN' NAME='op' VALUE='login'>";
		$content .= "				<INPUT TYPE='SUBMIT' VALUE='"._LOGIN."'></TD>\n";
		$content .= "		</TR>\n";
		$content .= "		<TR>\n";
		$content .= "			<TD ALIGN='right' VALIGN='TOP' COLSPAN='2'>\n";
		$content .= "				<IMG SRC='images/blank.gif' BORDER='0' WIDTH='100%' HEIGHT='10'></TD>\n";
		$content .= "		</TR>\n";
		$content .= "	</FORM>\n";	
		$content .= "	</TABLE>\n";		
	}	
?>
