Dpc cms background updates multi-topic content pages

Source: Internet
Author: User

The following code applies to Empire CMS6.6, which is marked in the code comments for different versions of 7.0.
By default, the content page refresh function of the dpc cms background can only refresh all content pages in all or under a single column, but sometimes it is necessary to refresh pages under multiple columns

Find the e/admin/ChangeData. php file

The original topic is a single-choice menu.

<Select name = "classid" id = "classid">
<Option value = "0"> all columns </option>
<? = $ Class?>
</Select>

Changed:

<Select name = "classid []" size = "12" multiple id = "classid []" <? ('Emptyadmin', '1 '(".. /.. /class/connect. php "(".. /.. /class/db_ SQL .php "(".. /.. /class/functions. php "= 1 = ['userid' = ['username' = ['rnd' = ['groupid' = ['adminstyleid' = (int) ['havehtml '= ['tbname' = ((! (['Classid ']) {['classid '] = (['classid' (['classid '] [0] = 0 ['classid'] = (0 = (['classid '(= 0; <; ++ = [classid] [(! = 0 =-> query ("select tbname from {} enewstable order by tid"); (=-> fetch ([] = ++ = ("retablenum", 0, 1 "rechecktablenum", 0, 0, 1 = ".. /ecmschtml. php? Enews = ReNewsHtml & classid = & from = [from] & retype = [retype] & startday = [startday] & endday = [endday] & startid = [startid] & endid = [endid] & havehtml = & reallinfotime = ". "<link href = '.. /adminstyle /".. "/adminstyle.css 'rel = 'stylesheet 'type = 'text/css'> <br> <center> column id = the total number of tables to be refreshed: <font color = red> </font> </center> <br> "(= 0; <; ++ =. "& tbname = ". ["<table width = '000000' border = 0 align = center cellpadding = 3 cellspaci Ng = 1 class = tableborder> <tr class = header> <td> refresh the data table :". []. "</td> </tr> <td bgcolor = '# ffff'> <iframe frameborder = 0 height = 35 id = '". []. "'scrolling = no src = \"".. "\" width = \ "100% \"> </iframe> </td> </tr> </table> "=?> <Iframe frameborder = 0 height = 35 id = "checkrehtml" scrolling = no src = "CheckRehtml. php? First = 1 & from = <? Php echo [from]?> "Width =" 100% "> </iframe>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.