| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /HostingSpaces/admin/chatme24.com/wwwroot/ |
Upload File : |
<?php
/* (C) Websplosion LLC, 2001-2021
IMPORTANT: This is a commercial software product
and any kind of using it must agree to the Websplosion's license agreement.
It can be found at http://www.chameleonsocial.com/license.doc
This notice may not be removed from the source code. */
include("./_include/core/main_start.php");
include("./_include/current/menu_section.class.php");
payment_check('search_advanced');
class CSearchAdvanced extends UserFields
{
function parseBlock(&$html)
{
global $g;
global $l;
global $g_user;
$this->parseFieldsAll($html, 'search_advanced');
if (!Common::isOptionActive('no_profiles_without_photos_search')) {
if (get_param('photo') == '1') {
$html->setvar("photo_checked", 'checked="checked"');
}
$html->parse('with_photo', false);
}
if (get_param('couple') == '1') {
$html->setvar("couple_checked", 'checked="checked"');
}
$html->setvar("keyword", he(strip_tags(get_param("keyword", ""))));
$html->setvar("search_name", he(strip_tags(get_param("search_name", ""))));
if (Common::isOptionActive('adv_search')) {
$html->parse('menu_search_advanced', false);
}
if (Common::isOptionActive('couples')) {
$html->parse('couples', false);
}
$html->setvar('search_max_length', Common::getOption('search_name_max_length'));
if (Common::isOptionActive('saved_searches') && guid()) {
$html->parse('menu_search_saved', false);
$html->parse('search_saved_js', false);
$html->parse('search_saved', false);
}
parent::parseBlock($html);
}
}
if (Common::isOptionActive('adv_search') == false) {
redirect('search.php');
}
$page = new CSearchAdvanced("", $g['tmpl']['dir_tmpl_main'] . "search_advanced.html");
#$page->setUser('empty');
$header = new CHeader("header", $g['tmpl']['dir_tmpl_main'] . "_header.html");
$page->add($header);
$mailMenu = new CMenuSection('search', $g['tmpl']['dir_tmpl_main'] . "_menu_search.html");
$mailMenu->setActive('advanced');
$page->add($mailMenu);
$footer = new CFooter("footer", $g['tmpl']['dir_tmpl_main'] . "_footer.html");
$page->add($footer);
include("./_include/core/main_close.php");
?>