예제 #1
0
파일: erraddsave.php 프로젝트: iabing/mzzyc
        exit;
    }
    if ($fmdo == 'yes') {
        $id = explode("`", $id);
        foreach ($id as $var) {
            $query = "DELETE FROM `#@__erradd` WHERE `id` = '{$var}'";
            $dsql->ExecuteNoneQuery($query);
        }
        ShowMsg("成功删除指定的文档!", "erraddsave.php");
        exit;
    } else {
        require_once DEDEINC . "/oxwindow.class.php";
        $wintitle = "删除";
        $wecome_info = "<a href='erraddsave.php'>错误管理</a>::删除错误";
        $win = new OxWindow();
        $win->Init("erraddsave.php", "js/blank.js", "POST");
        $win->AddHidden("fmdo", "yes");
        $win->AddHidden("dopost", $dopost);
        $win->AddHidden("id", $id);
        $win->AddTitle("你确实要删除“ {$id} ”这些错误提示?");
        $winform = $win->GetWindow("ok");
        $win->Display();
        exit;
    }
    exit;
}
$sql = "SELECT * FROM `#@__erradd`";
$dlist = new DataListCP();
$dlist->SetTemplet(DEDEADMIN . "/templets/erradd.htm");
$dlist->SetSource($sql);
$dlist->display();
UpTags($dsql,$tag,$ID,0,$typeid,$arcrank);


//---------------------------------
//返回成功信息
//----------------------------------

$msg = "
  请选择你的后续操作:
<a href='../archives_do.php?aid=".$ID."&dopost=editArchives&channelid=-2'><u>查看更改</u></a>
&nbsp;&nbsp;
<a href='$artUrl' target='_blank'><u>预览文档</u></a>
&nbsp;&nbsp;
<a href='../catalog_do.php?cid=$typeid&dopost=listArchives'><u>管理信息</u></a>
&nbsp;&nbsp;
<a href='../catalog_main.php'><u>网站栏目管理</u></a>
";

$wintitle = "成功更改信息!";
$wecome_info = "文章管理::更改信息";
$win = new OxWindow();
$win->AddTitle("成功更改信息:");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand","&nbsp;",false);
$win->Display();

ClearAllLink();
?>


