<?php if(!defined("C_URL")) die('Can`t access file directly!'); ?>

<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="6">
    <TR VALIGN="TOP"> 
     <TD WIDTH="70%" CLASS="vltabp"> 
   
         <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3">
             <TR VALIGN="TOP"> 
              <TD><IMG SRC="<?=C_URL?>/templates/<?=C_TEMP?>/images/str1.gif" WIDTH="6" HEIGHT="10" ALIGN="BOTTOM"> 
               <FONT CLASS="font22"  COLOR="#000000"><b><?=WELCOME_TITLE?></b></FONT></TD>
             </TR>
             <TR VALIGN="TOP"> 
              <TD><FONT CLASS="font2" COLOR="#000000">
              <?=WELCOME_MESSAGE?>
              </FONT>
              </TD>
             </TR>
        </TABLE>
  <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3">
<?if(C_NEWS_ALLOW) { /* If News is allowed - Begin */ ?> 
             <TR VALIGN="TOP"> 
              <TD> <IMG SRC="<?=C_URL?>/templates/<?=C_TEMP?>/images/str1.gif" WIDTH="6" HEIGHT="10" ALIGN="BOTTOM"> 
               <FONT  CLASS="font22" COLOR="#000000"><b><?=NEWS?></b></FONT></TD>
             </TR>
             <TR VALIGN="TOP"> 
              <TD><FONT CLASS="font2" COLOR="#000000">
<?if(!NEWS_NUMBER) smes(NO_NEWS) /* Message, if no news */ ?>
<?else { /* Show News - Begin */ ?>
<?while(isset($ndates[$p])) { /* Show news messages - Begin */ ?>
    <table width="100%">
    <tr align=left>
      <td><FONT CLASS="font2" COLOR="#000000"><B><?=$ndates[$p]?></B></FONT> - 
<FONT CLASS="font2" COLOR="#000000"><B><?=$nsubjects[$p]?></B></FONT></td>
    </tr>
    <tr>
      <td colspan="2"><FONT CLASS="font2" COLOR="#000000"><?=$nnews[$p]?></FONT></td>
    </tr>
    </table><br>
<?$p++;}$p=0; /* Show news messages - End */ ?>
<?if(SHOW_ARCHIVE) { /* If show archive  - Begin */ ?>
<a CLASS="link2" href="javascript:open_win('<?=C_URL?>/news.php?l=<?=LANGUAGE?>','news');"> <FONT COLOR=#660000><?=NEWS_ARCHIVE?> >></FONT></a>
<?}} /* If show archive  - End */ ?>
<BR>
</FONT>
            </TD>
             </TR>
            </TABLE>
<?} /* If News is allowed - End */ ?>
     </TD>
     <TD WIDTH="50%" CLASS="vltabl"> 
  
         
  <TABLE WIDTH="235" BORDER="0" CELLSPACING="0" CELLPADDING="0">

       <TR> 
        <TD BGCOLOR="#CCC4AB" VALIGN="TOP"> 
         <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
          <TR> 
           <TD VALIGN="TOP" CLASS="tab">
           <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="6">
             <TR> 
              <TD VALIGN="TOP"> 
               <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
                <TR> 
                 <TD ALIGN="LEFT" CLASS="tab" COLSPAN="2" HEIGHT="24"><IMG SRC="<?=C_URL?>/templates/<?=C_TEMP?>/images/str1.gif" WIDTH="6" HEIGHT="10" ALIGN="BOTTOM"> 
                  <FONT CLASS="font22" COLOR="#000000"><?=FOR_MEMBERS?></FONT> </TD>
                </TR>
       <form action="<?=C_URL?>/login.php" method="post">   
       <input type="hidden" name="l" value="<?=LANGUAGE?>">
       <input type="hidden" name="p" value="s">
                 <TR> 
                  <TD ALIGN="RIGHT"  WIDTH="30%"> <FONT CLASS="font2" COLOR="#000000"><?=LOGIN_NAME?></FONT> 
                  </TD>
                  <TD WIDTH="70%" CLASS="tab"> 
          <INPUT  CLASS="textform" TYPE="text" NAME="id" SIZE="7">
                  </TD>
                 </TR>
                 <TR> 
                  <TD ALIGN="RIGHT"  WIDTH="30%"> <FONT CLASS="font2" COLOR="#000000"><?=PASSWORD?></FONT> 
                  </TD>
                  <TD WIDTH="70%" CLASS="tab"> 
          <INPUT  CLASS="textform" TYPE="password" NAME="password" SIZE="7">
                  </TD>
                 </TR>
                 <?if (VERIFY_ALLOW) {?><tr>
                <td align="right"  width="50%" colspan=4 colspan=2><div align="center"><img src=img.php height=24 border=0></td></tr>
                <tr><TD ALIGN="RIGHT"  WIDTH="30%"> <FONT CLASS="font2" COLOR="#000000"><?=VERIFICATION?></FONT> 
                  </TD><TD WIDTH="70%" CLASS="tab"><INPUT  CLASS="textform" TYPE="text" NAME="verifyimage"></TD></tr><?}?>
                 <TR> 
                  <TD CLASS="tab" WIDTH="30%"><SPACER HEIGHT="1" WIDTH="1"  TYPE="block"></TD>
                  <TD WIDTH="70%" CLASS="tab"> 
                   <INPUT CLASS="button0"  TYPE=submit VALUE=" &nbsp;<?=ENTER?>&nbsp; ">
                  </TD>
                 </TR>
                </FORM>
                <TR> 
                 <TD ALIGN="CENTER" HEIGHT="24" CLASS="tab" WIDTH="30%"><SPACER HEIGHT="1" WIDTH="1"  TYPE="block"></TD>
                 <TD ALIGN="LEFT" HEIGHT="24" WIDTH="70%" CLASS="tab">
