📄 album_add.php
字号:
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('a_New,a_AccNew');
require_once(DEDEINC."/customfields.func.php");
require_once(DEDEADMIN."/inc/inc_archives_functions.php");
if(empty($dopost))
{
$dopost = '';
}
if($dopost!='save')
{
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEADMIN."/inc/inc_catalog_options.php");
$channelid = empty($channelid) ? 0 : intval($channelid);
$cid = empty($cid) ? 0 : intval($cid);
//鑾峰緱棰戦亾妯″瀷ID
if($cid>0 && $channelid==0)
{
$row = $dsql->GetOne("Select channeltype From `#@__arctype` where id='$cid'; ");
$channelid = $row['channeltype'];
}
else
{
if($channelid==0)
{
$channelid = 2;
}
}
//鑾峰緱棰戦亾妯″瀷淇℃伅
$cInfos = $dsql->GetOne(" Select * From `#@__channeltype` where id='$channelid' ");
$channelid = $cInfos['id'];
include DedeInclude("templets/album_add.htm");
exit();
}
/*--------------------------------
function __save(){ }
-------------------------------*/
else if($dopost=='save')
{
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
$flag = isset($flags) ? join(',',$flags) : '';
if(!isset($autokey))
{
$autokey = 0;
}
if(!isset($remote))
{
$remote = 0;
}
if(!isset($dellink))
{
$dellink = 0;
}
if(!isset($autolitpic))
{
$autolitpic = 0;
}
if(!isset($formhtml))
{
$formhtml = 0;
}
if(!isset($formzip))
{
$formzip = 0;
}
if(!isset($ddisfirst))
{
$ddisfirst = 0;
}
if(!isset($delzip))
{
$delzip = 0;
}
if($typeid==0)
{
ShowMsg("璇锋寚瀹氭枃妗g殑鏍忕洰锛
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -