Add the following to index.php:
Below:
Code:
$members_online = get_users_online_number();
Add:
Code:
// number of Single Male Members
$male_single_arr = db_arr( 'SELECT COUNT(ID) FROM Profiles where ProfileType = "Single" AND sex = "male" ' );
// number of Single Female Members
$female_single_arr = db_arr( 'SELECT COUNT(ID) FROM Profiles where ProfileType = "Single" AND sex = "female" ' );
// number of Couple Profiles
$couple_arr = db_arr( 'SELECT COUNT(ID) FROM Profiles where ProfileType = "Couple" ' );
Below:
Code:
$out .= "<tr><td width=17 align='right'><img src=$site[images]us6.gif></td><td width=100% align=\"left\"> "._t("_Total")." - $total_arr[0]</td></tr>\n";
Add:
Code:
//show Female, Male & Couple Numbers
$out .= "<tr><td width=17 align='right'><img src='$site[images]us2.gif'></td><td width=100% align=\"left\"> "._t("_Female")." - $male_single_arr[0]</td></tr>\n";
$out .= "<tr><td width=17 align='right'><img src='$site[images]us3.gif'></td><td width=100% align=\"left\"> "._t("_Male")." - $female_single_arr[0] </td></tr>\n";
$out .= "<tr><td width=17 align='right'><img src='$site[images]us3.gif'></td><td width=100% align=\"left\"> "._t("_Couple")." - $couple_arr[0] </td></tr>\n";
In your English-lang.php add
Code:
case '_Couple': return 'Couple';
Can be seen in action at
http://www.adultonlydating.com/index1.php
Bookmarks