'41626', "columnid" => '2287,2288', "is_makestatic" => 'no', "cutlength" => '25', "imgshowtype" => 'filename', );?> 'auto', "articleid" => 'auto', "target" => '_blank', "is_makestatic" => 'yes', "cutlength" => '15', "imgshowtype" => 'thumbfile2', "fontfamily" => '', "fontsize" => '12', "fontcolor" => '#000000', ); if($cellsetparameter) $parameter = $cellsetparameter + $parameter; foreach($parameter AS $key => $val) { $$key = $val; } if($columnid <>"auto" && $columnid){ $childs = getcolumnchild($columnid, $liv_config['db'][$source_db]); $column_cond .= " and cm.columnid in(" . $childs . ")"; } if($articleid <> "auto" && $articleid){ $article_cond = " and cm.id in(".$articleid.")"; } if ($ordertype){ $spec_order_str = 'cm.' . $ordertype . ' ' . $sorttype . ','; }else{ $spec_order_str=''; } $sql = "select cm.id,cm.contentid,a.liv_outlink,cm.columnid,cm.quoteid,cm.source_column,cm.title,cm.indexpic,cm.linktype,cm.staticfile,m.filepath,m.filename,m.thumbfile,m.thumbfile2,m.small_thumbfile,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents from " . DB_PREFIX . "contentmap cm LEFT JOIN " . DB_PREFIX ."material m on cm.indexpic = m.materialid left join " . DB_PREFIX . "column col on cm.columnid = col.columnid left join ".DB_PREFIX."article a on cm.contentid = a.articleid where cm.siteid =".$siteinfo['siteid']." and cm.modeid=1 and cm.indexpic <> 0 and cm.status = 3 ".$column_cond . $article_cond." order by ".$spec_order_str." cm.istop DESC, cm.pubdate DESC limit 3"; $result = $DB->query($sql); $pics = ''; $links = ''; $vowels = array("\"", "'", "“", "”", " "); $i=0; while($row = $DB->fetch_array($result)){ $i++; if(!$row['liv_outlink']){ $link = getfileurl($row); }else{ $link = $row['liv_outlink']; } $row['title'] = str_replace($vowels, "", $row['title']); $texts = addslashes(cutchars($row['title'],$cutlength)); $links .= ' 1) $links .= ' class="none" '; $links .= ' target="_blank">

'.$texts.'

'; $pics .= ''; //$pics .= getimageurl($row,$imgshowtype) . "|"; /**/ } ?>
文明动态
'41627', "columnid" => '2287', "rows" => '10', "is_makestatic" => 'no', "cutlength" => '21', "fontsize" => '15px', "lineheight" => '29px', );?> 'auto', "articleid" => 'auto', "rows" => '5', "cols" => '1', "record_start" => '', "ordertype" => '0', "sorttype" => 'DESC', "is_makestatic" => 'yes', "target" => '_blank', "morealt" => '', "prefix" => '·?', "shortlist" => '', "imgalt" => '', "title_suffix" => '', "suffix_num" => '5', "cutlength" => '20', "suffix_day" => '2', "addblankrow" => '0', "datetype" => '', "bgcolor" => '', "fontfamily" => '', "fontsize" => '14px', "fontcolor" => '', "fontstyle" => 'normal', "lineheight" => '24px', "text_align" => 'left', "sptitle" => '', "border_pos" => '', "linepixel" => '', "linetype" => '', "linecolor" => '', ); if($cellsetparameter) $parameter = $cellsetparameter + $parameter; if(!$parameter['rows']) { $parameter['rows'] = 1; } foreach ($parameter AS $key => $val) { $$key = $val; } $border_pos = $border_pos ? $border_pos .$linetype . " " . $linepixel . " " . $linecolor . ";" : ""; $lineheight = $lineheight ? "line-height:" . $lineheight . ";" : ""; $fontsize = $fontsize ? "font-size:" . $fontsize . ";" : ""; $fontstyle = $fontstyle ? "font-weight:" . $fontstyle . ";" : ""; $text_align=$text_align?"text-align:".$text_align.";":""; $fontcolor = $fontcolor ? "color:" . $fontcolor . ";" : ""; $fontfamily = $fontfamily ? "font-family:" . $fontfamily . ";" : ""; $cols_width = (intval(1/$cols*100)-0.5) . "%"; $cols_width = $cols_width != "100%" && $cols_width != "99.5%" ? "width:" . $cols_width . ";float:left;" : ""; $parameter['rows'] = $rows * $cols; $wherecond = ''; if($articleid && $articleid != 'auto') { $wherecond .= " and cm.id in(" . $articleid . ")"; } elseif($columnid == 'auto') { $wherecond .= " and cm.columnid = " . intval($_REQUEST['colid']); } elseif($columnid && $columnid != 'auto') { $childs = getcolumnchild($columnid, $liv_config['db'][$source_db]); $wherecond .= " and cm.columnid in(" . $childs . ")"; } else { $wherecond .= " and 1=0"; } if ($_REQUEST['his']) { $wherecond .= " and cm.id not in (" . implode(',', $_REQUEST['his']) . ')'; } $spec_order_str = ($ordertype) ? 'cm.' . $ordertype . ' ' . $sorttype : 'cm.pubdate '.$sorttype; $suffixday = mktime (0,0,0,date("m"),date("d")-$suffix_day,date("Y")); $_REQUEST['his'] = array(); /// old sql 刘云刚 20120830 保存 /* select cm.*,a.*,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents from ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a on cm.contentid = a.articleid left join ".DB_PREFIX."column col on cm.columnid = col.columnid where cm.siteid = ".$siteinfo['siteid']." and cm.modeid =1 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." */ $limits = $parameter['rows']; $record_start = intval($parameter['record_start']); $qresult = $DB->query("select cm.*,a.*,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents,col.currdomain,col.relate_dir from ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a on cm.contentid = a.articleid left join ".DB_PREFIX."column col on cm.columnid = col.columnid where cm.siteid = ".$siteinfo['siteid']." and cm.modeid =1 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." LIMIT $record_start,$limits"); $total['total'] = $DB->num_rows($qresult); if ($total['total']) { ?>
    fetch_array($qresult)) { $record_num++; foreach ($row AS $k => $v) { $$k = $v; } $short_list = $shortlist ? $shortlist : ''; $titlecut = $cutlength ? cutchars($title,$cutlength,$short_list) : $title; // $auto_titlelink = getfileurl($row); if($liv_outlink){ $auto_titlelink =$liv_outlink; }else{ $auto_titlelink=getfileurl($row); } $morelink = getcolumnurl($row); if(($record_num<=$suffix_num&&$pubdate>=$suffixday)) { $show_title_suffix=$title_suffix; } else { $show_title_suffix = ""; } $pubdate = date($datetype,$pubdate); $show_imgalt = ($loadfile) ? $imgalt : ''; if($morealt) { $amore = '
  • '.$morealt.'
  • '; } else { $amore = ''; } $_REQUEST['his'][] = $id; if(!empty($addblankrow) && $record_num%$addblankrow==0 && $record_num<>($cols*$rows)) { $blankrow = ''; } else { $blankrow = ''; } ?>
部门行动
'41628', "columnid" => '2288', "rows" => '8', "is_makestatic" => 'no', "lineheight" => '28px', );?> 'auto', "articleid" => 'auto', "rows" => '5', "cols" => '1', "record_start" => '', "ordertype" => '0', "sorttype" => 'DESC', "is_makestatic" => 'yes', "target" => '_blank', "morealt" => '', "prefix" => '·?', "shortlist" => '', "imgalt" => '', "title_suffix" => '', "suffix_num" => '5', "cutlength" => '20', "suffix_day" => '2', "addblankrow" => '0', "datetype" => '', "bgcolor" => '', "fontfamily" => '', "fontsize" => '14px', "fontcolor" => '', "fontstyle" => 'normal', "lineheight" => '24px', "text_align" => 'left', "sptitle" => '', "border_pos" => '', "linepixel" => '', "linetype" => '', "linecolor" => '', ); if($cellsetparameter) $parameter = $cellsetparameter + $parameter; if(!$parameter['rows']) { $parameter['rows'] = 1; } foreach ($parameter AS $key => $val) { $$key = $val; } $border_pos = $border_pos ? $border_pos .$linetype . " " . $linepixel . " " . $linecolor . ";" : ""; $lineheight = $lineheight ? "line-height:" . $lineheight . ";" : ""; $fontsize = $fontsize ? "font-size:" . $fontsize . ";" : ""; $fontstyle = $fontstyle ? "font-weight:" . $fontstyle . ";" : ""; $text_align=$text_align?"text-align:".$text_align.";":""; $fontcolor = $fontcolor ? "color:" . $fontcolor . ";" : ""; $fontfamily = $fontfamily ? "font-family:" . $fontfamily . ";" : ""; $cols_width = (intval(1/$cols*100)-0.5) . "%"; $cols_width = $cols_width != "100%" && $cols_width != "99.5%" ? "width:" . $cols_width . ";float:left;" : ""; $parameter['rows'] = $rows * $cols; $wherecond = ''; if($articleid && $articleid != 'auto') { $wherecond .= " and cm.id in(" . $articleid . ")"; } elseif($columnid == 'auto') { $wherecond .= " and cm.columnid = " . intval($_REQUEST['colid']); } elseif($columnid && $columnid != 'auto') { $childs = getcolumnchild($columnid, $liv_config['db'][$source_db]); $wherecond .= " and cm.columnid in(" . $childs . ")"; } else { $wherecond .= " and 1=0"; } if ($_REQUEST['his']) { $wherecond .= " and cm.id not in (" . implode(',', $_REQUEST['his']) . ')'; } $spec_order_str = ($ordertype) ? 'cm.' . $ordertype . ' ' . $sorttype : 'cm.pubdate '.$sorttype; $suffixday = mktime (0,0,0,date("m"),date("d")-$suffix_day,date("Y")); $_REQUEST['his'] = array(); /// old sql 刘云刚 20120830 保存 /* select cm.*,a.*,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents from ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a on cm.contentid = a.articleid left join ".DB_PREFIX."column col on cm.columnid = col.columnid where cm.siteid = ".$siteinfo['siteid']." and cm.modeid =1 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." */ $limits = $parameter['rows']; $record_start = intval($parameter['record_start']); $qresult = $DB->query("select cm.*,a.*,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents,col.currdomain,col.relate_dir from ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a on cm.contentid = a.articleid left join ".DB_PREFIX."column col on cm.columnid = col.columnid where cm.siteid = ".$siteinfo['siteid']." and cm.modeid =1 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." LIMIT $record_start,$limits"); $total['total'] = $DB->num_rows($qresult); if ($total['total']) { ?>
    fetch_array($qresult)) { $record_num++; foreach ($row AS $k => $v) { $$k = $v; } $short_list = $shortlist ? $shortlist : ''; $titlecut = $cutlength ? cutchars($title,$cutlength,$short_list) : $title; // $auto_titlelink = getfileurl($row); if($liv_outlink){ $auto_titlelink =$liv_outlink; }else{ $auto_titlelink=getfileurl($row); } $morelink = getcolumnurl($row); if(($record_num<=$suffix_num&&$pubdate>=$suffixday)) { $show_title_suffix=$title_suffix; } else { $show_title_suffix = ""; } $pubdate = date($datetype,$pubdate); $show_imgalt = ($loadfile) ? $imgalt : ''; if($morealt) { $amore = '
  • '.$morealt.'
  • '; } else { $amore = ''; } $_REQUEST['his'][] = $id; if(!empty($addblankrow) && $record_num%$addblankrow==0 && $record_num<>($cols*$rows)) { $blankrow = ''; } else { $blankrow = ''; } ?>
身边感动
'41629', "columnid" => '2289', "rows" => '8', "is_makestatic" => 'no', "lineheight" => '28px', );?> 'auto', "articleid" => 'auto', "rows" => '5', "cols" => '1', "record_start" => '', "ordertype" => '0', "sorttype" => 'DESC', "is_makestatic" => 'yes', "target" => '_blank', "morealt" => '', "prefix" => '·?', "shortlist" => '', "imgalt" => '', "title_suffix" => '', "suffix_num" => '5', "cutlength" => '20', "suffix_day" => '2', "addblankrow" => '0', "datetype" => '', "bgcolor" => '', "fontfamily" => '', "fontsize" => '14px', "fontcolor" => '', "fontstyle" => 'normal', "lineheight" => '24px', "text_align" => 'left', "sptitle" => '', "border_pos" => '', "linepixel" => '', "linetype" => '', "linecolor" => '', ); if($cellsetparameter) $parameter = $cellsetparameter + $parameter; if(!$parameter['rows']) { $parameter['rows'] = 1; } foreach ($parameter AS $key => $val) { $$key = $val; } $border_pos = $border_pos ? $border_pos .$linetype . " " . $linepixel . " " . $linecolor . ";" : ""; $lineheight = $lineheight ? "line-height:" . $lineheight . ";" : ""; $fontsize = $fontsize ? "font-size:" . $fontsize . ";" : ""; $fontstyle = $fontstyle ? "font-weight:" . $fontstyle . ";" : ""; $text_align=$text_align?"text-align:".$text_align.";":""; $fontcolor = $fontcolor ? "color:" . $fontcolor . ";" : ""; $fontfamily = $fontfamily ? "font-family:" . $fontfamily . ";" : ""; $cols_width = (intval(1/$cols*100)-0.5) . "%"; $cols_width = $cols_width != "100%" && $cols_width != "99.5%" ? "width:" . $cols_width . ";float:left;" : ""; $parameter['rows'] = $rows * $cols; $wherecond = ''; if($articleid && $articleid != 'auto') { $wherecond .= " and cm.id in(" . $articleid . ")"; } elseif($columnid == 'auto') { $wherecond .= " and cm.columnid = " . intval($_REQUEST['colid']); } elseif($columnid && $columnid != 'auto') { $childs = getcolumnchild($columnid, $liv_config['db'][$source_db]); $wherecond .= " and cm.columnid in(" . $childs . ")"; } else { $wherecond .= " and 1=0"; } if ($_REQUEST['his']) { $wherecond .= " and cm.id not in (" . implode(',', $_REQUEST['his']) . ')'; } $spec_order_str = ($ordertype) ? 'cm.' . $ordertype . ' ' . $sorttype : 'cm.pubdate '.$sorttype; $suffixday = mktime (0,0,0,date("m"),date("d")-$suffix_day,date("Y")); $_REQUEST['his'] = array(); /// old sql 刘云刚 20120830 保存 /* select cm.*,a.*,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents from ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a on cm.contentid = a.articleid left join ".DB_PREFIX."column col on cm.columnid = col.columnid where cm.siteid = ".$siteinfo['siteid']." and cm.modeid =1 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." */ $limits = $parameter['rows']; $record_start = intval($parameter['record_start']); $qresult = $DB->query("select cm.*,a.*,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents,col.currdomain,col.relate_dir from ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a on cm.contentid = a.articleid left join ".DB_PREFIX."column col on cm.columnid = col.columnid where cm.siteid = ".$siteinfo['siteid']." and cm.modeid =1 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." LIMIT $record_start,$limits"); $total['total'] = $DB->num_rows($qresult); if ($total['total']) { ?>
    fetch_array($qresult)) { $record_num++; foreach ($row AS $k => $v) { $$k = $v; } $short_list = $shortlist ? $shortlist : ''; $titlecut = $cutlength ? cutchars($title,$cutlength,$short_list) : $title; // $auto_titlelink = getfileurl($row); if($liv_outlink){ $auto_titlelink =$liv_outlink; }else{ $auto_titlelink=getfileurl($row); } $morelink = getcolumnurl($row); if(($record_num<=$suffix_num&&$pubdate>=$suffixday)) { $show_title_suffix=$title_suffix; } else { $show_title_suffix = ""; } $pubdate = date($datetype,$pubdate); $show_imgalt = ($loadfile) ? $imgalt : ''; if($morealt) { $amore = '
  • '.$morealt.'
  • '; } else { $amore = ''; } $_REQUEST['his'][] = $id; if(!empty($addblankrow) && $record_num%$addblankrow==0 && $record_num<>($cols*$rows)) { $blankrow = ''; } else { $blankrow = ''; } ?>
文明语丝
'41630', "columnid" => '2290', "rows" => '8', "is_makestatic" => 'no', "lineheight" => '28px', );?> 'auto', "articleid" => 'auto', "rows" => '5', "cols" => '1', "record_start" => '', "ordertype" => '0', "sorttype" => 'DESC', "is_makestatic" => 'yes', "target" => '_blank', "morealt" => '', "prefix" => '·?', "shortlist" => '', "imgalt" => '', "title_suffix" => '', "suffix_num" => '5', "cutlength" => '20', "suffix_day" => '2', "addblankrow" => '0', "datetype" => '', "bgcolor" => '', "fontfamily" => '', "fontsize" => '14px', "fontcolor" => '', "fontstyle" => 'normal', "lineheight" => '24px', "text_align" => 'left', "sptitle" => '', "border_pos" => '', "linepixel" => '', "linetype" => '', "linecolor" => '', ); if($cellsetparameter) $parameter = $cellsetparameter + $parameter; if(!$parameter['rows']) { $parameter['rows'] = 1; } foreach ($parameter AS $key => $val) { $$key = $val; } $border_pos = $border_pos ? $border_pos .$linetype . " " . $linepixel . " " . $linecolor . ";" : ""; $lineheight = $lineheight ? "line-height:" . $lineheight . ";" : ""; $fontsize = $fontsize ? "font-size:" . $fontsize . ";" : ""; $fontstyle = $fontstyle ? "font-weight:" . $fontstyle . ";" : ""; $text_align=$text_align?"text-align:".$text_align.";":""; $fontcolor = $fontcolor ? "color:" . $fontcolor . ";" : ""; $fontfamily = $fontfamily ? "font-family:" . $fontfamily . ";" : ""; $cols_width = (intval(1/$cols*100)-0.5) . "%"; $cols_width = $cols_width != "100%" && $cols_width != "99.5%" ? "width:" . $cols_width . ";float:left;" : ""; $parameter['rows'] = $rows * $cols; $wherecond = ''; if($articleid && $articleid != 'auto') { $wherecond .= " and cm.id in(" . $articleid . ")"; } elseif($columnid == 'auto') { $wherecond .= " and cm.columnid = " . intval($_REQUEST['colid']); } elseif($columnid && $columnid != 'auto') { $childs = getcolumnchild($columnid, $liv_config['db'][$source_db]); $wherecond .= " and cm.columnid in(" . $childs . ")"; } else { $wherecond .= " and 1=0"; } if ($_REQUEST['his']) { $wherecond .= " and cm.id not in (" . implode(',', $_REQUEST['his']) . ')'; } $spec_order_str = ($ordertype) ? 'cm.' . $ordertype . ' ' . $sorttype : 'cm.pubdate '.$sorttype; $suffixday = mktime (0,0,0,date("m"),date("d")-$suffix_day,date("Y")); $_REQUEST['his'] = array(); /// old sql 刘云刚 20120830 保存 /* select cm.*,a.*,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents from ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a on cm.contentid = a.articleid left join ".DB_PREFIX."column col on cm.columnid = col.columnid where cm.siteid = ".$siteinfo['siteid']." and cm.modeid =1 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." */ $limits = $parameter['rows']; $record_start = intval($parameter['record_start']); $qresult = $DB->query("select cm.*,a.*,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents,col.currdomain,col.relate_dir from ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a on cm.contentid = a.articleid left join ".DB_PREFIX."column col on cm.columnid = col.columnid where cm.siteid = ".$siteinfo['siteid']." and cm.modeid =1 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." LIMIT $record_start,$limits"); $total['total'] = $DB->num_rows($qresult); if ($total['total']) { ?>
    fetch_array($qresult)) { $record_num++; foreach ($row AS $k => $v) { $$k = $v; } $short_list = $shortlist ? $shortlist : ''; $titlecut = $cutlength ? cutchars($title,$cutlength,$short_list) : $title; // $auto_titlelink = getfileurl($row); if($liv_outlink){ $auto_titlelink =$liv_outlink; }else{ $auto_titlelink=getfileurl($row); } $morelink = getcolumnurl($row); if(($record_num<=$suffix_num&&$pubdate>=$suffixday)) { $show_title_suffix=$title_suffix; } else { $show_title_suffix = ""; } $pubdate = date($datetype,$pubdate); $show_imgalt = ($loadfile) ? $imgalt : ''; if($morealt) { $amore = '
  • '.$morealt.'
  • '; } else { $amore = ''; } $_REQUEST['his'][] = $id; if(!empty($addblankrow) && $record_num%$addblankrow==0 && $record_num<>($cols*$rows)) { $blankrow = ''; } else { $blankrow = ''; } ?>
美好家园
'41632', "columnid" => '2293', "cols" => '1', "is_makestatic" => 'no', "cutlength" => '20', "imgwidth" => '420', "imgheight" => '300', );?> 'auto', "articleid" => 'auto', "rows" => '1', "cols" => '4', "record_start" => '0', "ordertype" => '0', "sorttype" => 'DESC', "target" => '_blank', "is_makestatic" => 'yes', "morealt" => '', "shortlist" => '', "prefix" => '', "title_suffix" => '', "cutlength" => '10', "imgshowtype" => 'filename', "imgwidth" => '145', "imgheight" => '100', "fontfamily" => '', "fontsize" => '12px', "fontcolor" => '', "fontstyle" => 'normal', "lineheight" => '20px', "text_align" => 'center', "border_pos" => 'border:', "linepixel" => '1px', "linetype" => 'solid', "linecolor" => '#d4d4d4', "border_pad" => '1px', ); if($cellsetparameter) $parameter = $cellsetparameter + $parameter; if(!$parameter['rows']) { $parameter['rows'] = 1; } foreach ($parameter AS $key => $val) { $$key = $val; } $border_pos = $border_pos ? $border_pos .$linetype . " " . $linepixel . " " . $linecolor . ";padding:" .$border_pad. ";" : ""; $lineheight = $lineheight ? "line-height:" . $lineheight . ";" : ""; /*$textalign = $textalign ? "text-align:" . $textalign . ";" : "";*/ $text_align = $text_align ? "text-align:" . $text_align . ";" : ""; $fontstyle = $fontstyle ? "font-weight:" . $fontstyle . ";" : ""; $fontcolor = $fontcolor ? "color:" . $fontcolor . ";" : ""; $fontsize = $fontsize ? "font-size:" . $fontsize . ";" : ""; $fontfamily = $fontfamily ? "font-family:" . $fontfamily . ";" : ""; $cols_width = (intval(1/$cols*100)-0.5) . "%"; $cols_width = $cols_width != "100%" && $cols_width != "99.5%" ? "width:" . $cols_width . ";float:left;" : ""; $parameter['rows'] = $rows * $cols; $wherecond = ''; if($articleid && $articleid != 'auto') { $wherecond .= " and cm.id in(" . $articleid . ")"; } elseif($columnid == 'auto') { $wherecond .= " and cm.columnid = " . intval($_REQUEST['colid']); } elseif($columnid && $columnid != 'auto') { $childs = getcolumnchild($columnid, $liv_config['db'][$source_db]); $wherecond .= " and cm.columnid in(" . $childs . ")"; } else { $wherecond .= " and 1=0"; } $spec_order_str = ($ordertype) ? 'cm.' . $ordertype . ' ' . $sorttype : 'cm.pubdate '.$sorttype; $limits = $parameter['rows']; $record_start = intval($parameter['record_start']); $qresult = $DB->query("SELECT a.*,cm.*,m.filename,m.thumbfile,m.thumbfile2,m.filepath,m.small_thumbfile,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents FROM ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a ON a.articleid=cm.contentid left join ".DB_PREFIX."column col on cm.columnid = col.columnid LEFT JOIN ".DB_PREFIX."material m ON a.loadfile = m.materialid WHERE cm.siteid =".$siteinfo['siteid']." and cm.modeid = 1 and a.loadfile <>0 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." LIMIT $record_start,$limits"); $total['total'] = $DB->num_rows($qresult); if ($total['total']) { ?>
    fetch_array($qresult)) { $record_num++; foreach ($row AS $k => $v) { $$k = $v; } $minimage = getimageurl($row,$imgshowtype); $pubdate = date($datetype,$pubdate); $short_list = $shortlist ? $shortlist : ''; if($cutlength==0){ $titlecut='  '; }else{ $titlecut = $cutlength ? cutchars($title,$cutlength,$short_list) : $title; } if($liv_outlink){ $auto_titlelink =$liv_outlink; }else{ $auto_titlelink=getfileurl($row); } $morelink = getcolumnurl($row); if($morealt) { $amore = '
  • '.$morealt.'
  • '; } else { $amore = ''; } ?>
  • <?php echo $title;?>
'41633', "columnid" => '2293', "rows" => '2', "cols" => '3', "record_start" => '1', "is_makestatic" => 'no', "imgwidth" => '175', "imgheight" => '140', );?> 'auto', "articleid" => 'auto', "rows" => '1', "cols" => '4', "record_start" => '0', "ordertype" => '0', "sorttype" => 'DESC', "target" => '_blank', "is_makestatic" => 'yes', "morealt" => '', "shortlist" => '', "prefix" => '', "title_suffix" => '', "cutlength" => '10', "imgshowtype" => 'filename', "imgwidth" => '145', "imgheight" => '100', "fontfamily" => '', "fontsize" => '12px', "fontcolor" => '', "fontstyle" => 'normal', "lineheight" => '20px', "text_align" => 'center', "border_pos" => 'border:', "linepixel" => '1px', "linetype" => 'solid', "linecolor" => '#d4d4d4', "border_pad" => '1px', ); if($cellsetparameter) $parameter = $cellsetparameter + $parameter; if(!$parameter['rows']) { $parameter['rows'] = 1; } foreach ($parameter AS $key => $val) { $$key = $val; } $border_pos = $border_pos ? $border_pos .$linetype . " " . $linepixel . " " . $linecolor . ";padding:" .$border_pad. ";" : ""; $lineheight = $lineheight ? "line-height:" . $lineheight . ";" : ""; /*$textalign = $textalign ? "text-align:" . $textalign . ";" : "";*/ $text_align = $text_align ? "text-align:" . $text_align . ";" : ""; $fontstyle = $fontstyle ? "font-weight:" . $fontstyle . ";" : ""; $fontcolor = $fontcolor ? "color:" . $fontcolor . ";" : ""; $fontsize = $fontsize ? "font-size:" . $fontsize . ";" : ""; $fontfamily = $fontfamily ? "font-family:" . $fontfamily . ";" : ""; $cols_width = (intval(1/$cols*100)-0.5) . "%"; $cols_width = $cols_width != "100%" && $cols_width != "99.5%" ? "width:" . $cols_width . ";float:left;" : ""; $parameter['rows'] = $rows * $cols; $wherecond = ''; if($articleid && $articleid != 'auto') { $wherecond .= " and cm.id in(" . $articleid . ")"; } elseif($columnid == 'auto') { $wherecond .= " and cm.columnid = " . intval($_REQUEST['colid']); } elseif($columnid && $columnid != 'auto') { $childs = getcolumnchild($columnid, $liv_config['db'][$source_db]); $wherecond .= " and cm.columnid in(" . $childs . ")"; } else { $wherecond .= " and 1=0"; } $spec_order_str = ($ordertype) ? 'cm.' . $ordertype . ' ' . $sorttype : 'cm.pubdate '.$sorttype; $limits = $parameter['rows']; $record_start = intval($parameter['record_start']); $qresult = $DB->query("SELECT a.*,cm.*,m.filename,m.thumbfile,m.thumbfile2,m.filepath,m.small_thumbfile,col.maketype,col.contentfilename,col.colindex,col.coldir,col.suffix,col.childdomain,col.content_maketype,col.colparents FROM ".DB_PREFIX."contentmap cm left join ".DB_PREFIX."article a ON a.articleid=cm.contentid left join ".DB_PREFIX."column col on cm.columnid = col.columnid LEFT JOIN ".DB_PREFIX."material m ON a.loadfile = m.materialid WHERE cm.siteid =".$siteinfo['siteid']." and cm.modeid = 1 and a.loadfile <>0 and cm.status=3 $wherecond order by cm.istop DESC, ".$spec_order_str." LIMIT $record_start,$limits"); $total['total'] = $DB->num_rows($qresult); if ($total['total']) { ?>
    fetch_array($qresult)) { $record_num++; foreach ($row AS $k => $v) { $$k = $v; } $minimage = getimageurl($row,$imgshowtype); $pubdate = date($datetype,$pubdate); $short_list = $shortlist ? $shortlist : ''; if($cutlength==0){ $titlecut='  '; }else{ $titlecut = $cutlength ? cutchars($title,$cutlength,$short_list) : $title; } if($liv_outlink){ $auto_titlelink =$liv_outlink; }else{ $auto_titlelink=getfileurl($row); } $morelink = getcolumnurl($row); if($morealt) { $amore = '
  • '.$morealt.'
  • '; } else { $amore = ''; } ?>
  • <?php echo $title;?>

www.6789801.com刊登批准文号:鲁www.6789801.com办[2006]16号

德州日报社 主办 葡京娱乐网址电话:0534-2562862,2562870(网络春晚咨询热线),2562861,2562859 邮箱:dzrbxww@dezhoudaily.com

葡京娱乐网址版权所有。未经协议授权 禁止下载使用

XML 地图 | Sitemap 地图