<?php if(!defined("C_URL")) die('Can`t access file directly!'); ?>
   <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="6">
    <TR> 
     <TD ALIGN="CENTER" VALIGN="TOP">
<br><span class=head><?=PROFILE?>[<?=ID?>]</span>
<br><br>
<table CellSpacing="0" CellPadding="0" width="<?=C_BWIDTH?>" border=0>
<Tr>
  <Td valign="top">
<?if (SHOW_PHOTOS) { /* If allow to show photos - Begin */ ?>
<?while(isset($pictures[$p])) { /* Show Photos - Begin */ ?>
  <a href="<?=$photos[$p]?>" target="_blank"><img src="<?=$pictures[$p]?>" border="<?=C_IMG_BRDR?>" width="140"></a><br><br>
<?$p++;if(C_VIEW_PHOTOS_SHOW == $p) break;} /* Show Photos - End */ ?>
<?} else { /* If allow to show photos - End */ ?>
   &nbsp; 
<?}?> 
<?=TOTAL_PHOTOS?>: <strong><?=PICTURES_NUMBER?></strong>
<?if(IS_NOT_CHECKED) {?>
<BR>
  <BR>
<Table CellSpacing="<?=C_BORDER?>" CellPadding="0" width="140" bgcolor="<?=C_TBCOLOR?>">
  <Tr>
    <Td>
    <Table Border=0 CellSpacing="<?=C_IBORDER?>" CellPadding="<?=C_CELLP?>" width="140" class=mes>
    <Tr align="center" bgcolor="<?=COLOR1?>">
      <Td HEIGHT="24" colspan="2">
<?=IS_NOT_CHECKED?>
    </Td>
  </Tr>
</table>
  </td>
</tr>
</table>
<?}?>
<?if(PICTURES_NUMBER > C_VIEW_PHOTOS_SHOW) {?>
<br><a href="<?=$photos[$p]?>" target="_blank"><?=SEE_ANOTHER?></a>
<?}$p=0;?>
  &nbsp;
  <?if(PRIVATE_PHOTOS_NUM){?><br><br><a href="<?=C_URL?>/private_photos.php?l=<?=LANGUAGE?>&id=<?=ID?>" target="_blank"><?=PRIVATE_PHOTOS_TOTAL?></a></strong><?}?>

<?if(SLIDESHOW_SHOW) {?><br><br><a href="<?=C_URL?>/slideshow.php?l=<?=LANGUAGE?>&id=<?=ID?>" target="_blank" class=link2><?=SLIDESHOW?></a><?}?>
  </td>
  <td width="<?=C_WIDTH?>" valign="top" align="right">
  <Table CellSpacing="<?=C_BORDER?>" CellPadding="0" width="<?=C_WIDTH?>" bgcolor="<?=C_TBCOLOR?>">
  <Tr>
    <Td>
    <Table Border=0 CellSpacing="<?=C_IBORDER?>" CellPadding="<?=C_CELLP?>" width="<?=C_WIDTH?>" class=mes>
    <Tr align="center" bgcolor="<?=COLOR1?>">
      <Td HEIGHT="24" colspan="2">
<?if(SEND_KISS) {?>
      <a class=link2 href="javascript:open_win('<?=C_URL?>/sendk.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>','wink');">[<?=SEND_KISS_MESSAGE?>]</a> &nbsp; 
<?}?>
<?if(SEND_SHOW) {?>
      <a class=link2 href="<?=C_URL?>/send.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>">[<?=SEND_MESSAGE?>]</a> &nbsp; 
<?}?>
<?if(MAIL_SHOW) {?>
      <a class=link2 href="<?=C_URL?>/mail.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>">[<?=MAIL_MESSAGE?>]</a> &nbsp; 
<?}?>
<?if(BED_SHOW) {?>
      <a class=link2 href="javascript:open_win('<?=C_URL?>/bedroom.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>','bed');">[<?=BED_MESSAGE?>]</a> &nbsp; 
<?}?>
<?if(BAN_SHOW) {?>
      <a class=link2 href="javascript:open_win('<?=C_URL?>/ban.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>','ban');">[<?=BAN_MESSAGE?>]</a> &nbsp; 
<?}?>
<?if(BAD_SHOW) {?>
      <a class=link2 href="javascript:open_win('<?=C_URL?>/bad.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>','bad');">[<?=BAD_MESSAGE?>]</a>
<?}?>
<?if(MyAccess() < 0) echo $w[152];?>
      </td>
    </tr>

