@@ -91,28 +91,6 @@ table{border-collapse:separate} | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="900" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 浏览权限:</td> | |||
<td> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<option value='<?php echo $addRow["arcrank"]; ?>'><?php echo $addRow["rankname"]; ?></option> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank' And `rank`<>'{$addRow["arcrank"]}' "); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) { | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'> | |||
<td height="26" class="bline"> | |||
<table width="900" cellspacing="0" cellpadding="0"> | |||
@@ -143,16 +121,38 @@ table{border-collapse:separate} | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($addRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>"; | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
if($addRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $addRow['typeid']; ?>')" title='快捷选择' style='cursor:pointer'></i> | |||
</td> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="900" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 浏览权限:</td> | |||
<td> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<option value='<?php echo $addRow["arcrank"]; ?>'><?php echo $addRow["rankname"]; ?></option> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank' And `rank`<>'{$addRow["arcrank"]}' "); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) { | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php | |||
} | |||
@@ -221,7 +221,7 @@ table{border-collapse:separate} | |||
<table width="900" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:300px"></td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -1,7 +1,7 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>发布专题</title> | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
@@ -136,12 +136,12 @@ table{border-collapse:separate} | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np"> 远程</label> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</td> | |||
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td> | |||
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -279,7 +279,7 @@ table{border-collapse:separate} | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td> | |||
</tr> | |||
</table> | |||
<table width="98%" align="center" cellpadding="2" style="border:1px solid #dee2e6display:none;" cellspacing="2" id="adset"> | |||
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none;border:1px solid #dee2e6"> | |||
<tr> | |||
<td height="26" class="bline2">专题节点列表: <br> | |||
1、文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章;<br> | |||
@@ -309,8 +309,8 @@ table{border-collapse:separate} | |||
<table width="900" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="310"><input name="notename<?php echo $i?>" type="text" value="<?php echo $nodename; ?>" id="notename<?php echo $i?>" style="width:300px"></td> | |||
<td width="90" align="center">节点标识:</td> | |||
<td width="200"><input name="noteid<?php echo $i?>" type="text" value="<?php echo $nodeid; ?>" id="noteid<?php echo $i?>" style="width:100px"></td> | |||
<td width="90">节点标识:</td> | |||
<td><input name="noteid<?php echo $i?>" type="text" value="<?php echo $nodeid; ?>" id="noteid<?php echo $i?>" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -367,7 +367,7 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
@@ -1,7 +1,7 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>修改专题</title> | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
@@ -137,12 +137,12 @@ table{border-collapse:separate} | |||
<td width="90" height="90"> 缩略图:</td> | |||
<td> | |||
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np"> 远程</label> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</td> | |||
<td align="center"><img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px"></td> | |||
<td align="center"><img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="height:80px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -297,7 +297,7 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" align="center" cellpadding="2" cellspacing="2" style="border:1px solid #dee2e6display:none;" id="adset"> | |||
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none;border:1px solid #dee2e6"> | |||
<tr> | |||
<td height="26" class="bline2"> 专题节点列表:(文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章)<br>关于单条记录模板里的[field:fieldname /]标记的使用,请参考关于系统帮助关于 arclist 标记的说明</td> | |||
</tr> | |||
@@ -337,8 +337,8 @@ table{border-collapse:separate} | |||
<table width="900" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="310"><input name="notename<?php echo $i?>" type="text" id="notename<?php echo $i?>" style="width:300px" value="<?php echo $notename?>"></td> | |||
<td width="90" align="center">节点标识:</td> | |||
<td width="200"><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>" style="width:100px" value="<?php echo $noteid?>"></td> | |||
<td width="90">节点标识:</td> | |||
<td><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>" value="<?php echo $noteid?>" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -346,7 +346,7 @@ table{border-collapse:separate} | |||
<tr> | |||
<td>节点文章列表:</td> | |||
<td><textarea name="arcid<?php echo $i?>" rows="3" onblur="CheckVal(<?php echo $i ?>)" id="arcid<?php echo $i?>" style="width:90%"><?php echo $idlist?></textarea></td> | |||
<td align="center"><button class="btn btn-success btn-sm" name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文章</button></td> | |||
<td><button class="btn btn-success btn-sm" name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文章</button></td> | |||
</tr> | |||
<tr> | |||
<td>文档来源:</td> | |||
@@ -386,15 +386,13 @@ table{border-collapse:separate} | |||
{ | |||
?> | |||
<tr bgcolor="#F8FCF1"> | |||
<td width="113">节点 | |||
<?php echo $i?> | |||
名称:</td> | |||
<td width="90">节点<?php echo $i?>名称:</td> | |||
<td colspan="2"> | |||
<table width="900" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="310"><input name="notename<?php echo $i?>" type="text" id="notename<?php echo $i?>" style="width:300px"></td> | |||
<td width="90" align="center">节点标识:</td> | |||
<td width="200"><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>" style="width:100px"></td> | |||
<td width="90">节点标识:</td> | |||
<td><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>" style="width:100px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -402,7 +400,7 @@ table{border-collapse:separate} | |||
<tr> | |||
<td>节点文章列表:</td> | |||
<td><textarea name="arcid<?php echo $i?>" rows="3" onblur="CheckVal(<?php echo $i ?>)" id="arcid<?php echo $i?>" style="width:90%"></textarea></td> | |||
<td align="center"><button name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" class="btn btn-success btn-sm" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文章</button></td> | |||
<td><button name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" class="btn btn-success btn-sm" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文章</button></td> | |||
</tr> | |||
<tr> | |||
<td>文档来源:</td> | |||
@@ -441,7 +439,7 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||