SELECT MAX(tid) FROM cdb_threads; |
for($i = 0; $i <= $discuzcodes['pcodecount']; $i++) { $message = str_replace("[\tDISCUZ_CODE_$i\t]", $discuzcodes['codehtml'][$i], $message); } |
//LB转换数据后专用 $tid是你主题的最大id onload=\"if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\';}\" onmouseover=\"if(this.resized) this.style.cursor=\'hand\';\" onclick=\"if(this.resized) {window.open(\'%s\');} \"></center><br>')", style=\"color:#0000FF;font-weight:bold\">点击下载文件</a>】')"), |
四、完成转换工作
注意:删除转换程序lb32discuz41.php