<?if(USERNAME_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=USERNAME?>
      </td>
      <td>
      <?=USERNAME_VALUE?>
      </td>
    </tr>
<?}?>
<?if(FIRSTNAME_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=FIRSTNAME?>
      </td>
      <td>
      <?=FIRSTNAME_VALUE?>
      </td>
    </tr>
<?}?>
<?if(LASTNAME_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=LASTNAME?>
      </td>
      <td>
      <?=LASTNAME_VALUE?>
      </td>
    </tr>
<?}?>
<?if(BIRTHDAY_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=BIRTHDAY?>
      </td>
      <td>
      <?=BIRTHDAY_VALUE?>
      </td>
    </tr>
<?}?>
<?if(HOROSCOPE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=HOROSCOPE?>
      </td>
      <td>
      <?=HOROSCOPE_VALUE?>
      </td>
    </tr>
<?}?>
<?if(GENDER_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=GENDER?>
      </td>
      <td>
      <?=GENDER_VALUE?>
      </td>
    </tr>
<?}?>
<?if(ORIENTATION_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=ORIENTATION?>
      </td>
      <td>
      <?=ORIENTATION_VALUE?>
      </td>
    </tr>
<?}?>
<?if(BODYTYPE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=BODYTYPE?>
      </td>
      <td>
      <?=BODYTYPE_VALUE?>
      </td>
    </tr>
<?}?>
<?if(PURPOSES_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=PURPOSES?>
      </td>
      <td>
      <?=PURPOSES_VALUE?>
      </td>
    </tr>
<?}?>
<?if(COUNTRY_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=COUNTRY?>
      </td>
      <td>
      <?=COUNTRY_VALUE?>
      </td>
    </tr>
<?}?>
<?if(EMAIL_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=EMAIL?>
      </td>
      <td>
      <?=EMAIL_VALUE?>
      </td>
    </tr>
<?}?>
<?if(URL_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=URL?>
      </td>
      <td>
			<?if(IsAccess(C_URLSH)) {?>
      <a href="<?=URL_VALUE?>" target="_blank"><?=URL_VALUE?></a>
			<?}else{?>
			<?=URL_VALUE?>
			<?}?>
      </td>
    </tr>
<?}?>
<?if(ICQ_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=ICQ?>
      </td>
      <td>
			<?if(IsAccess(C_ICQSH)) {?>
      <?=ICQ_VALUE?> <img src="http://web.icq.com/whitepages/online?icq=<?=ICQ_VALUE?>&img=5">
			<?}else{?>
			<?=ICQ_VALUE?>
			<?}?>
      </td>
    </tr>
<?}?>
<?if(AIM_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=AIM?>
      </td>
      <td>
      <?=AIM_VALUE?>
      </td>
    </tr>
<?}?>
<?if(PHONE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=PHONE?>
      </td>
      <td>
      <?=PHONE_VALUE?>
      </td>
    </tr>
<?}?>
<?if(STATE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=STATE?>
      </td>
      <td>
      <?=STATE_VALUE?>
      </td>
    </tr>
<?}?>
<?if(ZIP_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=ZIP?>
      </td>
      <td>
      <?=ZIP_VALUE?>
      </td>
    </tr>
<?}?>
<?if(CITY_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=CITY?>
      </td>
      <td>
      <?=CITY_VALUE?>
      </td>
    </tr>
<?}?>
<?if(ADDRESS_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=ADDRESS?>
      </td>
      <td>
      <?=ADDRESS_VALUE?>
      </td>
    </tr>
<?}?>
<?if(MARSTAT_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=MARSTAT?>
      </td>
      <td>
      <?=MARSTAT_VALUE?>
      </td>
    </tr>
<?}?>
<?if(LINK_SHOW) {?>
<Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
   <Td>
  <?=LINKED_PROFILE?>
   </td>
   <td><a class=link3 href="<?=GenLink('UserProfile',array(LANGUAGE,LINK_VALUE))?>" target=_blank><?=LINKED_PROFILE_TXT?></a>
   </td>
</tr>
<?}?>
<?if(CHILD_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=CHILD?>
      </td>
      <td>
      <?=CHILD_VALUE?>
      </td>
    </tr>
<?}?>
<?if(HEIGHT_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=HEIGHT?>
      </td>
      <td>
      <?=HEIGHT_VALUE?>
      </td>
    </tr>
<?}?>
<?if(WEIGHT_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=WEIGHT?>
      </td>
      <td>
      <?=WEIGHT_VALUE?>
      </td>
    </tr>
<?}?>
<?if(HCOLOR_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=HCOLOR?>
      </td>
      <td>
      <?=HCOLOR_VALUE?>
      </td>
    </tr>
<?}?>
<?if(ECOLOR_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=ECOLOR?>
      </td>
      <td>
      <?=ECOLOR_VALUE?>
      </td>
    </tr>
<?}?>
<?if(ETHNICITY_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=ETHNICITY?>
      </td>
      <td>
      <?=ETHNICITY_VALUE?>
      </td>
    </tr>
<?}?>
<?if(RELIGION_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=RELIGION?>
      </td>
      <td>
      <?=RELIGION_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SMOKE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SMOKE?>
      </td>
      <td>
      <?=SMOKE_VALUE?>
      </td>
    </tr>
<?}?>
<?if(DRINK_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=DRINK?>
      </td>
      <td>
      <?=DRINK_VALUE?>
      </td>
    </tr>
<?}?>
<?if(EDUCATION_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=EDUCATION?>
      </td>
      <td>
      <?=EDUCATION_VALUE?>
      </td>
    </tr>
<?}?>
<?if(LANG_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=KNOWN_LANGUAGES?>
      </td>
      <td>
      <?=LANG_VALUE?>
      </td>
    </tr>
<?}?>
<?if(JOB_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=JOB?>
      </td>
      <td>
      <?=JOB_VALUE?>
      </td>
    </tr>
<?}?>
<?if(HOBBY_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=HOBBY?>
      </td>
      <td>
      <?=HOBBY_VALUE?>
      </td>
    </tr>
<?}?>
<?if(INTERESTS_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=INTERESTS?>
      </td>
      <td>
      <?=INTERESTS_VALUE?>
      </td>
    </tr>
<?}?>
<?if(DESCR_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=DESCR?>
      </td>
      <td>
      <?=DESCR_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SGENDER_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SGENDER?>
      </td>
      <td>
      <?=SGENDER_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SCOUNTRY_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SCOUNTRY?>
      </td>
      <td>
      <?=SCOUNTRY_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SMARSTAT_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SMARSTAT?>
      </td>
      <td>
      <?=SMARSTAT_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SCHILD_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SCHILD?>
      </td>
      <td>
      <?=SCHILD_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SHCOLOR_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SHCOLOR?>
      </td>
      <td>
      <?=SHCOLOR_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SECOLOR_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SECOLOR?>
      </td>
      <td>
      <?=SECOLOR_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SSMOKE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SSMOKE?>
      </td>
      <td>
      <?=SSMOKE_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SDRINK_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SDRINK?>
      </td>
      <td>
      <?=SDRINK_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SEDUCATION_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SEDUCATION?>
      </td>
      <td>
      <?=SEDUCATION_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SETHNICITY_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SETHNICITY?>
      </td>
      <td>
      <?=SETHNICITY_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SRELIGION_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SRELIGION?>
      </td>
      <td>
      <?=SRELIGION_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SAGE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SAGE?>
      </td>
      <td>
      <?=SAGEF_VALUE?> - <?=SAGET_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SHEIGHT_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SHEIGHT?>
      </td>
      <td>
      <?=SHEIGHTF_VALUE?> - <?=SHEIGHTT_VALUE?>
      </td>
    </tr>
<?}?>
<?if(SWEIGHT_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=SWEIGHT?>
      </td>
      <td>
      <?=SWEIGHTF_VALUE?> - <?=SWEIGHTT_VALUE?>
      </td>
    </tr>
<?}?>
<?if(REGDATE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=REGDATE?>
      </td>
      <td>
      <?=REGDATE_VALUE?>
      </td>
    </tr>
<?}?>
<?if(ACCDATE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=ACCDATE?>
      </td>
      <td>
      <?=ACCDATE_VALUE?>
      </td>
    </tr>
<?}?>
<?if(USERTYPE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=USERTYPE?>
      </td>
      <td>
      <?=USERTYPE_VALUE?>
      </td>
    </tr>
<?}?>
<?if(ONLINESTAT_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=ONLINESTAT?>
      </td>
      <td>
      <?=ONLINESTAT_VALUE?>
      </td>
    </tr>
<?}?>
<?if(FAVORITES_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=USER_FAVORITES?>
      </td>
      <td>
      <?=FAVORITES_VALUE?>
      </td>
    </tr>
<?}?>
<?if(VIEWS_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=VIEWS?>
      </td>
      <td>
      <?=VIEWS_VALUE?>
      </td>
    </tr>
<?}?>

