国内流行的内容管理系统(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.

79 lines
1.5KB

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