今天编程之家小编教大家使用sql命令行工具开启关闭,dede批量开启广告位或批量关闭所有广告位。首页登陆Dedecms后台-系统-sql命令行工具-输入以下代码:
关闭dede所有广告位代码:
Highlighter_148794" class="SyntaxHighlighter " style="width:663.296875px;margin:1em 0px !important;padding:1px !important;border:0px !important;outline:0px !important;background-image:none !important;float:none !important;vertical-align:baseline !important;position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;line-height:1.1em !important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace !important;font-size:1em !important;min-height:inherit !important;">
开启Dedecms所有广告代码:Highlighter_877144" class="SyntaxHighlighter " style="width:663.296875px;margin:1em 0px !important;padding:1px !important;border:0px !important;outline:0px !important;background-image:none !important;float:none !important;vertical-align:baseline !important;position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;line-height:1.1em !important;font-family:Consolas,monospace !important;font-size:1em !important;min-height:inherit !important;">update dede_myad set timeset =0