<?if(POPULARITY_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=POPULARITY?>
      </td>
      <td>
      <?=POPULARITY_VALUE?>
      </td>
    </tr>
<?}?>
<?if(AUDIO_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
      <?=AUDIO?>
      </td>
      <Td>
      <?if(IsAV(AUDIO_VALUE)) {?>
      <script language="JavaScript">
      <!--
      var soundFile = "<?=C_URL?>/members/uploads/<?=AUDIO_VALUE?>";
      if(navigator.plugins.length>0){
        document.write('<embed src="'+soundFile+'" autostart="<?=AUTOSTART?>" loop="<?=C_AUDIO_LOOP?>" <?=audio_player(C_AUDIO_PLAYER,'0');?>></embed>');}
      else {
        document.write('<embed src="'+soundFile+'" autostart="<?=AUTOSTART?>" loop="<?=C_AUDIO_LOOP?>" <?=audio_player(C_AUDIO_PLAYER,'1');?>></embed>');}
      //-->
      </script>
      <noscript><embed src="<?=C_URL?>/members/uploads/<?=AUDIO_VALUE?>" autostart="<?=AUTOSTART?>" loop="<?=C_AUDIO_LOOP?>"></embed></noscript>
      <noembed><bgsound src="<?=C_URL?>/members/uploads/<?=AUDIO_VALUE?>" loop="<?=C_AUDIO_LOOP?>"></noembed>
      <? } else { ?>
      <OBJECT id='mediaPlayer' width="320" height="285" 
      classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' 
      codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
      standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
      <param name='fileName' value="<?=C_URL?>/members/uploads/<?=AUDIO_VALUE?>">
      <param name='animationatStart' value='true'>
      <param name='transparentatStart' value='true'>
      <param name='autoStart' value="<?=AUTOSTART?>">
      <param name='showControls' value="true">
      <param name='loop' value="<?=C_AUDIO_LOOP?>">
      <EMBED type='application/x-mplayer2'
        pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
        id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' 
        bgcolor='darkblue' showcontrols="true" showtracker='-1' 
        showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
        src="<?=C_URL?>/members/uploads/<?=AUDIO_VALUE?>" autostart="<?=AUTOSTART?>" designtimesp='5311' loop="<?=C_AUDIO_LOOP?>">
      </EMBED>
      </OBJECT>
			<?}?>
      </td>
    </tr>
<?}?><!--1-->
<?if(RATE_SHOW) {?>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td align=center colspan=2>
      <?=RATE?>
      </td>
    </tr>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td align=center colspan=2> 
			<? for($i=1;$i<=10;$i++) { ?>
      <a href="javascript:open_win('<?=C_URL?>/rate.php?l=<?=LANGUAGE?>&id=<?=ID?>&rate=<?=$i?>','rate');"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/rate_<?=$i?>.png" width=30 height=30 border=0></a>
			<?}?>
      </td>
    </tr>
<?}?>

    <Tr align="center" bgcolor="<?=COLOR1?>">
      <Td colspan="2">
