adult-.silver-partner 2.0.0 - 2.0.3 Changelog

Files operations:
ADD ITEM privacy_policy.php to /
ADD ITEM index.html to /inc/js/Subsys/JsHttpRequest/
ADD ITEM index.html to /inc/js/Subsys/
REPLACE ITEM js_check.inc.php in /inc/
REPLACE ITEM configs.php in /
REPLACE ITEM database_dump.sql in /
REPLACE ITEM chat.swf in /cc/
Actions with files:
Show only edited files Show only subjects Show all
Bugfixes:
Subject: Some bugfixes
FILE: /contact.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 12;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /index.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 17;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /about.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 11;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /terms.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 13;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /cc/ch.php
FIND
$_page['advertisement'] = get_page_ads( $_SERVER['PHP_SELF'] );
AND REPLACE WITH
$page_id = 9;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /inc/arrays.inc.php
FIND
'Occupation' => array( 0=>'varchar', 'max'=>100, 'preg_match' => '/.{1,100}/' ),
AND REPLACE WITH
'Occupation' => array( 0=>'varchar', 'max'=>30, 'preg_match' => '/.{1,30}/' ),
FILE: /inc/arrays.inc.php
FIND
'Headline' => array( 0=>'varchar', 'max'=>100,  'preg_match' => "/.{1,100}/" ),
AND REPLACE WITH
'Headline' => array( 0=>'varchar', 'max'=>50,  'preg_match' => "/.{1,50}/" ),
FILE: /inc/design.inc.php
FIND
	′report′	=>	$_url[′member′] . ′report.php′ . get_vars( array( ′omit′ => ′smsg′ )), // v1.0
AND REPLACE WITH
′report_member′=>$_url[′member′]. ′report.php′ . get_vars( array( ′omit′ => ′smsg,r_type′ )).′r_type=mem′,
	′report_message′=>$_url[′member′].′report.php′ . get_vars( array( ′omit′ => ′smsg,r_type′ )).′r_type=msg′,
FILE: /inc/design.inc.php
FIND
′article_comment′=>$_url[′articles′] . ′comments.php′ . get_vars( array( ′omit′ => ′action,art_id′ ) ),
AND AFTER IT INSERT
′privacy_policy′=>$_url[′site′] . ′privacy_policy.php′ . get_vars(),
FILE: /inc/design.inc.php
FIND
if (!$params[′thumb_class′])
	{
		$params[′thumb_class′]=′div_thumb′;
	}
AND REPLACE WITH
if (!$params[′thumb_class′])
	{
		$params[′thumb_class′]=′″div_thumb″′;
	}
