|
while ($i1 < $num1) {
$artId = mysql_result($result1, $i1, "id");
$artTitle = mysql_result($result1, $i1, "title");
$artTitleSub = mysql_result($result1, $i1, "title_sub");
$artAuthor = mysql_result($result1, $i1, "author");
$artPicName = mysql_result($result1, $i1, "pic_main");
?>
|
|
$i1++;
}?>
while ($i2 < $num2) {
$artId = mysql_result($result2, $i2, "id");
$artTitle = mysql_result($result2, $i2, "title");
$artTitleSub = mysql_result($result2, $i2, "title_sub");
$artAuthor = mysql_result($result2, $i2, "author");
$artPicName = mysql_result($result2, $i2, "pic_main");
$artCategory = mysql_result($result2, $i2, "category");
?>
if (!empty($artPicName)){?>
}?>
|
if (!empty($artCategory)){echo " $artCategory "; } ?>
"> echo "$artTitle"; ?>
if(!empty($artTitleSub)){echo "$artTitleSub ";}?>
if (!empty($artAuthor)){ ?>
By echo "$artAuthor"; ?>
} ?>
">view story
|
|
$i2++;
}
?>
|
while ($i3 < $num3) {
$artId = mysql_result($result3, $i3, "id");
$artTitle = mysql_result($result3, $i3, "title");
$artTitleSub = mysql_result($result3, $i3, "title_sub");
$artAuthor = mysql_result($result3, $i3, "author");
$artPicName = mysql_result($result3, $i3, "pic_main");
$artCategory = mysql_result($result3, $i3, "category");
?>
|
$i3++;
}
?>
|
|
|
while ($iRest < $numRest) {
$artId = mysql_result($resultRest, $iRest, "id");
$artTitle = mysql_result($resultRest, $iRest, "title");
$artTitleSub = mysql_result($resultRest, $iRest, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iRest++;
}
?>
if ($numCul>0){?>
Culture
while ($iCul < $numCul) {
$artId = mysql_result($resultCul, $iCul, "id");
$artTitle = mysql_result($resultCul, $iCul, "title");
$artTitleSub = mysql_result($resultCul, $iCul, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iCul++;
}
?>
} ?>
if ($numBus>0){?>
Business
while ($iBus < $numBus) {
$artId = mysql_result($resultBus, $iBus, "id");
$artTitle = mysql_result($resultBus, $iBus, "title");
$artTitleSub = mysql_result($resultBus, $iBus, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iBus++;
}
?>
} ?>
if ($numEdu>0){?>
Education
while ($iEdu < $numEdu) {
$artId = mysql_result($resultEdu, $iEdu, "id");
$artTitle = mysql_result($resultEdu, $iEdu, "title");
$artTitleSub = mysql_result($resultEdu, $iEdu, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iEdu++;
}
?>
} ?>
if ($numHea>0){?>
Health and Healing
while ($iHea < $numHea) {
$artId = mysql_result($resultHea, $iHea, "id");
$artTitle = mysql_result($resultHea, $iHea, "title");
$artTitleSub = mysql_result($resultHea, $iHea, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iHea++;
}
?>
} ?>
if ($numInt>0){?>
International
while ($iInt < $numInt) {
$artId = mysql_result($resultInt, $iInt, "id");
$artTitle = mysql_result($resultInt, $iInt, "title");
$artTitleSub = mysql_result($resultInt, $iInt, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iInt++;
}
?>
} ?>
if ($numPub>0){?>
Book Review
while ($iPub < $numPub) {
$artId = mysql_result($resultPub, $iPub, "id");
$artTitle = mysql_result($resultPub, $iPub, "title");
$artTitleSub = mysql_result($resultPub, $iPub, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iPub++;
}
?>
} ?>
if ($numSen>0){?>
Senior Living
while ($iSen < $numSen) {
$artId = mysql_result($resultSen, $iSen, "id");
$artTitle = mysql_result($resultSen, $iSen, "title");
$artTitleSub = mysql_result($resultSen, $iSen, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iSen++;
}
?>
} ?>
if ($numEnt>0){?>
Entertainment
while ($iEnt < $numEnt) {
$artId = mysql_result($resultEnt, $iEnt, "id");
$artTitle = mysql_result($resultEnt, $iEnt, "title");
$artTitleSub = mysql_result($resultEnt, $iEnt, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iEnt++;
}
?>
} ?>
|
|
|
|
while ($iCol < $numCol) {
$artId = mysql_result($resultCol, $iCol, "id");
$artTitle = mysql_result($resultCol, $iCol, "title");
$artTitleSub = mysql_result($resultCol, $iCol, "title_sub");
?>
- > echo "$artTitle" ?>
if(!empty($artTitleSub)){echo "$artTitleSub";}?>
$iCol++;
}
?>
|
|
|
|
|
|
|
|
|
|
|