|
|
@@ -539,9 +539,9 @@ class ListView |
|
|
|
if ($row['litpic'] == '-' || $row['litpic'] == '') {
|
|
|
|
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg';
|
|
|
|
}
|
|
|
|
/*if (!preg_match("/^http:\/\//i", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') {
|
|
|
|
if (!preg_match("/^(http|https):\/\//i", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') {
|
|
|
|
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic'];
|
|
|
|
}*/
|
|
|
|
}
|
|
|
|
$row['picname'] = $row['litpic'];
|
|
|
|
$row['stime'] = GetDateMK($row['pubdate']);
|
|
|
|
$row['typelink'] = "<a href='".$row['typeurl']."'>".$row['typename']."</a>";
|
|
|
@@ -971,9 +971,9 @@ class ListView |
|
|
|
if ($row['litpic'] == '-' || $row['litpic'] == '') {
|
|
|
|
$row['litpic'] = $GLOBALS['cfg_cmspath'].'/static/web/img/thumbnail.jpg';
|
|
|
|
}
|
|
|
|
/*if (!preg_match("/^http:\/\//i", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') {
|
|
|
|
if (!preg_match("/^(http|https):\/\//i", $row['litpic']) && $GLOBALS['cfg_multi_site'] == 'Y') {
|
|
|
|
$row['litpic'] = $GLOBALS['cfg_mainsite'].$row['litpic'];
|
|
|
|
}*/
|
|
|
|
}
|
|
|
|
$row['picname'] = $row['litpic'];
|
|
|
|
$row['stime'] = GetDateMK($row['pubdate']);
|
|
|
|
$row['typelink'] = "<a href='".$row['typeurl']."'>".$row['typename']."</a>";
|
|
|
|