// 1行目が親レコードか否かのチェック用
$parent_flg = 0;
$ii_flg = 0;
$i = $start_line;
while ($i < $_SESSION['ary_cnt']){
if ($ii_flg > 0) {
$i++;
$ii_flg = 0;
}
if ($i >= $disp_line_to){
break;
}
$ii = $i;
?>
if ($_SESSION['level'][$i] <= 0){
$parent_flg = 1;
?>
if ($DEF_NEW_NOTE_ICON_FLG != "0"){ ?> } ?> |
if ($_SESSION['email'][$i] != ""){ ?>
} ?>
|
if ($_SESSION['url'][$i] != ""){ ?>
} ?>
|
if ($DEF_RES != "0"){ ?> } ?> |
|
|
No.
by if ($DEF_HOST_FLG == "1"){ ?> () } ?>
|
if ($_SESSION['chara'][$i] != ""){ ?>
} ?>
|
|
|
|
if ($DEF_TAKABBS_IMAGE_TYPE == "1"){
?>
if ($_SESSION['image'][$i] != ""){
$array_image = explode("<>", $_SESSION['image'][$i]);
$array_image_org = explode("<>", $_SESSION['image_org'][$i]);
$j = 0;
foreach($array_image as $val){
$extention = substr(strrchr($val, "."), 1);
if ((ereg("[pP][nN][gG]",$extention))||(ereg("[jJ][pP][gG]",$extention))||(ereg("[jJ][pP][eE][gG]",$extention))||(ereg("[jJ][pP][eE]",$extention))||(ereg("[gG][iI][fF]",$extention))){
echo " ";
}else{
echo "".str_replace("_".$val,"",$array_image_org[$j])." ";
}
$j++;
}
}
?>
if ($_SESSION['sub_title'][$i] != ""){ ?>
} ?>
|
}else{
if ($_SESSION['image'][$i] != ""){
$array_image = explode("<>", $_SESSION['image'][$i]);
$array_image_org = explode("<>", $_SESSION['image_org'][$i]);
$j = 0;
?>
foreach($array_image as $val){
$buff_image_w = takabbs_get_width_image($DEF_TAKABBS_ENTRY_PATH."attached/".$val);
if ($buff_image_w > $DEF_MAX_IMAGE_SIZE_S){
$image_w = $DEF_MAX_IMAGE_SIZE_S;
$img_src = "s_".$val;
if (!file_exists($DEF_TAKABBS_ENTRY_PATH."attached/".$img_src)){
$img_src = $val;
}
}else{
$image_w = $buff_image_w;
$img_src = $val;
}
$extention = substr(strrchr($val, "."), 1);
if ((ereg("[pP][nN][gG]",$extention))||(ereg("[jJ][pP][gG]",$extention))||(ereg("[jJ][pP][eE][gG]",$extention))||(ereg("[jJ][pP][eE]",$extention))||(ereg("[gG][iI][fF]",$extention))){
?>
}else{
echo "".str_replace("_".$val,"",$array_image_org[$j])." ";
}
$j++;
}
?>
|
|
}
?>
if ($_SESSION['sub_title'][$i] != ""){ ?>
} ?>
|
}
?>
|
$i++;
}
while ( ($_SESSION['parent'][$i] != "") ){
if ($i >= $disp_line_to){
break;
}
?>
if ($DEF_NEW_NOTE_ICON_FLG != "0"){ ?> } ?> |
if ($_SESSION['email'][$i] != ""){ ?>
} ?>
|
if ($_SESSION['url'][$i] != ""){ ?>
} ?>
|
if ($DEF_RES != "0"){ ?> } ?> |
|
|
No.
by if ($DEF_HOST_FLG == "1"){ ?> () } ?>
|
|
if ($_SESSION['chara'][$i] != ""){ ?>
} ?>
|
|
|
|
if ($DEF_TAKABBS_IMAGE_TYPE == "1"){
?>
if ($_SESSION['image'][$i] != ""){
$array_image = explode("<>", $_SESSION['image'][$i]);
$array_image_org = explode("<>", $_SESSION['image_org'][$i]);
$j = 0;
foreach($array_image as $val){
$extention = substr(strrchr($val, "."), 1);
if ((ereg("[pP][nN][gG]",$extention))||(ereg("[jJ][pP][gG]",$extention))||(ereg("[jJ][pP][eE][gG]",$extention))||(ereg("[jJ][pP][eE]",$extention))||(ereg("[gG][iI][fF]",$extention))){
echo " ";
}else{
echo "".str_replace("_".$val,"",$array_image_org[$j])." ";
}
$j++;
}
}
?>
if ($_SESSION['sub_title'][$i] != ""){ ?>
} ?>
|
}else{
if ($_SESSION['image'][$i] != ""){
$array_image = explode("<>", $_SESSION['image'][$i]);
$array_image_org = explode("<>", $_SESSION['image_org'][$i]);
$j = 0;
?>
foreach($array_image as $val){
$buff_image_w = takabbs_get_width_image($DEF_TAKABBS_ENTRY_PATH."attached/".$val);
if ($buff_image_w > $DEF_MAX_IMAGE_SIZE_S){
$image_w = $DEF_MAX_IMAGE_SIZE_S;
$img_src = "s_".$val;
if (!file_exists($DEF_TAKABBS_ENTRY_PATH."attached/".$img_src)){
$img_src = $val;
}
}else{
$image_w = $buff_image_w;
$img_src = $val;
}
$extention = substr(strrchr($val, "."), 1);
if ((ereg("[pP][nN][gG]",$extention))||(ereg("[jJ][pP][gG]",$extention))||(ereg("[jJ][pP][eE][gG]",$extention))||(ereg("[jJ][pP][eE]",$extention))||(ereg("[gG][iI][fF]",$extention))){
?>
}else{
echo "".str_replace("_".$val,"",$array_image_org[$j])." ";
}
$j++;
}
?>
|
|
} //end-if
?>
if ($_SESSION['sub_title'][$i] != ""){ ?>
} ?>
|
}
?>
|
|
$i++;
} //while
if ($parent_flg == 1){
?>
|
}
if ($ii == $i) {
$ii_flg = 1;
} else {
$ii_flg = 0;
}
?>
|
} //while
?>
|