@@ -38,7 +38,7 @@ if ($dopost == 'editArchives') { | |||||
if ($litpic_b64 != "") { | if ($litpic_b64 != "") { | ||||
$data = explode(',', $litpic_b64); | $data = explode(',', $litpic_b64); | ||||
$ntime = time(); | $ntime = time(); | ||||
$savepath = $ddcfg_image_dir.'/'.MyDate($cfg_addon_savetype, $ntime); | |||||
$savepath = $cfg_image_dir.'/'.MyDate($cfg_addon_savetype, $ntime); | |||||
CreateDir($savepath); | CreateDir($savepath); | ||||
$fullUrl = $savepath.'/'.dd2char(MyDate('mdHis', $ntime).$cuserLogin->getUserID().mt_rand(1000, 9999)); | $fullUrl = $savepath.'/'.dd2char(MyDate('mdHis', $ntime).$cuserLogin->getUserID().mt_rand(1000, 9999)); | ||||
$fullUrl = $fullUrl.".png"; | $fullUrl = $fullUrl.".png"; | ||||
@@ -75,7 +75,7 @@ a{text-decoration:none!important} | |||||
</script> | </script> | ||||
<table width="100%" align="center" cellspacing="0" cellpadding="2" class="table table-borderless"> | <table width="100%" align="center" cellspacing="0" cellpadding="2" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td colspan="3" > | |||||
<td colspan="3"> | |||||
<form action="select_media_post.php" method="POST" enctype="multipart/form-data" name="myform"> | <form action="select_media_post.php" method="POST" enctype="multipart/form-data" name="myform"> | ||||
<input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | <input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | ||||
<input type="hidden" name="f" value="<?php echo $f ?>"> | <input type="hidden" name="f" value="<?php echo $f ?>"> | ||||
@@ -80,7 +80,7 @@ a{text-decoration:none!important} | |||||
</script> | </script> | ||||
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless"> | <table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td colspan="3" > | |||||
<td colspan="3"> | |||||
<form action="select_soft_post.php" method="POST" enctype="multipart/form-data" name='myform'> | <form action="select_soft_post.php" method="POST" enctype="multipart/form-data" name='myform'> | ||||
<input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | <input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | ||||
<input type="hidden" name="f" value="<?php echo $f ?>"> | <input type="hidden" name="f" value="<?php echo $f ?>"> | ||||
@@ -168,7 +168,7 @@ a{text-decoration:none!important} | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="3" >点击选择的文件,红色字样的为刚上传的文件</td> | |||||
<td colspan="3">点击选择的文件,红色字样的为刚上传的文件</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</body> | </body> |
@@ -61,7 +61,7 @@ a{text-decoration:none!important} | |||||
</script> | </script> | ||||
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless"> | <table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td colspan="3" > | |||||
<td colspan="3"> | |||||
<form action="select_templets_post.php" method="POST" enctype="multipart/form-data" name="myform"> | <form action="select_templets_post.php" method="POST" enctype="multipart/form-data" name="myform"> | ||||
<input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | <input type="hidden" name="activepath" value="<?php echo $activepath ?>"> | ||||
<input type="hidden" name="f" value="<?php echo $f ?>"> | <input type="hidden" name="f" value="<?php echo $f ?>"> | ||||
@@ -32,7 +32,7 @@ $dlist->display(); | |||||
function GetPic($pic) | function GetPic($pic) | ||||
{ | { | ||||
if ($pic == '') return '无图标'; | if ($pic == '') return '无图标'; | ||||
else return "<img src='$pic' width='88' />"; | |||||
else return "<img src='$pic' style='max-width:80px;max-height:60px'>"; | |||||
} | } | ||||
function GetSta($sta) | function GetSta($sta) | ||||
{ | { | ||||
@@ -63,7 +63,7 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||||
<table width='98%' cellpadding='1' cellspacing='1' style='margin-bottom:10px' align='center' class='table maintable'> | <table width='98%' cellpadding='1' cellspacing='1' style='margin-bottom:10px' align='center' class='table maintable'> | ||||
<tr align='center' bgcolor='#F8FCF1' > | <tr align='center' bgcolor='#F8FCF1' > | ||||
<td width='5%'>选择</td> | <td width='5%'>选择</td> | ||||
<td width='6%' ><a href='javascript:;' onclick=\"ReloadPage('aid')\">ID</a></td> | |||||
<td width='6%'><a href='javascript:;' onclick=\"ReloadPage('aid')\">ID</a></td> | |||||
<td width='20%'>关键词</td> | <td width='20%'>关键词</td> | ||||
<td width='30%'>分词结果</td> | <td width='30%'>分词结果</td> | ||||
<td width='6%'><a href='javascript:;' onclick=\"ReloadPage('count')\">频率</a></td> | <td width='6%'><a href='javascript:;' onclick=\"ReloadPage('count')\">频率</a></td> | ||||
@@ -24,7 +24,7 @@ | |||||
{ | { | ||||
$allowhtml = array('htmltext'); | $allowhtml = array('htmltext'); | ||||
$fields['sta'] = $fields['ifcheck'] == 1 ? '已审核':'未审核'; | $fields['sta'] = $fields['ifcheck'] == 1 ? '已审核':'未审核'; | ||||
echo '<tr bgcolor="#F8FCF1" ><td width="18%"><input type="checkbox" name="id[]" value="'.$fields['id'].'" class="np"></td><td><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'">'.$fields['id'].'</a> '.$fields['sta'].'</td><td width="12%" align="center"><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a></td></tr>'; | |||||
echo '<tr bgcolor="#F8FCF1"><td width="18%"><input type="checkbox" name="id[]" value="'.$fields['id'].'" class="np"></td><td><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'">'.$fields['id'].'</a> '.$fields['sta'].'</td><td width="12%" align="center"><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a></td></tr>'; | |||||
foreach($fieldlist as $field=>$fielddata) | foreach($fieldlist as $field=>$fielddata) | ||||
{ | { | ||||
if($fields[$field]=='') continue; | if($fields[$field]=='') continue; | ||||
@@ -38,7 +38,7 @@ | |||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8" colspan="7"><span class="current" id="cate_1">短信列表</span> <a href="member_pmall.php">群发短信</a> <a href="member_pmone.php">单独短信</a></td> | <td bgcolor="#f8f8f8" colspan="7"><span class="current" id="cate_1">短信列表</span> <a href="member_pmall.php">群发短信</a> <a href="member_pmone.php">单独短信</a></td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#F8FCF1" > | |||||
<tr bgcolor="#F8FCF1"> | |||||
<td width="10%" align="center">发送时间</td> | <td width="10%" align="center">发送时间</td> | ||||
<td width="20%" align="center">标题</td> | <td width="20%" align="center">标题</td> | ||||
<td width="5%" align="center">已读</td> | <td width="5%" align="center">已读</td> | ||||
@@ -15,7 +15,7 @@ | |||||
<tr> | <tr> | ||||
<td bgcolor="#f8f8f8" colspan="6">会员管理 > 会员级别设置</td> | <td bgcolor="#f8f8f8" colspan="6">会员管理 > 会员级别设置</td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#F8FCF1" > | |||||
<tr bgcolor="#F8FCF1"> | |||||
<td colspan="6">级别名称和级别值:(注册会员这个级别不能删除,否则会员系统将会无法正常使用某些功能)</td> | <td colspan="6">级别名称和级别值:(注册会员这个级别不能删除,否则会员系统将会无法正常使用某些功能)</td> | ||||
</tr> | </tr> | ||||
<tr align="center"> | <tr align="center"> | ||||
@@ -52,7 +52,7 @@ | |||||
} | } | ||||
?> | ?> | ||||
<input type="hidden" name="idend" value="<?php echo $k; ?>"> | <input type="hidden" name="idend" value="<?php echo $k; ?>"> | ||||
<tr bgcolor="#F8FCF1" > | |||||
<tr bgcolor="#F8FCF1"> | |||||
<td colspan="6">新增一个级别:由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员</td> | <td colspan="6">新增一个级别:由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员</td> | ||||
</tr> | </tr> | ||||
<tr align="center"> | <tr align="center"> | ||||
@@ -42,12 +42,12 @@ function lib_flink(&$ctag, &$refObj) | |||||
if ($type == 'text' || $type == 'textall') { | if ($type == 'text' || $type == 'textall') { | ||||
$link = "<a href='".$dbrow->url."' target='_blank'>".cn_substr($dbrow->webname, $titlelen)."</a> "; | $link = "<a href='".$dbrow->url."' target='_blank'>".cn_substr($dbrow->webname, $titlelen)."</a> "; | ||||
} else if ($type == 'image') { | } else if ($type == 'image') { | ||||
$link = "<a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' width='88' ></a> "; | |||||
$link = "<a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' style='max-width:80px;max-height:60px'></a> "; | |||||
} else { | } else { | ||||
if ($dbrow->logo == '') { | if ($dbrow->logo == '') { | ||||
$link = "<a href='".$dbrow->url."' target='_blank'>".cn_substr($dbrow->webname, $titlelen)."</a> "; | $link = "<a href='".$dbrow->url."' target='_blank'>".cn_substr($dbrow->webname, $titlelen)."</a> "; | ||||
} else { | } else { | ||||
$link = "<a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' width='88' ></a> "; | |||||
$link = "<a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' style='max-width:80px;max-height:60px'></a> "; | |||||
} | } | ||||
} | } | ||||
$rbtext = preg_replace("/\[field:url([\/\s]{0,})\]/isU", $dbrow->url, $innertext); | $rbtext = preg_replace("/\[field:url([\/\s]{0,})\]/isU", $dbrow->url, $innertext); | ||||
@@ -1,9 +1,9 @@ | |||||
投票标签 | 投票标签 | ||||
>>dede>> | >>dede>> | ||||
{dede:vote id='' line tablewidth='100%' titlebgcolor='#EDEDE2' titlebackground='' tablebgcolor='#ffffff'/} | |||||
{dede:vote id='' lineheight='26' tablewidth='100%' titlebgcolor='#EDEDE2' titlebackground='' tablebgcolor='#ffffff'/} | |||||
>>dede>> | >>dede>> | ||||
id='' 数字,当前投票ID | id='' 数字,当前投票ID | ||||
line 表格高度 | |||||
lineheight='26' 表格高度 | |||||
tablewidth='100%' 表格宽度 | tablewidth='100%' 表格宽度 | ||||
titlebgcolor='#EDEDE2' 投票标题背景色 | titlebgcolor='#EDEDE2' 投票标题背景色 | ||||
titlebackground='' | titlebackground='' | ||||
@@ -40,7 +40,7 @@ | |||||
if($dbrow->logo=="") | if($dbrow->logo=="") | ||||
$revalue.= "<li><a href='".$dbrow->url."' target='_blank'>$wtitle</a></li>"; | $revalue.= "<li><a href='".$dbrow->url."' target='_blank'>$wtitle</a></li>"; | ||||
else | else | ||||
$revalue.= "<li><a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' width='88' alt='$wtitle'></a></li>"; | |||||
$revalue.= "<li><a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' alt='$wtitle' style='max-width:80px;max-height:60px'></a></li>"; | |||||
} | } | ||||
if(!$dbrow) break; | if(!$dbrow) break; | ||||
} | } | ||||