FILE: /inc/design.inc.php
FIND
if ( $Name == ′Email′ )
	{
		$ret[&#8242;label&#8242;] .= &#8243; <a href=&#8242;javascript:void(0);&#8242; OnClick=\&#8243;&#8243;.bl_email_popup_open_js().&#8243;\&#8243;>{$_lang[&#8242;_bl_l_email_link&#8242;]}</a>&#8243;;
	}
AND REPLACE WITH
if ( $Name == &#8242;Email&#8242; )
	{
		$ret[&#8242;label&#8242;] .= &#8243; <a href=&#8242;javascript:void(0);&#8242; onclick=\&#8243;&#8243;.bl_email_popup_open_js().&#8243;\&#8243;>{$_lang[&#8242;_bl_l_email_link&#8242;]}</a>&#8243;;
	}
FILE: /inc/design.inc.php
FIND
if ( $pFieldsValues[$Name][0] == 'pass' && $join )
			$ret['input'] = "<input class=input_text type=password name=$Name id=$Name size=$size";
AND REPLACE WITH
if ( $pFieldsValues[$Name][0] == 'pass' && $join )
			$ret['input'] = "<input class='input_text' type='password' name='$Name' id='$Name' size='$size'";
FILE: /inc/design.inc.php
FIND
$ret['input'] = "<input class=input_text name=$Name size=$size id=$Name value=\"{$_POST[$Name]}\"";
AND REPLACE WITH
if ( $Name == 'City' )
			{
				$ret['input'] = $_lang['txt_lookup_city_more_info']."<br /><input class='input_text' name='$Name' size='$size' id='$Name' value=\"{$_POST[$Name]}\"";
			}
			else if ( $Name == 'ZIP' )
			{
				$ret['input'] = $_lang['txt_lookup_zip_more_info']."<br /><input class='input_text' name='$Name' size='$size' id='$Name' value=\"{$_POST[$Name]}\"";
			}			
			else
			{
				$ret['input'] = "<input class='input_text' name='$Name' size='$size' id='$Name' value=\"{$_POST[$Name]}\"";
			}
FILE: /inc/design.inc.php
FIND
$_POST[$Name] = str_replace( '"', $html_mnemonik['Quote'], $_POST[$Name] );
			$ret['input'] = "<input class=input_text name=$Name size=$size id=$Name value=\"{$_POST[$Name]}\"";
AND REPLACE WITH
$_POST[$Name] = str_replace( '"', $html_mnemonik['Quote'], $_POST[$Name] );
			if ( $Name == 'City' )
			{
				$ret['input'] = $_lang['txt_lookup_city_more_info']."<br /><input class='input_text' name='$Name' size='$size' id='$Name' value=\"{$_POST[$Name]}\"";
			}
			else if ( $Name == 'ZIP' )
			{
				$ret['input'] = $_lang['txt_lookup_zip_more_info']."<br /><input class='input_text' name='$Name' size='$size' id='$Name' value=\"{$_POST[$Name]}\"";
			}			
			else
			{
				$ret['input'] = "<input class='input_text' name='$Name' size='$size' id='$Name' value=\"{$_POST[$Name]}\"";
			}
FILE: /inc/design.inc.php
FIND
if ( $pFieldsValues[$Name]['max'] )
			$ret['input'] .= " maxlength={$pFieldsValues[$Name]['max']}";
		if ( $pFieldsValues[$Name]['size'] )
			$ret['input'] .= " maxlength={$pFieldsValues[$Name]['size']}";
		$ret['input'] .= ' title="' . $pFieldsValues[$Name]['title'] . '">';
AND REPLACE WITH
if ( $pFieldsValues[$Name]['max'] )
			$ret['input'] .= " maxlength='{$pFieldsValues[$Name]['max']}'";
		if ( $pFieldsValues[$Name]['size'] )
			$ret['input'] .= " maxlength='{$pFieldsValues[$Name]['size']}'";
		$ret['input'] .= ' title="' . $pFieldsValues[$Name]['title'] . '" />';
FILE: /inc/design.inc.php
FIND
$ret['input'] .= "&nbsp;<br /><span name='lookupcity' id='lookupcity' ";
			$ret['input'] .= "><a href=\"javascript:;\" onclick=\"OpenLookUpCity('get_city.php?letter=&')\">";
AND REPLACE WITH
$ret['input'] .= "&nbsp;<br /><span name='lookupcity' id='lookupcity' ";
			$ret['input'] .= ">{$_lang['txt_lookup_city_more_info_or']}&nbsp;<a href=\"javascript:;\" onclick=\"OpenLookUpCity('get_city.php?letter=&')\">";
FILE: /inc/design.inc.php
FIND
$ret['input'] .= "<br /><span name='lookupzip' id='lookupzip'";
			$ret['input'] .= ">&nbsp;<a href=\"javascript:;\" onclick=\"OpenLookUpCity('get_zip.php?')\">";
AND REPLACE WITH
$ret['input'] .= "<br /><span name='lookupzip' id='lookupzip'";
			$ret['input'] .= ">&nbsp;{$_lang['txt_lookup_zip_more_info_or']}&nbsp;<a href=\"javascript:;\" onclick=\"OpenLookUpCity('get_zip.php?')\">";
FILE: /inc/design.inc.php
FIND
$ret['input'] = "<textarea class=input_textarea cols=$size rows=8 name=$Name";
                if ( $Name == "DescriptionMe" )
	      	{
			$ret['input'] .= " onKeyUp=\"countitdescme(this)\"";
		}
		if ( $Name == "DescriptionYou" )
	      	{
			$ret['input'] .= " onKeyUp=\"countitdescyou(this)\"";
AND REPLACE WITH
$ret['input'] = "<textarea class='input_textarea' cols='$size' rows='8' name='$Name'";
                if ( $Name == "DescriptionMe" )
	      	{
			$ret['input'] .= " onkeyup=\"countitdescme(this)\"";
		}
		if ( $Name == "DescriptionYou" )
	      	{
			$ret['input'] .= " onkeyup=\"countitdescyou(this)\"";
FILE: /inc/design.inc.php
FIND
case 'date':
		$ret['input'] = '<select class=input_select name=b_Year><option value="">'.$_lang['_year'].':';
AND REPLACE WITH
case 'date':
		$ret['input'] = '<select class="input_select" name="b_Year"><option value="">'.$_lang['_year'].':</option>';
FILE: /inc/design.inc.php
FIND
if ( $_POST['b_Year'] == $i )
				$ret['input'] .= ' selected';
			$ret['input'] .= ">$i";
AND REPLACE WITH
if ( $_POST['b_Year'] == $i )
				$ret['input'] .= ' selected="selected"';
			$ret['input'] .= ">$i</option>";
FILE: /inc/design.inc.php
FIND
$ret['input'] .= '<select class=input_select name=b_Month><option value="">'.$_lang['_month'].':';
		for( $m = 1; $m <= 12; $m++ )
		{
			$ret['input'] .= '<option value='.$m;
			if ( $_POST['b_Month'] == $m )
				$ret['input'] .= ' selected';
			$ret['input'] .= '>'.$_lang['_month_'.$m];
		}
AND REPLACE WITH
$ret['input'] .= '<select class="input_select" name="b_Month"><option value="">'.$_lang['_month'].':</option>';
		for( $m = 1; $m <= 12; $m++ )
		{
			$ret['input'] .= '<option value="'.$m.'"';
			if ( $_POST['b_Month'] == $m )
				$ret['input'] .= ' selected="selected"';
			$ret['input'] .= '>'.$_lang['_month_'.$m].'</option>';
		}
FILE: /inc/design.inc.php
FIND
$ret['input'] .= '<select class=input_select name=b_Day><option value="">'.$_lang['_day'].':';
AND REPLACE WITH
$ret['input'] .= '<select class="input_select" name="b_Day"><option value="">'.$_lang['_day'].':</option>';
FILE: /inc/design.inc.php
FIND
$ret['input'] .= '<option';
			if ( $_POST['b_Day'] == $i )
				$ret['input'] .= ' selected';
			$ret['input'] .= ">$i";
AND REPLACE WITH
$ret['input'] .= '<option';
			if ( $_POST['b_Day'] == $i )
				$ret['input'] .= ' selected="selected"';
			$ret['input'] .= ">$i</option>";
FILE: /inc/design.inc.php
FIND
$ret['input'] .= "<input type=radio name=$Name id=$Name$key value=$key";
				if ( $_POST[$Name] & $key )
					$ret['input'] .= ' checked';
				$ret['input'] .= "> <label for=$Name$key>$value</label><br>";
AND REPLACE WITH
$ret['input'] .= "<input type='radio' name='$Name' id='$Name$key' value='$key'";
				if ( $_POST[$Name] & $key )
					$ret['input'] .= ' checked="checked"';
				$ret['input'] .= " /> <label for=\"$Name$key\">$value</label><br />";
FILE: /inc/design.inc.php
FIND
$ret['input'] .= "<input type=checkbox name={$Name}[] id=$Name$key value=$key";
				if ( $_POST[$Name] & $key )
					$ret['input'] .= ' checked';
				$ret['input'] .= "> <label for=$Name$key>$value</label><br>";
AND REPLACE WITH
$ret['input'] .= "<input type='checkbox' name='{$Name}[]' id='$Name$key' value='$key'";
				if ( $_POST[$Name] & $key )
					$ret['input'] .= ' checked';
				$ret['input'] .= " /> <label for=\"$Name$key\">$value</label><br />";
FILE: /inc/design.inc.php
FIND
$ret['input'] = "<div id=div$Name><select name=$Name id=$Name class=input_select ";
		if( $Name == 'Country' || $Name == 'Region' )
AND REPLACE WITH
$ret['input'] = "<div id='div$Name'><select name='$Name' id='$Name' class='input_select' ";
		if( $Name == 'Country' || $Name == 'Region' )
FILE: /inc/design.inc.php
FIND
$ret['input'] .= '<option value="STUB">'.$_lang['_ChooseL'];
AND REPLACE WITH
$ret['input'] .= '<option value="STUB">'.$_lang['_ChooseL'].'</option>';
FILE: /inc/design.inc.php
FIND
foreach( $obj->values as $key => $value )
			{
				$ret['input'] .= "<option value=$key";
				if ( $_POST[$Name] == $key || $data['SelectedCountry'] == $key )
					$ret['input'] .= ' selected';
					$ret['input'] .= ">$value";
			}
AND REPLACE WITH
foreach( $obj->values as $key => $value )
			{
				$ret['input'] .= "<option value=\"$key\"";
				if ( $_POST[$Name] == $key || $data['SelectedCountry'] == $key )
					$ret['input'] .= ' selected="selected"';

					$ret['input'] .= ">$value</option>";
			}
FILE: /inc/design.inc.php
FIND
function get_page_ads()
{
	global $mysql;
	global $data;
	$page = $_SERVER['LC_PHP_SELF'];
	// Get all ads for this page
	$mysql->connect();

	// Check settings for ads display mod
	$query = "SELECT `Value` FROM `settings_name` WHERE `Name`='ads_display_mod'";
	$ads_display_mod = $mysql->row( $query );
	if ( ( $data['MemType'] != "g" ) || ( ( $data['MemType'] == "g" ) && ( $ads_display_mod['Value'] == "on" ) ) )
	{
	$query = "SELECT * FROM `ads_page` `t1` LEFT JOIN `ads_page_position` `t2` ON `t1`.`id`=`t2`.`page_id` LEFT JOIN `ads_position` `t5` ON `t2`.`position_id`=`t5`.`id` LEFT JOIN `ads_binding` `t3` ON `t2`.`id`=`t3`.`page_position_id` LEFT JOIN `ads_template` `t4` ON `t3`.`template_id`=`t4`.`id` WHERE `t1`.`name`='$page'";
AND REPLACE WITH
function get_page_ads( $page_id )
{
	global $mysql;
	global $data;
	$page_id = ( int )$page_id;
	// Get all ads for this page
	$mysql->connect();

	// Check settings for ads display mod
	$query = "SELECT `Value` FROM `settings_name` WHERE `Name`='ads_display_mod'";
	$ads_display_mod = $mysql->row( $query );
	if ( ( $data['MemType'] != "g" ) || ( ( $data['MemType'] == "g" ) && ( $ads_display_mod['Value'] == "on" ) ) )
	{
	$query = "SELECT * FROM `ads_page` `t1` LEFT JOIN `ads_page_position` `t2` ON `t1`.`id`=`t2`.`page_id` LEFT JOIN `ads_position` `t5` ON `t2`.`position_id`=`t5`.`id` LEFT JOIN `ads_binding` `t3` ON `t2`.`id`=`t3`.`page_position_id` LEFT JOIN `ads_template` `t4` ON `t3`.`template_id`=`t4`.`id` WHERE `t1`.`id`='$page_id'";
FILE: /inc/design.inc.php
FIND
return $advertisement;
}
AND AFTER IT INSERT
function get_prof_lastact( &$pr, $online_members )
{
	global $mysql;

	$la_conf = array
	(
		'la'	=>	$mysql->field( "SELECT `Value` FROM `settings_name` WHERE `Name`='display_lastactivity'" ),
		'num'	=>	$mysql->field( "SELECT `Value` FROM `settings_name` WHERE `Name`='num_last_act'" ),
	);
		switch( $la_conf['la'] )
		{
			case 'on':
			if( in_array( $pr['ID'], $online_members ) )
			{
				if ( $data['Username'] != $pr['Username'] )
				{
					$pr['im_popup_open_js'] = im_popup_open_js( $pr['Username'] );
				}
				$pr['online'] = $pr['ID'];
			}
			break;

			case 'off':
			$pr['LastActivity'] = 0;
			break;

			case "day":
		
			if( in_array( $pr['ID'], $online_members ) )
			{
				if ( $data['Username'] != $pr['Username'] )
				{
					$pr['im_popup_open_js'] = im_popup_open_js( $pr['Username'] );
				}
				$pr['online'] = $pr['ID'];
			}
			else
				$pr['LastActivity'] = ( ( time() - $pr['LastActivity'] ) <= ( $la_conf['num'] * 86400 ) ) ? $pr['LastActivity'] : 0;

			break;
		}
}
FILE: /inc/design-share.inc.php
FIND
<table cellspacing=5 cellpadding=0 width=100% class=attention>
	<td valign=top><img src=/img/excl.gif></td>
	<td valign=top width=100%><div align=justify><? echo $str; ?></div></td>
AND REPLACE WITH
<table cellspacing="5" cellpadding="0" width="100%" class="attention">
	<td valign="top"><img src=/img/excl.gif /></td>
	<td valign="top" width="100%"><div align="justify"><? echo $str; ?></div></td>
FILE: /inc/design-share.inc.php
FIND
function get_vars( $params = array() )
{
	global $data;
AND AFTER IT INSERT
if( $_GET['by_mod_rewrite'] ) return '?';
FILE: /inc/design-share.inc.php
FIND
foreach( $val as $key1 => $val1 )
				{
					$str .= "<input type=hidden name={$key}[$key1] value=\"$val1\">";
				}
AND REPLACE WITH
foreach( $val as $key1 => $val1 )
				{
					$str .= "<input type='hidden' name={$key}[$key1] value=\"$val1\" />";
				}
FILE: /inc/design-share.inc.php
FIND
else
			{
				$str .= "<input type=hidden name=$key value=\"$val\">";
			}
		}
	}
	if ( strlen( $data['_s'] ) )
		$str .= "<input type=hidden name=_s value=\"{$data['_s']}\">";
AND REPLACE WITH
	else
			{
				$str .= "<input type='hidden' name=$key value=\"$val\" />";
			}
		}
	}
	if ( strlen( $data['_s'] ) )
		$str .= "<input type='hidden' name='_s' value=\"{$data['_s']}\" />";
FILE: /inc/design-share.inc.php
FIND
return "<img src={$_url['img']}sp.gif width={$params['w']} height={$params['h']} border=0$title>";
AND REPLACE WITH
return "<img src='{$_url['img']}sp.gif' width='{$params['w']}' height='{$params['h']}' alt='' border='0' $title />";
FILE: /inc/design-share.inc.php
FIND
echo "<select name=p_per_page onChange=\"javascript:$form_name.submit();\">";
AND REPLACE WITH
echo "<select name=p_per_page onchange=\"javascript:$form_name.submit();\">";
FILE: /inc/header.inc.php
FIND
if( $_GET['time'] != 'first' && !$_POST )
	$_units = $mysql -> fetch( "SELECT * FROM `mod_unit` WHERE status='1'" );
AND REPLACE WITH
if( $_GET['time'] != 'first' )
	$_units = $mysql -> fetch( "SELECT * FROM `mod_unit` WHERE status='1'" );
FILE: /inc/header.inc.php
FIND
'flash_server'		=>	'rtmp://dotsilver.com/',
'im_xml'			=>	'http://adult-im.dotsilver.com/',
'anti_scam'			=>	'http://www.dotsilver.com/antiscam/public/adult/',
AND REPLACE WITH
'flash_server'		=>	'rtmp://www.dotsilver.com/',
'im_xml'			=>	'http://adult-im.dotsilver.com/',
'report_scammer'	=>	'http://www.dotsilver.com/dating-scam/report_scammer.php',
FILE: /inc/header.inc.php
FIND AND DELETE
$_SERVER['LC_PHP_SELF'] = '/'.str_replace( $_dir[0], '', $_SERVER['SCRIPT_FILENAME'] );
FILE: /inc/profiles.inc.php
FIND
"<tr><td nowrap align=right colspan=2>$Label<br>" :
AND REPLACE WITH
"<tr><td nowrap align=right colspan=2>$Label<br />" :
FILE: /inc/profiles.inc.php
FIND
$ret .= '<tr><td colspan=2 align=right><b>'.$Label.'</b><br>';
AND REPLACE WITH
$ret .= '<tr><td colspan=2 align=right><b>'.$Label.'</b><br />';
FILE: /inc/smarty.inc.php
FIND
global $_units_n;
AND AFTER IT INSERT
global $page_id;
FILE: /inc/smarty.inc.php
FIND AND DELETE
name=flcontainer
FILE: /inc/smarty.inc.php
FIND
$this->assign_by_ref( '_href', $_href );
AND AFTER IT INSERT
$this->assign_by_ref( 'page_id', $page_id );
FILE: /inc/js/form.js
FIND
var remote_region_address = 'http://dating-remote.dotsilver.com/get_region.php';
AND REPLACE WITH
var remote_region_address = 'http://adult-remote.dotsilver.com/get_region.php';
FILE: /inc/js/form.js
FIND AND DELETE
'Realname' => array( 0=>'varchar', 'max' => 50, 'preg_match' => '/^.{1,30}/' ),
FILE: /langs/lang-English.php
FIND
'_msg_inf_incomplete' => 'Incorrect Information, please try again',
AND REPLACE WITH
'_msg_inf_incomplete' => 'Incorrect Information, please correct this fields:',
FILE: /langs/lang-English.php
FIND
'_lookup_state_zip' => 'Look up ZIP by State and City',
'_lookup_city' => 'Look up City',
AND AFTER IT INSERT
'_privacy_policy' => 'Privacy Policy',
FILE: /langs/lang-English.php
FIND
'META_ABOUT'=>'About '.$_site['bizname'],
AND REPLACE WITH
'META_KW_INDEX'=>'adult personals, adult dating services, free online adult dating, free sex personal ads, free sex photos, free online sex chat',
FILE: /langs/lang-English.php
FIND
'T_INDEX'=>$_site['brand'].' - Adult Personals & Dating',
AND REPLACE WITH
'T_INDEX'=>$_site['brand'].' - Adult Personals &amp; Dating',
FILE: /langs/lang-English.php
FIND
'T_DEFAULT'=>$_site['bizname'].' - Personals & Dating',
AND REPLACE WITH
'T_DEFAULT'=>$_site['bizname'].' - Personals &amp; Dating',
FILE: /langs/lang-English.php
FIND
'T_PERSONALS' => 'Personals',
AND AFTER IT INSERT
'T_PRIVACY_POLICY' => 'Privacy Policy',
FILE: /langs/lang-English.php
FIND
'H1_PERSONALS' => 'Personals',
AND AFTER IT INSERT
'H1_PRIVACY_POLICY' => 'Privacy Policy',
FILE: /langs/lang-English.php
FIND
'h1_sm_claim_free'=>'Claim FREE Silver Membership',
AND AFTER IT INSERT
'error404' => 'Document not found.<br />Please, <a href="'.$_url['site'].'">go to homepage</a>',
FILE: /langs/lang-English.php
FIND
'txt_profile_join_promo0'=>'<b>Join now</b> and instantly meet <b>sexiest</b> of our members!',
AND REPLACE WITH
'txt_profile_join_promo0'=>'<b>Join now</b></a> and instantly meet <b>sexiest</b> of our members!',
FILE: /langs/lang-English.php
FIND
'txt_lookup_zip' => 'Look up ZIP',
'txt_lookup_city' => 'Look up city',
'txt_input_number_on_pic' => 'Input the number on the picture',
'txt_incorr_location' => 'Your Location',
AND REPLACE WITH
'txt_lookup_zip' => 'click here to select it from the list',
'txt_lookup_zip_more_info' => 'Please enter your US ZIP',
'txt_lookup_zip_more_info_or' => 'or',
'txt_lookup_city' => 'click here to select it from the list',
'txt_lookup_city_more_info' => 'Please enter your city',
'txt_lookup_city_more_info_or' => 'or',
'txt_input_number_on_pic' => 'Input the number on the picture',
'txt_incorr_location' => 'Your Location ( Make sure you entered your city correctly or select it from the list )',
FILE: /langs/lang-English.php
FIND
'txt_18year_check' => 'You must be at 18 years old',
'txt_input_secnum' => 'Please, enter the number from image',
'txt_profile_join_promo0'=>'<b>Join now</b></a> and instantly meet of our members!',
AND REPLACE WITH
'txt_18year_check' => 'You must be at least 18 years old',
'txt_input_secnum' => 'Please, enter the number from image',
'_home_msg_prompting' =>	'New messages/All messages',
FILE: /langs/lang-English.php
FIND
'_empty_password'=>'Please enter Password',
AND AFTER IT INSERT
'_empty_msg_subj' => 'Please, enter the message subject',
'_empty_msg_body' => 'Please, enter the message body',
FILE: /langs/lang-English.php
FIND
'_confirm_del_cblock_' => 'Are you really want to delete comment from',
AND REPLACE WITH
'_confirm_del_cblock_' => 'Do you really want to delete comment from',
FILE: /langs/lang-English.php
FIND
'_tips_buy_gold_memship'=>'Get connected,<br />Subscribe Now!',
AND AFTER IT INSERT
'_about_us_content' => '
<strong>'.$_site['bizname'].'</strong> is an newborn project aimed at establishing global secure network of traditional international personals websites sharing one comprehensive database of singles\' profiles. <br />
 
Everyone is welcome to become our member, post profile and find new great people for any kind of relationship. We do not restrict anyone from being a member of '.$_site['bizname'].', as long as the applicant behaves in accordance to our terms and conditions, and web-etiquette. <br />
 
<strong>'.$_site['bizname'].'</strong> was created specifically to meet our customers needs. Our site is simple to use with comprehensive navigation and self-explaining yet powerful tools to improve your experience and help you meet people you are really interested with. <br />
 
<strong>'.$_site['bizname'].'</strong> is powered by <a href="http://www.dotsilver.com/software/">dotSilver dating script</a> and is an honored member of <a href="http://www.dotsilver.com/">dotSilver Dating Sites Union</a>. 

',

'_privacy_policy_content' => '

We take the issues regarding your personal information and your privacy very seriously. We use all reasonable efforts to protect our member’s information. The purpose of this policy is to help our members recognize our firm commitment to their privacy, while having an understanding of how their information is used by our service.<br />

We may change this Privacy Statement from time to time. Changes to this Privacy Statement are effective upon posting. Please check back periodically for updates.<br />

<b>'.$_site['bizname'].'</b> is a member of <a href="http://www.dotsilver.com/">dotSilver Dating Network</a>, a <a href="http://www.skalfa.com/">Skalfa eCommerce</a> company, associated with <a href="http://www.skadate.com/">SkaDate Dating Personals Software</a>.<br />
<br />

<h3>Collection of Information</h3>
We collect information from you, for the sole purpose of delivering our services to you. Your personal data is held on a secure server .We do not sell, trade or share this information with any third parties without your consent.<br />

By providing your e-mail address to <b>'.$_site['bizname'].'</b>, you will only receive correspondence from us if need be, no one else. We send occasional newsletters and alerts, such as when you receive a message from another member. If you no longer wish to receive e-mail from us, you can contact us and ask to put your account on hold until you wish to reactivate it. You will not start receiving any spam by signing up for our service.<br />
<br />

<h3>Payment Details</h3>
Credit card authentication and processing using Secure Sockets Layer (SSL), are independently handled by third party professional payment processors. We do not collect your credit card information.<br />
<br />

<h3>Information Provided by Our Members</h3>
Member profiles are the heart of our service, which of course is built on information provided by our members about themselves. Information provided by our members is considered either private or public.<br />

Private information is not shared with anybody for any reason. Private information is not available to other members. In addition, we do not sell private information to third parties. Private information includes the member’s  e-mail address and private messaging between members.<br />

Public information may be posted on the web site and includes the member’s username, city, state, country, age, photo, voice message, questionnaire answers, and more.<br />

Public profiles may also be used in personal ads that are published in various websites that we network with us. We only publish the public portion of your profile (For example username, age, and public message). Of course, private information such as your e-mail address is never published.<br />
<br />

<h3>Your Identity to Other Members</h3>
Many other singles sites will send your actual e-mail address to another person if you contact another member, or respond to a message they sent to you. <b>'.$_site['bizname'].'</b> does give you a chance to correspond with each other first before deciding if you want to give them your e-mail address. Only you can give another member your contact information. Just like in conventional dating settings such as bars, we encourage our members to take all precautions when meeting other members, or providing any private information.<br />
<br />

<h3>Information Automatically Collected by Traffic and Event Logs</h3>
Like most web sites, our traffic logs record your IP address, the web site you clicked over from, your web browser version, the date and time, and all pages you visited on the site. This information is used to help us with our marketing efforts and make improvements to the web site.<br />

We also log various events such as each time a user logs in and performs certain actions on the web site, such as placing orders or participating in various promotions. This information is used to help us support our members.<br />
<br />

<h3>Cookies</h3>
In order for a web site to be truly interactive, sessions are usually required. For example, once you log on to the site, a user can go from page to page while the site “remembers” who you are until you log off. Cookies make this possible. We do not save any confidential information in cookies such as your password, payment information, etc. This is particularly important if you are using a shared computer.<br />

Disabling cookies on your browser will mean you will not be able to utilize “Partner Site, because you won’t be able to log on.<br />
<br />

<h3>Security Measures</h3>
All reasonable efforts are used to secure our members’ private information. In addition, we have measures in place to detect frauds common to singles sites. (If someone says you can get millions of dollars for helping them out, it is not true!).<br />
<br />

<h3>Disclosure of Private Information to Government Authorities</h3>
Under special circumstances, it may be necessary for <b>'.$_site['bizname'].'</b> to disclose private information about our members to government agencies such as law enforcement. In addition, we may report <b>'.$_site['bizname'].'</b> users to the authorities in the case of legal wrongdoing, such as attempting to use a stolen credit card.<br />
<br />

<h3>Background Checks</h3>
<b>'.$_site['bizname'].'</b> does not do background checks on our members. When you meet people in the real world, like in a bar, club, or at the gym, no one is doing a background check there either. In addition, members are fully responsible for the information contained in their profiles and messages. We cannot attest for the accuracy of what hundreds of thousands of members write about themselves. So when you are meeting someone, whether from <b>'.$_site['bizname'].'</b>, or anywhere else, please take all necessary precautions.<br />
<br />

<h3>Updating Your Information</h3>
At any time, our members can update their member information by visiting the various sections under “Member Home” such as “Edit My Profile”. We encourage our members to review their own profile (“preview my profile”) to see what information is being provided to other members. If users wish to cancel service, they can do so at any time by clicking the link on the bottom of “Edit My Profile” page.<br />
<br />

<h3>Dispute Resolution</h3>
Please direct any questions or concerns regarding the use or disclosure of Personal Information to us by using the Contact Information given above. We will investigate and attempt to resolve complaints and disputes regarding use and disclosure of personal information in accordance with the principles contained in this Privacy Statement. For complaints that cannot be resolved, we will make available to you an independent dispute resolution process.<br />
<br />

<h3>Your Comments</h3>
Please send any comments about our privacy policy by contacting us.<br />

This Privacy Statement is effective upon posting.<br />
',
FILE: /langs/lang-English.php
FIND
'_link_personals' => 'Personals',
AND REPLACE WITH
'_perSex' => 'Sex',
'_perRegion' => 'Region',
'_perCountry' => 'Country',
'_perAge' => 'Age',
FILE: /langs/lang-English.php
FIND
'sea' => 'Southeast Asian'
		)
	)
);
AND REPLACE WITH
'sea' => 'Southeast Asian'
		)
	),

