Пример #1
0
     write_review();
     break;
 case 'preview_review':
     preview_review();
     break;
 case 'send_review':
     send_review();
     break;
 case 'del_review':
     del_review();
     break;
 case 'mod_review':
     mod_review();
     break;
 case 'postcomment':
     postcomment();
     break;
 case 'savecomment':
     savecomment();
     break;
 case 'del_comment':
     del_comment();
     break;
 default:
     if (strlen($rop) == 1) {
         if (!in_array(strtoupper($rop), $alphabet)) {
             cpg_error(_INVALIDTEXT);
         }
         reviews($rop);
     } else {
         reviews_index();
Пример #2
0
            showcontent($id, $page);
            break;
        case "write_review":
            write_review();
            break;
        case "preview_review":
            preview_review($date, $title, $text, $reviewer, $email, $score, $cover, $url, $url_title, $hits, $id, $rlanguage);
            break;
        case "" . _YES . "":
            send_review($date, $title, $text, $reviewer, $email, $score, $cover, $url, $url_title, $hits, $id, $rlanguage);
            break;
        case "del_review":
            del_review($id_del);
            break;
        case "mod_review":
            mod_review($id);
            break;
        case "postcomment":
            postcomment($id, $title);
            break;
        case "savecomment":
            savecomment($xanonpost, $uname, $id, $score, $comments);
            break;
        case "del_comment":
            del_comment($cid, $id);
            break;
        default:
            reviews_index();
            break;
    }
}