"._TEXTSEX."
";
list($numrows) = $db->fetchRow($db->query("select sid, sextitle from ".$db->prefix("friendfinder_sex").""));
if ($numrows>0) {
$result = $db->query("select sid, sextitle from ".$db->prefix("friendfinder_sex")." order by sextitle");
echo ""._CLA_SELECTCAT." ";
while(list($sid, $sextitle) = $db->fetchRow($result)) {
echo "$sextitle ";
}
}
echo"
"._TEXTPSEX."
";
list($numrows) = $db->fetchRow($db->query("select sid, sextitle from ".$db->prefix("friendfinder_sex").""));
if ($numrows>0) {
$result = $db->query("select sid, sextitle from ".$db->prefix("friendfinder_sex")." order by sextitle");
echo ""._CLA_SELECTCAT." ";
while(list($sid, $sextitle) = $db->fetchRow($result)) {
echo "$sextitle ";
}
}
echo"
"._TEXTAGE."
"._AGEFROM."
"._AGETILL."
"._CATEGORY.':'."
";
list($numrows) = $db->fetchRow($db->query("select catid, cattitle from ".$db->prefix("friendfinder_category").""));
if ($numrows>0) {
$result = $db->query("select catid, cattitle from ".$db->prefix("friendfinder_category")." order by cattitle");
echo ""._CLA_SELECTCAT." ";
while(list($catid, $cattitle) = $db->fetchRow($result)) {
echo "$cattitle ";
}
}
echo"
"._TEXTREGION."
";
list($numrows) = $db->fetchRow($db->query("select cid, title from ".$db->prefix("friendfinder_state").""));
if ($numrows>0) {
$result = $db->query("select cid, title from ".$db->prefix("friendfinder_state")." order by title");
echo""._CLA_SELECTCAT." ";
while(list($cid, $title) = $db->fetchRow($result)) {
echo "$title ";
}
}
echo"
"._TEXTSEARCHSORT."
"._SELECTSORT."