<FONT COLOR="#660000">
<A HREF="<?=C_URL?>/remind.php?l=<?=$l?>" CLASS="link2">
<?=FORGOT_PASSWORD?></FONT></A></TD>
                </TR>
               </TABLE>
              </TD>
             </TR>
            </TABLE>
            <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="6">
             <TR> 
              <TD VALIGN="TOP" HEIGHT="10"> 
               <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
                <TR> 
                 <TD><IMG SRC="<?=C_URL?>/templates/<?=C_TEMP?>/images/str1.gif" WIDTH="6" HEIGHT="10" ALIGN="BOTTOM"> 
<FONT CLASS="font2" COLOR="#000000">
<?show_languages()?>
</FONT>
		 
                 </TD>
                </TR>
               </TABLE>
<br><br>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
    <form action="<?=C_URL?>/qsearch.php" method="get">
    <input type="hidden" name="l" value="<?=LANGUAGE?>">
    <input type="hidden" name="a" value="s">
    <TR> 
    <TD COLSPAN="2">
<IMG SRC="<?=C_URL?>/templates/<?=C_TEMP?>/images/str1.gif" WIDTH="6" HEIGHT="10" ALIGN="BOTTOM">
    <FONT CLASS="font22" COLOR="#000000"><?=QUICK_SEARCH?></FONT><br><br></TD>
    </TR>
<?if(I_AM_A_SHOW) { /* If is allow to show this section */ ?>
       <TR> 
        <TD VALIGN="TOP" CLASS="tab" ALIGN="RIGHT" COLSPAN="2"><br>
				<FONT CLASS="link3"><?=I_AM_A?></FONT>
				<select name="sgender" class="select1">
        <?=I_AM_A_VALUE?>
        </select>
  			</TD>
  		</TR>
<?}?>	
<?if(SEEKING_FOR_SHOW) { /* If is allow to show this section */ ?>
       <TR> 
        <TD VALIGN="TOP" CLASS="tab" ALIGN="RIGHT" COLSPAN="2">
        <FONT CLASS="link3"><?=SEEKING_FOR?></FONT> 
				<select name="gender[]" class="select1" multiple>
        <?=SEEKING_FOR_VALUE?>
      	</select>
  			</TD>
  		</TR>
 <Tr>
<?}?>	
<?if(AGE_SHOW) { /* If is allow to show this section */ ?>
    <TD VALIGN="TOP" CLASS="tab" ALIGN="RIGHT" COLSPAN="2">
    <FONT CLASS="link3"><?=AGE?>
    <input name="agef" class="sinput" style=width:44> -  <input name="aget" class="sinput" style=width:44>
    </td>
  </tr>
<?}?>	
<?if(COUNTRY_SHOW) { /* If is allow to show this section */ ?>
  <TR> 
        <TD VALIGN="TOP" CLASS="tab" ALIGN="RIGHT" COLSPAN="2">
        <FONT CLASS="link3"><?=COUNTRY?></FONT>
				<select name="country[]" class="select1" multiple>
      	<?=COUNTRY_VALUE?>
    		</select>
				</TD>
 			</TR>
<?}?>	
       <TR> 
        <TD VALIGN="TOP" CLASS="tab" ALIGN="RIGHT" COLSPAN="2">
<?if(PHOTO_SHOW) { /* If is allow to show this section */ ?>
    <?=SEARCH_USERS_WITH?> <?=PHOTO?> <input type="checkbox" name="photo"><br>
<?}?>	
<?if(ONLINE_USERS_ONLY_SHOW) { /* If is allow to show this section */ ?>
    <?=ONLINE_USERS_ONLY?> <input type="checkbox" name="online"> 
<?}?>	
				</TD>
 			 </TR>
        
