|
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");
$artContent = substr(mysql_result($result1, $i1, "content"), 0, 150);
?>
|
|
$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++;
}
?>
|
|
if ($num4>0){?>
|
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" ?>.jpg" style="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){?>
Business Opportunity
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){?>
Asia Disaster
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){?>
Asian Pacific American Heritage Month
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){?>
Entertainment
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 ($numYou>0){?>
Youth
while ($iYou < $numYou) {
$artId = mysql_result($resultYou, $iYou, "id");
$artTitle = mysql_result($resultYou, $iYou, "title");
$artTitleSub = mysql_result($resultYou, $iYou, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iYou++;
}
?>
} ?>
if ($numEnt>0){?>
Arts
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++;
}
?>
} ?>
if ($numSpr>0){?>
Sports
while ($iSpr < $numSpr) {
$artId = mysql_result($resultSpr, $iSpr, "id");
$artTitle = mysql_result($resultSpr, $iSpr, "title");
$artTitleSub = mysql_result($resultSpr, $iSpr, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iSpr++;
}
?>
} ?>
if ($numPol>0){?>
Politics
while ($iPol < $numPol) {
$artId = mysql_result($resultPol, $iPol, "id");
$artTitle = mysql_result($resultPol, $iPol, "title");
$artTitleSub = mysql_result($resultPol, $iPol, "title_sub");
?>
- > echo "$artTitle" ?>
if (!empty($artTitleSub)){ echo "
$artTitleSub";}?>
$iPol++;
}
?>
} ?>
|
|
|
if ($numCol>0){?>
|
while ($iCol < $numCol) {
$artId = mysql_result($resultCol, $iCol, "id");
$artTitle = mysql_result($resultCol, $iCol, "title");
$artTitleSub = mysql_result($resultCol, $iCol, "title_sub");
$artPicName = mysql_result($resultCol, $iCol, "pic_main");
$artAuthor = mysql_result($resultCol, $iCol, "author");
?>
/ echo "$artPicName" ?>.jpg" style="margin-right:5px; margin-bottom:20px; border: 1px solid #CCCCCC;">
> echo "$artTitle" ?>
echo "$artTitleSub"; ?>
echo "$artAuthor"; ?>
|
$iCol++;
}
?>
|
|
}?>
|
|
|
|
|