} //主表信息 $sByoU_neT_row = $dsql->GetOne("select * from #@__arctype where id='{$bid}' and topid!=45 limit 1"); if ($sByoU_neT_row['overdate']) { $abover = '完结'; } else { $abover = '连载'; } $ii++; $ii % 2 == 0 ? $class = ' style="border-top:none;"' : ($class = ''); //列表 $liSTR .= ' <li' . $class . '> <p class="t"><a href="page.php?aid=' . $bid . '">' . $sByoU_neT_row['typename'] . '</a><span>' . $abover . ',' . $sByoU_neT_row['booksize'] . '字</span></p> <p class="z">作者:<span>' . $sByoU_neT_row['zuozhe'] . '</span> 类型:<a href="' . $MOBILE_URL . '?caid=' . $sByoU_neT_row['topid'] . '">' . SBYOU_NET_catalog($sByoU_neT_row['topid'], 'typename') . '</a></p> <p class="new">最新:' . SbYOU_Net_NEW($bid, 'wap') . '</p> <p class="s">书签:' . $sq . '</p> <p class="g" id="msg_box' . $ii . '"><span>管理:</span><a href="javascript:del_favorite(mid,mname,regdate,\'delfav\',\'' . $bid . '\',\'' . $ii . '\');">下架本书</a></p> <p>添加书签时间:' . date('Y-m-d H:i:s', $sByoU_neT_row['lastupdate']) . '</p> </li> '; } } else { $liSTR = ' <div class="goodsBody s"> <br /> : : 抱歉,暂无相关内容,立马为您收集! <br /> <br /> <br /> </div>
//列表 $dsql->SetQuery($where_sql . " order by id desc limit {$offset},{$num}"); $dsql->Execute(); while ($list_row = $dsql->GetObject()) { $topid = $list_row->topid; if ($list_row->zuozhe) { $list_zz = '<a style="color:#025b81;" href="' . $cfg_indexurl . 'author/?' . $list_row->id . '.html" target="_blank" title="' . $list_row->zuozhe . '">' . $list_row->zuozhe . '</a>'; } else { $list_zz = '<font style="color:#343434;">未记录</font>'; } $gxlb_i++; $gxlb_i % 2 == 0 ? $class = ' class="odd"' : ($class = ''); $list_str .= ' <li' . $class . '> <div class="c"><a href="' . $cfg_indexurl . SBYOU_NET_catalog($topid, 'typedir') . '.html" title="' . str_replace('·', '', SBYOU_NET_catalog($topid, 'typename')) . '">[' . str_replace('·', '', SBYOU_NET_catalog($topid, 'typename')) . ']</a></div> <div class="title"> <div class="t"><a href="' . $cfg_indexurl . ltrim($list_row->typedir, '/') . '/" title="' . $list_row->typename . '" target="_blank">' . $list_row->typename . '</a></div> <div class="n">' . SbYOU_Net_NEW($list_row->id, ltrim($list_row->typedir, '/')) . '</div> </div> <div class="words">' . $list_row->booksize . '</div> <div class="author">' . $list_zz . '</div> <div class="abover">' . ($list_row->overdate == 0 ? '<span>连载</span>' : '<font style="color:blue">完结</font>') . '</div> <div class="time">' . date('Y-m-d', $list_row->lastupdate) . '</div> </li> '; } //加载模板 require_once DEDEINC . "/datalistcp.class.php"; $dlist = new DataListCP(); $dlist->SetTemplet($cfg_basedir . $cfg_templets_dir . "/" . $cfg_df_style . "/shuku.htm"); $dlist->Display();
if ($sByoU_nET_row['id']) { $sq = '<a href="archive.php?aid=' . $aid . '" title="' . $sByoU_nET_row['title'] . '" target="_blank">' . $sByoU_nET_row['title'] . '</a>'; } else { $sq = '暂时没有书签'; } //主表信息 $sByoU_neT_row = $dsql->GetOne("select * from #@__arctype where id='{$bid}' and topid!=45 limit 1"); $ii++; $ii % 2 == 0 ? $class = ' class="bgf6"' : ($class = ''); //列表 $liSTR .= ' <p' . $class . '> <a href="page.php?aid=' . $bid . '" title="' . $sByoU_neT_row['typename'] . '">' . $sByoU_neT_row['typename'] . '</a>-' . $sByoU_neT_row['zuozhe'] . '<br> <span class="c6">类型:<a href="' . $MOBILE_URL . '?caid=' . $sByoU_neT_row['topid'] . '">' . SBYOU_NET_catalog($sByoU_neT_row['topid'], 'typename') . '</a></span><br> <span class="c6">更新时间:' . date('Y-m-d H:i:s', $sByoU_neT_row['lastupdate']) . '</span><br> <span class="c6">最新:' . SbYOU_Net_NEW($bid, 'wap') . '</span><br> <span>书签:' . $sq . '</span><br> <span id="msg_box' . $ii . '">管理:<a href="javascript:del_favorite(mid,mname,regdate,\'delfav\',\'' . $bid . '\',\'' . $ii . '\');">下架本书</a></span> </p> '; } } else { $liSTR = ' <br /> 抱歉,暂无相关内容! <br /> <br /> '; $pageNav = ''; } //输出