getData(); $lngPage = $lng['forbiddenWords']; include("../chatadmin/xcrud/xcrud.php"); $xcrud = Xcrud::get_instance(); $table = 'chat_forbiddenwords'; $xcrud->table($table); $xcrud->pass_var('webmasterid', $webmasterid); $xcrud->where('webmasterid =', $webmasterid); $xcrud->columns('word'); $xcrud->fields('word'); $xcrud->field_tooltip('word', $lngPage['word']); $xcrud->hide_button('save_new'); $xcrud->hide_button('return'); $xcrud->unset_title(); $xcrud->unset_view(); $xcrud->unset_csv(); $xcrud->unset_limitlist(); $xcrud->unset_numbers(); $xcrud->unset_print(); $xcrud->unset_sortable(); // $xcrud->emails_label(' email'); //$xcrud->show_primary_ai_column(true); ?> <?php echo $lngPage['metaTtitle']; ?>
In config pannel, you can define what action you maye take when bad word is found: [nothing, hide, kick]
render($webmasterid); ?>