예제 #1
0
파일: read.php 프로젝트: poppen/p2
-->
</script>
<?php 
    }
    $debug && $profiler->enterSection('datToHtml');
    if ($aThread->rescount) {
        if (UA::isIPhoneGroup()) {
            require_once P2_IPHONE_LIB_DIR . '/ShowThreadPc.php';
        } else {
            require_once P2_LIB_DIR . '/ShowThreadPc.php';
        }
        $aShowThread = new ShowThreadPc($aThread);
        $res1 = $aShowThread->quoteOne();
        // >>1ポップアップ用
        echo $res1['q'];
        $aShowThread->datToHtml();
    } else {
        $res1 = array();
    }
    $debug && $profiler->leaveSection('datToHtml');
    // フィルタ結果を表示
    if ($word && $aThread->rescount) {
        ?>
<script type="text/javascript">
<!--
var filerstart = document.getElementById('filerstart');
if (filerstart) {
    filerstart.style.backgroundColor = 'yellow';
    filerstart.style.fontWeight = 'bold';
}
-->
예제 #2
0
파일: read.php 프로젝트: unpush/p2-php
     echo '<p><b>' . htmlspecialchars($aThread->resrange['start']) . 'へのレス</b></p>';
 }
 //$GLOBALS['debug'] && $GLOBALS['profiler']->enterSection("datToHtml");
 if ($aThread->rescount) {
     $mainhtml = '';
     $aShowThread = new ShowThreadPc($aThread);
     if ($_conf['expack.spm.enabled']) {
         echo $aShowThread->getSpmObjJs();
     }
     $res1 = $aShowThread->quoteOne();
     // >>1ポップアップ用
     if ($_conf['coloredid.enable'] > 0 && $_conf['coloredid.click'] > 0 && $_conf['coloredid.rate.type'] > 0) {
         if ($_GET['showbl']) {
             $mainhtml = $aShowThread->datToHtml_resFrom(true);
         } else {
             $mainhtml .= $aShowThread->datToHtml(true);
         }
         $mainhtml .= $res1['q'];
     } else {
         if ($_GET['showbl']) {
             $aShowThread->datToHtml_resFrom();
         } else {
             $aShowThread->datToHtml();
         }
         echo $res1['q'];
     }
     // レス追跡カラー
     if ($_conf['backlink_coloring_track']) {
         echo $aShowThread->getResColorJs();
     }
     // IDカラーリング