@@ -221,7 +221,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理图片文档</a>$backurl</td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理图片文档</a>$backurl</td> | |||
</tr>"; | |||
$msg = "{$msg}".GetUpdateTest(); | |||
$wintitle = "成功发布图片文档"; | |||
$wecome_info = "文档管理 - 发布图片文档"; | |||
@@ -263,7 +263,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理图片文档</a>$backurl</td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理图片文档</a>$backurl</td> | |||
</tr>"; | |||
$wintitle = "成功修改图片文档"; | |||
$wecome_info = "文档管理 - 修改图片文档"; | |||
$win = new OxWindow(); | |||
@@ -167,7 +167,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览自定义文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理自定义文档</a>$backurl</td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览自定义文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理自定义文档</a>$backurl</td> | |||
</tr>"; | |||
$msg = "{$msg}".GetUpdateTest(); | |||
$wintitle = "成功发布自定义文档"; | |||
$wecome_info = "文档管理 - 发布自定义文档"; | |||
@@ -152,7 +152,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看自定义文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理自定义文档</a>$backurl</td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看自定义文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理自定义文档</a>$backurl</td> | |||
</tr>"; | |||
$wintitle = "成功修改自定义文档"; | |||
$wecome_info = "文档管理 - 修改自定义文档"; | |||
$win = new OxWindow(); | |||
@@ -122,7 +122,9 @@ if ($dopost != 'save') { | |||
} | |||
ClearMyAddon($arcID, $title); | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='content_sg_list.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理分类文档</a></td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='content_sg_list.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理分类文档</a></td> | |||
</tr>"; | |||
$wintitle = "成功发布分类文档"; | |||
$wecome_info = "文档管理 - 发布分类文档"; | |||
$win = new OxWindow(); | |||
@@ -105,7 +105,9 @@ if ($dopost != 'save') { | |||
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$id"; | |||
ClearMyAddon($id, $title); | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理分类文档</a></td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理分类文档</a></td> | |||
</tr>"; | |||
$wintitle = "成功修改分类文档"; | |||
$wecome_info = "文档管理 - 修改分类文档"; | |||
$win = new OxWindow(); | |||
@@ -198,7 +198,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl</td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl</td> | |||
</tr>"; | |||
$msg = "{$msg}".GetUpdateTest(); | |||
$wintitle = "成功发布文档"; | |||
$wecome_info = "文档管理 - 发布文档"; | |||
@@ -166,7 +166,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl</td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl</td> | |||
</tr>"; | |||
$wintitle = "成功修改文档"; | |||
$wecome_info = "文档管理 - 修改文档"; | |||
$win = new OxWindow(); | |||
@@ -226,7 +226,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理软件文档</a></td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理软件文档</a></td> | |||
</tr>"; | |||
$msg = "{$msg}".GetUpdateTest(); | |||
$wintitle = "成功发布软件文档"; | |||
$wecome_info = "文档管理 - 发布软件文档"; | |||
@@ -208,7 +208,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理软件文档</a></td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理软件文档</a></td> | |||
</tr>"; | |||
$wintitle = "成功修改软件文档"; | |||
$wecome_info = "文档管理 - 修改软件文档"; | |||
$win = new OxWindow(); | |||
@@ -176,7 +176,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>管理专题</a></td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>管理专题</a></td> | |||
</tr>"; | |||
$wintitle = "成功发布专题"; | |||
$wecome_info = "专题管理 - 发布专题"; | |||
$win = new OxWindow(); | |||
@@ -189,7 +189,9 @@ if ($dopost != 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "<tr><td>请选择后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>管理专题</a></td></tr>"; | |||
$msg = "<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>管理专题</a></td> | |||
</tr>"; | |||
$wintitle = "成功修改专题"; | |||
$wecome_info = "专题管理 - 修改专题"; | |||
$win = new OxWindow(); | |||
@@ -3953,7 +3953,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin | |||
('23','cfg_rewrite','是否使用伪静态,参考栏目修改中提示默认规则','1','bool','N'), | |||
('24','cfg_df_style','网站模板默认风格','1','string','dedebiz'), | |||
('25','cfg_multi_site','是否支持多站点,开启此项后附件栏目连接arclist文档启用绝对网址','2','bool','N'), | |||
('26','cfg_rm_remote','远程图片本地化','7','bool','Y'), | |||
('26','cfg_rm_remote','下载远程图片和资源','7','bool','Y'), | |||
('27','cfg_dede_log','是否开启管理日志','2','bool','N'), | |||
('28','cfg_powerby','网站版权信息','1','bstring','Copyright © 2023 DedeBIZ 版权所有'), | |||
('29','cfg_jump_once','跳转网址是否直接跳转否则显示中转页','7','bool','Y'), | |||
@@ -3987,7 +3987,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin | |||
('57','cfg_tplcache_dir','模板缓存目录','6','string','/data/tplcache'), | |||
('58','cfg_makesign_cache','是否修改发布单个文档调用缓存','6','bool','N'), | |||
('59','cfg_arc_dellink','删除非站内链接','7','bool','Y'), | |||
('60','cfg_arc_autopic','提取第一张图片作为缩略图','7','bool','Y'), | |||
('60','cfg_arc_autopic','提取第一个图片为缩略图','7','bool','Y'), | |||
('61','cfg_arc_autokeyword','自动提取关键词','7','bool','N'), | |||
('62','cfg_title_maxlen','文档标题最大长度,变量后需要手工修改数据表','7','number','255'), | |||
('63','cfg_album_row','图集多行多列样式默认行数','3','number','3'), | |||
@@ -149,7 +149,7 @@ if (empty($dopost)) { | |||
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID"; | |||
ClearMyAddon($arcID, $title); | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='album_edit.php?aid=".$arcID."&channelid=$channelid' class='btn btn-success btn-sm'>修改图片文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理图片文档</a>"; | |||
$msg = "<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='album_edit.php?aid=".$arcID."&channelid=$channelid' class='btn btn-success btn-sm'>修改图片文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理图片文档</a>"; | |||
$wintitle = "成功发布图片文档"; | |||
$wecome_info = "图片管理 - 发布图片文档"; | |||
$win = new OxWindow(); | |||
@@ -34,7 +34,7 @@ if (empty($dopost)) { | |||
$arcQuery = "SELECT arc.*,ch.addtable,ch.fieldset,ch.arcsta FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$aid' AND arc.mid='".$cfg_ml->M_ID."'; "; | |||
$row = $dsql->GetOne($arcQuery); | |||
if (!is_array($row)) { | |||
ShowMsg("读取文档信息出错", "-1"); | |||
ShowMsg("读取文档信息出错", "index.php"); | |||
exit(); | |||
} else if ($row['arcrank'] >= 0) { | |||
$dtime = time(); | |||
@@ -126,7 +126,7 @@ if (empty($dopost)) { | |||
$artUrl = MakeArt($aid, TRUE); | |||
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid"; | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>修改图片文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理图片文档</a> "; | |||
$msg = "<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>修改图片文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理图片文档</a> "; | |||
//提交后返回提交页面 | |||
$wintitle = "成功修改图片文档"; | |||
$wecome_info = "图片管理 - 修改图片文档"; | |||
@@ -122,7 +122,7 @@ if (empty($dopost)) { | |||
} | |||
ClearMyAddon($arcID, $title); | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览自定义文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理自定义文档</a>"; | |||
$msg = "<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览自定义文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理自定义文档</a>"; | |||
$wintitle = "成功发布自定义文档"; | |||
$wecome_info = "文档管理 - 发布自定义文档"; | |||
$win = new OxWindow(); | |||
@@ -23,7 +23,7 @@ if (empty($dopost)) { | |||
$arcQuery = "SELECT arc.*,ch.addtable,ch.fieldset,arc.mtype as mtypeid,ch.arcsta FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$aid' And arc.mid='".$cfg_ml->M_ID."'; "; | |||
$row = $dsql->GetOne($arcQuery); | |||
if (!is_array($row)) { | |||
ShowMsg("读取文档信息出错", "-1"); | |||
ShowMsg("读取文档信息出错", "index.php"); | |||
exit(); | |||
} else if ($row['arcrank'] >= 0) { | |||
$dtime = time(); | |||
@@ -90,7 +90,7 @@ if (empty($dopost)) { | |||
$artUrl = MakeArt($aid, TRUE); | |||
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid"; | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success btn-sm'>修改自定义文档</a><a class='btn btn-success btn-sm' href='$artUrl' target='_blank'>浏览自定义文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理自定义文档</a>"; | |||
$msg = "<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success btn-sm'>修改自定义文档</a><a class='btn btn-success btn-sm' href='$artUrl' target='_blank'>浏览自定义文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理自定义文档</a>"; | |||
$wintitle = "成功修改自定义文档"; | |||
$wecome_info = "文档管理 - 修改自定义文档"; | |||
$win = new OxWindow(); | |||
@@ -152,7 +152,7 @@ if (empty($dopost)) { | |||
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID"; | |||
ClearMyAddon($arcID, $title); | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='archives_sg_add.php?channelid=$channelid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_sg_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='content_sg_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理分类文档</a>"; | |||
$msg = "<a href='archives_sg_add.php?channelid=$channelid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_sg_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='content_sg_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理分类文档</a>"; | |||
$wintitle = "成功发布分类文档"; | |||
$wecome_info = "文档管理 - 发布分类文档"; | |||
$win = new OxWindow(); | |||
@@ -23,7 +23,7 @@ if (empty($dopost)) { | |||
$arcQuery = "SELECT ch.*,arc.* FROM `#@__arctiny` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$aid' "; | |||
$cInfos = $dsql->GetOne($arcQuery); | |||
if (!is_array($cInfos)) { | |||
ShowMsg("读取文档信息出错", "-1"); | |||
ShowMsg("读取文档信息出错", "index.php"); | |||
exit(); | |||
} | |||
$addRow = $dsql->GetOne("SELECT * FROM `{$cInfos['addtable']}` WHERE aid='$aid';"); | |||
@@ -106,7 +106,7 @@ if (empty($dopost)) { | |||
$artUrl = MakeArt($aid, true); | |||
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid"; | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='content_sg_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理分类文档</a>"; | |||
$msg = "<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='content_sg_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理分类文档</a>"; | |||
$wintitle = "成功修改分类文档"; | |||
$wecome_info = "文档管理 - 修改分类文档"; | |||
$win = new OxWindow(); | |||
@@ -111,7 +111,7 @@ if (empty($dopost)) { | |||
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID"; | |||
ClearMyAddon($arcID, $title); | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='article_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理文档</a>"; | |||
$msg = "<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='article_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理文档</a>"; | |||
$wintitle = "成功发布文档"; | |||
$wecome_info = "文档管理 - 发布文档"; | |||
$win = new OxWindow(); | |||
@@ -23,7 +23,7 @@ if (empty($dopost)) { | |||
$arcQuery = "SELECT arc.*,ch.addtable,ch.fieldset,arc.mtype as mtypeid,ch.arcsta FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$aid' And arc.mid='".$cfg_ml->M_ID."'; "; | |||
$row = $dsql->GetOne($arcQuery); | |||
if (!is_array($row)) { | |||
ShowMsg("读取文档信息出错", "-1"); | |||
ShowMsg("读取文档信息出错", "index.php"); | |||
exit(); | |||
} else if ($row['arcrank'] >= 0) { | |||
$dtime = time(); | |||
@@ -85,7 +85,7 @@ if (empty($dopost)) { | |||
$artUrl = $cfg_phpurl."/view.php?aid=$aid"; | |||
} | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理文档</a>"; | |||
$msg = "<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理文档</a>"; | |||
$wintitle = "成功修改文档"; | |||
$wecome_info = "文档管理 - 修改文档"; | |||
$win = new OxWindow(); | |||
@@ -165,7 +165,7 @@ if (empty($dopost)) { | |||
} | |||
ClearMyAddon($arcID, $title); | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='soft_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改软件文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理软件文档</a>"; | |||
$msg = "<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='soft_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改软件文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理软件文档</a>"; | |||
$wintitle = "成功发布文档文档"; | |||
$wecome_info = "软件管理 - 发布软件文档"; | |||
$win = new OxWindow(); | |||
@@ -23,7 +23,7 @@ if (empty($dopost)) { | |||
$dsql->SetQuery($arcQuery); | |||
$row = $dsql->GetOne($arcQuery); | |||
if (!is_array($row)) { | |||
ShowMsg("读取文档信息出错", "-1"); | |||
ShowMsg("读取文档信息出错", "index.php"); | |||
exit(); | |||
} else if ($row['arcrank'] >= 0) { | |||
$dtime = time(); | |||
@@ -36,7 +36,7 @@ if (empty($dopost)) { | |||
$query = "SELECT * FROM `#@__channeltype` WHERE id='".$row['channel']."'"; | |||
$cInfos = $dsql->GetOne($query); | |||
if (!is_array($cInfos)) { | |||
ShowMsg("读取栏目信息出错", "javascript:;"); | |||
ShowMsg("读取栏目信息出错", "index.php"); | |||
exit(); | |||
} | |||
$addtable = $cInfos['addtable']; | |||
@@ -163,7 +163,7 @@ if (empty($dopost)) { | |||
$artUrl = $cfg_phpurl."/view.php?aid=$aid"; | |||
} | |||
//返回成功信息 | |||
$msg = "请选择后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='soft_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success btn-sm'>修改软件文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理软件文档</a>"; | |||
$msg = "<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='soft_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success btn-sm'>修改软件文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理软件文档</a>"; | |||
$wintitle = "成功修改软件文档"; | |||
$wecome_info = "软件管理 - 修改软件文档"; | |||
$win = new OxWindow(); | |||