本文整理汇总了PHP中ClearMyAddon函数的典型用法代码示例。如果您正苦于以下问题:PHP ClearMyAddon函数的具体用法?PHP ClearMyAddon怎么用?PHP ClearMyAddon使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ClearMyAddon函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: isset
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 \r\n <a href='{$arcUrl}' target='_blank'><u>查看软件</u></a>\r\n \r\n <a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives'><u>更改软件</u></a>\r\n \r\n <a href='catalog_do.php?cid={$typeid}&dopost=listArchives'><u>已发布软件管理</u></a>\r\n \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", " ", false);
$win->Display();
}
}
示例2: UpIndexKey
}
}
//生成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 \r\n <a href='archives_do.php?aid=" . $id . "&dopost=editArchives'><u>查看更改</u></a>\r\n \r\n <a href='{$artUrl}' target='_blank'><u>查看文章</u></a>\r\n \r\n <a href='catalog_do.php?cid={$typeid}&dopost=listArchives'><u>管理文章</u></a>\r\n \r\n {$backurl}\r\n ";
$wintitle = "成功更改文章!";
$wecome_info = "文章管理::更改文章";
$win = new OxWindow();
$win->AddTitle("成功更改文章:");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", " ", false);
$win->Display();
}
}
示例3: exitUser
/**
* 结束用户的会话状态
*
* @access public
* @return void
*/
function exitUser()
{
ClearMyAddon();
@session_unregister($this->keepUserIDTag);
@session_unregister($this->keepUserTypeTag);
@session_unregister($this->keepUserChannelTag);
@session_unregister($this->keepUserNameTag);
@session_unregister($this->keepUserPurviewTag);
DropCookie('dedeAdmindir');
DropCookie('DedeUserID');
DropCookie('DedeLoginTime');
$_SESSION = array();
}