예제 #3
0
     exit;
 } else {
     if ($dopost == "delete") {
         if (empty($job)) {
             $job = "";
         }
         if ($job == "") {
             require_once DEDEINC . "/oxwindow.class.php";
             $wintitle = "删除插件";
             $wecome_info = "<a href='plus_main.php'>插件管理</a>::删除插件";
             $win = new OxWindow();
             $win->Init("plus_edit.php", "js/blank.js", "POST");
             $win->AddHidden("job", "yes");
             $win->AddHidden("dopost", $dopost);
             $win->AddHidden("aid", $aid);
             $win->AddTitle("你确实要删除'" . $title . "'这个插件?");
             $win->AddMsgItem("<font color='red'>警告:在这里删除仅仅删除菜单项,要干净删除请在模块管理处删除!<br /><br /> <a href='module_main.php?moduletype=plus'>模块管理&gt;&gt;</a> </font>");
             $winform = $win->GetWindow("ok");
             $win->Display();
             exit;
         } else {
             if ($job == "yes") {
                 $dsql->ExecuteNoneQuery("DELETE FROM #@__plus WHERE aid='{$aid}';");
                 ShowMsg("成功删除一个插件,请刷新导航菜单!", "plus_main.php");
                 exit;
             }
         }
     } else {
         if ($dopost == "saveedit") {
             $inquery = "UPDATE #@__plus SET plusname='{$plusname}',menustring='{$menustring}',filelist='{$filelist}' WHERE aid='{$aid}';";
             $dsql->ExecuteNoneQuery($inquery);
require_once(dirname(__FILE__).'/../../include/inc_arcbook_view.php');
$bv = new BookView($bookid,'book');
$artUrl = $bv->MakeHtml();
$bv->Close();

//---------------------------------
//返回成功信息
//----------------------------------
$msg = "
  请选择你的后续操作:
<a href='../story_add_photo.php?bookid={$bookid}'><u>继续发布</u></a>
&nbsp;&nbsp;
<a href='$artUrl' target='_blank'><u>预览漫画</u></a>
&nbsp;&nbsp;
<a href='$artcontentUrl' target='_blank'><u>预览内容</u></a>
&nbsp;&nbsp;
<a href='../story_list_content.php?bookid={$bookid}'><u>本书所有内容</u></a>
&nbsp;&nbsp;
<a href='../story_books.php'><u>管理所有图书</u></a>
";

$wintitle = "成功发布图片!";
$wecome_info = "连载管理::发布图片";
$win = new OxWindow();
$win->AddTitle("成功发布图片:");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand","&nbsp;",false);
$win->Display();

ClearAllLink();
?>
예제 #5
0
if (!$dsql->ExecuteNoneQuery($inQuery)) {
    ShowMsg("把数据保存到数据库时出错,请检查!" . str_repolace("'", "`", $dsql->GetError() . $inQuery), "-1");
    $dsql->Close();
    exit;
}
$arcID = $cid;
//生成HTML
//---------------------------------
//$artUrl = MakeArt($arcID,true);
if (empty($artcontentUrl)) {
    $artcontentUrl = "";
}
if ($artcontentUrl == "") {
    $artcontentUrl = $cfg_mainsite . $cfg_cmspath . "/book/show-photo.php?id={$arcID}&bookid={$bookid}&chapterid={$chapterid}";
}
require_once DEDEROOT . '/book/include/story.view.class.php';
$bv = new BookView($bookid, 'book');
$artUrl = $bv->MakeHtml();
$bv->Close();
//---------------------------------
//返回成功信息
//----------------------------------
$msg = "\n  请选择你的后续操作:\n<a href='story_photo_edit.php?cid={$cid}'><u>继续修改</u></a>\n&nbsp;&nbsp;\n<a href='{$artUrl}' target='_blank'><u>预览漫画</u></a>\n&nbsp;&nbsp;\n<a href='{$artcontentUrl}' target='_blank'><u>预览内容</u></a>\n&nbsp;&nbsp;\n<a href='story_list_content.php?bookid={$bookid}'><u>管理所有内容</u></a>\n&nbsp;&nbsp;\n<a href='story_books.php'><u>管理所有图书</u></a>\n";
$wintitle = "成功修改内容!";
$wecome_info = "连载管理::修改漫画内容";
$win = new OxWindow();
$win->AddTitle("成功发布漫画:");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display();
//ClearAllLink();
예제 #6
0
         if ($v['type'] == 'dir') {
             $v['type'] = '目录';
         } else {
             $v['type'] = '文件';
         }
         $filelist .= "{$v['type']}|{$v['name']}\r\n";
     }
     if (file_exists(DEDEDATA . "/module/{$hash}-readme.php")) {
         $setupinfo = "已安装 <a href='module_main.php?action=uninstall&hash={$hash}'>卸载</a>";
     } else {
         $setupinfo = "未安装 <a href='module_main.php?action=setup&hash={$hash}'>安装</a>";
     }
     $win = new OxWindow();
     $win->Init("", "js/blank.js", "");
     $wecome_info = "模块管理";
     $win->AddTitle("<a href='module_main.php'>模块管理</a> &gt;&gt; 模块详情: {$infos['name']}");
     $msg = "<style>.dtb{border-bottom:1px dotted #cccccc}</style>\r\n    <table width='98%' border='0' cellspacing='0' cellpadding='0'>\r\n  <tr>\r\n    <td width='20%' height='28' class='dtb'>模块名称:</td>\r\n    <td width='80%' class='dtb'>{$infos['name']}</td>\r\n  </tr>\r\n  <tr>\r\n    <td height='28' class='dtb'>语言:</td>\r\n    <td class='dtb'>{$infos['lang']} {$alertMsg}</td>\r\n  </tr>\r\n  <tr>\r\n    <td height='28' class='dtb'>文件大小:</td>\r\n    <td class='dtb'>{$infos['filesize']}</td>\r\n  </tr>\r\n  <tr>\r\n    <td height='28' class='dtb'>是否已安装:</td>\r\n    <td class='dtb'>{$setupinfo}</td>\r\n  </tr>\r\n  <tr>\r\n    <td height='28' class='dtb'>团队名称:</td>\r\n    <td class='dtb'>{$infos['team']}</td>\r\n  </tr>\r\n  <tr>\r\n    <td height='28' class='dtb'>发布时间:</td>\r\n    <td class='dtb'>{$infos['time']}</td>\r\n  </tr>\r\n  <tr>\r\n    <td height='28' class='dtb'>电子邮箱:</td>\r\n    <td class='dtb'>{$infos['email']}</td>\r\n  </tr>\r\n  <tr>\r\n    <td height='28' class='dtb'>官方网址:</td>\r\n    <td class='dtb'>{$infos['url']}</td>\r\n  </tr>\r\n  <tr>\r\n    <td height='28' class='dtb'>使用协议:</td>\r\n    <td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank'>点击浏览...</a></td>\r\n  </tr>\r\n  <tr>\r\n    <td height='28'>模块包含的文件:<br />(文件路径相对于当前目录)</td><td>&nbsp;</td>\r\n  </tr>\r\n  <tr>\r\n    <td height='164' colspan='2'>\r\n     <textarea name='filelists' id='filelists' style='width:90%;height:200px'>{$filelist}</textarea>\r\n    </td>\r\n  </tr>\r\n</table>\r\n    ";
     $win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>{$msg}</div>");
     $winform = $win->GetWindow('hand', '');
     $win->Display();
     $dm->Clear();
     exit;
 } else {
     if ($action == 'edit') {
         $dm = new DedeModule($mdir);
         $minfos = $dm->GetModuleInfo($hash);
         extract($minfos, EXTR_SKIP);
         if (!isset($lang)) {
             $lang = 'gb2312';
         }
         if (!isset($moduletype)) {
예제 #7
0
\t\t\t\t\t\t</tr>
\t\t<tr>
\t\t\t<td height="30" colspan="2" style="color:#999"><strong>百度站内搜索</strong>百度站内搜索旨在帮助站长低成本地为网站用户提供高质量的网站内搜索服务。使用百度站内搜索工具,您可以轻松打造网站专属的搜索引擎,自定义个性化的展现样式、功能模块等,并通过搜索广告获得收入。</td>
\t\t</tr>
\t\t</tbody>
\t\t</table>
\t\t</td>
\t\t</tr>
\t</tbody>
</table>
当您看到这个页面的时候,则说明已经完成DedeCMS百度站内搜索模块的安装和站点绑定。<br />
您还需要完成以下步骤才能完成DedeCMS百度站内搜索功能的部署:<br/><br/>
1.<b>提交索引</b>:登录系统后台,在【模块】-【百度站内搜索】-【站内搜索】中提交站点索引,如果您是第一次使用,需要选择【重新提交全量索引】,如果您已经提交过,每次添加完新内容后则直接使用【提交增量索引】功能;<br/><br/>
2.<b>部署代码</b>:您在模板对应位置插入标签 <font color='red'>{dede:baidusitemap/}</font>,或者可以直接复制下面文本框中的代码,粘贴到模板对应位置,重新更新HTML,即可查看百度搜索框。<br/><br/>
<textarea name="" rows="6" cols="80">
<script type="text/javascript">document.write(unescape('%3Cdiv id="bdcs"%3E%3C/div%3E%3Cscript charset="utf-8" src="http://znsv.baidu.com/customer_search/api/js?sid={$site_id}') + '&plate_url=' + (encodeURIComponent(window.location.href)) + '&t=' + (Math.ceil(new Date()/3600000)) + unescape('"%3E%3C/script%3E'));</script>
</textarea><br/><br/>
<script type="text/javascript">document.write(unescape('%3Cdiv id="bdcs"%3E%3C/div%3E%3Cscript charset="utf-8" src="http://znsv.baidu.com/customer_search/api/js?sid={$site_id}') + '&plate_url=' + (encodeURIComponent(window.location.href)) + '&t=' + (Math.ceil(new Date()/3600000)) + unescape('"%3E%3C/script%3E'));</script>
也可以登录后台,在【模块】-【百度站内搜索】-【搜索框管理】中根据自己需求创建符合站点样式的搜索框。<br/><br/>
CopyRight 2010  DesDev Inc. All rights reserved Powered by <a target="_blank" href="http://www.dedecms.com/">DedeCMS</a> <a target="_blank" href="百度站内搜索模块">百度站内搜索模块</a>
</div>
EOT;
    $msg = "<div style=\"line-height:36px;\">{$msg}</div>";
    $wintitle = '百度站内搜索';
    $wecome_info = 'DedeCMS百度站内搜索模块 》';
    $win = new OxWindow();
    $win->AddTitle($wintitle);
    $win->AddMsgItem($msg);
    $winform = $win->GetWindow('hand', '&nbsp;', false);
    $win->Display();
}
예제 #8
0
            }
        }
        //生成HTML
        UpIndexKey($id, $arcrank, $typeid, $sortrank, $tags);
        if ($cfg_remote_site == 'Y' && $isremote == "1") {
            if ($serviterm != "") {
                list($servurl, $servuser, $servpwd) = explode(',', $serviterm);
                $config = array('hostname' => $servurl, 'username' => $servuser, 'password' => $servpwd, 'debug' => 'TRUE');
            } else {
                $config = array();
            }
            if (!$ftp->connect($config)) {
                exit('Error:None FTP Connection!');
            }
        }
        $arcUrl = MakeArt($id, TRUE, TRUE, $isremote);
        if ($arcUrl == "") {
            $arcUrl = $cfg_phpurl . "/view.php?aid={$id}";
        }
        ClearMyAddon($id, $title);
        //返回成功信息
        $msg = "\r\n      请选择你的后续操作:\r\n    <a href='soft_add.php?cid={$typeid}'><u>发布新软件</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='archives_do.php?aid=" . $id . "&dopost=editArchives'><u>继续修改</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='{$arcUrl}' target='_blank'><u>查看软件</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='catalog_do.php?cid={$typeid}&dopost=listArchives'><u>已发布软件管理</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='catalog_main.php'><u>网站栏目管理</u></a>\r\n    ";
        $wintitle = "成功修改一个软件!";
        $wecome_info = "文章管理::修改软件";
        $win = new OxWindow();
        $win->AddTitle("成功修改软件:");
        $win->AddMsgItem($msg);
        $winform = $win->GetWindow("hand", "&nbsp;", FALSE);
        $win->Display();
    }
}
예제 #9
0
     ShowMsg("系统模型,禁止删除!", "-1");
     exit;
 }
 if (empty($job)) {
     $job = "";
 }
 //确认提示
 if ($job == "") {
     $wintitle = "会员模型管理-删除会员模型";
     $wecome_info = "<a href='member_model_main.php'>会员模型管理</a>::删除会员模型";
     $win = new OxWindow();
     $win->Init("member_model_edit.php", "js/blank.js", "POST");
     $win->AddHidden("job", "yes");
     $win->AddHidden("dopost", $dopost);
     $win->AddHidden("id", $id);
     $win->AddTitle("!将删除所有与该会员模型相关的文件和数据<br />你确实要删除 \"" . $row['name'] . "\" 这个会员模型?");
     $winform = $win->GetWindow("ok");
     $win->Display();
     exit;
 } else {
     if ($job == "yes") {
         $row = $dsql->GetOne("SELECT `table` FROM `#@__member_model` WHERE id='{$id}'", MYSQL_ASSOC);
         if (!is_array($row)) {
             ShowMsg("你所指定的会员模型信息不存在!", "-1");
             exit;
         }
         //删除表
         $dsql->ExecuteNoneQuery("DROP TABLE IF EXISTS `{$row['table']}`;");
         //删除频道配置信息
         $dsql->ExecuteNoneQuery("DELETE FROM `#@__member_model` WHERE id='{$id}'");
         UpDateMemberModCache();
예제 #10
0
<?php 
require(dirname(__FILE__)."/config.php");
CheckPurview('co_AddNote');
if(empty($job)) $job="";
if($job=="")
{
     require_once(dirname(__FILE__)."/../include/pub_oxwindow.php");
     $wintitle = "导入采集规则";
	   $wecome_info = "<a href='co_main.php'><u>采集点管理</u></a>::导入采集规则";
	   $win = new OxWindow();
	   $win->Init("co_get_corule.php","js/blank.js","POST");
	   $win->AddHidden("job","yes");
	   $win->AddTitle("请在下面输入你要导入的文本配置:");
	   $win->AddMsgItem("<textarea name='notes' style='width:100%;height:300px'></textarea>");
	   $winform = $win->GetWindow("ok");
	   $win->Display();
     exit();
}
else
{
   	  CheckPurview('co_AddNote');
   	  require_once(dirname(__FILE__)."/../include/pub_dedetag.php");
   	  $dtp = new DedeTagParse();
   	  $dbnotes = $notes;
   	  $notes = stripslashes($notes);
      $dtp->LoadString($notes);
   	  if(!is_array($dtp->CTags))
      {
	      ShowMsg("该规则不合法,无法保存!","-1");
	      $dsql->Close();
	      exit();
예제 #11
0
<?php 
require(dirname(__FILE__)."/config.php");
CheckPurview('co_EditNote');
if(empty($job)) $job="";
if($job=="")
{
     require_once(dirname(__FILE__)."/../include/pub_oxwindow.php");
     $wintitle = "更改采集规则";
	   $wecome_info = "<a href='co_main.php'><u>采集点管理</u></a>::更改采集规则";
	   $win = new OxWindow();
	   $win->Init("co_edit_text.php","js/blank.js","POST");
	   $win->AddHidden("job","yes");
	   $win->AddHidden("nid",$nid);
	   $win->AddTitle("文本配置专家更改模式:[<a href='co_edit.php?nid={$nid}'>使用可视化修改模式</a>]");
	   $dsql = new DedeSql(false);
	   $row = $dsql->GetOne("Select * From #@__conote where nid='$nid' ");
	   $dsql->Close();
	   $win->AddMsgItem("<textarea name='notes' style='width:100%;height:500px' rows='20'>{$row['noteinfo']}</textarea>");
	   $winform = $win->GetWindow("ok");
	   $win->Display();
     exit();
}
else
{
   	  CheckPurview('co_EditNote');
   	  require_once(dirname(__FILE__)."/../include/pub_dedetag.php");
   	  $dtp = new DedeTagParse();
   	  $dbnotes = $notes;
   	  $notes = stripslashes($notes);
      $dtp->LoadString($notes);
   	  if(!is_array($dtp->CTags)){
예제 #12
0
 * @license        http://help.dedecms.com/usersguide/license.html
 * @link           http://www.dedecms.com
 */
require dirname(__FILE__) . "/config.php";
CheckPurview('co_AddNote');
if (empty($job)) {
    $job = '';
}
if ($job == '') {
    require_once DEDEINC . "/../include/oxwindow.class.php";
    $wintitle = "导入采集规则";
    $wecome_info = "<a href='co_main.php'><u>采集点管理</u></a>::导入采集规则";
    $win = new OxWindow();
    $win->Init("co_get_corule.php", "js/blank.js", "POST");
    $win->AddHidden("job", "yes");
    $win->AddTitle("请在下面输入你要导入的文本配置:(建议用base64编码[支持不编码的规则,但不兼容旧版规则])");
    $win->AddMsgItem("<textarea name='notes' style='width:100%;height:300px'></textarea>");
    $winform = $win->GetWindow("ok");
    $win->Display();
    exit;
} else {
    CheckPurview('co_AddNote');
    require_once DEDEINC . "/dedetag.class.php";
    $notes = trim($notes);
    //对Base64格式的规则进行解码
    if (ereg('^BASE64:', $notes)) {
        if (!ereg(':END$', $notes)) {
            ShowMsg('该规则不合法,Base64格式的采集规则为:BASE64:base64编码后的配置:END !', '-1');
            exit;
        }
        $notess = explode(':', $notes);
                        }
                    }
                }
                //导入单表模型微数据
                $dsql->SetQuery("SELECT id,addtable FROM `#@__channeltype` WHERE id < -1 ");
                $dsql->Execute();
                $doarray = array();
                while ($row = $dsql->GetArray()) {
                    $tb = str_replace('#@__', $cfg_dbprefix, $row['addtable']);
                    if (empty($tb) || isset($doarray[$tb])) {
                        continue;
                    } else {
                        $sql = "INSERT INTO `#@__arctiny`(id, typeid, typeid2, arcrank, channel, senddate, sortrank, mid)  \n                    SELECT aid, typeid, 0, arcrank, channel, senddate, 0, mid FROM `{$tb}` ";
                        $rs = $dsql->ExecuteNoneQuery($sql);
                        $doarray[$tb] = 1;
                    }
                }
                $win = new OxWindow();
                $win->Init("sys_repair.php", "js/blank.js", "POST' enctype='multipart/form-data' ");
                $win->mainTitle = "系统修复工具";
                $wecome_info = "<a href='sys_repair.php'>系统错误修复工具</a> &gt;&gt; 高级综合检测修复";
                $win->AddTitle('本工具用于检测和修复你的系统可能存在的错误');
                $msg = "\n    <table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'>\n  <tr>\n    <td height='250' valign='top'>\n    完成所有修复操作,移除错误记录 {$errnum} 条!\n    <hr />\n    <br />\n    <a href='index_body.php' style='font-size:14px;'><b>完成修正或无错误返回&gt;&gt;</b></a>\n    </td>\n  </tr>\n </table>\n    ";
                $win->AddMsgItem("<div style='padding-left:20px;line-height:150%'>{$msg}</div>");
                $winform = $win->GetWindow('hand', '');
                $win->Display();
                exit;
            }
        }
    }
}
예제 #14
0
                    if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') {
                        ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $vs[1]);
                    }
                    ${$vs[0]} = GetFieldValueA(${$vs[0]}, $vs[1], $aid);
                    $inadd_f .= ',`' . $vs[0] . "` ='" . ${$vs[0]} . "' ";
                }
            }
        }
        if ($addtable != '') {
            $upQuery = "Update `{$addtable}` set `title`='{$title}',`typeid`='{$typeid}',`arcrank`='{$arcrank}',litpic='{$litpic}',userip='{$userip}'{$inadd_f} where aid='{$aid}' ";
            if (!$dsql->ExecuteNoneQuery($upQuery)) {
                ShowMsg("更新附加表 `{$addtable}`  时出错,请联系管理员!", "javascript:;");
                exit;
            }
        }
        UpIndexKey($aid, 0, $typeid, $sortrank, '');
        $artUrl = MakeArt($aid, true);
        if ($artUrl == '') {
            $artUrl = $cfg_phpurl . "/view.php?aid={$aid}";
        }
        //返回成功信息
        $msg = "  请选择你的后续操作:\r\n\t\t<a href='archives_sg_add.php?cid={$typeid}'><u>发布新内容</u></a>\r\n\t\t&nbsp;&nbsp;\r\n\t\t<a href='archives_do.php?channelid={$channelid}&aid=" . $aid . "&dopost=edit'><u>查看更改</u></a>\r\n\t\t&nbsp;&nbsp;\r\n\t\t<a href='{$artUrl}' target='_blank'><u>查看内容</u></a>\r\n\t\t&nbsp;&nbsp;\r\n\t\t<a href='content_sg_list.php?channelid={$channelid}'><u>管理内容</u></a>\r\n\t\t";
        $wintitle = "成功更改内容!";
        $wecome_info = "内容管理::更改内容";
        $win = new OxWindow();
        $win->AddTitle("成功更改内容:");
        $win->AddMsgItem($msg);
        $winform = $win->GetWindow("hand", "&nbsp;", false);
        $win->Display();
    }
}
예제 #15
0
파일: diy_edit.php 프로젝트: suibber/jb
 @set_time_limit(0);
 CheckPurview('c_Del');
 $row = $dsql->GetOne("SELECT * FROM #@__diyforms WHERE diyid='{$diyid}'");
 if (empty($job)) {
     $job = "";
 }
 //确认提示
 if ($job == "") {
     $wintitle = "自定义表单管理-删除自定义表单";
     $wecome_info = "<a href='diy_main.php'>自定义表单管理</a>::删除自定义表单";
     $win = new OxWindow();
     $win->Init("diy_edit.php", "js/blank.js", "POST");
     $win->AddHidden("job", "yes");
     $win->AddHidden("dopost", $dopost);
     $win->AddHidden("diyid", $diyid);
     $win->AddTitle("!将删除所有与该自定义表单相关的文件和数据<br />你确实要删除 \"" . $row['name'] . "\" 这个自定义表单?");
     $winform = $win->GetWindow("ok");
     $win->Display();
     exit;
 } else {
     if ($job == "yes") {
         $row = $dsql->GetOne("SELECT `table` FROM `#@__diyforms` WHERE diyid='{$diyid}'", MYSQL_ASSOC);
         if (!is_array($row)) {
             ShowMsg("你所指定的自定义表单信息不存在!", "-1");
             exit;
         }
         //删除表
         $dsql->ExecuteNoneQuery("DROP TABLE IF EXISTS `{$row['table']}`;");
         //删除频道配置信息
         $dsql->ExecuteNoneQuery("DELETE FROM `#@__diyforms` WHERE diyid='{$diyid}'");
         ShowMsg("成功删除一个自定义表单!", "diy_main.php");
require_once(dirname(__FILE__).'/../../include/inc_arcbook_view.php');
$bv = new BookView($bookid,'book');
$artUrl = $bv->MakeHtml();
$bv->Close();

//---------------------------------
//返回成功信息
//----------------------------------
$msg = "
  请选择你的后续操作:
<a href='../story_edit.php?bookid={$bookid}'><u>继续修改</u></a>
&nbsp;&nbsp;
<a href='../story_add.php?catid={$catid}'><u>发布新图书</u></a>
&nbsp;&nbsp;
<a href='$artUrl' target='_blank'><u>预览图书</u></a>
&nbsp;&nbsp;
<a href='../story_add_content.php?bookid={$bookid}'><u>增加图书内容</u></a>
&nbsp;&nbsp;
<a href='../story_books.php'><u>管理图书</u></a>
";

$wintitle = "成功修改图书!";
$wecome_info = "连载管理::修改图书";
$win = new OxWindow();
$win->AddTitle("成功修改一本图书:");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand","&nbsp;",false);
$win->Display();

ClearAllLink();
?>
예제 #17
0
        $urls = addslashes($urls);
        //更新附加表
        $needmoney = @intval($needmoney);
        if ($needmoney > 100) {
            $needmoney = 100;
        }
        $cts = $dsql->GetOne("Select addtable From `#@__channeltype` where id='{$channelid}' ");
        $addtable = trim($cts['addtable']);
        if ($addtable != '') {
            $inQuery = "update `{$addtable}`\r\n            set typeid ='{$typeid}',\r\n            filetype ='{$filetype}',\r\n            language ='{$language}',\r\n            softtype ='{$softtype}',\r\n            accredit ='{$accredit}',\r\n            os ='{$os}',\r\n            softrank ='{$softrank}',\r\n            officialUrl ='{$officialUrl}',\r\n            officialDemo ='{$officialDemo}',\r\n            softsize ='{$softsize}',\r\n            softlinks ='{$urls}',\r\n            userip='{$userip}',\r\n            needmoney='{$needmoney}',\r\n            introduce='{$body}'{$inadd_f}\r\n            where aid='{$aid}'; ";
            if (!$dsql->ExecuteNoneQuery($inQuery)) {
                ShowMsg("更新数据库附加表 addonsoft 时出错,请检查原因!", "-1");
                exit;
            }
        }
        UpIndexKey($aid, $arcrank, $typeid, $sortrank, $tags);
        $artUrl = MakeArt($aid, TRUE);
        if ($artUrl == '') {
            $artUrl = $cfg_phpurl . "/view.php?aid={$aid}";
        }
        //返回成功信息
        $msg = "  请选择你的后续操作:\r\n        <a href='soft_add.php?cid={$typeid}'><u>发布新软件</u></a>\r\n        &nbsp;&nbsp;\r\n        <a href='soft_edit.php?channelid={$channelid}&aid=" . $aid . "'><u>查看更改</u></a>\r\n        &nbsp;&nbsp;\r\n        <a href='{$artUrl}' target='_blank'><u>查看软件</u></a>\r\n        &nbsp;&nbsp;\r\n        <a href='content_list.php?channelid={$channelid}'><u>管理软件</u></a>\r\n        ";
        $wintitle = "成功更改软件!";
        $wecome_info = "软件管理::更改软件";
        $win = new OxWindow();
        $win->AddTitle("成功更改软件:");
        $win->AddMsgItem($msg);
        $winform = $win->GetWindow("hand", "&nbsp;", FALSE);
        $win->Display();
    }
}
예제 #18
0
	$dsql->ExecuteNoneQuery();
	$dsql->Close();
	ShowMsg("成功删除一则广告代码!",$ENV_GOBACK_URL);
	exit();
}
else if($dopost=="getjs")
{
	require_once(dirname(__FILE__)."/../include/pub_oxwindow.php");
	$jscode = "<script src='{$cfg_plus_dir}/ad_js.php?aid=$aid' language='javascript'></script>";
	$showhtml = "<xmp style='color:#333333;background-color:#ffffff'>\r\n\r\n$jscode\r\n\r\n</xmp>";
  $showhtml .= "预览:<iframe name='testfrm' frameborder='0' src='ad_edit.php?aid={$aid}&dopost=testjs' id='testfrm' width='100%' height='200'></iframe>";
  $wintitle = "广告管理-获取JS";
	$wecome_info = "<a href='ad_main.php'><u>广告管理</u></a>::获取JS";
  $win = new OxWindow();
  $win->Init();
  $win->AddTitle("以下为选定广告的JS调用代码:");
  $winform = $win->GetWindow("hand",$showhtml);
  $win->Display();
	exit();
}
else if($dopost=="testjs")
{
	header("Content-Type: text/html; charset={$cfg_ver_lang}");
	echo "<script src='{$cfg_plus_dir}/ad_js.php?aid=$aid' language='javascript'></script>";
	exit();
}
else if($dopost=="saveedit")
{
	$dsql = new DedeSql(false);
	$starttime = GetMkTime($starttime);
	$endtime = GetMkTime($endtime);
예제 #19
0
        InsertTags($tags, $arcID);
        $artUrl = MakeArt($arcID, true);
        if ($artUrl == '') {
            $artUrl = $cfg_phpurl . "/view.php?aid={$arcID}";
        }
        #api{{
        if (defined('UC_API') && @(include_once DEDEROOT . '/api/uc.func.php')) {
            //推送事件
            $feed['icon'] = 'thread';
            $feed['title_template'] = '<b>{username} 在网站共享了一软件</b>';
            $feed['title_data'] = array('username' => $cfg_ml->M_UserName);
            $feed['body_template'] = '<b>{subject}</b><br>{message}';
            $url = !strstr($artUrl, 'http://') ? $cfg_basehost . $artUrl : $artUrl;
            $feed['body_data'] = array('subject' => "<a href=\"" . $url . "\">{$title}</a>", 'message' => cn_substr(strip_tags(preg_replace("/\\[.+?\\]/is", '', $description)), 150));
            $feed['images'][] = array('url' => $cfg_basehost . '/images/scores.gif', 'link' => $cfg_basehost);
            uc_feed_note($cfg_ml->M_LoginID, $feed);
            //同步积分
            uc_credit_note($cfg_ml->M_LoginID, $cfg_sendarc_scores);
        }
        #/aip}}
        //返回成功信息
        $msg = "\r\n\t\t请选择你的后续操作:\r\n\t\t<a href='soft_add.php?cid={$typeid}'><u>继续发布软件</u></a>\r\n\t\t&nbsp;&nbsp;\r\n\t\t<a href='{$artUrl}' target='_blank'><u>查看软件</u></a>\r\n\t\t&nbsp;&nbsp;\r\n\t\t<a href='soft_edit.php?channelid={$channelid}&aid={$arcID}'><u>更改软件</u></a>\r\n\t\t&nbsp;&nbsp;\r\n\t\t<a href='content_list.php?channelid={$channelid}'><u>已发布软件管理</u></a>\r\n\t\t";
        $wintitle = "成功发布文章!";
        $wecome_info = "文章管理::发布文章";
        $win = new OxWindow();
        $win->AddTitle("成功发布文章:");
        $win->AddMsgItem($msg);
        $winform = $win->GetWindow("hand", "&nbsp;", false);
        $win->Display();
    }
}
예제 #20
0
    $dopost = '';
}
if (empty($allsource)) {
    $allsource = '';
} else {
    $allsource = stripslashes($allsource);
}
$m_file = DEDEDATA . "/admin/source.txt";
//保存
if ($dopost == 'save') {
    $fp = fopen($m_file, 'w');
    flock($fp, 3);
    fwrite($fp, $allsource);
    fclose($fp);
    echo "<script>alert('Save OK!');</script>";
}
//读出
if (empty($allsource) && filesize($m_file) > 0) {
    $fp = fopen($m_file, 'r');
    $allsource = fread($fp, filesize($m_file));
    fclose($fp);
}
$wintitle = "文章来源管理";
$wecome_info = "文章来源管理";
$win = new OxWindow();
$win->Init('article_source_edit.php', 'js/blank.js', 'POST');
$win->AddHidden('dopost', 'save');
$win->AddTitle("每行保存一个来源:");
$win->AddMsgItem("<textarea name='allsource' id='allsource' style='width:100%;height:300px'>{$allsource}</textarea>");
$winform = $win->GetWindow('ok');
$win->Display();
예제 #21
0
		$tl->Close();
		$typeOptions = "
		<select name='targetTypeid' style='width:350'>
		<option value='0'>请选择移动到的位置...</option>\r\n
     $typeOptions
    </select>
    ";
		$wintitle = "文档管理-移动文档";
	  $wecome_info = "<a href='".$ENV_GOBACK_URL."'>文档管理</a>::移动文档";
	  $win = new OxWindow();
	  $win->Init("archives_do.php","js/blank.js","POST");
	  $win->AddHidden("fmdo","yes");
	  $win->AddHidden("dopost",$dopost);
	  $win->AddHidden("qstr",$qstr);
	  $win->AddHidden("aid",$aid);
	  $win->AddTitle("你目前的操作是移动文档,请选择目标栏目:");
	  $win->AddMsgItem($typeOptions,"30","1");
	  $win->AddMsgItem("你选中的文档ID是: $qstr <br>移动的栏目必须和选定的文档频道类型一致,否则程序会自动勿略不符合的文档。","30","1");
	  $winform = $win->GetWindow("ok");
	  $win->Display();
	}else{
		$targetTypeid = ereg_replace('[^0-9]','',$targetTypeid);
		$dsql = new DedeSql(false);
		$typeInfos = $dsql->GetOne(" Select * From #@__arctype where ID='$targetTypeid' ");
		if(!is_array($typeInfos)){
			ShowMsg("参数错误!","-1");
			$dsql->Close();
			exit();
		}
		if($typeInfos['ispart']!=0){
			ShowMsg("文档保存的栏目必须为最终列表栏目!","-1");
     $win->Display();
 } else {
     if ($fmdo == "del") {
         $wintitle = "&nbsp;文件管理";
         $wecome_info = "&nbsp;文件管理::删除文件 [<a href='file_manage_main.php?activepath={$activepath}'>文件浏览器</a>]</a>";
         $win = new OxWindow();
         $win->Init("file_manage_control.php", "js/blank.js", "POST");
         $win->AddHidden("fmdo", $fmdo);
         $win->AddHidden("activepath", $activepath);
         $win->AddHidden("filename", $filename);
         if (@is_dir($cfg_basedir . $activepath . "/{$filename}")) {
             $wmsg = "你确信要删除目录:{$filename} 吗?";
         } else {
             $wmsg = "你确信要删除文件:{$filename} 吗?";
         }
         $win->AddTitle("删除文件确认");
         $win->AddMsgItem($wmsg, "50");
         $winform = $win->GetWindow("ok");
         $win->Display();
     } else {
         if ($fmdo == "edit") {
             if (!isset($backurl)) {
                 $backurl = "";
             }
             $activepath = str_replace("..", "", $activepath);
             $filename = str_replace("..", "", $filename);
             $file = "{$cfg_basedir}{$activepath}/{$filename}";
             $content = "";
             if (is_file($file)) {
                 $fp = fopen($file, "r");
                 $content = fread($fp, filesize($file));
예제 #23
0
               'title'=>$title,'url'=>$artUrl,'litpic'=>$litpic,'keywords'=>$keywords,'pubdate'=>$pubdate,
               'addinfos'=>$description,'uptime'=>$senddate,'arcrank'=>$arcrank);
WriteSearchIndex($dsql,$datas);
unset($datas);
//写入Tag索引
InsertTags($dsql,$tag,$arcID,0,$typeid,$arcrank);
//生成HTML
//---------------------------------
MakeArt($arcID,true,true);
//---------------------------------
//返回成功信息
//----------------------------------
$msg = "
  请选择你的后续操作:
<a href='../spec_add.php?cid=$typeid'><u>创建新专题</u></a>
&nbsp;&nbsp;
<a href='$artUrl' target='_blank'><u>查看专题</u></a>
&nbsp;&nbsp;
<a href='../content_s_list.php'><u>已发布专题管理</u></a>
";

$wintitle = "成功创建专题!";
$wecome_info = "文章管理::发布专题";
$win = new OxWindow();
$win->AddTitle("成功创建专题:");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand","&nbsp;",false);
$win->Display();

ClearAllLink();
?>
예제 #24
0
     $userok = "";
 }
 if ($userok != "yes") {
     $randcode = mt_rand(10000, 99999);
     $safecode = substr(md5($cfg_cookie_encode . $randcode), 0, 24);
     require_once DEDEINC . "/oxwindow.class.php";
     $wintitle = "删除用户";
     $wecome_info = "<a href='sys_admin_user.php'>系统帐号管理</a>::删除用户";
     $win = new OxWindow();
     $win->Init("sys_admin_user_edit.php", "js/blank.js", "POST");
     $win->AddHidden("dopost", $dopost);
     $win->AddHidden("userok", "yes");
     $win->AddHidden("randcode", $randcode);
     $win->AddHidden("safecode", $safecode);
     $win->AddHidden("id", $id);
     $win->AddTitle("系统警告!");
     $win->AddMsgItem("你确信要删除用户:{$userid} 吗?", "50");
     $win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' />&nbsp;(复制本代码: <font color='red'>{$safecode}</font> )", "30");
     $winform = $win->GetWindow("ok");
     $win->Display();
     exit;
 }
 $safecodeok = substr(md5($cfg_cookie_encode . $randcode), 0, 24);
 if ($safecodeok != $safecode) {
     ShowMsg("请填写正确的安全验证串!", "sys_admin_user.php");
     exit;
 }
 //不能删除id为1的创建人帐号,不能删除自己
 $rs = $dsql->ExecuteNoneQuery2("DELETE FROM `#@__admin` WHERE id='{$id}' AND id<>1 AND id<>'" . $cuserLogin->getUserID() . "' ");
 if ($rs > 0) {
     //更新前台用户信息
예제 #25
0
파일: mytag_edit.php 프로젝트: iabing/mzzyc
        $starttime = GetMkTime($starttime);
        $endtime = GetMkTime($endtime);
        $query = "UPDATE `#@__mytag`\r\n     SET\r\n     typeid='{$typeid}',\r\n     timeset='{$timeset}',\r\n     starttime='{$starttime}',\r\n     endtime='{$endtime}',\r\n     normbody='{$normbody}',\r\n     expbody='{$expbody}'\r\n     WHERE aid='{$aid}' ";
        $dsql->ExecuteNoneQuery($query);
        ShowMsg("成功更改一个自定义标记!", $ENV_GOBACK_URL);
        exit;
    } else {
        if ($dopost == "getjs") {
            require_once DEDEINC . "/oxwindow.class.php";
            $jscode = "<script src='{$cfg_phpurl}/mytag_js.php?aid={$aid}' language='javascript'></script>";
            $showhtml = "<xmp style='color:#333333;background-color:#ffffff'>\r\n\r\n{$jscode}\r\n\r\n</xmp>";
            $showhtml .= "<b>预览:</b><iframe name='testfrm' frameborder='0' src='mytag_edit.php?aid={$aid}&dopost=testjs' id='testfrm' width='100%' height='250'></iframe>";
            $wintitle = "宏标记定义-获取JS";
            $wecome_info = "<a href='mytag_main.php'><u>宏标记定义</u></a>::获取JS";
            $win = new OxWindow();
            $win->Init();
            $win->AddTitle('以下为选定宏标记的JS调用代码:');
            $winform = $win->GetWindow('hand', $showhtml);
            $win->Display();
            exit;
        } else {
            if ($dopost == "testjs") {
                echo "<body bgcolor='#ffffff'>";
                echo "<script src='{$cfg_phpurl}/mytag_js.php?aid={$aid}&nocache=1' language='javascript'></script>";
                exit;
            }
        }
    }
}
$row = $dsql->GetOne("SELECT * FROM `#@__mytag` WHERE aid='{$aid}'");
include DedeInclude('templets/mytag_edit.htm');
예제 #26
0
            exit;
        }
        $daccess = isset($daccess) && is_numeric($daccess) ? $daccess : 0;
        $useip = GetIP();
        $inQuery = "INSERT INTO `{$addtable}`(aid,typeid,redirecturl,userip,filetype,language,softtype,accredit,\r\n    os,softrank,officialUrl,officialDemo,softsize,softlinks,introduce,daccess,needmoney{$inadd_f})\r\n    VALUES ('{$arcID}','{$typeid}','{$redirecturl}','{$useip}','{$filetype}','{$language}','{$softtype}','{$accredit}',\r\n    '{$os}','{$softrank}','{$officialUrl}','{$officialDemo}','{$softsize}','{$urls}','{$body}','{$daccess}','{$needmoney}'{$inadd_v});";
        if (!$dsql->ExecuteNoneQuery($inQuery)) {
            $gerr = $dsql->GetError();
            $dsql->ExecuteNoneQuery("Delete From `#@__archives` where id='{$arcID}'");
            $dsql->ExecuteNoneQuery("Delete From `#@__arctiny` where id='{$arcID}'");
            ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错,请把相关信息提交给DedeCms官方。" . str_replace('"', '', $gerr), "javascript:;");
            exit;
        }
        //生成HTML
        InsertTags($tags, $arcID);
        $arcUrl = MakeArt($arcID, true, true);
        if ($arcUrl == '') {
            $arcUrl = $cfg_phpurl . "/view.php?aid={$arcID}";
        }
        ClearMyAddon($arcID, $title);
        //返回成功信息
        $msg = "\r\n      请选择你的后续操作:\r\n    <a href='soft_add.php?cid={$typeid}'><u>继续发布软件</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='{$arcUrl}' target='_blank'><u>查看软件</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives'><u>更改软件</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='catalog_do.php?cid={$typeid}&dopost=listArchives'><u>已发布软件管理</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='catalog_main.php'><u>网站栏目管理</u></a>\r\n   ";
        $msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>" . GetUpdateTest();
        $wintitle = "成功发布一个软件!";
        $wecome_info = "文章管理::发布软件";
        $win = new OxWindow();
        $win->AddTitle("成功发布软件:");
        $win->AddMsgItem($msg);
        $winform = $win->GetWindow("hand", "&nbsp;", false);
        $win->Display();
    }
}
                 $okaids[$aid] = 1;
             }
         }
         ShowMsg("成功删除指定的文档!", "recycling.php");
         exit;
     } else {
         $wintitle = "文档管理-删除文档";
         $wecome_info = "<a href='recycling.php'>文档管理</a>::删除文档";
         $win = new OxWindow();
         $win->Init("archives_do.php", "js/blank.js", "POST");
         $win->AddHidden("fmdo", "yes");
         $win->AddHidden("dopost", $dopost);
         $win->AddHidden("qstr", $qstr);
         $win->AddHidden("aid", $aid);
         $win->AddHidden("recycle", $recycle);
         $win->AddTitle("你确实要永久删除“ {$qstr} 和 {$aid} ”这些文档?");
         $winform = $win->GetWindow("ok");
         $win->Display();
     }
 } else {
     if ($dopost == 'quickEdit') {
         require_once DEDEADMIN . "/inc/inc_catalog_options.php";
         AjaxHead();
         $query = "SELECT ch.typename as channelname,ch.addtable,ar.membername as rankname,arc.*\n    FROM `#@__archives` arc\n    LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel\n    LEFT JOIN `#@__arcrank` ar ON ar.rank=arc.arcrank WHERE arc.id='{$aid}' ";
         $arcRow = $dsql->GetOne($query);
         $divname = 'quickEdit';
         echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 225);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">\r\n";
         echo "    <div class='titLeft'>快速属性编辑</div>\r\n";
         echo "    <div class='titRight'><img src='images/ico-close.gif' style='cursor:pointer;' onclick='HideObj(\"{$divname}\");ChangeFullDiv(\"hide\");' alt='关闭' title='关闭' /></div>\r\n";
         echo "</div>\r\n";
         echo "<form name='quickeditform' action='archives_do.php?dopost=quickEditSave&aid={$aid}' method='post'>\r\n";
예제 #28
0
 function GotoStaMsg($msg)
 {
     global $wintitle, $wecome_info, $winform;
     $wintitle = "导入内容模型规则";
     $wecome_info = "<a href='mychannel_main.php'>内容模型管理</a>::导入内容模型规则";
     $win = new OxWindow();
     $win->Init();
     $win->AddTitle("操作状态提示:");
     $win->AddMsgItem($msg);
     $winform = $win->GetWindow("hand");
     $win->Display();
     exit;
 }
예제 #29
0
파일: article_edit.php 프로젝트: suibber/jb
            }
        }
        //生成HTML
        UpIndexKey($id, $arcrank, $typeid, $sortrank, $tags);
        if ($cfg_remote_site == 'Y' && $isremote == "1") {
            if ($serviterm != "") {
                list($servurl, $servuser, $servpwd) = explode(',', $serviterm);
                $config = array('hostname' => $servurl, 'username' => $servuser, 'password' => $servpwd, 'debug' => 'TRUE');
            } else {
                $config = array();
            }
            if (!$ftp->connect($config)) {
                exit('Error:None FTP Connection!');
            }
        }
        $artUrl = MakeArt($id, true, true, $isremote);
        if ($artUrl == '') {
            $artUrl = $cfg_phpurl . "/view.php?aid={$id}";
        }
        ClearMyAddon($id, $title);
        //返回成功信息
        $msg = "\r\n      请选择你的后续操作:\r\n    <a href='article_add.php?cid={$typeid}'><u>发布新文章</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='archives_do.php?aid=" . $id . "&dopost=editArchives'><u>查看更改</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='{$artUrl}' target='_blank'><u>查看文章</u></a>\r\n    &nbsp;&nbsp;\r\n    <a href='catalog_do.php?cid={$typeid}&dopost=listArchives'><u>管理文章</u></a>\r\n    &nbsp;&nbsp;\r\n    {$backurl}\r\n    ";
        $wintitle = "成功更改文章!";
        $wecome_info = "文章管理::更改文章";
        $win = new OxWindow();
        $win->AddTitle("成功更改文章:");
        $win->AddMsgItem($msg);
        $winform = $win->GetWindow("hand", "&nbsp;", false);
        $win->Display();
    }
}
예제 #30
0
        }
        if(!$ftp->connect($config)) exit('Error:None FTP Connection!');
    }
    $artUrl = MakeArt($id, TRUE, TRUE, $isremote);
    if($artUrl=='')
    {
        $artUrl = $cfg_phpurl."/view.php?aid=$id";
    }
    ClearMyAddon($id, $title);
    //返回成功信息
    $msg = "
      请选择你的后续操作:
    <a href='archives_add.php?cid=$typeid'><u>发布新文档</u></a>
    &nbsp;&nbsp;
    <a href='archives_do.php?aid=".$id."&dopost=editArchives'><u>查看更改</u></a>
    &nbsp;&nbsp;
    <a href='$artUrl' target='_blank'><u>查看文档</u></a>
    &nbsp;&nbsp;
    <a href='catalog_do.php?cid=$typeid&dopost=listArchives'><u>管理文档</u></a>
    &nbsp;&nbsp;
    $backurl
    ";

    $wintitle = "成功更改文档!";
    $wecome_info = "文档管理::更改文档";
    $win = new OxWindow();
    $win->AddTitle("成功更改文档:");
    $win->AddMsgItem($msg);
    $winform = $win->GetWindow("hand","&nbsp;",false);
    $win->Display();
}