You can try this,
Edit templates/tmpl_uni/page_1.html
From:
__include _header.html__
__promo_code__
__page_main_code__
__include _footer.html__
Edit to:
__include _header.html__
__promo_code__
<div class="disignBoxFirst">
<div class="boxFirstHeader">Female Members</div>
<div class="boxContent">
<div class="clear_both"></div>
__female__
<div class="clear_both"></div>
</div>
</div>
<div class="clear_both"></div>
__page_main_code__
__include _footer.html__
Edit index.php
Add below $_page_cont[$_ni]['promo_code'] = getPromoCode();
$_page_cont[$_ni]['female'] = getFemaleUsers();
Edit inc/design.inc.php
Find this line (at the end of file)
// ----------------------------------- site statistick functions --------------------------------------//
Add code below above this line
/**
* Female members on homepage below promo code
*/
function getFemaleUsers() {
global $site;
global $aPreValues;
global $getBlockCode_Female_db_num;
global $max_thumb_width;
global $max_thumb_height;
global $oTemplConfig;
$female_num = '7';
if ( $female_num )
{
$female_res = db_res( "SELECT `ID`, `NickName`, `DateOfBirth`, `Country`
FROM `Profiles`
WHERE `Sex` = 'female' AND `Couple` = '0' AND `Picture` = '1' AND `Status` = 'Active'
ORDER BY RAND()
LIMIT $female_num" );
$ret .= '<div class="clear_both"></div>';
if( mysql_num_rows( $female_res ) > 0 )
{
$j=1;
while( $female_arr = mysql_fetch_assoc( $female_res ) )
{
$female_country = _t($aPreValues['Country'][$female_arr['Country']]['LKey']);
$female_flag = ' <img src="'. ($site['flags'].strtolower($female_arr['Country'])) .'.gif" alt="flag" />';
$ret .= '<div class="featured_block_1">';
$ret .= get_member_thumbnail( $female_arr['ID'], 'none' );
$ret .= '<center>';
$ret .= '<a href="' . getProfileLink( $female_arr['ID'] ) . '">';
$ret .= process_line_output( $female_arr['NickName'] );
$ret .= '</a>';
$ret .= ", ";
$ret .= age( $female_arr['DateOfBirth'] );
$ret .= '<br />';
$ret .= $female_country;
$ret .= $female_flag;
$ret .= '</center>';
$ret .= '<br />';
$ret .= '</div>';
$j++;
}
}
else
{
$ret .= '<div class="no_result">';
$ret .= '<div>';
$ret .= _t("_No results found");
$ret .= '</div>';
$ret .= '</div>';
}
$ret .= '<div class="clear_both"></div>';
}
return $ret;
}
-------------------------------------------------
Edit code to what you will have there