|
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");
?>
|
if (!empty($artPicName)){?>
/ echo $artPicName; ?>.gif" align="left" alt="" style="margin-right:20px;border: 1px solid #333333;">
}?>
if (!empty($artTitleSub)){
echo"$artTitle
$artTitleSub
";
}?>
if (empty($artTitleSub)){
echo"$artTitle ";?>
if (!empty($artPicName)){echo "
";} ?>
echo"";
}?>
if (!empty($artAuthor)){
echo"$artAuthor ";
}?>
">view story
|
$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($artCategory)){echo " $artCategory "; } ?>
echo "$artTitle"; ?>
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");
?>
if (!empty($artPicName)){?>
/ echo "$artPicName" ?>.gif" align="left" alt="" style="margin-right:13px; border: 1px solid #333333;" >
}?>
if (!empty($artCategory)){echo " $artCategory "; } ?>
echo "$artTitle" ?>
if (!empty($artTitleSub)){echo "$artTitleSub ";}?>
if(!empty($artAuthor)){echo "By $artAuthor ";} ?>
">view story
|
$i3++;
}
?>
|
|
|
while ($i4 < $num4) {
$artId = mysql_result($result4, $i4, "id");
$artTitle = mysql_result($result4, $i4, "title");
$artTitleSub = mysql_result($result4, $i4, "title_sub");
$artPicName = mysql_result($result4, $i4, "pic_main");
$artAuthor = mysql_result($result4, $i4, "author");
?>
/ echo "$artPicName" ?>.gif" style="float:left; margin-right:5px; margin-bottom:20px; border: 1px solid #CCCCCC;">
> echo "$artTitle" ?>
echo "$title_sub"; ?>
|
$i4++;
}
?>
|
|
|
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){?>
New Publication(s)
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){?>
Asian Senior
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++;
}
?>
} ?>
|
|
|
|
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++;
}
?>
|
|
|
|
|
|
|
|
|
|