@@ -35,7 +35,7 @@ function GetCurContentAlbum($body, $rfurl, &$firstdd) | |||||
$cfg_basedir = $GLOBALS['cfg_basedir']; | $cfg_basedir = $GLOBALS['cfg_basedir']; | ||||
$basehost = IsSSL()? "https://".$_SERVER["HTTP_HOST"] : "http://".$_SERVER["HTTP_HOST"]; | $basehost = IsSSL()? "https://".$_SERVER["HTTP_HOST"] : "http://".$_SERVER["HTTP_HOST"]; | ||||
$img_array = array(); | $img_array = array(); | ||||
preg_match_all("/(src)=[\"|'| ]{0,}(http:\/\/([^>]*)\.(gif|jpg|png))/isU", $body, $img_array); | |||||
preg_match_all("/(src)=[\"|'| ]{0,}(http:\/\/([^>]*)\.(gif|jpg|jpeg|png))/isU", $body, $img_array); | |||||
$img_array = array_unique($img_array[2]); | $img_array = array_unique($img_array[2]); | ||||
$imgUrl = $cfg_uploaddir.'/'.MyDate($cfg_addon_savetype, time()); | $imgUrl = $cfg_uploaddir.'/'.MyDate($cfg_addon_savetype, time()); | ||||
$imgPath = $cfg_basedir.$imgUrl; | $imgPath = $cfg_basedir.$imgUrl; | ||||
@@ -53,7 +53,7 @@ function GetCurContentAlbum($body, $rfurl, &$firstdd) | |||||
continue; | continue; | ||||
} | } | ||||
$itype = substr($value, -4, 4); | $itype = substr($value, -4, 4); | ||||
if (!preg_match("#\.(gif|jpg|png)#", $itype)) $itype = ".jpg"; | |||||
if (!preg_match("#\.(gif|jpg|jpeg|png)#", $itype)) $itype = ".jpg"; | |||||
$rndFileName = $imgPath.'/'.$milliSecond.'-'.$key.$itype; | $rndFileName = $imgPath.'/'.$milliSecond.'-'.$key.$itype; | ||||
$iurl = $imgUrl.'/'.$milliSecond.'-'.$key.$itype; | $iurl = $imgUrl.'/'.$milliSecond.'-'.$key.$itype; | ||||
//下载并保存文件 | //下载并保存文件 | ||||
@@ -257,7 +257,7 @@ else if ($dopost == 'redat') { | |||||
function PutInfo($msg1, $msg2) | function PutInfo($msg1, $msg2) | ||||
{ | { | ||||
global $cfg_soft_lang; | global $cfg_soft_lang; | ||||
$msginfo = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>提示信息</title><style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#1eb867;text-decoration:none}.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-body{padding:20px;min-height:130px;color:#545b62}.btn{margin-top:20px;text-align:center}.btn a{display:inline-block;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.2rem;text-align:center;transition:all .3s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}.text-primary{color:#007bff}@media (max-width:768px){.tips{padding:0 15px}.tips,.tips-box{width:100%}}</style></head><body><div class='tips'><div class='tips-box'><div class='tips-head'><p>提示信息</p></div><div class='tips-body'>{$msg1}{$msg2}</div></div></div>"; | |||||
$msginfo = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>系统提示</title><style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#1eb867;text-decoration:none}.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-body{padding:20px;min-height:130px;color:#545b62}.btn{margin-top:20px;text-align:center}.btn a{display:inline-block;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.2rem;text-align:center;transition:all .3s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(72,180,97,.5)}.text-primary{color:#007bff}@media (max-width:768px){.tips{padding:0 15px}.tips,.tips-box{width:100%}}</style></head><body><div class='tips'><div class='tips-box'><div class='tips-head'><p>系统提示</p></div><div class='tips-body'>{$msg1}{$msg2}</div></div></div>"; | |||||
echo $msginfo."</body></html>"; | echo $msginfo."</body></html>"; | ||||
} | } | ||||
function RpLine($str) | function RpLine($str) | ||||
@@ -43,7 +43,7 @@ | |||||
<td>自动分页大小:<?php echo $cfg_arcautosp_size?> K <a href="sys_info.php" class="btn btn-success btn-sm">系统参数</a></td> | <td>自动分页大小:<?php echo $cfg_arcautosp_size?> K <a href="sys_info.php" class="btn btn-success btn-sm">系统参数</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td bgcolor="#e9ecef" align="center" colspan="2"><button type="submit" name="Submit" class="btn btn-success btn-sm">执行分析</button></td> | |||||
<td bgcolor="#e9ecef" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">执行分析</button></td> | |||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr> | <tr> | ||||
@@ -57,7 +57,7 @@ | |||||
<td><textarea name="expbody" id="expbody" class="admin-textarea-xl"><?php echo $row['expbody']?></textarea> </td> | <td><textarea name="expbody" id="expbody" class="admin-textarea-xl"><?php echo $row['expbody']?></textarea> </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" align="center" colspan="2"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||||
</tr> | </tr> | ||||
</form> | </form> | ||||
</table> | </table> | ||||
@@ -154,7 +154,7 @@ | |||||
<td>循环内的单行记录样式(InnerText)支持字段(底层变量[field:varname/]):id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,stime(pubdate的"0000-00-00"格式),textlink,typelink,imglink,image普通字段直接用[field:字段名/]表示Pubdate发布时间的调用参数[field:pubdate function=MyDate('Y-m-d H:i:s',@me)/]</td> | <td>循环内的单行记录样式(InnerText)支持字段(底层变量[field:varname/]):id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,stime(pubdate的"0000-00-00"格式),textlink,typelink,imglink,image普通字段直接用[field:字段名/]表示Pubdate发布时间的调用参数[field:pubdate function=MyDate('Y-m-d H:i:s',@me)/]</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td> | |||||
<td bgcolor="#f5f5f5" align="center"> | |||||
<button type="button" name="Submit1" id="Submit1" class="btn btn-success btn-sm" onClick="DoSubmit('gettag')">生成模板调用标记</button> | <button type="button" name="Submit1" id="Submit1" class="btn btn-success btn-sm" onClick="DoSubmit('gettag')">生成模板调用标记</button> | ||||
<button type="button" name="Submit2" id="Submit2" class="btn btn-success btn-sm" onClick="DoSubmit('savetag')">生成模板调用标签</button> | <button type="button" name="Submit2" id="Submit2" class="btn btn-success btn-sm" onClick="DoSubmit('savetag')">生成模板调用标签</button> | ||||
</td> | </td> | ||||
@@ -56,7 +56,7 @@ | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" align="center" colspan="4"> | |||||
<td bgcolor="#f5f5f5" colspan="4" align="center"> | |||||
<a class="btn btn-success btn-sm" href="templets_main.php">默认模板</a> | <a class="btn btn-success btn-sm" href="templets_main.php">默认模板</a> | ||||
<a class="btn btn-success btn-sm" href="templets_main.php?acdir=plus">插件模板</a> | <a class="btn btn-success btn-sm" href="templets_main.php?acdir=plus">插件模板</a> | ||||
<a class="btn btn-success btn-sm" href="tpl.php?action=newfile&acdir=<?php echo $acdir;?>">新建模板</a> | <a class="btn btn-success btn-sm" href="tpl.php?action=newfile&acdir=<?php echo $acdir;?>">新建模板</a> | ||||
@@ -41,7 +41,7 @@ | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<tr> | <tr> | ||||
<td colspan="4"><a href="tpl.php?action=addnewtag" class="btn btn-success btn-sm">增加一个新的标签</a></td> | |||||
<td bgcolor="#f5f5f5" colspan="4" align="center"><a href="tpl.php?action=addnewtag" class="btn btn-success btn-sm">增加标签</a></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</body> | </body> |
@@ -1,6 +1,6 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 验证图片 | |||||
* 验证码 | |||||
* | * | ||||
* @version $id:vdimgck.php$ | * @version $id:vdimgck.php$ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -12,7 +12,6 @@ if (!file_exists(dirname(__FILE__).'/data/common.inc.php')) { | |||||
header('Location:install/index.php'); | header('Location:install/index.php'); | ||||
exit(); | exit(); | ||||
} | } | ||||
//自动生成网页 | |||||
if (isset($_GET['upcache']) || !file_exists('index.html')) { | if (isset($_GET['upcache']) || !file_exists('index.html')) { | ||||
require_once(dirname(__FILE__)."/system/common.inc.php"); | require_once(dirname(__FILE__)."/system/common.inc.php"); | ||||
require_once DEDEINC."/archive/partview.class.php"; | require_once DEDEINC."/archive/partview.class.php"; | ||||
@@ -97,23 +97,6 @@ select:focus,input:focus,textarea:focus { | |||||
box-shadow:0 0 0 0.2rem rgba(0,123,255,.25); | box-shadow:0 0 0 0.2rem rgba(0,123,255,.25); | ||||
outline:0 | outline:0 | ||||
} | } | ||||
body.hidemenu { | |||||
background:none | |||||
} | |||||
body.showmenu .body-left { | |||||
display:block | |||||
} | |||||
body.hidemenu .body-left { | |||||
display:none | |||||
} | |||||
body.showmenu .body-right { | |||||
left:230px; | |||||
transition:all .3s | |||||
} | |||||
body.hidemenu .body-right { | |||||
left:0; | |||||
transition:all .3s | |||||
} | |||||
.coolbg { | .coolbg { | ||||
padding:.25rem .65rem; | padding:.25rem .65rem; | ||||
background:#f5f5f5; | background:#f5f5f5; | ||||
@@ -267,12 +250,29 @@ body.hidemenu .body-right { | |||||
border:2px solid #1eb867; | border:2px solid #1eb867; | ||||
z-index:10005 | z-index:10005 | ||||
} | } | ||||
body.hidemenu { | |||||
background:none | |||||
} | |||||
body.showmenu .body-left { | |||||
display:block | |||||
} | |||||
body.hidemenu .body-left { | |||||
display:none | |||||
} | |||||
body.showmenu .body-right { | |||||
left:220px; | |||||
transition:all .3s | |||||
} | |||||
body.hidemenu .body-right { | |||||
left:0; | |||||
transition:all .3s | |||||
} | |||||
.body-left { | .body-left { | ||||
position:absolute; | position:absolute; | ||||
top:60px; | top:60px; | ||||
left:0; | left:0; | ||||
bottom:0; | bottom:0; | ||||
width:230px | |||||
width:220px | |||||
} | } | ||||
.body-right { | .body-right { | ||||
position:absolute; | position:absolute; | ||||
@@ -296,9 +296,9 @@ body.hidemenu .body-right { | |||||
box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075) | box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075) | ||||
} | } | ||||
.top-logo { | .top-logo { | ||||
margin-left:30px; | |||||
float:left; | float:left; | ||||
width:200px | |||||
padding-left:30px; | |||||
width:220px | |||||
} | } | ||||
.top-name a { | .top-name a { | ||||
float:left; | float:left; | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 栏目模型单元类 | |||||
* 栏目模型 | |||||
* | * | ||||
* @version $id:channelunit.class.php 2 17:32 2010年7月6日 tianya $ | * @version $id:channelunit.class.php 2 17:32 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,6 +1,6 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
//显示类似BS的提示信息 | |||||
//显示类似Bootstrap系统提示 | |||||
define('ALERT_PRIMARY', 1); | define('ALERT_PRIMARY', 1); | ||||
define('ALERT_SECONDARY', 2); | define('ALERT_SECONDARY', 2); | ||||
define('ALERT_SUCCESS', 3); | define('ALERT_SUCCESS', 3); | ||||
@@ -20,7 +20,7 @@ define('ALERT_COLORS', array( | |||||
ALERT_DARK => array('#d3d3d4','#bcbebf','#141619'), | ALERT_DARK => array('#d3d3d4','#bcbebf','#141619'), | ||||
)); | )); | ||||
define("ALERT_TPL", '<div style="position:relative;padding:.75rem 1.25rem;width:auto;font-size:12px;color:~color~;background:~background~;border-color:~border~;border:1px solid transparent;border-radius:.2rem">~content~</div>'); | define("ALERT_TPL", '<div style="position:relative;padding:.75rem 1.25rem;width:auto;font-size:12px;color:~color~;background:~background~;border-color:~border~;border:1px solid transparent;border-radius:.2rem">~content~</div>'); | ||||
//$content:文档 $type:alert类型 | |||||
//$content:文档,$type:alert类型 | |||||
function DedeAlert($content, $type = ALERT_PRIMARY) | function DedeAlert($content, $type = ALERT_PRIMARY) | ||||
{ | { | ||||
$content = htmlspecialchars($content); | $content = htmlspecialchars($content); | ||||
@@ -313,9 +313,9 @@ function UpdateStat() | |||||
$arrs1 = array(); | $arrs1 = array(); | ||||
$arrs2 = array(); | $arrs2 = array(); | ||||
/** | /** | ||||
* 短消息函数,可以在某个动作处理后友好的提示信息 | |||||
* 短消息函数,可以在某个动作处理后友好的系统提示 | |||||
* | * | ||||
* @param string $msg 消息提示信息 | |||||
* @param string $msg 消息系统提示 | |||||
* @param string $gourl 跳转地址 | * @param string $gourl 跳转地址 | ||||
* @param int $onlymsg 仅显示信息 | * @param int $onlymsg 仅显示信息 | ||||
* @param int $limittime 限制时间 | * @param int $limittime 限制时间 | ||||
@@ -332,7 +332,7 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) | |||||
return; | return; | ||||
} | } | ||||
if (empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..'; | if (empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..'; | ||||
$htmlhead = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>提示信息</title><base target='_self'></head><body><script>"; | |||||
$htmlhead = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>系统提示</title><base target='_self'></head><body><script>"; | |||||
$htmlfoot = "</script></body></html>"; | $htmlfoot = "</script></body></html>"; | ||||
$litime = ($limittime == 0 ? 1000 : $limittime); | $litime = ($limittime == 0 ? 1000 : $limittime); | ||||
$func = ''; | $func = ''; | ||||
@@ -351,8 +351,8 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) | |||||
} | } | ||||
$func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; | $func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; | ||||
$rmsg = $func; | $rmsg = $func; | ||||
$rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#1eb867;text-decoration:none}.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-body{padding:20px;min-height:130px;color:#545b62}.btn{margin-top:20px;text-align:center}.btn a{display:inline-block;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.2rem;text-align:center;transition:all .3s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}.text-primary{color:#007bff}@media (max-width:768px){.tips{padding:0 15px}.tips,.tips-box{width:100%}}</style>\");"; | |||||
$rmsg .= "document.write(\"<div class='tips'><div class='tips-box'><div class='tips-head'><p>提示信息</p></div>\");"; | |||||
$rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#1eb867;text-decoration:none}.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-body{padding:20px;min-height:130px;color:#545b62}.btn{margin-top:20px;text-align:center}.btn a{display:inline-block;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.2rem;text-align:center;transition:all .3s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(72,180,97,.5)}.text-primary{color:#007bff}@media (max-width:768px){.tips{padding:0 15px}.tips,.tips-box{width:100%}}</style>\");"; | |||||
$rmsg .= "document.write(\"<div class='tips'><div class='tips-box'><div class='tips-head'><p>系统提示</p></div>\");"; | |||||
$rmsg .= "document.write(\"<div class='tips-body'>\");"; | $rmsg .= "document.write(\"<div class='tips-body'>\");"; | ||||
$rmsg .= "document.write(\"".str_replace("\"", "“", $msg)."\");"; | $rmsg .= "document.write(\"".str_replace("\"", "“", $msg)."\");"; | ||||
$rmsg .= "document.write(\""; | $rmsg .= "document.write(\""; | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 系统核心函数存放文件 | |||||
* 系统核心函数 | |||||
* @version $id:customfields.func.php 2 20:50 2010年7月7日 tianya $ | * @version $id:customfields.func.php 2 20:50 2010年7月7日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
* @copyright Copyright (c) 2022 DedeBIZ.COM | * @copyright Copyright (c) 2022 DedeBIZ.COM | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 动态分页类 | |||||
* 动态分页 | |||||
* | * | ||||
* @version $id:datalistcp.class.php 3 17:02 2010年7月9日 tianya $ | * @version $id:datalistcp.class.php 3 17:02 2010年7月9日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -10,7 +10,7 @@ if (!defined('DEDEINC')) exit('dedebiz'); | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(DEDEINC.'/dedetemplate.class.php'); | require_once(DEDEINC.'/dedetemplate.class.php'); | ||||
// 分页说明 | |||||
//分页说明 | |||||
$lang_pre_page = '上页'; | $lang_pre_page = '上页'; | ||||
$lang_next_page = '下页'; | $lang_next_page = '下页'; | ||||
$lang_index_page = '首页'; | $lang_index_page = '首页'; | ||||
@@ -1,6 +1,6 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 属性的数据描述 | |||||
* 属性数据描述 | |||||
* | * | ||||
* @version $id:dedeatt.class.php 13:50 2010年7月6日 tianya $ | * @version $id:dedeatt.class.php 13:50 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 模块类 | |||||
* 模块插件 | |||||
* | * | ||||
* @version $id:dedemodule.class.php 10:31 2010年7月6日 tianya $ | * @version $id:dedemodule.class.php 10:31 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 模板类 | |||||
* 模板主题 | |||||
* | * | ||||
* @version $id:dedetag.class.php 10:33 2010年7月6日 tianya $ | * @version $id:dedetag.class.php 10:33 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 模板引擎文件 | |||||
* 模板主题引擎 | |||||
* | * | ||||
* @version $id:dedetemplate.class.php 3 15:44 2010年7月6日 tianya $ | * @version $id:dedetemplate.class.php 3 15:44 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 投票类 | |||||
* 投票 | |||||
* | * | ||||
* @version $id:dedevote.class.php 10:31 2010年7月6日 tianya $ | * @version $id:dedevote.class.php 10:31 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 自定义表单解析类 | |||||
* 自定义表单解析 | |||||
* | * | ||||
* @version $id:diyform.class.php 10:31 2010年7月6日 tianya $ | * @version $id:diyform.class.php 10:31 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 联动菜单类 | |||||
* 联动菜单 | |||||
* | * | ||||
* @version $id:enums.func.php 2 13:19 2011-3-24 tianya $ | * @version $id:enums.func.php 2 13:19 2011-3-24 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 过滤核心处理文件 | |||||
* 过滤核心处理 | |||||
* | * | ||||
* @version $id:filter.inc.php 15:59 2010年7月5日 tianya $ | * @version $id:filter.inc.php 15:59 2010年7月5日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 图像处理类 | |||||
* 图像处理 | |||||
* | * | ||||
* @version $id:image.class.php 18:10 2010年7月5日 tianya $ | * @version $id:image.class.php 18:10 2010年7月5日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 会员登录类 | |||||
* 会员登录 | |||||
* | * | ||||
* @version $id:userlogin.class.php 15:59 2010年7月5日 tianya $ | * @version $id:userlogin.class.php 15:59 2010年7月5日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 获得作者名称 | |||||
* 作者标签 | |||||
* | * | ||||
* @version $id:adminname.lib.php 2 8:48 2010年7月8日 tianya $ | * @version $id:adminname.lib.php 2 8:48 2010年7月8日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -10,7 +10,7 @@ if (!defined('DEDEINC')) exit('dedebiz'); | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
/** | /** | ||||
* 获得作者名称 | |||||
* 作者标签 | |||||
* | * | ||||
* @access public | * @access public | ||||
* @param object $ctag 解析标签 | * @param object $ctag 解析标签 | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 文档调用标签 | |||||
* 文档标签 | |||||
* | * | ||||
* @version $id:arccontent.lib.php 2020年9月14日 tianya $ | * @version $id:arccontent.lib.php 2020年9月14日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 文档列表调用标记 | |||||
* 文档列表标签 | |||||
* | * | ||||
* @version $id:arclist.lib.php 3 9:19 2010年7月13日 tianya $ | * @version $id:arclist.lib.php 3 9:19 2010年7月13日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,6 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | |||||
/** | /** | ||||
* 单表模型的文档列表调用标记 | |||||
* 单表模型文档列表标签 | |||||
* | * | ||||
* @version $id:arclistsg.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:arclistsg.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 按排序位置的获取单个栏目的链接信息 | |||||
* 按排序位置获取单个栏目的链接信息 | |||||
* | * | ||||
* @version $id:autochannel.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:autochannel.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,6 +1,6 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 获取栏目列表标签 | |||||
* 栏目列表标签 | |||||
* | * | ||||
* @version $id:channel.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:channel.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 专题主题调用标签 | |||||
* 专题主题标签 | |||||
* | * | ||||
* @version $id:arclist.lib.php 2 8:29 2010年7月8日 tianya $ | * @version $id:arclist.lib.php 2 8:29 2010年7月8日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 获取当前栏目的下级栏目的文档列表标签 | |||||
* 获取当前栏目下级栏目的文档列表标签 | |||||
* | * | ||||
* @version $id:channelartlist.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:channelartlist.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,6 +1,6 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 用于注释的标签 | |||||
* 注释标签 | |||||
* | * | ||||
* @version $id:comment.lib.php 9:29 2020年9月2日 tianya $ | * @version $id:comment.lib.php 9:29 2020年9月2日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 这仅是一个演示标签 | |||||
* 演示标签 | |||||
* | * | ||||
* @version $id:demotag.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:demotag.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 调用最新评论 | |||||
* 评论标签 | |||||
* | * | ||||
* @version $id:feedback.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:feedback.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 友情链接 | |||||
* 友情链接标签 | |||||
* | * | ||||
* @version $id:flink.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:flink.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 友情链接 | |||||
* 友情链接标签 | |||||
* | * | ||||
* @version $id:flinktype.lib.php 15:57 2011年2月18日Z niap $ | * @version $id:flinktype.lib.php 15:57 2011年2月18日Z niap $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,6 +1,6 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 获取网站搜索的热门关键词 | |||||
* 热门搜索词标签 | |||||
* | * | ||||
* @version $id:hotwords.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:hotwords.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 分类信息的地区与小分类搜索 | |||||
* 分类信息地区与小分类搜索 | |||||
* | * | ||||
* @version $id:infoguide.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:infoguide.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,6 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | |||||
/** | /** | ||||
* 单页文档相同标识调用标签 | |||||
* 单页文档相同标识标签 | |||||
* | * | ||||
* @version $id:likepage.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:likepage.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -8,7 +9,6 @@ | |||||
* @license https://www.dedebiz.com/license | * @license https://www.dedebiz.com/license | ||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | |||||
require_once(dirname(__FILE__).'/likesgpage.lib.php'); | require_once(dirname(__FILE__).'/likesgpage.lib.php'); | ||||
function lib_likepage(&$ctag, &$refObj) | function lib_likepage(&$ctag, &$refObj) | ||||
{ | { | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 单页文档调用标签 | |||||
* 单页文档标签 | |||||
* | * | ||||
* @version $id:likesgpage.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:likesgpage.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 调用任意表的数据标签 | |||||
* 任意表调用标签 | |||||
* | * | ||||
* @version $id:loop.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:loop.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 会员信息调用标签 | |||||
* 会员信息标签 | |||||
* | * | ||||
* @version $id:memberlist.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:memberlist.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 广告调用 | |||||
* 广告标签 | |||||
* | * | ||||
* @version $id:myad.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:myad.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 自定义宏标记调用标签 | |||||
* 自定义宏标记标签 | |||||
* | * | ||||
* @version $id:mytag.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:mytag.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,6 +1,6 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 子栏目调用标签 | |||||
* 子栏目标签 | |||||
* | * | ||||
* @version $id:sonchannel.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:sonchannel.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 指定的单个栏目的链接标签 | |||||
* 指定某个栏目标签 | |||||
* | * | ||||
* @version $id:type.lib.php 9:29 2010年7月6日 tianya $ | * @version $id:type.lib.php 9:29 2010年7月6日 tianya $ | ||||
* @package DedeBIZ.Taglib | * @package DedeBIZ.Taglib | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 管理员登录类 | |||||
* 管理员登录 | |||||
* | * | ||||
* @version $id:userlogin.class.php 15:59 2010年7月5日 tianya $ | * @version $id:userlogin.class.php 15:59 2010年7月5日 tianya $ | ||||
* @package DedeBIZ.Libraries | * @package DedeBIZ.Libraries | ||||
@@ -29,7 +29,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; | |||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if (empty($formhtml)) $formhtml = 0; | if (empty($formhtml)) $formhtml = 0; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("文档发布失败,投稿已经超出投稿限制次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
/*------------- | /*------------- | ||||
@@ -27,7 +27,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; | |||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if (empty($formhtml)) $formhtml = 0; | if (empty($formhtml)) $formhtml = 0; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("文档发布失败,投稿已经超出投稿限制次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
/*------------- | /*------------- | ||||
@@ -19,7 +19,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("文档发布失败,投稿已经超出投稿限制次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
/*------------- | /*------------- | ||||
@@ -19,7 +19,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("文档发布失败,投稿已经超出投稿限制次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
/*------------- | /*------------- | ||||
@@ -19,7 +19,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("文档发布失败,投稿已经超出投稿限制次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
/*------------- | /*------------- | ||||
@@ -19,7 +19,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("文档发布失败,投稿已经超出投稿限制次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
/*------------- | /*------------- | ||||
@@ -19,7 +19,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("文档发布失败,投稿已经超出投稿限制次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
/*------------- | /*------------- | ||||
@@ -19,7 +19,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("文档发布失败,投稿已经超出投稿限制次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
/*------------- | /*------------- | ||||
@@ -1,7 +1,7 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
/** | /** | ||||
* 文档操作处理函数 | |||||
* 文档处理操作函数 | |||||
* | * | ||||
* @version $id:inc_batchup.php 13:52 2010年7月9日 tianya $ | * @version $id:inc_batchup.php 13:52 2010年7月9日 tianya $ | ||||
* @package DedeBIZ.User | * @package DedeBIZ.User | ||||
@@ -61,7 +61,7 @@ function sendmail($email, $mailtitle, $mailbody, $headers) | |||||
} | } | ||||
} | } | ||||
/** | /** | ||||
* 发送邮件;type为INSERT新建验证码,UPDATE修改验证码 | |||||
* 发送邮件,type为INSERT新建验证码,UPDATE修改验证码 | |||||
* | * | ||||
* @param int $mid 会员id | * @param int $mid 会员id | ||||
* @param int $userid 用户id | * @param int $userid 用户id | ||||
@@ -108,7 +108,7 @@ function newmail($mid, $userid, $mailto, $type, $send) | |||||
} | } | ||||
} | } | ||||
/** | /** | ||||
* 查询会员信息mail用户输入邮箱地址userid用户名 | |||||
* 查询会员信息,mail用户输入邮箱地址,userid用户名 | |||||
* | * | ||||
* @param string $mail 邮件 | * @param string $mail 邮件 | ||||
* @param string $userid 用户id | * @param string $userid 用户id | ||||