if($ken>10){
?>
//¢ª
if(($page==0) and ($page<($page_cnt))){
?>
}
//¢«¡¡¢ª
if(($page!=0) and ($page<($page_cnt))){
?>
|
}
//¢«
if(($ken>0) and ($page!=0) and ($page==$page_cnt)){
?>
}
?>
|
}
?>
$hyouji2=$hyouji+10;
for($i=0;$i<$ken;$i++){
if($hyouji<=$i and $i<$hyouji2){
//ÊÑ´¹
$tit="";
$tit=split(",",$title[$junban[$i]]);
$img1=""; $img2=""; $img3="";
if(file_exists("admin/enimg/".$id[$junban[$i]]."_1.jpg")){ $it="jpg"; }
if(file_exists("admin/enimg/".$id[$junban[$i]]."_1.gif")){ $it="gif"; }
if(file_exists("admin/enimg/".$id[$junban[$i]]."_1.".$it)){
//²èÁü¥µ¥¤¥º
list($width,$height)=getimagesize("admin/enimg/".$id[$junban[$i]]."_1.".$it);
$cwidth="200";
$cheight="150";
//jpg
if($it=="jpg"){
if($width>$height and $width>$cwidth){
$width_x=$cwidth;
$width_y=($height/$width)*$cwidth;
}elseif($height>$width and $height>$cheight){
$width_x=($width/$height)*$cheight;
$width_y=$cheight;
}else{
$width_x=$width;
$width_y=$height;
}
$img1="
";
}else{
$img1="
";
}
$imga="
";
}
if(file_exists("admin/enimg/".$id[$junban[$i]]."_2.jpg")){ $it="jpg"; }
if(file_exists("admin/enimg/".$id[$junban[$i]]."_2.gif")){ $it="gif"; }
if(file_exists("admin/enimg/".$id[$junban[$i]]."_2.".$it)){
//²èÁü¥µ¥¤¥º
list($width,$height)=getimagesize("admin/enimg/".$id[$junban[$i]]."_2.".$it);
$cwidth="95";
$cheight="68";
//jpg
if($it=="jpg"){
if($width>$height and $width>$cwidth){
$width_x=$cwidth;
$width_y=($height/$width)*$cwidth;
}elseif($height>$width and $height>$cheight){
$width_x=($width/$height)*$cheight;
$width_y=$cheight;
}else{
$width_x=$width;
$width_y=$height;
}
$img2="";
}else{
$img2="
";
}
}
if(file_exists("admin/enimg/".$id[$junban[$i]]."_3.jpg")){ $it="jpg"; }
if(file_exists("admin/enimg/".$id[$junban[$i]]."_3.gif")){ $it="gif"; }
if(file_exists("admin/enimg/".$id[$junban[$i]]."_3.".$it)){
//²èÁü¥µ¥¤¥º
list($width,$height)=getimagesize("admin/enimg/".$id[$junban[$i]]."_3.".$it);
$cwidth="95";
$cheight="68";
//jpg
if($it=="jpg"){
if($width>$height and $width>$cwidth){
$width_x=$cwidth;
$width_y=($height/$width)*$cwidth;
}elseif($height>$width and $height>$cheight){
$width_x=($width/$height)*$cheight;
$width_y=$cheight;
}else{
$width_x=$width;
$width_y=$height;
}
$img3="
";
}else{
$img3="
";
}
}
?>
echo $tit[0]; ?> |
echo date("Y.m.d",$ndate[$junban[$i]]); ?> |
if($img1!="" or $img2!="" or $img3!=""){
?>
echo $img1; ?>
echo $img2; ?>
echo $img3; ?>
echo $imga; ?>
$img1="";
}
echo ereg_replace("\n","
",$body[$junban[$i]]);
if(file_exists("admin/enimg/".$id[$junban[$i]].".pdf")){
echo "
".$tit[1]."";
}
?>
}
}
?>
if($ken>10){
?>
}
?>