当前位置: 首页 > 应用专题
-
$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}$tiao = $empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='{$r['id']}'");
$tt = $empire->fetch1("select * from {$dbtbpre}enewsztinfo where ztid='{$r['id']}' limit 1");
if ($tt) {
$ztid1 = $tt['ztid'];
$ecms_bq_sql = sys_ReturnEcmsIndexLoopBq($ztid1, 6, 1);
$links = array(); // 用于存储链接的数组
while ($indexbqr = $empire->fetch($ecms_bq_sql)) {
if (empty($class_r[$indexbqr['classid']]['tbname'])) {
continue;
}
$bqr = $empire->fetch1("select * from {$dbtbpre}ecms_".$class_r[$indexbqr['classid']]['tbname']." where id='{$indexbqr['id']}'");
$bqsr = sys_ReturnEcmsLoopStext($bqr);
// 构建单个链接的HTML
$links[] = ''.$bqr['title'].'';
}
// 构建最终的列表项HTML
$listtemp = '
-
'.implode('', $links).'';
// 输出或处理最终的列表项
echo $listtemp;
}