<?if(SEND_KISS) {?>
      <a href="javascript:open_win('<?=C_URL?>/sendk.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>','wink');">[<?=SEND_KISS_MESSAGE?>]</a> &nbsp; 
<?}?>
<?if(SEND_SHOW) {?>
      <a href="<?=C_URL?>/send.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>">[<?=SEND_MESSAGE?>]</a> &nbsp; 
<?}?>

<?if(MAIL_SHOW) {?>
      <a href="<?=C_URL?>/mail.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>">[<?=MAIL_MESSAGE?>]</a> &nbsp; 
<?}?>
<?if(BED_SHOW) {?>
      <a href="javascript:open_win('<?=C_URL?>/bedroom.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>','bed');">[<?=BED_MESSAGE?>]</a> &nbsp; 
<?}?>
<?if(BAN_SHOW) {?>
      <a href="javascript:open_win('<?=C_URL?>/ban.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>','ban');">[<?=BAN_MESSAGE?>]</a> &nbsp; 
<?}?>
<?if(BAD_SHOW) {?>
      <a href="javascript:open_win('<?=C_URL?>/bad.php?l=<?=LANGUAGE?>&id=<?=ID?>&uname=<?=NAME_VALUE?>','bad');">[<?=BAD_MESSAGE?>]</a>
<?}?>
      </td>
    </tr>
    </table>
    </td>
  </tr>
  </table>
	
