33. File Comparison Report

Produced on Thu Jul 17 07:17:23 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

33.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.1.2\inc members.inc.php Sat Apr 26 08:19:16 2008 UTC
2 Dolphin-v.6.1.3\inc members.inc.php Wed Jul 16 09:51:20 2008 UTC

33.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 4 828
Changed 2 4
Inserted 0 0
Removed 1 1

33.3 Comparison options

Whitespace All differences in whitespace within lines are ignored
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

33.4 Active regular expressions

No regular expressions were active.

33.5 Comparison detail

1   <?php   1   <?php
2     2  
3   /********* ********** ********** ********** ********** ********** ********** ******   3   /********* ********** ********** ********** ********** ********** ********** ******
4   *                              D olphin Sma rt Communi ty Builder   4   *                              D olphin Sma rt Communi ty Builder
5   *                                 --------- --------   5   *                                 --------- --------
6   *     begi n                 : M on Mar 23  2006   6   *     begi n                 : M on Mar 23  2006
7   *     copy right             : ( C) 2006 Bo onEx Group   7   *     copy right             : ( C) 2006 Bo onEx Group
8   *     webs ite               : h ttp://www. boonex.com /   8   *     webs ite               : h ttp://www. boonex.com /
9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder   9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder
10   *   10   *
11   * Dolphin  is free so ftware. Th is work is  licensed  under a Cr eative Com mons Attri bution 3.0  License.    11   * Dolphin  is free so ftware. Th is work is  licensed  under a Cr eative Com mons Attri bution 3.0  License. 
12   * http://c reativecom mons.org/l icenses/by /3.0/   12   * http://c reativecom mons.org/l icenses/by /3.0/
13   *   13   *
14   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;   14   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;
15   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.   15   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.
16   * See the  Creative C ommons Att ribution 3 .0 License  for more  details.    16   * See the  Creative C ommons Att ribution 3 .0 License  for more  details. 
17   * You shou ld have re ceived a c opy of the  Creative  Commons At tribution  3.0 Licens e along wi th Dolphin   17   * You shou ld have re ceived a c opy of the  Creative  Commons At tribution  3.0 Licens e along wi th Dolphin
18   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m   18   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m
19   ********** ********** ********** ********** ********** ********** ********** *****/   19   ********** ********** ********** ********** ********** ********** ********** *****/
20     20  
21   require_on ce( "membe rship_leve ls.inc.php " );   21   require_on ce( "membe rship_leve ls.inc.php " );
22   require_on ce( "match .inc.php"  );   22   require_on ce( "match .inc.php"  );
23     23  
24   /**   24   /**
25    * returns  HTML code  for one s earch row   25    * returns  HTML code  for one s earch row
26    */   26    */
27   function P rintSearhR esult( $p_ arr, $temp l_search,  $iNumber=1 , $bCouple  = false,  $aCoupleIn fo = '' )   27   function P rintSearhR esult( $p_ arr, $temp l_search,  $iNumber=1 , $bCouple  = false,  $aCoupleIn fo = '' )
28   {   28   {
29       global  $site;   29       global  $site;
30       global  $pa_icon_ preload;   30       global  $pa_icon_ preload;
31       global  $aPreValu es;   31       global  $aPreValu es;
32       global  $logged;   32       global  $logged;
33       global  $tmpl;   33       global  $tmpl;
34       global  $dir;    
35       global  $max_thum b_width;   34       global  $max_thum b_width;
36       global  $max_thum b_height;   35       global  $max_thum b_height;
37       global  $anon_mod e;   36       global  $anon_mod e;
38       global  $enable_z odiac;   37       global  $enable_z odiac;
39       global  $enable_f riendlist;   38       global  $enable_f riendlist;
40       global  $pic_num;   39       global  $pic_num;
41       global  $oTemplCo nfig;   40       global  $oTemplCo nfig;
42       global  $NickName ;   41       global  $NickName ;
43     42  
44       $membe r['ID'] =  (int)$_COO KIE['membe rID'];   43       $membe r['ID'] =  (int)$_COO KIE['membe rID'];
45     44  
46       $free_ mode = get Param("fre e_mode") = = "on" ? 1  : 0;   45       $free_ mode = get Param("fre e_mode") = = "on" ? 1  : 0;
47       $bEnab leRay = (g etParam( ' enable_ray ' ) == 'on ');   46       $bEnab leRay = (g etParam( ' enable_ray ' ) == 'on ');
48     47  
49       $gl_th umb_width  = $max_thu mb_width;   48       $gl_th umb_width  = $max_thu mb_width;
50       $gl_th umb_height  = $max_th umb_height ;   49       $gl_th umb_height  = $max_th umb_height ;
51     50  
52       // get  user onli ne status   51       // get  user onli ne status
53       $user_ is_online  = get_user _online_st atus($p_ar r[ID]);   52       $user_ is_online  = get_user _online_st atus($p_ar r[ID]);
54     53  
55       $templ  = $templ_ search;   54       $templ  = $templ_ search;
56     55  
57       // --- ---------  template v ariables - ---------- ---   56       // --- ---------  template v ariables - ---------- ---
58     57  
59     58  
60       $thumb nail = get _member_th umbnail( $ p_arr['ID' ], 'none',  true );   59       $thumb nail = get _member_th umbnail( $ p_arr['ID' ], 'none',  true );
61     60  
62       // onl ine/offlin e status   61       // onl ine/offlin e status
63       $launc h_ray_im =  "";   62       $launc h_ray_im =  "";
64       //---  Ray IM int egration - --//     63       //---  Ray IM int egration - --//  
65       if ( $ user_is_on line )   64       if ( $ user_is_on line )
66       {   65       {
67           $c heck_res =  checkActi on( $membe r['ID'], A CTION_ID_U SE_RAY_IM  );   66           $c heck_res =  checkActi on( $membe r['ID'], A CTION_ID_U SE_RAY_IM  );
68           if  ($bEnable Ray && $ch eck_res[CH ECK_ACTION _RESULT] = = CHECK_AC TION_RESUL T_ALLOWED  && $member ['ID'] !=  $p_arr['ID ']  && !em pty($membe r['ID']))   67           if  ($bEnable Ray && $ch eck_res[CH ECK_ACTION _RESULT] = = CHECK_AC TION_RESUL T_ALLOWED  && $member ['ID'] !=  $p_arr['ID ']  && !em pty($membe r['ID']))
69           {               68           {            
70                $iSndId  = (int)$me mber['ID'] ;   69                $iSndId  = (int)$me mber['ID'] ;
71                $sSndPas sword = ge tPassword( $member['I D']);   70                $sSndPas sword = ge tPassword( $member['I D']);
72                $iRspId  = (int)$p_ arr['ID'];   71                $iRspId  = (int)$p_ arr['ID'];
73                $launch_ ray_im = " <a href=\" javascript :void(0);\ " onClick= \"javascri pt: openRa yWidget( ' im', 'user ', '" . $i SndId . "' , '" . $sS ndPassword  . "', '"  . $iRspId  . "' ); re turn false ;\">"._t(" _IM now",  $p_arr['Ni ckName']). "</a>";   72                $launch_ ray_im = " <a href=\" javascript :void(0);\ " onClick= \"javascri pt: openRa yWidget( ' im', 'user ', '" . $i SndId . "' , '" . $sS ndPassword  . "', '"  . $iRspId  . "' ); re turn false ;\">"._t(" _IM now",  $p_arr['Ni ckName']). "</a>";
74           }   73           }
75       }   74       }
76       //---  Ray IM int egration - --//   75       //---  Ray IM int egration - --//
77     76  
78       // Tem plate cust omizations   77       // Tem plate cust omizations
79     78  
80           //  profile N ick/Age/Se x etc.   79           //  profile N ick/Age/Se x etc.
81           $n ick = '<a  href="' .  getProfile Link( $p_a rr['ID'] )  . '">' .  $p_arr['Ni ckName'] .  '</a>';   80           $n ick = '<a  href="' .  getProfile Link( $p_a rr['ID'] )  . '">' .  $p_arr['Ni ckName'] .  '</a>';
82     81  
83           $a ge_str = ( $p_arr['Da teOfBirth' ] != "0000 -00-00" ?  (_t("_y/o" , age( $p_ arr['DateO fBirth'] ) ) .' ') :  "");   82           $a ge_str = ( $p_arr['Da teOfBirth' ] != "0000 -00-00" ?  (_t("_y/o" , age( $p_ arr['DateO fBirth'] ) ) .' ') :  "");
84           $a ge_only =  ($p_arr['D ateOfBirth '] != "000 0-00-00" ?  ( age( $p _arr['Date OfBirth']  )) : "");   83           $a ge_only =  ($p_arr['D ateOfBirth '] != "000 0-00-00" ?  ( age( $p _arr['Date OfBirth']  )) : "");
85           $y _o_sex = $ age_str .  _t("_".$p_ arr['Sex'] );   84           $y _o_sex = $ age_str .  _t("_".$p_ arr['Sex'] );
86     85  
87           $c ity =  _t( "_City")." : ".proces s_line_out put($p_arr ['City']);   86           $c ity =  _t( "_City")." : ".proces s_line_out put($p_arr ['City']);
88           $c ountry = _ t("_Countr y").": "._ t($aPreVal ues['Count ry'][$p_ar r['Country ']]['LKey' ]).'&nbsp; <img src=" '. ($site[ 'flags'].s trtolower( $p_arr['Co untry']))  .'.gif" al t="flag" / >';   87           $c ountry = _ t("_Countr y").": "._ t($aPreVal ues['Count ry'][$p_ar r['Country ']]['LKey' ]).'&nbsp; <img src=" '. ($site[ 'flags'].s trtolower( $p_arr['Co untry']))  .'.gif" al t="flag" / >';
89           $s Flag = ($p _arr['Coun try'] != ' ') ? '&nbs p;<img src ="'. ($sit e['flags'] .strtolowe r($p_arr[' Country']) ) .'.gif"  alt="flag"  />' : '';   88           $s Flag = ($p _arr['Coun try'] != ' ') ? '&nbs p;<img src ="'. ($sit e['flags'] .strtolowe r($p_arr[' Country']) ) .'.gif"  alt="flag"  />' : '';
90           $c ity_con =  process_li ne_output( $p_arr['Ci ty']).", " ._t($aPreV alues['Cou ntry'][$p_ arr['Count ry']]['LKe y']).$sFla g;   89           $c ity_con =  process_li ne_output( $p_arr['Ci ty']).", " ._t($aPreV alues['Cou ntry'][$p_ arr['Count ry']]['LKe y']).$sFla g;
91           $o ccupation  = process_ line_outpu t($p_arr[' Occupation ']);   90           $o ccupation  = process_ line_outpu t($p_arr[' Occupation ']);
92           $c hildren =  ($p_arr['C hildren']  ? ($p_arr[ 'Children' ]." "._t(" _children" )) : "");   91           $c hildren =  ($p_arr['C hildren']  ? ($p_arr[ 'Children' ]." "._t(" _children" )) : "");
93           $i d = _t("_I D").": ".$ p_arr['ID' ];   92           $i d = _t("_I D").": ".$ p_arr['ID' ];
94     93  
95           //  descripti on   94           //  descripti on
96           $i _am = _t(" _I am");   95           $i _am = _t(" _I am");
97           $i _am_desc =  process_s miles( str ip_tags( p rocess_tex t_output(  $p_arr['De scriptionM e'] ), '<i mg>' ) ) .  "...";   96           $i _am_desc =  process_s miles( str ip_tags( p rocess_tex t_output(  $p_arr['De scriptionM e'] ), '<i mg>' ) ) .  "...";
98           $y ou_are = _ t("_You ar e");   97           $y ou_are = _ t("_You ar e");
99           $y ou_are_des c = proces s_smiles(p rocess_tex t_output($ p_arr['Des criptionYo u']))."...  <a href=\ "".getProf ileLink($p _arr['ID'] )."\">"._t ("_more"). "</a>";   98           $y ou_are_des c = proces s_smiles(p rocess_tex t_output($ p_arr['Des criptionYo u']))."...  <a href=\ "".getProf ileLink($p _arr['ID'] )."\">"._t ("_more"). "</a>";
100           /*   99           /*
101           ec ho '<hr>';   100           ec ho '<hr>';
102           pr int_r( $p_ arr );   101           pr int_r( $p_ arr );
103           ec ho '<hr>';   102           ec ho '<hr>';
104           */   103           */
105     104  
106           $s City = $p_ arr['City' ];   105           $s City = $p_ arr['City' ];
107           // echo $sCit y . '<hr>' ;   106           // echo $sCit y . '<hr>' ;
108     107  
109   //--- Ray  IM integra tion start  ---//   108   //--- Ray  IM integra tion start  ---//
110     109  
111       $ai_im  = '';   110       $ai_im  = '';
112       $al_im  = '';   111       $al_im  = '';
113     112  
114       $chech ActionRes  = checkAct ion($membe r['ID'], A CTION_ID_U SE_RAY_IM) ;   113       $chech ActionRes  = checkAct ion($membe r['ID'], A CTION_ID_U SE_RAY_IM) ;
115       if( $b EnableRay  && $chechA ctionRes[C HECK_ACTIO N_RESULT]  == CHECK_A CTION_RESU LT_ALLOWED   && $memb er['ID'] ! = $p_arr[' ID'] && !e mpty( $mem ber['ID']  ) )   114       if( $b EnableRay  && $chechA ctionRes[C HECK_ACTIO N_RESULT]  == CHECK_A CTION_RESU LT_ALLOWED   && $memb er['ID'] ! = $p_arr[' ID'] && !e mpty( $mem ber['ID']  ) )
116       {   115       {
117           $i SndId = (i nt) $membe r['ID'];   116           $i SndId = (i nt) $membe r['ID'];
118           $s SndPasswor d = getPas sword( $me mber['ID']  );   117           $s SndPasswor d = getPas sword( $me mber['ID']  );
119           $i RspId = (i nt) $p_arr ['ID'];   118           $i RspId = (i nt) $p_arr ['ID'];
120     119  
121           if ( $user_is _online )   120           if ( $user_is _online )
122           {   121           {
123                 $file_icon   =   $dir['root ']   ."template s/tmpl_"   .   $tmpl   .   "/images/i cons/actio n_im_small .gif";   122                 $file_icon   =   BX_DIRECTO RY_PATH_RO OT   ."template s/tmpl_"   .   $tmpl   .   "/images/i cons/actio n_im_small .gif";
124                if( file _exists( $ file_icon  ) )   123                if( file _exists( $ file_icon  ) )
125                    $ai_ im  .= "<i mg alt=\""  . _t("_IM  now") . " \" class=\ "links_ima ge\" name= i06$p_arr[ ID] src=\" $site[url] templates/ tmpl_$tmpl /images/ic ons/action _im_small. gif\" />";   124                    $ai_ im  .= "<i mg alt=\""  . _t("_IM  now") . " \" class=\ "links_ima ge\" name= i06$p_arr[ ID] src=\" $site[url] templates/ tmpl_$tmpl /images/ic ons/action _im_small. gif\" />";
126                $al_im . = '<a href ="javascri pt:void(0) ;" onClick ="javascri pt: openRa yWidget( \ 'im\', \'u ser\', \''  . $iSndId  . '\', \' ' . $sSndP assword .  '\', \'' .  $iRspId .  '\' ); re turn false ;">';   125                $al_im . = '<a href ="javascri pt:void(0) ;" onClick ="javascri pt: openRa yWidget( \ 'im\', \'u ser\', \''  . $iSndId  . '\', \' ' . $sSndP assword .  '\', \'' .  $iRspId .  '\' ); re turn false ;">';
127                $al_im =  '<span cl ass="links _span">' .  $ai_im .  $al_im . u cwords( _t ( "_IM now ", $p_arr[ 'NickName' ] ) ) . '< /a></span> ';   126                $al_im =  '<span cl ass="links _span">' .  $ai_im .  $al_im . u cwords( _t ( "_IM now ", $p_arr[ 'NickName' ] ) ) . '< /a></span> ';
128           }   127           }
129       }   128       }
130     129  
131   //--- Ray  IM integra tion end - --//   130   //--- Ray  IM integra tion end - --//
132     131  
133   /* Standar d IM comme nted out   132   /* Standar d IM comme nted out
134       else i f ( $enabl e_im )   133       else i f ( $enabl e_im )
135       {   134       {
136           if  ( $user_i s_online )   135           if  ( $user_i s_online )
137           {   136           {
138                $al_im =  "<a href= \"javascri pt:void(0) ;\" OnClic k=\"javasc ript: laun chAddToIM( {$p_arr['I D']}); ret urn false; \"";   137                $al_im =  "<a href= \"javascri pt:void(0) ;\" OnClic k=\"javasc ript: laun chAddToIM( {$p_arr['I D']}); ret urn false; \"";
139           }   138           }
140           el se   139           el se
141           {   140           {
142                $al_im =  "<a href= 'javascrip t: void(0) ;' OnClick =\"javascr ipt: alert ('". _t("_ Sorry, use r is OFFLI NE") ."');  return fa lse;\"";   141                $al_im =  "<a href= 'javascrip t: void(0) ;' OnClick =\"javascr ipt: alert ('". _t("_ Sorry, use r is OFFLI NE") ."');  return fa lse;\"";
143           }   142           }
144     143  
145           if  ( $pa_ico n_preload  )   144           if  ( $pa_ico n_preload  )
146                $al_im . = "onMouse Out =\"jav ascript: i 06$p_arr[I D].src='$s ite[images ]pa_im.gif ';\"";   145                $al_im . = "onMouse Out =\"jav ascript: i 06$p_arr[I D].src='$s ite[images ]pa_im.gif ';\"";
147     146  
148           $a l_im .= "> ";   147           $a l_im .= "> ";
149     148  
150            $file_icon   =   $dir['root ']   ."template s/tmpl_".$ tmpl."/ima ges/pa_im. gif";   149            $file_icon   =   BX_DIRECTO RY_PATH_RO OT   ."template s/tmpl_".$ tmpl."/ima ges/pa_im. gif";
151           if  ( file_ex ists( $fil e_icon ) )   150           if  ( file_ex ists( $fil e_icon ) )
152                $ai_im . = $al_im . "<img name =i06$p_arr [ID] src=\ "". $site[ 'images'].  "pa_im.gi f\" border =0></a>";   151                $ai_im . = $al_im . "<img name =i06$p_arr [ID] src=\ "". $site[ 'images'].  "pa_im.gi f\" border =0></a>";
153           $a l_im .= _t ("_chat no w") ."</a> ";   152           $a l_im .= _t ("_chat no w") ."</a> ";
154       }   153       }
155    Standard  IM comment ed out */   154    Standard  IM comment ed out */
156     155  
157   /* View Pr ofile comm ented out   156   /* View Pr ofile comm ented out
158           $a i_viewprof  = "<img a lt=\""._t( "_View Pro file")."\"  name=i00$ p_arr[ID]  src=\"$sit e[images]p a_profile. gif\" bord er=0>";   157           $a i_viewprof  = "<img a lt=\""._t( "_View Pro file")."\"  name=i00$ p_arr[ID]  src=\"$sit e[images]p a_profile. gif\" bord er=0>";
159           $a l_viewprof  = "<a hre f=\"$p_arr [NickName] \"";   158           $a l_viewprof  = "<a hre f=\"$p_arr [NickName] \"";
160     159  
161           if  ( $pa_ico n_preload  )   160           if  ( $pa_ico n_preload  )
162           {   161           {
163            $ al_viewpro f.="onMous eOver=\"ja vascript:i 00$p_arr[I D].src='$s ite[images ]pa_profil e2.gif';\" ";   162            $ al_viewpro f.="onMous eOver=\"ja vascript:i 00$p_arr[I D].src='$s ite[images ]pa_profil e2.gif';\" ";
164            $ al_viewpro f.="onMous eOut =\"ja vascript:i 00$p_arr[I D].src='$s ite[images ]pa_profil e.gif';\"" ;   163            $ al_viewpro f.="onMous eOut =\"ja vascript:i 00$p_arr[I D].src='$s ite[images ]pa_profil e.gif';\"" ;
165           }   164           }
166           $a l_viewprof  .= ">";   165           $a l_viewprof  .= ">";
167           $a i_viewprof  = $al_vie wprof.$ai_ viewprof." </a>";   166           $a i_viewprof  = $al_vie wprof.$ai_ viewprof." </a>";
168           $a l_viewprof  .= _t("_V iew Profil e")."</a>" ;   167           $a l_viewprof  .= _t("_V iew Profil e")."</a>" ;
169    View Prof ile commen ted out */   168    View Prof ile commen ted out */
170     169  
171   //--- Gree ting start  ---//   170   //--- Gree ting start  ---//
172     171  
173           $c hechAction Res = chec kAction($m ember['ID' ], ACTION_ ID_SEND_VK ISS);   172           $c hechAction Res = chec kAction($m ember['ID' ], ACTION_ ID_SEND_VK ISS);
174           if ( ( $chech ActionRes[ CHECK_ACTI ON_RESULT]  == CHECK_ ACTION_RES ULT_ALLOWE D )  && (  $member['I D'] != $p_ arr['ID']  ) )   173           if ( ( $chech ActionRes[ CHECK_ACTI ON_RESULT]  == CHECK_ ACTION_RES ULT_ALLOWE D )  && (  $member['I D'] != $p_ arr['ID']  ) )
175           {   174           {
176                $ai_kiss  = "<img a lt=\"" . _ t("_Greet" ) . "\" cl ass=\"link s_image\"  name=i01$p _arr[ID] s rc=\"" . $ site['url' ] . "templ ates/tmpl_ " . $tmpl  . "/images /icons/act ion_greet_ small.gif\ " />";   175                $ai_kiss  = "<img a lt=\"" . _ t("_Greet" ) . "\" cl ass=\"link s_image\"  name=i01$p _arr[ID] s rc=\"" . $ site['url' ] . "templ ates/tmpl_ " . $tmpl  . "/images /icons/act ion_greet_ small.gif\ " />";
177                $al_kiss  = '<a tar get=_blank  href="gre et.php?sen dto=' . $p _arr[ID] .  '"';   176                $al_kiss  = '<a tar get=_blank  href="gre et.php?sen dto=' . $p _arr[ID] .  '"';
178                if ( $pa _icon_prel oad )   177                if ( $pa _icon_prel oad )
179                {   178                {
180                    $al_ kiss.="onM ouseOver=\ "javascrip t: i01$p_a rr[ID].src ='$site[im ages]pa_ki ss2.gif';\ "";   179                    $al_ kiss.="onM ouseOver=\ "javascrip t: i01$p_a rr[ID].src ='$site[im ages]pa_ki ss2.gif';\ "";
181                    $al_ kiss.="onM ouseOut =\ "javascrip t: i01$p_a rr[ID].src ='$site[im ages]pa_ki ss.gif';\" ";   180                    $al_ kiss.="onM ouseOut =\ "javascrip t: i01$p_a rr[ID].src ='$site[im ages]pa_ki ss.gif';\" ";
182                }   181                }
183                $al_kiss  .= ">";   182                $al_kiss  .= ">";
184                $al_kiss  = "<span  class=\"li nks_span\" >" . $ai_k iss . $al_ kiss . _t( "_Greet"). "</a></spa n>";   183                $al_kiss  = "<span  class=\"li nks_span\" >" . $ai_k iss . $al_ kiss . _t( "_Greet"). "</a></spa n>";
185           }   184           }
186           el se   185           el se
187           {   186           {
188                $al_kiss  =  '';    187                $al_kiss  =  ''; 
189           }   188           }
190              189           
191   //--- Gree ting end - --//   190   //--- Gree ting end - --//
192     191  
193   //--- Cont act start  ---//   192   //--- Cont act start  ---//
194     193  
195           $c hechAction Res = chec kAction($m ember['ID' ], ACTION_ ID_SEND_ME SSAGE);   194           $c hechAction Res = chec kAction($m ember['ID' ], ACTION_ ID_SEND_ME SSAGE);
196           if ( ( $chech ActionRes[ CHECK_ACTI ON_RESULT]  == CHECK_ ACTION_RES ULT_ALLOWE D )  && (  $member['I D'] != $p_ arr['ID']  ) )   195           if ( ( $chech ActionRes[ CHECK_ACTI ON_RESULT]  == CHECK_ ACTION_RES ULT_ALLOWE D )  && (  $member['I D'] != $p_ arr['ID']  ) )
197           {   196           {
198                $ai_send msg  = "<i mg alt=\"" ._t("_SEND _MESSAGE") ."\" name= i02$p_arr[ ID] src=\" $site[url] templates/ tmpl_$tmpl /images/ic ons/action _send_smal l.gif\" cl ass=\"link s_image\"  />";   197                $ai_send msg  = "<i mg alt=\"" ._t("_SEND _MESSAGE") ."\" name= i02$p_arr[ ID] src=\" $site[url] templates/ tmpl_$tmpl /images/ic ons/action _send_smal l.gif\" cl ass=\"link s_image\"  />";
199                $al_send msg  = "<a  href=\"co mpose.php? ID=$p_arr[ ID]\"";   198                $al_send msg  = "<a  href=\"co mpose.php? ID=$p_arr[ ID]\"";
200                if ( $pa _icon_prel oad )   199                if ( $pa _icon_prel oad )
201                {   200                {
202                    $al_ sendmsg.=" onMouseOve r=\"javasc ript: i02$ p_arr[ID]. src='$site [images]pa _send2.gif ';\"";   201                    $al_ sendmsg.=" onMouseOve r=\"javasc ript: i02$ p_arr[ID]. src='$site [images]pa _send2.gif ';\"";
203                    $al_ sendmsg.=" onMouseOut  =\"javasc ript: i02$ p_arr[ID]. src='$site [images]pa _send.gif' ;\"";   202                    $al_ sendmsg.=" onMouseOut  =\"javasc ript: i02$ p_arr[ID]. src='$site [images]pa _send.gif' ;\"";
204                }   203                }
205                $al_send msg .= ">" ;   204                $al_send msg .= ">" ;
206                $al_send msg  = "<s pan class= \"links_sp an\">" . $ ai_sendmsg  . $al_sen dmsg . _t( "_Contact" )."</a></s pan>";   205                $al_send msg  = "<s pan class= \"links_sp an\">" . $ ai_sendmsg  . $al_sen dmsg . _t( "_Contact" )."</a></s pan>";
207           }   206           }
208           el se   207           el se
209           {   208           {
210                $al_send msg = '';   209                $al_send msg = '';
211           }   210           }
212              211           
213   //--- Cont act end -- -//        212   //--- Cont act end -- -//     
214     213  
215           if  ( $logged ['member']  )   214           if  ( $logged ['member']  )
216           {   215           {
217                $ai_hot   ="<img al t=\""._t(" _hot membe r")."\" na me=i03$p_a rr[ID] src =\"$site[i mages]pa_h ot.gif\" b order=0>";   216                $ai_hot   ="<img al t=\""._t(" _hot membe r")."\" na me=i03$p_a rr[ID] src =\"$site[i mages]pa_h ot.gif\" b order=0>";
218                $al_hot   ="<a href =\"javascr ipt:void(0 );\" onCli ck=\"javas cript:wind ow.open( ' list_pop.p hp?action= hot&ID=".$ p_arr['ID' ]."', '',  'width=280 ,height=20 0,menubar= no,status= no,resizab le=no,scro llbars=yes ,toolbar=n o, locatio n=no' );\" ";   217                $al_hot   ="<a href =\"javascr ipt:void(0 );\" onCli ck=\"javas cript:wind ow.open( ' list_pop.p hp?action= hot&ID=".$ p_arr['ID' ]."', '',  'width=280 ,height=20 0,menubar= no,status= no,resizab le=no,scro llbars=yes ,toolbar=n o, locatio n=no' );\" ";
219                if ( $pa _icon_prel oad )   218                if ( $pa _icon_prel oad )
220                {   219                {
221                 $al_hot .="onMouse Over=\"jav ascript: i 03$p_arr[I D].src='$s ite[images ]pa_hot2.g if';\"";   220                 $al_hot .="onMouse Over=\"jav ascript: i 03$p_arr[I D].src='$s ite[images ]pa_hot2.g if';\"";
222                 $al_hot .="onMouse Out =\"jav ascript: i 03$p_arr[I D].src='$s ite[images ]pa_hot.gi f';\"";   221                 $al_hot .="onMouse Out =\"jav ascript: i 03$p_arr[I D].src='$s ite[images ]pa_hot.gi f';\"";
223                }   222                }
224                $al_hot  .= ">";   223                $al_hot  .= ">";
225                $ai_hot   = $al_hot .$ai_hot." </a>";   224                $ai_hot   = $al_hot .$ai_hot." </a>";
226                $al_hot  .= _t("_ho t member") ."</a>";   225                $al_hot  .= _t("_ho t member") ."</a>";
227     226  
228                $ai_frie nd  ="<img  alt=\""._ t("_friend  member"). "\" name=i 03$p_arr[I D] src=\"$ site[image s]pa_frien d.gif\" bo rder=0>";   227                $ai_frie nd  ="<img  alt=\""._ t("_friend  member"). "\" name=i 03$p_arr[I D] src=\"$ site[image s]pa_frien d.gif\" bo rder=0>";
229                $al_frie nd  ="<a h ref=\"java script:voi d(0);\" on Click=\"ja vascript:w indow.open ( 'list_po p.php?acti on=friend& ID=".$p_ar r['ID']."' , '', 'wid th=280,hei ght=200,me nubar=no,s tatus=no,r esizable=n o,scrollba rs=yes,too lbar=no, l ocation=no ' );\"";   228                $al_frie nd  ="<a h ref=\"java script:voi d(0);\" on Click=\"ja vascript:w indow.open ( 'list_po p.php?acti on=friend& ID=".$p_ar r['ID']."' , '', 'wid th=280,hei ght=200,me nubar=no,s tatus=no,r esizable=n o,scrollba rs=yes,too lbar=no, l ocation=no ' );\"";
230                if ( $pa _icon_prel oad )   229                if ( $pa _icon_prel oad )
231                {   230                {
232                 $al_fri end.="onMo useOver=\" javascript : i03$p_ar r[ID].src= '$site[ima ges]pa_fri end2.gif'; \"";   231                 $al_fri end.="onMo useOver=\" javascript : i03$p_ar r[ID].src= '$site[ima ges]pa_fri end2.gif'; \"";
233                 $al_fri end.="onMo useOut =\" javascript : i03$p_ar r[ID].src= '$site[ima ges]pa_fri end.gif';\ "";   232                 $al_fri end.="onMo useOut =\" javascript : i03$p_ar r[ID].src= '$site[ima ges]pa_fri end.gif';\ "";
234                }   233                }
235                $al_frie nd .= ">";   234                $al_frie nd .= ">";
236                $ai_frie nd  = $al_ friend.$ai _friend."< /a>";   235                $ai_frie nd  = $al_ friend.$ai _friend."< /a>";
237                $al_frie nd .= _t(" _friend me mber")."</ a>";   236                $al_frie nd .= _t(" _friend me mber")."</ a>";
238     237  
239                $ai_bloc k  ="<img  alt=\""._t ("_block m ember")."\ " name=i04 $p_arr[ID]  src=\"$si te[images] pa_block.g if\" borde r=0>";   238                $ai_bloc k  ="<img  alt=\""._t ("_block m ember")."\ " name=i04 $p_arr[ID]  src=\"$si te[images] pa_block.g if\" borde r=0>";
240                $al_bloc k  ="<a hr ef=\"javas cript:void (0);\" onC lick=\"jav ascript:wi ndow.open(  'list_pop .php?actio n=block&ID =".$p_arr[ 'ID']."',  '', 'width =280,heigh t=200,menu bar=no,sta tus=no,res izable=no, scrollbars =yes,toolb ar=no, loc ation=no'  );\"";   239                $al_bloc k  ="<a hr ef=\"javas cript:void (0);\" onC lick=\"jav ascript:wi ndow.open(  'list_pop .php?actio n=block&ID =".$p_arr[ 'ID']."',  '', 'width =280,heigh t=200,menu bar=no,sta tus=no,res izable=no, scrollbars =yes,toolb ar=no, loc ation=no'  );\"";
241                if ( $pa _icon_prel oad )   240                if ( $pa _icon_prel oad )
242                {   241                {
243                 $al_blo ck.="onMou seOver=\"j avascript:  i04$p_arr [ID].src=' $site[imag es]pa_bloc k2.gif';\" ";   242                 $al_blo ck.="onMou seOver=\"j avascript:  i04$p_arr [ID].src=' $site[imag es]pa_bloc k2.gif';\" ";
244                 $al_blo ck.="onMou seOut =\"j avascript:  i04$p_arr [ID].src=' $site[imag es]pa_bloc k.gif';\"" ;   243                 $al_blo ck.="onMou seOut =\"j avascript:  i04$p_arr [ID].src=' $site[imag es]pa_bloc k.gif';\"" ;
245                }   244                }
246                $al_bloc k .= ">";   245                $al_bloc k .= ">";
247                $ai_bloc k  = $al_b lock.$ai_b lock."</a> ";   246                $ai_bloc k  = $al_b lock.$ai_b lock."</a> ";
248                $al_bloc k .= _t("_ block memb er")."</a> ";   247                $al_bloc k .= _t("_ block memb er")."</a> ";
249           }   248           }
250              249           
251   //--- Fave  Start --- //   250   //--- Fave  Start --- //
252     251  
253       if( $l ogged['mem ber'] && $ member['ID '] != $p_a rr['ID'] )   252       if( $l ogged['mem ber'] && $ member['ID '] != $p_a rr['ID'] )
254       {   253       {
255           $a i_fave  =  "<img alt= \"" . _t(" _Fave") .  "\" class= \"links_im age\" name =i03$p_arr [ID] src=\ "$site[url ]templates /tmpl_$tmp l/images/i cons/actio n_fave_sma ll.gif\" / >";   254           $a i_fave  =  "<img alt= \"" . _t(" _Fave") .  "\" class= \"links_im age\" name =i03$p_arr [ID] src=\ "$site[url ]templates /tmpl_$tmp l/images/i cons/actio n_fave_sma ll.gif\" / >";
256           $a l_fave  =  "<a href=\ "javascrip t:void(0); \" onclick =\"window. open( 'lis t_pop.php? action=hot &amp;ID=$p rofileID',     '', 'w idth={$oTe mplConfig  -> popUpWi ndowWidth} ,height={$ oTemplConf ig -> popU pWindowHei ght},menub ar=no,stat us=no,resi zable=no,s crollbars= yes,toolba r=no,locat ion=no' ); \">";   255           $a l_fave  =  "<a href=\ "javascrip t:void(0); \" onclick =\"window. open( 'lis t_pop.php? action=hot &amp;ID=$p rofileID',     '', 'w idth={$oTe mplConfig  -> popUpWi ndowWidth} ,height={$ oTemplConf ig -> popU pWindowHei ght},menub ar=no,stat us=no,resi zable=no,s crollbars= yes,toolba r=no,locat ion=no' ); \">";
257           $a l_fave = ' <span clas s="links_s pan">' . $ ai_fave .  $al_fave .  _t("_Fave ") . "</a> </span>";   256           $a l_fave = ' <span clas s="links_s pan">' . $ ai_fave .  $al_fave .  _t("_Fave ") . "</a> </span>";
258       }   257       }
259       else   258       else
260       {   259       {
261           $a l_fave = ' ';   260           $a l_fave = ' ';
262       }   261       }
263     262  
264   //--- Fave  End ---//   263   //--- Fave  End ---//
265          264       
266       $more  = '<a href ="' . getP rofileLink ( $p_arr[' ID'] ) . ' " target=" _blank">';   265       $more  = '<a href ="' . getP rofileLink ( $p_arr[' ID'] ) . ' " target=" _blank">';
267           $m ore .= '<i mg src="'  . $site['i cons'] . ' desc_more. gif" alt=" ' . _t('_m ore') . '"  />';   266           $m ore .= '<i mg src="'  . $site['i cons'] . ' desc_more. gif" alt=" ' . _t('_m ore') . '"  />';
268       $more  .= '</a>';   267       $more  .= '</a>';
269     268  
270       $enabl e_more_pho tos = ( 'o n' == getP aram("more _photos_on _searchrow ")) ? 1 :  0;   269       $enabl e_more_pho tos = ( 'o n' == getP aram("more _photos_on _searchrow ")) ? 1 :  0;
271       if( $e nable_more _photos )   270       if( $e nable_more _photos )
272       {   271       {
273           $m ore_photos  = '';   272           $m ore_photos  = '';
274           fo r( $i=1 ;  $i<=$pic_n um; ++$i )   273           fo r( $i=1 ;  $i<=$pic_n um; ++$i )
275           {   274           {
276                if( $p_a rr['Pic_'  . $i . '_a ddon'] > 0  )   275                if( $p_a rr['Pic_'  . $i . '_a ddon'] > 0  )
277                {   276                {
278                    $pho to_counter  ++;   277                    $pho to_counter  ++;
279                }   278                }
280           }   279           }
281           if ( ( 0 < $p hoto_count er ) && (  $logged['a dmin'] ||  $check_res [CHECK_ACT ION_RESULT ] == CHECK _ACTION_RE SULT_ALLOW ED ) )   280           if ( ( 0 < $p hoto_count er ) && (  $logged['a dmin'] ||  $check_res [CHECK_ACT ION_RESULT ] == CHECK _ACTION_RE SULT_ALLOW ED ) )
282           {   281           {
283                $more_ph otos = '<a  href="jav ascript:vo id(0);" on Click="jav ascript: g et_gallery (' . $p_ar r['ID'] .  ');" class ="search_m ore_photo" >';   282                $more_ph otos = '<a  href="jav ascript:vo id(0);" on Click="jav ascript: g et_gallery (' . $p_ar r['ID'] .  ');" class ="search_m ore_photo" >';
284                    $mor e_photos . = $photo_c ounter . ' &nbsp;' .  _t("_More  Photos");   283                    $mor e_photos . = $photo_c ounter . ' &nbsp;' .  _t("_More  Photos");
285                $more_ph otos .= '< /a>';   284                $more_ph otos .= '< /a>';
286           }   285           }
287           el se   286           el se
288           {   287           {
289                $more_ph otos = '';   288                $more_ph otos = '';
290           }   289           }
291       }   290       }
292     291  
293       // --- ---------  [end] temp late varia bles ----- ---------   292       // --- ---------  [end] temp late varia bles ----- ---------
294       if ($a CoupleInfo ) {   293       if ($a CoupleInfo ) {
295           //  profile N ick/Age/Se x etc.   294           //  profile N ick/Age/Se x etc.
296           $n ick2 = '<a  href="' .  getProfil eLink( $aC oupleInfo[ 'ID'] ) .  '">' . $aC oupleInfo[ 'NickName' ] . '</a>' ;   295           $n ick2 = '<a  href="' .  getProfil eLink( $aC oupleInfo[ 'ID'] ) .  '">' . $aC oupleInfo[ 'NickName' ] . '</a>' ;
297     296  
298           $a ge_str2 =  ($aCoupleI nfo['DateO fBirth'] ! = "0000-00 -00" ? (_t ("_y/o", a ge( $aCoup leInfo['Da teOfBirth' ] )) .' ')  : "");   297           $a ge_str2 =  ($aCoupleI nfo['DateO fBirth'] ! = "0000-00 -00" ? (_t ("_y/o", a ge( $aCoup leInfo['Da teOfBirth' ] )) .' ')  : "");
299           $a ge_only2 =  ($aCouple Info['Date OfBirth']  != "0000-0 0-00" ? (  age( $aCou pleInfo['D ateOfBirth '] )) : "" );   298           $a ge_only2 =  ($aCouple Info['Date OfBirth']  != "0000-0 0-00" ? (  age( $aCou pleInfo['D ateOfBirth '] )) : "" );
300           $y _o_sex2 =  $age_str2  . _t("_".$ aCoupleInf o['Sex']);   299           $y _o_sex2 =  $age_str2  . _t("_".$ aCoupleInf o['Sex']);
301     300  
302           $c ity2 =  _t ("_City"). ": ".proce ss_line_ou tput($aCou pleInfo['C ity']);   301           $c ity2 =  _t ("_City"). ": ".proce ss_line_ou tput($aCou pleInfo['C ity']);
303           $c ountry2 =  _t("_Count ry").": ". _t($aPreVa lues['Coun try'][$aCo upleInfo[' Country']] ['LKey']). '&nbsp;<im g src="'.  ($site['fl ags'].strt olower($aC oupleInfo[ 'Country'] )) .'.gif"  alt="flag " />';   302           $c ountry2 =  _t("_Count ry").": ". _t($aPreVa lues['Coun try'][$aCo upleInfo[' Country']] ['LKey']). '&nbsp;<im g src="'.  ($site['fl ags'].strt olower($aC oupleInfo[ 'Country'] )) .'.gif"  alt="flag " />';
304           $c ity_con2 =  process_l ine_output ($aCoupleI nfo['City' ]).", "._t ($aPreValu es['Countr y'][$aCoup leInfo['Co untry']][' LKey']).'& nbsp;<img  src="'. ($ site['flag s'].strtol ower($aCou pleInfo['C ountry']))  .'.gif" a lt="flag"  />';   303           $c ity_con2 =  process_l ine_output ($aCoupleI nfo['City' ]).", "._t ($aPreValu es['Countr y'][$aCoup leInfo['Co untry']][' LKey']).'& nbsp;<img  src="'. ($ site['flag s'].strtol ower($aCou pleInfo['C ountry']))  .'.gif" a lt="flag"  />';
305           $o ccupation2  = process _line_outp ut($aCoupl eInfo['Occ upation']) ;   304           $o ccupation2  = process _line_outp ut($aCoupl eInfo['Occ upation']) ;
306           $c hildren2 =  ($aCouple Info['Chil dren'] ? ( $aCoupleIn fo['Childr en']." "._ t("_childr en")) : "" );   305           $c hildren2 =  ($aCouple Info['Chil dren'] ? ( $aCoupleIn fo['Childr en']." "._ t("_childr en")) : "" );
307           $i d2 = _t("_ ID").": ". $aCoupleIn fo['ID'];   306           $i d2 = _t("_ ID").": ". $aCoupleIn fo['ID'];
308     307  
309           //  descripti on   308           //  descripti on
310           $i _am2 = _t( "_I am");   309           $i _am2 = _t( "_I am");
311           $i _am_desc2  = process_ smiles( st rip_tags(  process_te xt_output(  $aCoupleI nfo['Descr iptionMe']  ), '<img> ' ) ) . ". ..";   310           $i _am_desc2  = process_ smiles( st rip_tags(  process_te xt_output(  $aCoupleI nfo['Descr iptionMe']  ), '<img> ' ) ) . ". ..";
312           $y ou_are2 =  _t("_You a re");   311           $y ou_are2 =  _t("_You a re");
313           $y ou_are_des c2 = proce ss_smiles( process_te xt_output( $aCoupleIn fo['Descri ptionYou'] ))."... <a  href=\"". getProfile Link($aCou pleInfo['I D'])."\">" ._t("_more ")."</a>";   312           $y ou_are_des c2 = proce ss_smiles( process_te xt_output( $aCoupleIn fo['Descri ptionYou'] ))."... <a  href=\"". getProfile Link($aCou pleInfo['I D'])."\">" ._t("_more ")."</a>";
314     313  
315           $s City2 = $a CoupleInfo ['City'];   314           $s City2 = $a CoupleInfo ['City'];
316     315  
317           $t empl = str _replace (  "__add_st yle_c1__",  'float:le ft;width:3 1%;margin- right:10px ;', $templ  );   316           $t empl = str _replace (  "__add_st yle_c1__",  'float:le ft;width:3 1%;margin- right:10px ;', $templ  );
318           $t empl = str _replace (  "__add_st yle_c2__",  'float:le ft;width:3 1%;display :block;',  $templ );   317           $t empl = str _replace (  "__add_st yle_c2__",  'float:le ft;width:3 1%;display :block;',  $templ );
319     318  
320           $t empl = str _replace (  "__nick2_ _", $nick2 , $templ ) ;   319           $t empl = str _replace (  "__nick2_ _", $nick2 , $templ ) ;
321           $t empl = str _replace (  "__age_se x2__", $y_ o_sex2, $t empl );   320           $t empl = str _replace (  "__age_se x2__", $y_ o_sex2, $t empl );
322     321  
323           $t empl = str _replace (  "__city_c on2__", $c ity_con2,  $templ );   322           $t empl = str _replace (  "__city_c on2__", $c ity_con2,  $templ );
324           $t empl = str _replace (  "__i_am_d esc2__", $ i_am_desc2 , $templ ) ;   323           $t empl = str _replace (  "__i_am_d esc2__", $ i_am_desc2 , $templ ) ;
325     324  
326           if ( $logged[ 'member']  && ( $memb er['ID'] ! = $aCouple Info['ID']  ) && getP aram( 'ena ble_match'  ) ) {   325           if ( $logged[ 'member']  && ( $memb er['ID'] ! = $aCouple Info['ID']  ) && getP aram( 'ena ble_match'  ) ) {
327                $templ =  str_repla ce ( "__ma tch2__", g etProfileM atch( $mem ber['ID'],  $aCoupleI nfo['ID']  ), $templ  );   326                $templ =  str_repla ce ( "__ma tch2__", g etProfileM atch( $mem ber['ID'],  $aCoupleI nfo['ID']  ), $templ  );
328           }  else {   327           }  else {
329                $templ =  str_repla ce ( "__ma tch2__", ' ', $templ  );   328                $templ =  str_repla ce ( "__ma tch2__", ' ', $templ  );
330           }   329           }
331     330  
332       } else  {   331       } else  {
333           $t empl = str _replace (  "__add_st yle_c1__",  '', $temp l );   332           $t empl = str _replace (  "__add_st yle_c1__",  '', $temp l );
334           $t empl = str _replace (  "__add_st yle_c2__",  'display: none;', $t empl );   333           $t empl = str _replace (  "__add_st yle_c2__",  'display: none;', $t empl );
335           $t empl = str _replace (  "__match2 __", '', $ templ );   334           $t empl = str _replace (  "__match2 __", '', $ templ );
336       }   335       }
337     336  
338     337  
339       // rep lace templ ate variab les   338       // rep lace templ ate variab les
340       $templ  = str_rep lace ( "__ row_title_ _", proces s_line_out put($p_arr [Headline] ), $templ  );   339       $templ  = str_rep lace ( "__ row_title_ _", proces s_line_out put($p_arr [Headline] ), $templ  );
341       $templ  = str_rep lace ( "__ n__", $iNu mber, $tem pl );   340       $templ  = str_rep lace ( "__ n__", $iNu mber, $tem pl );
342       if (is set($p_arr ['Couple'] ) && $p_ar r['Couple' ] > 0) {   341       if (is set($p_arr ['Couple'] ) && $p_ar r['Couple' ] > 0) {
343           $i MaxThumbWi dth = getP aram('max_ thumb_widt h');   342           $i MaxThumbWi dth = getP aram('max_ thumb_widt h');
344           $i NewWidth =  2 * ( $iM axThumbWid th + 10 +  2 ) ;   343           $i NewWidth =  2 * ( $iM axThumbWid th + 10 +  2 ) ;
345           $t empl = str _replace (  "__ext_st __", 'styl e="width:'  . $iNewWi dth . 'px; "', $templ  );   344           $t empl = str _replace (  "__ext_st __", 'styl e="width:'  . $iNewWi dth . 'px; "', $templ  );
346       } else  {   345       } else  {
347           $i MaxThumbWi dth = getP aram('max_ thumb_widt h');   346           $i MaxThumbWi dth = getP aram('max_ thumb_widt h');
348           $i NewWidth =  1 * ( $iM axThumbWid th +12 ) ;   347           $i NewWidth =  1 * ( $iM axThumbWid th +12 ) ;
349           $t empl = str _replace (  "__ext_st __", 'styl e="width:'  . $iNewWi dth . 'px; "', $templ  );   348           $t empl = str _replace (  "__ext_st __", 'styl e="width:'  . $iNewWi dth . 'px; "', $templ  );
350       }   349       }
351       //$tem pl = str_r eplace ( " __ext_st__ ", '', $te mpl );   350       //$tem pl = str_r eplace ( " __ext_st__ ", '', $te mpl );
352       $templ  = str_rep lace ( "__ thumbnail_ _", $thumb nail, $tem pl );   351       $templ  = str_rep lace ( "__ thumbnail_ _", $thumb nail, $tem pl );
353       $templ  = str_rep lace ( "__ launch_ray _im__", $l aunch_ray_ im, $templ  );   352       $templ  = str_rep lace ( "__ launch_ray _im__", $l aunch_ray_ im, $templ  );
354     353  
355       // mat ch progres s bar   354       // mat ch progres s bar
356       if( $l ogged['mem ber'] && (  $member[' ID'] != $p _arr['ID']  ) && getP aram( 'ena ble_match'  ) )   355       if( $l ogged['mem ber'] && (  $member[' ID'] != $p _arr['ID']  ) && getP aram( 'ena ble_match'  ) )
357       {   356       {
358           $t empl = str _replace (  "__match_ _", getPro fileMatch(  $member[' ID'], $p_a rr['ID'] ) , $templ ) ;   357           $t empl = str _replace (  "__match_ _", getPro fileMatch(  $member[' ID'], $p_a rr['ID'] ) , $templ ) ;
359       }   358       }
360       else   359       else
361       {   360       {
362           $t empl = str _replace (  "__match_ _", '', $t empl );   361           $t empl = str _replace (  "__match_ _", '', $t empl );
363       }   362       }
364     363  
365     364  
366       $templ  = str_rep lace ( "__ nick__", $ nick, $tem pl );   365       $templ  = str_rep lace ( "__ nick__", $ nick, $tem pl );
367       $templ  = str_rep lace ( "__ age_sex__" , $y_o_sex , $templ ) ;   366       $templ  = str_rep lace ( "__ age_sex__" , $y_o_sex , $templ ) ;
368       $templ  = str_rep lace ( "__ city__", $ city, $tem pl );   367       $templ  = str_rep lace ( "__ city__", $ city, $tem pl );
369       $templ  = str_rep lace ( "__ just_city_ _", $sCity , $templ ) ;   368       $templ  = str_rep lace ( "__ just_city_ _", $sCity , $templ ) ;
370       $templ  = str_rep lace ( "__ just_age__ ", $age_on ly, $templ  );   369       $templ  = str_rep lace ( "__ just_age__ ", $age_on ly, $templ  );
371     370  
372     371  
373       $templ  = str_rep lace ( "__ city_con__ ", $city_c on, $templ  );   372       $templ  = str_rep lace ( "__ city_con__ ", $city_c on, $templ  );
374       $templ  = str_rep lace ( "__ country__" , $country , $templ ) ;   373       $templ  = str_rep lace ( "__ country__" , $country , $templ ) ;
375       $templ  = str_rep lace ( "__ occupation __", $occu pation, $t empl );   374       $templ  = str_rep lace ( "__ occupation __", $occu pation, $t empl );
376       $templ  = str_rep lace ( "__ children__ ", $childr en, $templ  );   375       $templ  = str_rep lace ( "__ children__ ", $childr en, $templ  );
377       $templ  = str_rep lace ( "__ id__", $id , $templ ) ;   376       $templ  = str_rep lace ( "__ id__", $id , $templ ) ;
378     377  
379     378  
380       if ( $ enable_zod iac ) {   379       if ( $ enable_zod iac ) {
381           $t empl = str _replace (  "__zodiac _sign__",  getProfile Zodiac($p_ arr['DateO fBirth']),  $templ );   380           $t empl = str _replace (  "__zodiac _sign__",  getProfile Zodiac($p_ arr['DateO fBirth']),  $templ );
382       } else  {   381       } else  {
383           $t empl = str _replace (  "__zodiac _sign__",  "", $templ  );   382           $t empl = str _replace (  "__zodiac _sign__",  "", $templ  );
384       }   383       }
385     384  
386       $templ  = str_rep lace ( "__ i_am__", $ i_am, $tem pl );   385       $templ  = str_rep lace ( "__ i_am__", $ i_am, $tem pl );
387       $templ  = str_rep lace ( "__ i_am_desc_ _", $i_am_ desc, $tem pl );   386       $templ  = str_rep lace ( "__ i_am_desc_ _", $i_am_ desc, $tem pl );
388       $templ  = str_rep lace ( "__ you_are__" , $you_are , $templ ) ;   387       $templ  = str_rep lace ( "__ you_are__" , $you_are , $templ ) ;
389       $templ  = str_rep lace ( "__ you_are_de sc__", $yo u_are_desc , $templ ) ;   388       $templ  = str_rep lace ( "__ you_are_de sc__", $yo u_are_desc , $templ ) ;
390     389  
391       $templ  = str_rep lace ( "__ ai_im__",  $ai_im, $t empl );   390       $templ  = str_rep lace ( "__ ai_im__",  $ai_im, $t empl );
392       $templ  = str_rep lace ( "__ al_im__",  $al_im, $t empl );   391       $templ  = str_rep lace ( "__ al_im__",  $al_im, $t empl );
393       $templ  = str_rep lace ( "__ ai_viewpro f__", $ai_ viewprof,  $templ );   392       $templ  = str_rep lace ( "__ ai_viewpro f__", $ai_ viewprof,  $templ );
394       $templ  = str_rep lace ( "__ al_viewpro f__", $al_ viewprof,  $templ );   393       $templ  = str_rep lace ( "__ al_viewpro f__", $al_ viewprof,  $templ );
395       $templ  = str_rep lace ( "__ ai_kiss__" , $ai_kiss , $templ ) ;   394       $templ  = str_rep lace ( "__ ai_kiss__" , $ai_kiss , $templ ) ;
396       $templ  = str_rep lace ( "__ al_kiss__" , $al_kiss , $templ ) ;   395       $templ  = str_rep lace ( "__ al_kiss__" , $al_kiss , $templ ) ;
397       $templ  = str_rep lace ( "__ ai_sendmsg __", $ai_s endmsg, $t empl );   396       $templ  = str_rep lace ( "__ ai_sendmsg __", $ai_s endmsg, $t empl );
398       $templ  = str_rep lace ( "__ al_sendmsg __", $al_s endmsg, $t empl );   397       $templ  = str_rep lace ( "__ al_sendmsg __", $al_s endmsg, $t empl );
399       $templ  = str_rep lace ( "__ ai_fave__" , $ai_fave , $templ ) ;   398       $templ  = str_rep lace ( "__ ai_fave__" , $ai_fave , $templ ) ;
400       $templ  = str_rep lace ( "__ al_fave__" , $al_fave , $templ ) ;   399       $templ  = str_rep lace ( "__ al_fave__" , $al_fave , $templ ) ;
401       $templ  = str_rep lace ( "__ ai_hot__",  $ai_hot,  $templ );   400       $templ  = str_rep lace ( "__ ai_hot__",  $ai_hot,  $templ );
402       $templ  = str_rep lace ( "__ al_hot__",  $al_hot,  $templ );   401       $templ  = str_rep lace ( "__ al_hot__",  $al_hot,  $templ );
403       $templ  = str_rep lace ( "__ ai_block__ ", $ai_blo ck, $templ  );   402       $templ  = str_rep lace ( "__ ai_block__ ", $ai_blo ck, $templ  );
404       $templ  = str_rep lace ( "__ al_block__ ", $al_blo ck, $templ  );   403       $templ  = str_rep lace ( "__ al_block__ ", $al_blo ck, $templ  );
405       $templ  = str_rep lace ( "__ from__", _ t("_from") , $templ ) ;   404       $templ  = str_rep lace ( "__ from__", _ t("_from") , $templ ) ;
406       $templ  = str_rep lace ( "__ more__", $ more, $tem pl );   405       $templ  = str_rep lace ( "__ more__", $ more, $tem pl );
407       $templ  = str_rep lace ( "__ more_photo s__", $mor e_photos,  $templ );   406       $templ  = str_rep lace ( "__ more_photo s__", $mor e_photos,  $templ );
408       $templ  = str_rep lace ( "__ images__",  $site['im ages'], $t empl );   407       $templ  = str_rep lace ( "__ images__",  $site['im ages'], $t empl );
409       if ( f unction_ex ists( 'col ors_select ' ) )   408       if ( f unction_ex ists( 'col ors_select ' ) )
410           $t empl = str _replace (  "__design BoxColor__ ", colors_ select(),  $templ );   409           $t empl = str _replace (  "__design BoxColor__ ", colors_ select(),  $templ );
411     410  
412       return  $templ;   411       return  $templ;
413     412  
414   }   413   }
415     414  
416     415  
417   ?>   416   ?>