exit;
}
if (isset($_POST["DeletedWeighted"])) {
    DeletedWeighted();
    exit;
}
if (isset($_GET["edit-js"])) {
    edit_js();
    exit;
}
if (isset($_GET["edit-popup"])) {
    edit_popup();
    exit;
}
if (isset($_GET["edit-search"])) {
    edit_search();
    exit;
}
if (isset($_GET["expression-edit"])) {
    expression_popup();
    exit;
}
if (isset($_POST["expression-save"])) {
    expression_save();
    exit;
}
if (isset($_POST["expression-delete"])) {
    expression_delete();
    exit;
}
page();
Example #2
0
         $language = 0;
     }
     if ($photo == -1) {
         $photo = 0;
     }
     advance_search_page($gender, $age_start, $age_end, $work_province, $work_city, $marriage, $salary, $education, $height1, $height2, $weight1, $weight2, $body, $smoking, $drinking, $occupation, $house, $vehicle, $corptype, $children, $wantchildren, $home_townprovince, $home_towncity, $nation, $animalyear, $constellation, $bloodtype, $religion, $family, $language, $photo);
     break;
 case 'edit':
     //note 编辑以前搜索的条件
     if (!$GLOBALS['MooUid']) {
         header("Location:login.html");
         exit;
     }
     if ($_GET['s'] && is_numeric($_GET['s'])) {
         $s = $_GET['s'];
         edit_search($s);
     } else {
         include MooTemplate('public/search_error', 'module');
         exit;
     }
     break;
 case 'list':
     //note 显示以前搜索的条件
     if (!$GLOBALS['MooUid']) {
         header("Location:login.html");
         exit;
     }
     list_search();
     break;
 case 'show':
     //note 直接读取以前的搜索条件搜索