<?if(SHOW_VIEWERS) {?>
	<br><br>
	  <Table CellSpacing="<?=C_BORDER?>" CellPadding="0" width="<?=C_WIDTH?>" bgcolor="<?=C_TBCOLOR?>">
  <Tr>
    <Td>
    <Table Border=0 CellSpacing="<?=C_IBORDER?>" CellPadding="<?=C_CELLP?>" width="<?=C_WIDTH?>" class=mes>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td align=center>
			<strong><?=WHO_SEEN?></strong>
      </td>
    </tr>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
<?if(defined("NOBODY_SEEN_PROFILE")) {?>
			<div align="center"><?=NOBODY_SEEN_PROFILE?></div>
<?} else {?>

            <TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="3">
  <Tr align="center" bgcolor="<?=COLORH?>" class=mes>
              <TD ><?=USERNAME?></TD>
              <TD ><?=GENDER?></TD>
              <TD ><?=AGE?></TD>
              <TD ><?=DATE?></TD>
             </TR>
	<?while(isset($visid[$p])) {?>     
  <Tr align="center" bgcolor="<?=$colors[$p]?>" class=mes>
              <TD><A href="<?=GenLink('UserProfile',array(LANGUAGE,$visid[$p]))?>" target="_blank"><?=$names[$p]?></A></TD>
              <TD><?=$genders[$p]?></TD>
              <TD><?=$ages[$p]?></TD>
              <TD><?=$visdate[$p]?></TD>
             </TR>
<?$p++;}$p=0; /* If popular users exist - Begin */ ?>  
			<?=PAGES?>      
      </TABLE>
			<?}?>			
      </td>
    </tr>
		</table>
  	</td>
	</tr>
	</table>
<?}?>

                 <?if(MyID() == ID){?>
                  <script language="JavaScript">
                  <!--
                  function ConfirmDeleteComment(CommentId)
                  {
                  	if(confirm('<?=WARNING?>'))
                  	{
                  		open_win('<?=C_URL?>/comments.php?l=<?=LANGUAGE?>&cid='+CommentId+'&remove','remove');
                  	}
                  }
                  // -->
									</script>
									<?}?>             

