甲斐式 リスティング講座

■ 特別動画 甲斐より重要なメッセージ





動画が再生できない方はこちらをお試し下さい


内容に関して不明な点があれば
tyokusetu.jpg
この動画へ' . $roop . '人の方がコメントしています。

'; $navi = ''; # ページ分割用 if($roop > $max){ $page = floor($roop / $max); $amari = $roop % $max; for($i=1; $i<=$page; $i++){ if($_GET['p'] == $i){ $navi .= $i . ' '; }else{ $navi .= '' . $i . ' '; } // echo '' . $i . ' '; } // 余り分のページ表示 if($amari > 0){ if($_GET['p'] == $i){ $navi .= $i . ' '; }else{ $navi .= '' . $i . ' '; } // echo '' . $i . ' '; // echo '' . $i . ' '; } } $start = 0; if($_GET['p']){ $start = ($_GET['p']-1) * $max; $max = $start + $max; } $show = $start + 1; echo '

' . $navi . '

'; echo '
'; echo '

(' . $show . '-' . $max .'件のコメントを表示)

'; $roop = 0; foreach($Comment as $key => $val){ if($roop >= $max){ break; } if($roop < $start){ if(is_array($Child)){ foreach($Child as $val){ $roop++; } } $roop++; continue; } $Parent = $Comment[ $key ]['Parent']; $Child = $Comment[ $key ]['Child']; $name = $Parent['comment_author']; $comment = $Parent['comment_text']; if(!$Parent['comment_id']){ continue; } // $time2 = date('Y年n月j日 H:i', strtotime($Parent['comment_modified_on'])); $time2 = ''; print<<

{$comment}


END; if(is_array($Child)){ foreach($Child as $key=>$val){ $ChildData = $Child[ $key ]; $time2 = date('Y年n月j日 H:i', strtotime($ChildData['comment_modified_on'])); if($targetName == $ChildData['comment_author'] || $targetName2 == $ChildData['comment_author']){ $ChildImgFile = './img/kaiphoto.jpg'; }else{ $ChildImgFile = './img/hito.jpg'; } print<<
{$ChildData['comment_text']}
END; } } $roop++; } echo '

' . $navi . '

'; } ?>
tyokusetu.jpg