dedecms织梦tag+keyword调用相关文章(5)

                $row['filename'] = $row['arcurl'] = GetFileUrl($row['id'],$row['typeid'],$row['senddate'],$row['title'],$row['ismake'],

                $row['arcrank'],$row['namerule'],$row['typedir'],$row['money'],$row['filename'],$row['moresite'],$row['siteurl'],$row['sitepath']);

 

                $row['typeurl'] = GetTypeUrl($row['typeid'],$row['typedir'],$row['isdefault'],$row['defaultname'],$row['ispart'],

                $row['namerule2'],$row['moresite'],$row['siteurl'],$row['sitepath']);

 

                if($row['litpic'] == '-' || $row['litpic'] == '')

                {

                    $row['litpic'] = $GLOBALS['cfg_cmspath'].'/images/defaultpic.gif';

                }

                if(!preg_match("#^http:\/\/#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>";

                $row['image'] = "<img src='".$row['picname']."' border='0' width='$imgwidth' height='$imgheight' alt='".preg_replace("#['><]#","",$row['title'])."'>";

                $row['imglink'] = "<a href='".$row['filename']."'>".$row['image']."</a>";

                $row['fulltitle'] = $row['title'];

                $row['title'] = cn_substr($row['title'], $titlelen);

                if($row['color']!='') $row['title'] = "<font color='".$row['color']."'>".$row['title']."</font>";

                if(preg_match('#b#', $row['flag'])) $row['title'] = "<strong>".$row['title']."</strong>";

                $row['textlink'] = "<a href='".$row['filename']."'>".$row['title']."</a>";

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/a8ed2510537ace817c52361cce816597.html