<?if(SHOW_COMMENTS) {?>
<?if(defined("NO_COMMENTS")) {?>
<br><br>
<div align="center"><strong><?=NO_COMMENTS?></strong></div>
<?}else{?>


	<br><br>
<div align="center">			<strong><?=COMMENTS?></strong></div>
	<?$p=0;while(isset($cfromid[$p])) {?>     
	  <Table CellSpacing="<?=C_BORDER?>" CellPadding="0" width="<?=C_WIDTH?>" bgcolor="<?=C_TBCOLOR?>">
  <Tr>
    <Td>
    <Table Border=0 CellSpacing="<?=C_IBORDER?>" CellPadding="<?=C_CELLP?>" width="<?=C_WIDTH?>" class=mes>
    <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
      <Td>
            <TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="3">
  <Tr align="center" bgcolor="<?=COLOR3?>" class=mes>
              <TD width=70%><?=$csubject[$p]?></TD>
              <TD><?=$cdate[$p]?></TD>
             </TR>
  <Tr align="center" bgcolor="<?=COLOR3?>" class=mes>
              <TD><?=$ccomment[$p]?></TD>
              <TD>
							<?=$cphotos[$cfromid[$p]]?><br>
							<?if($cfromid[$p]){?><a class="font2" href="<?=GenLink('UserProfile',array(LANGUAGE,$cfromid[$p]))?>" target="_blank"><?=$cnames[$cfromid[$p]]?></a><?} else {?><?=$cnames[$cfromid[$p]]?><?}?>
							</TD>
             </TR>
<?if(!empty($creply[$p])){?>
  <Tr align="center" bgcolor="<?=COLOR3?>" class=mes>
              <TD style='color:red'><?=$creply[$p]?></TD>
              <TD valign=top><?=$rdate[$p]?></TD>
  </TR>
<?}?>	
<?if(MyID() == ID){?>
  <Tr align="center" bgcolor="<?=COLOR3?>" class=mes>
              <TD colspan=2>
							<?if(SHOW_REPLY_LINK){?><a class=link2 href="javascript:open_win('<?=C_URL?>/comments.php?l=<?=LANGUAGE?>&cid=<?=$cid[$p]?>&reply','reply');">[<?=REPLY?>]</a><?}?> &nbsp; 
							<?if(SHOW_REMOVE_LINK){?><a class=link2 href="javascript:ConfirmDeleteComment('<?=$cid[$p]?>');">[<?=DELETE?>]</a><?}?> &nbsp;
							</TD>
  </TR>
<?}?>	
      </TABLE>
      </td>
    </tr>
		</table>
  	</td>
	</tr>
	</table><br>
<?$p++;}$p=0; /* If popular users exist - Begin */ ?>  

<?if(CPAGES){?>
<br>
	  <Table CellSpacing="<?=C_BORDER?>" CellPadding="0" width="<?=C_WIDTH?>" bgcolor="<?=C_TBCOLOR?>">
  <Tr>
    <Td>
    <Table Border=0 CellSpacing="<?=C_IBORDER?>" CellPadding="<?=C_CELLP?>" width="<?=C_WIDTH?>" class=mes>
<?=CPAGES?>  
		</table>
  	</td>
	</tr>
	</table>
	<?}?> 
<?}?> 
<?}?> 