'r_type_msg' => 'message',
'r_type_mem' => 'member',
);
FILE: /langs/lang-English.php
FIND
case '_title_country_part': return 'from '.$params['country'];
AND REPLACE WITH
case '_title_country_part': return $params['country'].' Dating, '.$params['country'].' Personals';
FILE: /member/compose-frame.php
FIND
require_once( $_dir['inc'].'design-share.inc.php' );
AND AFTER IT INSERT
require_once( $_dir['inc'].'js_check.inc.php' );
FILE: /member/compose-frame.php
FIND AND DELETE
$_page['form_target'] = $_SERVER['PHP_SELF'] . get_vars( array( 'omit' => 'mSubject,mText' ) );
FILE: /member/index.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 2;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /member/index.php
FIND
require_once( $_dir['inc'].'arrays.inc.php' );
AND AFTER IT INSERT
require_once( $_dir['inc'].'js_check.inc.php' );
FILE: /member/messages.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 7;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /member/search.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 6;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /member/search.php
FIND
$let_tem[$key]['Value'] = str_replace( "<ProfileLink>", $_url['member'].'profile.php'.get_vars(), $let_tem[$key]['Value'] );
AND REPLACE WITH
$let_tem[$key]['Value'] = str_replace( "<ProfileLink>", $_url['member'].'profile.php?ID='.$_POST['profile_id'], $let_tem[$key]['Value'] );
FILE: /member/folders.php
FIND
$_page[&#8242;advertisement&#8242;] = get_page_ads();
AND REPLACE WITH
$page_id = 8;
$_page[&#8242;advertisement&#8242;] = get_page_ads( $page_id );
FILE: /member/join.php
FIND
$_page['chan_num'] = file_get_contents( $_url['secure_img']."index.php" );	break;
AND AFTER IT INSERT
	case -4:
FILE: /member/join.php
FIND
$_page['advertisement'] = get_page_ads();

if( $data['SelectedCountry'] )
{
	$_out->assign( 'onLoad', "countitdescme(document.forms[1].DescriptionMe);if ( document.getElementById('Country'))LoadRegion('http://{$_sock['domain']}/get_region.php');" );
}
else
{
	$_out->assign( 'onLoad', "countitdescme(document.forms[1].DescriptionMe);" );
}
AND REPLACE WITH
$page_id = 14;
$_page['advertisement'] = get_page_ads( $page_id );

if( $data['SelectedCountry'] )
{
	if ( $_POST['City'] )
	{
		$_out->assign( 'onLoad', "countitdescme(document.EditJoinForm.DescriptionMe);" );
	}
	else
	{
		$_out->assign( 'onLoad', "countitdescme(document.EditJoinForm.DescriptionMe);if ( document.getElementById('Country'))LoadRegion('http://{$_sock['domain']}/get_region.php');" );
	}
}
else
{
	$_out->assign( 'onLoad', "countitdescme(document.EditJoinForm.DescriptionMe);" );
}
FILE: /member/photos.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 5;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /member/list.php
FIND
$data[&#8242;ServiceAvailable&#8242;] = &#8242;HotlistedBy&#8242;;
AND REPLACE WITH
$data[&#8242;ServiceAvailable&#8242;] = &#8242;view_hotlisted_by&#8242;;
FILE: /member/list.php
FIND
serve();
AND AFTER IT INSERT
$mysql->connect();
FILE: /member/list.php
FIND
if ( $data['Radius'] )
	{
		$cookies['RadiusSearch/4txt'] = $data['Radius'];
	}
AND REPLACE WITH
	$cookies['RadiusSearch/4txt'] = $data['Radius'];
FILE: /member/list.php
FIND
$mysql->connect();

$la_conf = array
(
	'la'	=>	$mysql->field( "SELECT `Value` FROM `settings_name` WHERE `Name`='display_lastactivity'" ),
	'num'	=>	$mysql->field( "SELECT `Value` FROM `settings_name` WHERE `Name`='num_last_act'" ),
	'asp'	=>	$mysql->field( "SELECT `Value` FROM `settings_name` WHERE `Name`='available_search_pages'" )
);
AND REPLACE WITH
$la_conf['asp']	= $mysql->field( "SELECT `Value` FROM `settings_name` WHERE `Name`='available_search_pages'" );
FILE: /member/list.php
FIND
switch($_GET['pl_type']){
    case 0:
AND AFTER IT INSERT
    case 1:
FILE: /member/list.php
FIND
	switch($_GET['pl_type']){
    case 0:
        $p['href'][] = &$p['bookmark_href'];
        $p['href'][] = &$p['compose_href'];
        $p['href'][] = &$_href['chat'];
        break;
AND AFTER IT INSERT
    case 1:
	$p['href'][] = &$p['bookmark_href'];
        $p['href'][] = &$p['compose_href'];
        $p['href'][] = &$_href['chat'];
        break;
FILE: /member/list.php
FIND
	switch( $la_conf['la'] )
	{
		case 'on':
			if( array_key_exists($p['ID'], array_flip( $online_members ) ) )
			{
				$p['im_popup_open_js'] = im_popup_open_js( $p['Username'] );
				$p['online'] = $online_members[array_search( $p['ID'], $online_members)];
			}
			break;

		case 'off':
			$p['LastActivity'] = 0;
			break;

		case "day":

			if( array_key_exists($p['ID'], array_flip( $online_members ) ) )
			{
				$p['im_popup_open_js'] = im_popup_open_js( $p['Username'] );
				$p['online'] = $online_members[array_search( $p['ID'], $online_members)];
			}
			else
				$p['LastActivity'] = ( ( time() - $p['LastActivity'] ) <= ( $la_conf['num'] * 86400 ) ) ? $p['LastActivity'] : 0;

			break;
	}
AND REPLACE WITH
get_prof_lastact( $p, $online_members );
FILE: /member/list.php
FIND
if ( 'gallery' == $_GET['s_mode'] )
{
	$_page['change_view_type_label'] = $_lang['_view_as_pd'];
	$_href['change_view_type'] .= 'pd';
	$_page['view_type'] = 'gallery';
}
else
{
	$_page['change_view_type_label'] = $_lang['_view_as_pg'];
	$_href['change_view_type'] .= 'gallery';
	$_page['view_type'] = 'details';
}
AND REPLACE WITH
if ( 'details' == $_GET['s_mode'] )
{
	$_page['change_view_type_label'] = $_lang['_view_as_pg'];
	$_href['change_view_type'] .= 'gallery';
	$_page['view_type'] = 'details';
}
else
{
	$_page['change_view_type_label'] = $_lang['_view_as_pd'];
	$_href['change_view_type'] .= 'details';
	$_page['view_type'] = 'gallery';
}
FILE: /member/list.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 1;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /member/predit.php
FIND
$_page[&#8242;advertisement&#8242;] = get_page_ads();
AND REPLACE WITH
$page_id = 4;
$_page[&#8242;advertisement&#8242;] = get_page_ads( $page_id );
FILE: /member/unregister.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 15;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /member/compose.php
FIND
require_once( $_dir['inc'].'design-share.inc.php' );
AND AFTER IT INSERT
require_once( $_dir['inc'].'js_check.inc.php' );
FILE: /member/compose.php
FIND
$_out = new LC_Frontend;
AND AFTER IT INSERT
$js[] = 'form';
FILE: /member/membership.php
FIND
$serverPerms = explode( "\3", $data['ServicePermissions'] );
AND AFTER IT INSERT
$s = $tmp1 = array();
FILE: /member/membership.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 10;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /member/profile.php
FIND
serve();
AND REPLACE WITH
$mysql->connect();

//Explode string with online members
$online_members = (isset($data['WhoIsOnline'])) ? explode("\5", substr($data['WhoIsOnline'], 0, -1)) : array();
FILE: /member/profile.php
FIND
foreach( $data['pList'] as $key => $p )
	{
		$p = explode( "\5", $p );

		foreach( $p as $k => $v )
			$pr[$srFields[$k]] = $v;
AND AFTER IT INSERT
		get_prof_lastact( $pr, $online_members );
FILE: /member/profile.php
FIND AND DELETE
//Explode string with online members
$online_members = (isset($data['WhoIsOnline'])) ? explode("\5", substr($data['WhoIsOnline'], 0, -1)) : array();
FILE: /member/profile.php
FIND
// Activity info

$mysql->connect();

$la_conf = array
(
	'la'	=>	$mysql->field( "SELECT `Value` FROM `settings_name` WHERE `Name`='display_lastactivity'" ),
	'num'	=>	$mysql->field( "SELECT `Value` FROM `settings_name` WHERE `Name`='num_last_act'" ),
	'asp'	=>	$mysql->field( "SELECT `Value` FROM `settings_name` WHERE `Name`='available_search_pages'" )
);

// Processing last activity settings
	
	switch( $la_conf['la'] )
	{
		case 'on':
			if( array_key_exists($p['ID'], array_flip( $online_members ) ) )
			{
				if ( $data['Username'] != $p['Username'] )
				{
				$p['im_popup_open_js'] = im_popup_open_js( $p['Username'] );
				}
				$p['online'] = $online_members[array_search( $p['ID'], $online_members)];
			}
			break;

		case 'off':
			$p['LastActivity'] = 0;
			break;

		case "day":
			
			if( array_key_exists($p['ID'], array_flip( $online_members ) ) )
			{
				if ( $data['Username'] != $p['Username'] )
				{
				$p['im_popup_open_js'] = im_popup_open_js( $p['Username'] );
				}
				$p['online'] = $online_members[array_search( $p['ID'], $online_members)];
			}
			else
				$p['LastActivity'] = ( ( time() - $p['LastActivity'] ) <= ( $la_conf['num'] * 86400 ) ) ? $p['LastActivity'] : 0;

			break;
	}
AND REPLACE WITH
// Processing last activity settings
get_prof_lastact( $p, $online_members );
FILE: /member/profile.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 3;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /member/report.php
FIND
if( isset($_GET['mID']) )
	$fsubj = 'message';
elseif( isset($_GET['ID']) )
	$fsubj = 'member';

$hidden = array
(
	'return_url' => 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'],
	'message_id' => $_GET['mID'],
	'scammer_id' => $_GET['ID'],
);


$_out = new LC_Frontend;

$_page['advertisement'] = get_page_ads();

if( $_GET['smsg'] ) $_out -> assign( 'smsg', $_GET['smsg'] );
$_out -> assign( 'fsubj', $fsubj );
$_out -> assign( 'hidden', $hidden );
AND REPLACE WITH
$hidden = array
(
	'return_url' => 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'],
	'network_type'	=>	$_site['app_name']
);

$_page['r_type'] = $_GET['r_type'];

if( $_GET['r_type'] == 'msg' )
{
	$_page['back_href'] = $_url['member'].'messages.php'.get_vars( array( 'omit' => 'smsg,r_type' ) );
}
elseif( $_GET['r_type'] == 'mem' )
{
	$_page['back_href'] = $_url['member'].'profile.php'.get_vars( array( 'omit' => 'smsg,r_type' ) );
}

$_out = new LC_Frontend;

$page_id = 16;
$_page['advertisement'] = get_page_ads( $page_id );

if( $_GET['smsg'] )
	$_out -> assign( 'smsg', $_GET['smsg'] );

$_out -> assign( 'hidden', $hidden );
FILE: /articles/.htaccess
FIND
RewriteRule ^([0-9]+)\-[^\/]+\/(index[0-9]*\.html)?$ index.php?cat_id=$1&abpage=$2
AND REPLACE WITH
RewriteRule ^([0-9]+)\-[^\/]+\/(index[0-9]*\.html)?$ index.php?cat_id=$1&abpage=$2&by_mod_rewrite=1
FILE: /articles/.htaccess
FIND
RewriteRule ^[0-9]+\-[^\/]+\/([0-9]+)\-.*\-([0-9]*)\.html read.php?art_id=$1&abpage=$2
AND REPLACE WITH
RewriteRule ^[0-9]+\-[^\/]+\/([0-9]+)\-.*\-([0-9]*)\.html read.php?art_id=$1&abpage=$2&by_mod_rewrite=1
FILE: /articles/comments.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 21;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /articles/index.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 20;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /articles/read.php
FIND
$article[&#8242;author&#8242;] = $mysql->field( &#8243;SELECT `login` FROM `mod_moderator` WHERE `id`=&#8242;{$article[&#8242;moderator_id&#8242;]}&#8242;&#8243; );
AND AFTER IT INSERT
if( !$article[&#8242;author&#8242;] ) $article[&#8242;author&#8242;] = $_lang[&#8242;_deleted_moder&#8242;];
FILE: /articles/read.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 22;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /inc/moder.inc.php
FIND
WHERE mod_session.sid = '".session_id()."';
AND REPLACE WITH
WHERE mod_session.sid = '".session_id()."'
FILE: /news/.htaccess
FIND
RewriteRule page([0-9]*)\.html?(.) index.php?npage=$1&($2)
AND REPLACE WITH
RewriteRule page([0-9]*)\.html?(.) index.php?npage=$1&($2)&by_mod_rewrite=1
FILE: /news/index.php
FIND
$page['total'] = ceil( mysql_num_rows( $result ) / $nconf['res_on_page'] );
$beg = ( $page['curr'] - 1 ) * $nconf['res_on_page'];
AND AFTER IT INSERT
$news = array();
FILE: /news/index.php
FIND
if( $nconf['comments'] )
	foreach( $news as $key => $nw )
		$news[$key]['comments'] = comments( $nw['id'] );
AND AFTER IT INSERT
$moders = array();
FILE: /news/index.php
FIND AND DELETE
if( $moders )
FILE: /news/index.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 18;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /news/news_comment.php
FIND
$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$page_id = 19;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /personals/index.php
FIND
function parse_profile( $p )
{
	global $mv_fields, $online_members, $la_conf;
AND REPLACE WITH
function parse_profile( $p )
{
	global $mv_fields, $who_is_online, $la_conf;
FILE: /personals/index.php
FIND
		case 'on':

			if( array_key_exists( $pr['ID'], $online_members ) )
			{
				$pr['im_popup_open_js'] = ( $online_members[$pr['ID']] ) ? im_popup_open_js( $pr['Username'] ) : '';
				$pr['online'] = $online_members[$pr['ID']];
			}
			break;
AND REPLACE WITH
case 'on':

			if( in_array( $pr['ID'], $who_is_online ) )
			{
				$pr['im_popup_open_js'] = im_popup_open_js( $pr['Username'] );
				$pr['online'] = $pr['ID'];
			}
			break;
FILE: /personals/index.php
FIND
case "day":

			if( array_key_exists( $pr['ID'], $online_members ) )
			{
				$pr['im_popup_open_js'] = ( $online_members[$pr['ID']] ) ? im_popup_open_js( $pr['Username'] ) : '';
				$pr['online'] = $online_members[$pr['ID']];
			}
			else
				$pr['LastActivity'] = ( ( time() - $pr['LastActivity'] ) <= ( $la_conf['num'] * 86400 ) ) ? $pr['LastActivity'] : 0;

			break;
AND REPLACE WITH
case "day":

			if( in_array( $pr['ID'], $who_is_online ) )
			{
				$pr['im_popup_open_js'] = im_popup_open_js( $pr['Username'] );
				$pr['online'] = $pr['ID'];
			}
			else
				$pr['LastActivity'] = ( ( time() - $pr['LastActivity'] ) <= ( $la_conf['num'] * 86400 ) ) ? $pr['LastActivity'] : 0;

			break;
FILE: /personals/index.php
FIND
foreach( array( 's', 'r', 'c', 'a' ) as $key )
	preg_replace( '/^'.$key.'([0-9a-zA-Z]+)[\/]?/e', '$flag['.$key.']=\\1;', $br[$key] );
AND REPLACE WITH
foreach( array( 's', 'r', 'c', 'a' ) as $key )
	preg_replace( '/^'.$key.'([0-9a-zA-Z]+)[\/]?/e', '$flag['.$key.']="\\1";', $br[$key] );
FILE: /personals/index.php
FIND
	$crits[$tmp[0]]['title'] = $_lang['_'.$tmp[0]];
AND REPLACE WITH
	$crits[$tmp[0]]['title'] = $_lang['_per'.$tmp[0]];
FILE: /personals/index.php
FIND AND DELETE
$online_members = array();
FILE: /personals/index.php
FIND
$_page['title'] = "$region_part $sex_part $country_part $age_part - {$_site['bizname']} $page_part";
$_page['H1'] = "$region_part $sex_part $country_part $age_part";

$_page['advertisement'] = get_page_ads();
AND REPLACE WITH
$_page['title'] = "$country_part $region_part $sex_part $age_part - {$_site['bizname']} $page_part";
$_page['H1'] = "$country_part $region_part $sex_part $age_part";
$_page['meta'][] = array( 'name' => 'description', 'content' => "$country_part $region_part $sex_part $age_part" );
$_page['meta'][] = array( 'name' => 'keywords', 'content' => implode( ',', explode( ' ', "$country_part $region_part $sex_part $age_part" ) ) );

$page_id = 23;
$_page['advertisement'] = get_page_ads( $page_id );
FILE: /personals/index.php
FIND
$_out->assign( 'show_quick_search', 1 );
AND AFTER IT INSERT
$_out->assign( 'signin_target', $_href['member'] );
FILE: /.htaccess
FIND
RewriteRule ^\-([a-zA-Z0-9]+)\.html$ member/profile.php?ID=$1
AND REPLACE WITH
RewriteRule ^\-([a-zA-Z0-9]+)\.html$ member/profile.php?ID=$1&by_mod_rewrite=1