<?if(ALLOW_BSEARCH) { /* If Birthday search is require - Begin */ ?>
 <TR>
  <TD CLASS="tab"><FONT CLASS="font2" COLOR="#000000"><?=BIRTHDAY?></FONT></TD>
  <TD><select name="month" class="select1">
      <option selected value=0>-- 
      <?=MONTH_VALUE?>
      </select>
  </TD>
 </TR>
 <TR>
  <TD CLASS="tab"><SPACER HEIGHT="1" WIDTH="1"  TYPE="block"></TD>
  <TD><select name="day" class="select1">
      <option selected value=0>--
      <?=DAY_VALUE?>
    </select>
  </TD>
 </TR>
 <TR>
  <TD CLASS="tab"><SPACER HEIGHT="1" WIDTH="1"  TYPE="block"></TD>
  <TD><select name="year" class="select1">
      <option selected value=0>-- 
      <?=YEAR_VALUE?>
      </select>
<br>	 
<?} else { /* If Birthday search is NOT require - Begin */ ?>
    <input type="hidden" name="month" value="0">
    <input type="hidden" name="day" value="0">
    <input type="hidden" name="year" value="0">
<?} /* If Birthday search is NOT require - End */ ?>
 <TR>
  <TD><SPACER HEIGHT="1" WIDTH="1"  TYPE="block"></TD>
  <TD><input class="button1" type=submit value="<?=QUICK_SEARCH?>"></TD>
 </TR>
 <TR>
   <TD><SPACER HEIGHT="1" WIDTH="1"  TYPE="block"></TD>
   <TD><br>
    <a CLASS="link2" href="<?=C_URL?>/search.php?l=<?=LANGUAGE?>"><?=SEARCH?></a> <FONT COLOR=#660000>/</FONT> 
    <a CLASS="link2" href="<?=C_URL?>/advsearch.php?l=<?=LANGUAGE?>"><?=ADV_SEARCH?></a>
   </TD>
 </TR>
 </FORM>
</TABLE>
              </TD>
             </TR>
            </TABLE>

            <HR SIZE="1" COLOR="#A69E85" NOSHADE>

         <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<?if(C_RECOMMENDED){ /* If Recommend is allow - Begin */?>
          <TR ALIGN="LEFT" VALIGN="MIDDLE"> 
           <TD HEIGHT="24" COLSPAN="2">
<IMG WIDTH="6" HEIGHT="10" ALIGN="BOTTOM" SRC="<?=C_URL?>/templates/<?=C_TEMP?>/images/str1.gif"> 
<FONT CLASS="font22" COLOR="#000000"><?=RECOMMEND_US?></FONT></TD>
          </TR>
    <form action="<?=C_URL?>/recommend.php" method="post" OnSubmit="javascript:open_win('','recommend');" target='recommend' name='recommend'>
    <input type="hidden" name="l" value="<?=LANGUAGE?>">
           <TR> 
            <TD ALIGN="RIGHT" WIDTH="" CLASS="tab">
<FONT CLASS="font2" COLOR="#000000"><?=FIRSTNAME?>:</FONT></TD>
            <TD WIDTH="" CLASS="tab"> 
    <input CLASS="textform1" type=text name=yname SIZE="7">
            </TD>
           </TR>
           <TR> 
            <TD ALIGN="RIGHT" WIDTH="" CLASS="tab">
<FONT CLASS="font2" COLOR="#000000">
    <?=EMAIL?>:</FONT></TD>
            <TD WIDTH="" CLASS="tab"> 
    <input CLASS="textform1" type=text name=ymail SIZE="7">
           </TD>
           </TR>
           <TR> 
            <TD ALIGN="RIGHT" WIDTH="" CLASS="tab">
    <?while(isset($friends_emails[$k])) { /* Show several friends emails - Begin */?> 
<FONT CLASS="font2" COLOR="#000000"><?=$friend_emails[$k]?>:</FONT></TD>
            <TD WIDTH="" CLASS="tab"> 
    <input CLASS="textform1" type=text name="mail[<?=$k?>]" SIZE="7">
            </TD>
           </TR>
           <TR> 
            <TD ALIGN="RIGHT" WIDTH="" CLASS="tab">
    <?$k++;}$k=1; /* Show several friends emails - End */?></TD>
            <TD WIDTH="" CLASS="tab"></TD>
           </TR>
          <TR> 
           <TD CLASS="tab" ALIGN="RIGHT" COLSPAN="2" HEIGHT="10">
    <input CLASS="button2" type=submit value="<?=RECOMMEND_US?>" SIZE="7">

           </TD>
          </TR>
          </FORM>
<?} /* If Recommend is allow - End */?>
         </TABLE>

           </TD>
          </TR>
         </TABLE>
     </TD>
    </TR>
   </TABLE>
  
    
     </TD>
    </TR>
   </TABLE>
  