<?if(SHOW_COMMENTS_FORM){?>
<script language="JavaScript">
<!--
function formCheck(form) {
if (form.subject.value=="") {
    alert("<?=SUBJECT_ERROR?>");
    return false;
}
if (form.message.value=="") {
    alert("<?=MESSAGE_ERROR?>");
    return false;
}
if (document.form.submit.action != "") {
document.form.submit.disabled=1;}
}
// -->
</script>
<script language="JavaScript">
<!--
function ins(prop,type)
	{
	var input = document.form.message;var mysel;var text;
	if (window.getSelection) mysel = window.getSelection();
	else if (document.selection) mysel = document.selection.createRange().text;
	else if (document.getSelection)	mysel = document.getSelection();
	b = (type == 0) ? '['+prop+']' : prop;
	e = (type == 0) ? '[/'+prop+']' : '';
	if (input.createTextRange)
		{
		var text;
		input.focus(input.caretPos);
		input.caretPos = document.selection.createRange().duplicate();
		input.caretPos.text = (input.caretPos.text.length>0) ? b + input.caretPos.text + e : b + mysel + e;
		}
	else input.value += b + mysel + e;
	}
// -->
</script>

<form action="<?=C_URL?>/comments.php" method="post" enctype="multipart/form-data" name=form OnSubmit="return formCheck(this)">
<input type="hidden" name="l" value="<?=LANGUAGE?>">
<input type="hidden" name="a" value="a">
<input type="hidden" name="id" value="<?=ID?>">
                <div align="center"><span class=head>
                  <?=ADD_COMMENTS?>
                </span></div>
                <br>
                <br>
<Table CellSpacing="<?=C_BORDER?>" CellPadding="0" align=center width="<?=C_WIDTH?>" bgcolor="<?=C_TBCOLOR?>">
<Tr>
  <Td width="<?=C_WIDTH?>" bgcolor="<?=COLOR1?>" valign="top">
  <Table Border=0 CellSpacing="<?=C_IBORDER?>" CellPadding="<?=C_CELLP?>" width="<?=C_WIDTH?>" class=mes>
   <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
    <Td width="30%" ><?=SUBJECT?> *</Td>
    <Td width="70%"><input class=forum_input type=text name=subject maxlength="255"></Td>
  </Tr>
  <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
    <Td width="30%"><?=MESSAGE?> *</Td>
    <Td width="70%">
    <?if(USE_SMILES || USE_BB){?>
    <Table Border=0 width="350" CellSpacing="1" CellPadding="4"><Tr align="left" bgcolor="<?=COLORH?>"><Td>
<?if(USE_SMILES){?><?$p=0;foreach ($smiles as $k=>$v){$p++;?><a href="javascript:ins(' <?=$k?> ',1)"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/forum/smiles/<?=$v?>" border=0 hspace=1/></a><?if(C_SMILES_NUMBER <= $p){?><br><a href="javascript:open_win('<?=C_URL?>/forum/smiles_show.php','_blank')"><?=$w[720]?></a><br><?break;}?><?}?><?}?> 
<?if(USE_BB && USE_SMILES){?><br><br><?}?>
<?if(USE_BOLD){?><a href="javascript:ins('B',0)"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Bold.gif" border=0 /></a><?}?>
<?if(USE_ITALIC){?><a href="javascript:ins('I',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Italic.gif" border=0 /></a><?}?>
<?if(USE_UNDERLINE){?><a href="javascript:ins('U',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Underline.gif" border=0 /></a><?}?>
<?if(USE_STRIKE){?><a href="javascript:ins('S',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Strike.gif" border=0 /></a><?}?>
<?if(USE_QUOTE){?><a href="javascript:ins('QUOTE',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Quote.gif" border=0 /></a><?}?>  
<?if(USE_URL){?><a href="javascript:ins('URL',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/URL.gif" border=0 /></a><?}?>  
<?if(USE_IMG){?><a href="javascript:ins('IMG',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Image.gif" border=0 /></a><?}?>  
<?if(USE_VIDEO){?><a href="javascript:ins('VIDEO',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Video.gif" border=0 /></a><?}?>  
</td></tr></table><?}?>
<textarea class=forum_input type=text name=message rows=12></textarea></Td></Tr>
<?if (VERIFY_ALLOW) {?>
  	<Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
    <Td><?=VERIFICATION?><br><img src="<?=C_URL?>/img.php" border=0></Td>
    <Td><input class=minput type=text name=verifyimage></Td>
  </Tr>
	<?}?>  
	  <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
                          <td colspan=2 align=right>
    <input class=input1 type=submit value="<?=ADD_COMMENTS?>" name="submit">
    </Td>
  </Tr>
                    </table></td>
</tr>
</table>
              </form>
<?}?>

  </td>
</tr>
</table>
<br><br><br><br><br>
     </TD>
    </TR>
   </TABLE>
