diff --git a/src/admin/album_edit.php b/src/admin/album_edit.php index 6604596a..9532bdb4 100644 --- a/src/admin/album_edit.php +++ b/src/admin/album_edit.php @@ -166,9 +166,7 @@ else if ($dopost == 'save') { } $imgurls = "{dede:pagestyle maxwidth='$maxwidth' pagepicnum='$pagepicnum' ddmaxwidth='$ddmaxwidth' row='$row' col='$col' value='$pagestyle'/}\r\n"; $hasone = false; - //---------------------------------------- //检查旧的图片是否有更新,并保存 - //----------------------------------------- for ($i = 1; $i <= 120; $i++) { if (!isset(${'imgurl'.$i})) continue; $info = ''; @@ -221,9 +219,7 @@ else if ($dopost == 'save') { $imgurls .= "{dede:img ddimg='$ddurl' text='$iinfo' width='".$imginfos[0]."' height='".$imginfos[1]."'} $iurl {/dede:img}\r\n"; } } - //---------------------------- //从HTML中获取新图片 - //---------------------------- if ($formhtml == 1 && !empty($imagebody)) { $imagebody = stripslashes($imagebody); $imgurls .= GetCurContentAlbum($imagebody, $copysource, $litpicname); diff --git a/src/admin/article_template_rand.php b/src/admin/article_template_rand.php index f4e4909d..e16be5f9 100644 --- a/src/admin/article_template_rand.php +++ b/src/admin/article_template_rand.php @@ -14,8 +14,6 @@ CheckPurview('sys_StringMix'); if (empty($dopost)) $dopost = ''; $templates = empty($templates) ? '' : stripslashes($templates); $m_file = DEDEDATA.'/template.rand.php'; - -//----------------------action $okmsg = ''; //保存配置 if ($dopost == 'save') { @@ -64,8 +62,6 @@ else if ($dopost == 'clearold') { echo "全部清除操作成功"; exit(); } - -//-------------------------read //读出 if (empty($templates) && filesize($m_file) > 0) { $fp = fopen($m_file, 'r'); @@ -76,7 +72,7 @@ $wintitle = "随机模板防采集设置"; $wecome_info = "随机模板防采集设置"; make_hash(); $msg = " - + @@ -82,8 +82,8 @@
广告代码的调用方法:{dede:myad name='广告位标识'/} | @@ -119,16 +119,15 @@||||
时间限制: | -+ | - + | ||
投放时间: | 从 - + 到 | @@ -263,5 +262,4 @@ })(jQuery);