国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.4KB

  1. function selAll()
  2. {
  3. var celements = document.getElementsByName('aids[]');
  4. for (i=0;i<celements.length;i++) {
  5. if (!celements[i].checked) celements[i].checked = true;
  6. else celements[i].checked = false;
  7. }
  8. }
  9. function noselAll()
  10. {
  11. var celements = document.getElementsByName('aids[]');
  12. for (i=0;i<celements.length;i++) {
  13. if (celements[i].checked = true) {
  14. celements[i].checked = false;
  15. }
  16. }
  17. }
  18. function delkey()
  19. {
  20. if (window.confirm("您确定要删除选定的关键字吗")) {
  21. document.form3.dopost.value = 'del';
  22. document.form3.submit();
  23. }
  24. }
  25. function diskey()
  26. {
  27. if (window.confirm("您确定要禁用选定的关键字吗")) {
  28. document.form3.dopost.value = 'dis';
  29. document.form3.submit();
  30. }
  31. }
  32. function enakey()
  33. {
  34. if (window.confirm("您确定要启用选定的关键字吗")) {
  35. document.form3.dopost.value = 'ena';
  36. document.form3.submit();
  37. }
  38. }
  39. function urlkey()
  40. {
  41. if (window.confirm("您确定要更新选定的关键字的网址吗")) {
  42. document.form3.dopost.value = 'url';
  43. document.form3.submit();
  44. }
  45. }
  46. function rankey()
  47. {
  48. if (window.confirm("您确定要改变选定的关键字的频率吗")) {
  49. document.form3.dopost.value = 'ran';
  50. document.form3.submit();
  51. }
  52. }
  53. //批量删除搜多关键字
  54. function delall()
  55. {
  56. if (window.confirm("您确定要删除选定的关键字吗")) {
  57. document.form3.dopost.value = 'delall';
  58. document.form3.submit();
  59. }
  60. }