for($i=0; $i < count($ids); $i++ ){
// echo "
\n";
// echo " \n";
// echo " \n";
// echo "\n";
echo "
\n";
if($oid[$i]=="tsubu")
{
//echo "今回の主役
";
echo "\今回のメインヴィジュアル/
";
//echo "";
}
$sqls = "SELECT count(NEWS_ID) ".
" FROM TBL_NEWS_COUNT2014 WHERE NEWS_ID ='".$oid[$i]."'";
if (!($rss = mysql_query($sqls))) {
echo $sqls;
die;
}
$row = mysql_fetch_row($rss);
echo " \n";
echo " \n";
echo "\n";
/*
$sql = "SELECT FILE".
" FROM EXPO_IMG201 WHERE TYPE = 9 and ARTIST_ID = $ids[$i] ORDER BY ID DESC ";
if (!($rs = mysql_query($sql))) {
echo $sql;
die;
}
$f = "";
while ($item = mysql_fetch_array($rs)) {
$f = "${item[0]}";
}
$sqls = "SELECT count(NEWS_ID) ".
" FROM TBL_NEWS_COUNT WHERE NEWS_ID =".$ids[$i];
if (!($rss = mysql_query($sqls))) {
echo $sqls;
die;
}
$row = mysql_fetch_row($rss);
echo "
\n";
// echo "
\n".$nms[$i]."\n";
*/
}
// for($i= count($ids); $i < 56 ; $i++ ){
//
// echo "
No.--coming soon!
\n";
// }
}
//printf("%02d",($i+1))
?>