@@ -70,7 +70,7 @@ function CheckPic($picname) | |||
if ($picname != "") { | |||
return $picname; | |||
} else { | |||
return "/static/web/img/defaultpic.jpg"; | |||
return "/static/web/img/thumbnail.jpg"; | |||
} | |||
} | |||
//判断内容是否生成网页 | |||
@@ -642,7 +642,7 @@ $(document).ready(function () { | |||
litpicImgSrc = ""; | |||
litpicImg = ""; | |||
$("#picname").val(litpicImg); | |||
$("#litPic").attr("src", "../../static/web/img/defaultpic.jpg"); | |||
$("#litPic").attr("src", "../../static/web/img/thumbnail.jpg"); | |||
}) | |||
//添加图片 | |||
$("#iptAddImages").change(function (event) { | |||
@@ -111,7 +111,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="80">广告内容:</td> | |||
<td>广告内容:</td> | |||
<td width="70%"> | |||
<div class="typetab"> | |||
<ul id="changeTab"> | |||
@@ -127,7 +127,7 @@ | |||
<td width="10%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80">过期显示内容:</td> | |||
<td>过期显示内容:</td> | |||
<td><textarea name="expbody" id="expbody" class="biz-textarea"></textarea></td> | |||
<td></td> | |||
</tr> | |||
@@ -101,13 +101,13 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="80">正常显示内容:</td> | |||
<td>正常显示内容:</td> | |||
<td width="70%"><textarea name="normbody" id="normbody" class="biz-textarea"><?php echo dede_htmlspecialchars(stripslashes($row['normbody']))?></textarea> | |||
</td> | |||
<td width="10%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80">过期显示内容:</td> | |||
<td>过期显示内容:</td> | |||
<td><textarea name="expbody" id="expbody" class="biz-textarea"><?php echo dede_htmlspecialchars($row['expbody'])?></textarea></td> | |||
<td></td> | |||
</tr> | |||
@@ -131,7 +131,7 @@ | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" style="width:300px"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -139,7 +139,7 @@ | |||
<button type="button" id="btnClearAll" class="btn btn-sm btn-success delete">清空</button> | |||
<label><input type="checkbox" name="ddisfirst" value="1"> 使用图集的第一幅图</label> | |||
</td> | |||
<td align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" class="thumbnail"></td> | |||
<td><img id="litPic" src="../static/web/img/thumbnail.jpg" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -130,15 +130,15 @@ | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="80"> 缩略图:</td> | |||
<td> | |||
<td width="90"> 缩略图:</td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px"> | |||
<label><input type="checkbox" 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="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td align="center"><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td> | |||
<td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -110,14 +110,14 @@ | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" style="width:300px"> | |||
<label><input type="checkbox" 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 type="button" id="btnClearAll" class="btn btn-success delete">清空</button> | |||
</td> | |||
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td> | |||
<td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -108,15 +108,15 @@ | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="80"> 缩略图:</td> | |||
<td> | |||
<td width="90"> 缩略图:</td> | |||
<td width="560"> | |||
<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> | |||
<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">清空</button> | |||
</td> | |||
<td align="center"><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td> | |||
<td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -45,117 +45,117 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<form name="form1" action="archives_sg_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit()"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
<input type="hidden" name="cid" value="<?php echo $cid?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border"> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> <?php echo $cInfos['titlename'];?>:</td> | |||
<td><input type="text" name="title" id="title" value="" style="width:390px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<form name="form1" action="archives_sg_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit()"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
<input type="hidden" name="cid" value="<?php echo $cid?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border"> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> <?php echo $cInfos['titlename'];?>:</td> | |||
<td><input type="text" name="title" id="title" value="" style="width:390px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("Select * From `#@__arcatt` where att<>'j' And att<>'p' order by sortid asc"); | |||
$dsql->Execute(); | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr id="pictable" style="<?php if ($cInfos['needpic']==0) echo 'display:none';?>"> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" style="width:300px"> | |||
<label><input type="checkbox" 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 type="button"id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php if ($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}'>"; | |||
} else { | |||
?> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 自定义属性:</td> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("Select * From `#@__arcatt` where att<>'j' And att<>'p' order by sortid asc"); | |||
$dsql->Execute(); | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr id="pictable" style="<?php if ($cInfos['needpic']==0) echo 'display:none';?>"> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<input type="text" name="picname" id="picname" style="width:300px"> | |||
<label><input type="checkbox" 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 type="button"id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php if ($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}'>"; | |||
} else { | |||
?> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<span id="typeidct"> | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
echo "<option value='0'>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?></span> | |||
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择" style="cursor:pointer"></i> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php }?> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 浏览权限:</td> | |||
<td> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<span id="typeidct"> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank'"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) | |||
{ | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select> | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
echo "<option value='0'>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?></span> | |||
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择" style="cursor:pointer"></i> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?></td> | |||
</tr> | |||
</table> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3"> | |||
<tr> | |||
<td align="center" class="py-2"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</tr> | |||
<?php }?> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 浏览权限:</td> | |||
<td> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank'"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) | |||
{ | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?></td> | |||
</tr> | |||
</table> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3"> | |||
<tr> | |||
<td align="center" class="py-2"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -42,120 +42,120 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<form name="form1" action="archives_sg_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | |||
<input type="hidden" name="id" value="<?php echo $aid;?>"> | |||
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border"> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> <?php echo $cInfos['titlename'];?>:</td> | |||
<td><input type="text" name="title" id="title" value="<?php echo $addRow['title'];?>" style="width:390px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` WHERE att<>'j' AND att<>'p' ORDER BY sortid ASC"); | |||
$dsql->Execute(); | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if (preg_match("#".$trow->att."#", $addRow['flag'])) | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr id="pictable" style="<?php if ($cInfos['needpic']==0) echo 'display:none';?>"> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<input type="text" name="picname" id="picname" style="width:300px" value="<?php echo $addRow['litpic']?>"> | |||
<label><input type="checkbox" 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="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td align="center"><img src="<?php if ($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php if ($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}'>"; | |||
} else { | |||
?> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($addRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
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> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline"> | |||
<table 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>"; | |||
} | |||
<form name="form1" action="archives_sg_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | |||
<input type="hidden" name="id" value="<?php echo $aid;?>"> | |||
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border"> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> <?php echo $cInfos['titlename'];?>:</td> | |||
<td><input type="text" name="title" id="title" value="<?php echo $addRow['title'];?>" style="width:390px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` WHERE att<>'j' AND att<>'p' ORDER BY sortid ASC"); | |||
$dsql->Execute(); | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if (preg_match("#".$trow->att."#", $addRow['flag'])) | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php }?> | |||
<tr> | |||
<td><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?></td> | |||
</tr> | |||
</table> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3"> | |||
<tr> | |||
<td align="center" class="py-2"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr id="pictable" style="<?php if ($cInfos['needpic']==0) echo 'display:none';?>"> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" style="width:300px" value="<?php echo $addRow['litpic']?>"> | |||
<label><input type="checkbox" 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="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td><img src="<?php if ($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php if ($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}'>"; | |||
} else { | |||
?> | |||
<tr> | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($addRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
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> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline"> | |||
<table 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 }?> | |||
<tr> | |||
<td><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?></td> | |||
</tr> | |||
</table> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3"> | |||
<tr> | |||
<td align="center" class="py-2"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -132,14 +132,14 @@ | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" style="width:300px"> | |||
<label><input type="checkbox" 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 type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td> | |||
<td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -118,14 +118,14 @@ | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<td width="560"> | |||
<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> | |||
<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">清空</button> | |||
</td> | |||
<td align="center"><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td> | |||
<td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -308,7 +308,7 @@ | |||
</td> | |||
</tr> | |||
<tr id="helpvarco" style="display:none"> | |||
<td height="80" bgcolor="#f8f8f8">栏目交叉说明:</td> | |||
<td bgcolor="#f8f8f8">栏目交叉说明:</td> | |||
<td bgcolor="#f8f8f8">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚>智能手机、诺基亚>音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点 | |||
</td> | |||
</tr> | |||
@@ -253,7 +253,7 @@ | |||
</td> | |||
</tr> | |||
<tr id="helpvarco" style="display:none"> | |||
<td height="80" bgcolor="#f8f8f8">栏目交叉说明:</td> | |||
<td bgcolor="#f8f8f8">栏目交叉说明:</td> | |||
<td bgcolor="#f8f8f8">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚>智能手机、诺基亚>音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点 | |||
</td> | |||
</tr> | |||
@@ -34,7 +34,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="16%" height="80">频道信息统计:</td> | |||
<td width="16%">频道信息统计:</td> | |||
<td width="84%"> | |||
<table width="300" cellpadding="1" cellspacing="1"> | |||
<tr align="center" bgcolor="#E8E6D7"> | |||
@@ -103,12 +103,12 @@ | |||
<td colspan="2"><input type="text" name="endtime" id="endtime" value="<?php echo $endDay?>" class="datepicker"></td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">正常显示内容:</td> | |||
<td align="center">正常显示内容:</td> | |||
<td width="70%"><textarea name="normbody" id="normbody" class="biz-textarea"></textarea></td> | |||
<td width="9%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">过期显示内容:</td> | |||
<td align="center">过期显示内容:</td> | |||
<td><textarea name="expbody" id="expbody" class="biz-textarea"></textarea></td> | |||
<td></td> | |||
</tr> | |||
@@ -52,12 +52,12 @@ | |||
<td colspan="2"><input type="text" name="endtime" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>"></td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">正常显示内容:</td> | |||
<td align="center">正常显示内容:</td> | |||
<td width="70%"><textarea name="normbody" id="normbody" class="biz-textarea"><?php echo $row['normbody']?></textarea></td> | |||
<td width="9%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">过期显示内容:</td> | |||
<td align="center">过期显示内容:</td> | |||
<td><textarea name="expbody" id="expbody" class="biz-textarea"><?php echo $row['expbody']?></textarea> </td> | |||
<td></td> | |||
</tr> | |||
@@ -123,14 +123,14 @@ | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" style="width:300px"> | |||
<label><input type="checkbox" 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 type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td> | |||
<td><img src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -121,7 +121,7 @@ | |||
<td class="bline"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="80"> 缩略图:</td> | |||
<td width="90"> 缩略图:</td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label> | |||
@@ -129,7 +129,7 @@ | |||
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td align="center"><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td> | |||
<td><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -125,14 +125,14 @@ | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" style="width:300px"> | |||
<label><input type="checkbox" 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 type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td> | |||
<td><img id="litPic" src="../static/web/img/thumbnail.jpg" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -125,14 +125,14 @@ | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<td width="560"> | |||
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px"> | |||
<label><input type="checkbox" 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 type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button> | |||
</td> | |||
<td align="center"><img id="litPic" src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td> | |||
<td><img id="litPic" src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/thumbnail.jpg';?>" id="litPic" class="thumbnail"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -188,7 +188,7 @@ | |||
if ($row['value']){ | |||
echo " <img src=".$row['value']." id='idd_{$row['varname']}' class='thumbnail'>"; | |||
} else { | |||
echo " <img src='../static/web/img/defaultpic.jpg' id='idd_{$row['varname']}' class='thumbnail'>"; | |||
echo " <img src='../static/web/img/thumbnail.jpg' id='idd_{$row['varname']}' class='thumbnail'>"; | |||
} | |||
} else { | |||
$addstr=''; | |||
@@ -51,7 +51,7 @@ if ($tagid !='') | |||
$row['namerule2'],$row['moresite'],$row['siteurl'],$row['sitepath']); | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') | |||
{ | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("#^http:\/\/#", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') | |||
{ | |||
@@ -232,7 +232,7 @@ class Archives | |||
//处理默认缩略图等 | |||
if (isset($this->Fields['litpic'])) { | |||
if ($this->Fields['litpic'] == '-' || $this->Fields['litpic'] == '') { | |||
$this->Fields['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$this->Fields['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("#^http:\/\/#i", $this->Fields['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$this->Fields['litpic'] = $GLOBALS['cfg_mainsite'].$this->Fields['litpic']; | |||
@@ -699,7 +699,7 @@ class Archives | |||
$preRow['sitepath'] | |||
); | |||
//二次开发上一篇属性 | |||
$preRow['litpic'] = (empty($preRow['litpic'])) ? $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg' : $preRow['litpic']; | |||
$preRow['litpic'] = (empty($preRow['litpic'])) ? $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg' : $preRow['litpic']; | |||
$this->PreNext['diy']['pre']['id'] = $preRow['id']; | |||
$this->PreNext['diy']['pre']['arcurl'] = $mlink; | |||
$this->PreNext['diy']['pre']['title'] = $preRow['title']; | |||
@@ -728,7 +728,7 @@ class Archives | |||
$nextRow['sitepath'] | |||
); | |||
//二次开发下一篇属性 | |||
$nextRow['litpic'] = (empty($nextRow['litpic'])) ? $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg' : $nextRow['litpic']; | |||
$nextRow['litpic'] = (empty($nextRow['litpic'])) ? $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg' : $nextRow['litpic']; | |||
$this->PreNext['diy']['next']['id'] = $nextRow['id']; | |||
$this->PreNext['diy']['next']['arcurl'] = $mlink; | |||
$this->PreNext['diy']['next']['title'] = $nextRow['title']; | |||
@@ -547,7 +547,7 @@ class FreeList | |||
} | |||
$row['description'] = cn_substr($row['description'], $infolen); | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("#^http:\/\/#i", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||
@@ -744,7 +744,7 @@ class ListView | |||
$row['sitepath'] | |||
); | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("/^http:\/\//i", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||
@@ -138,7 +138,7 @@ class RssView | |||
while ($row = $this->dsql->GetArray('al')) { | |||
//处理一些特殊字段 | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("/^http:\/\//", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||
@@ -580,7 +580,7 @@ class SearchView | |||
$row["title"] = $this->GetRedKeyWord(cn_substr($row["title"], $titlelen)); | |||
$row["id"] = $row["id"]; | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("/^http:\/\//", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||
@@ -615,7 +615,7 @@ class SgListView | |||
$row['sitepath'] | |||
); | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("/^http:\/\//", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||
@@ -353,7 +353,7 @@ class SpecView | |||
$row["title"] = cn_substr($row["title"], $titlelen); | |||
$row["id"] = $row["id"]; | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("/^http:\/\//", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||
@@ -350,7 +350,7 @@ class TagList | |||
$row['sitepath'] | |||
); | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("/^http:\/\//", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||
@@ -348,7 +348,7 @@ function lib_arclistDone (&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlele | |||
$row['sitepath'] | |||
); | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("#^(http|https):\/\/#i", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||
@@ -179,7 +179,7 @@ function lib_arclistsg(&$ctag, &$refObj) | |||
$row['sitepath'] | |||
); | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("#^(http|https):\/\/#i", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||
@@ -125,7 +125,7 @@ function lib_likearticle(&$ctag, &$refObj) | |||
$row['sitepath'] | |||
); | |||
if ($row['litpic'] == '-' || $row['litpic'] == '') { | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/defaultpic.jpg'; | |||
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg'; | |||
} | |||
if (!preg_match("#^(http|https):\/\/#i", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') { | |||
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic']; | |||