// 1行目が親レコードか否かのチェック用
$parent_flg = 0;
$i = $start_line;
while ($i < $_SESSION['ary_cnt']){
if ($i >= $disp_line_to){
break;
}
?>
if ($_SESSION['level'][$i] == 0){
$parent_flg = 1;
?>
if ($DEF_NEW_NOTE_ICON_FLG != "0"){ ?> } ?> =$_SESSION['title'][$i]?> |
if ($_SESSION['email'][$i] != ""){ ?>
[Mail]
} ?>
|
if ($_SESSION['url'][$i] != ""){ ?>
[Web]
} ?>
|
if ($DEF_RES != "0"){ ?>[返信] } ?> |
|
No.=str_replace(".txt","",$_SESSION['text_name'][$i])?>
=$_SESSION['entry_date'][$i]?> by =$_SESSION['name'][$i]?>=$_SESSION['Ssexage'][$i]?> if ($DEF_HOST_FLG == "1"){ ?> (=$_SESSION['host'][$i]?>) } ?>
|
[変更]
[削除]
|
if ($_SESSION['chara'][$i] != ""){ ?>
} ?>
|
|
|
// 20050211 ------------------------------------------------------------------>>>
if ($DEF_TAKABBS_IMAGE_TYPE == "1"){
?>
if ($_SESSION['image'][$i] != ""){
$array_image = explode("<>", $_SESSION['image'][$i]);
// 20060819----------------------------------------------------------------->>>
$array_image_org = explode("<>", $_SESSION['image_org'][$i]);
$j = 0;
// 20060819-----------------------------------------------------------------<<<
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 " ";
// 20060819----------------------------------------------------------------->>>
}else{
echo "".str_replace("_".$val,"",$array_image_org[$j])." ";
// 20060819-----------------------------------------------------------------<<<
}
// 20060819----------------------------------------------------------------->>>
$j++;
// 20060819-----------------------------------------------------------------<<<
}
}
?>
if ($_SESSION['sub_title'][$i] != ""){ ?>
=$_SESSION['sub_title'][$i]?>
} ?>
=nl2br($_SESSION['message'][$i])?>
|
}else{
// 20050211 ------------------------------------------------------------------<<<
if ($_SESSION['image'][$i] != ""){
$array_image = explode("<>", $_SESSION['image'][$i]);
// 20060819----------------------------------------------------------------->>>
$array_image_org = explode("<>", $_SESSION['image_org'][$i]);
$j = 0;
// 20060819-----------------------------------------------------------------<<<
?>
foreach($array_image as $val){
$buff_image_w = takabbs_get_width_image($DEF_TAKABBS_ENTRY_PATH."attached/".$val);
// 20050507 ------------------------------------------------------------------>>>
// $image_w = ($buff_image_w > $DEF_MAX_IMAGE_SIZE_S) ? $DEF_MAX_IMAGE_SIZE_S : $buff_image_w;
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;
}
// 20050507 ------------------------------------------------------------------<<<
$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))){
?>
// 20060819----------------------------------------------------------------->>>
}else{
echo "".str_replace("_".$val,"",$array_image_org[$j])." ";
// 20060819-----------------------------------------------------------------<<<
}
// 20060819----------------------------------------------------------------->>>
$j++;
// 20060819-----------------------------------------------------------------<<<
}
?>
|
|
}
?>
if ($_SESSION['sub_title'][$i] != ""){ ?>
=$_SESSION['sub_title'][$i]?>
} ?>
=nl2br($_SESSION['message'][$i])?>
|
// 20050211 ------------------------------------------------------------------>>>
}
// 20050211 ------------------------------------------------------------------<<<
?>
|
$i++;
}
while ($_SESSION['parent'][$i] != ""){
if ($i >= $disp_line_to){
break;
}
?>
if ($DEF_NEW_NOTE_ICON_FLG != "0"){ ?> } ?> =$_SESSION['title'][$i]?> |
if ($_SESSION['email'][$i] != ""){ ?>
[Mail]
} ?>
|
if ($_SESSION['url'][$i] != ""){ ?>
[Web]
} ?>
|
if ($DEF_RES != "0"){ ?>[返信] } ?> |
|
No.=str_replace(".txt","",$_SESSION['text_name'][$i])?>
=$_SESSION['entry_date'][$i]?> by =$_SESSION['name'][$i]?>=$_SESSION['Ssexage'][$i]?> if ($DEF_HOST_FLG == "1"){ ?> (=$_SESSION['host'][$i]?>) } ?>
|
[変更]
[削除]
|
if ($_SESSION['chara'][$i] != ""){ ?>
} ?>
|
|
|
// 20050211 ------------------------------------------------------------------>>>
if ($DEF_TAKABBS_IMAGE_TYPE == "1"){
?>
if ($_SESSION['image'][$i] != ""){
$array_image = explode("<>", $_SESSION['image'][$i]);
// 20060819----------------------------------------------------------------->>>
$array_image_org = explode("<>", $_SESSION['image_org'][$i]);
$j = 0;
// 20060819-----------------------------------------------------------------<<<
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 " ";
// 20060819----------------------------------------------------------------->>>
}else{
echo "".str_replace("_".$val,"",$array_image_org[$j])." ";
// 20060819-----------------------------------------------------------------<<<
}
// 20060819----------------------------------------------------------------->>>
$j++;
// 20060819-----------------------------------------------------------------<<<
}
}
?>
if ($_SESSION['sub_title'][$i] != ""){ ?>
=$_SESSION['sub_title'][$i]?>
} ?>
=nl2br($_SESSION['message'][$i])?>
|
}else{
// 20050211 ------------------------------------------------------------------<<<
if ($_SESSION['image'][$i] != ""){
$array_image = explode("<>", $_SESSION['image'][$i]);
// 20060819----------------------------------------------------------------->>>
$array_image_org = explode("<>", $_SESSION['image_org'][$i]);
$j = 0;
// 20060819-----------------------------------------------------------------<<<
?>
foreach($array_image as $val){
$buff_image_w = takabbs_get_width_image($DEF_TAKABBS_ENTRY_PATH."attached/".$val);
// 20050507 ------------------------------------------------------------------>>>
/// $image_w = ($buff_image_w > $DEF_MAX_IMAGE_SIZE_S) ? $DEF_MAX_IMAGE_SIZE_S : $buff_image_w;
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;
}
// 20050507 ------------------------------------------------------------------<<<
$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))){
?>
// 20060819----------------------------------------------------------------->>>
}else{
echo "".str_replace("_".$val,"",$array_image_org[$j])." ";
// 20060819-----------------------------------------------------------------<<<
}
// 20060819----------------------------------------------------------------->>>
$j++;
// 20060819-----------------------------------------------------------------<<<
}
?>
|
|
}
?>
if ($_SESSION['sub_title'][$i] != ""){ ?>
=$_SESSION['sub_title'][$i]?>
} ?>
=nl2br($_SESSION['message'][$i])?>
|
// 20050211 ------------------------------------------------------------------>>>
}
// 20050211 ------------------------------------------------------------------<<<
?>
|
|
$i++;
}
?>
if ($parent_flg == 1){
?>
|
}
?>
|
}
?>
|