Ejemplo n.º 1
0
		 <div id="blog-detail-text"><?php 
                echo _BLOG_POSTBY;
                ?>
<strong>Admin</strong> | 
         <strong><?php 
                echo parent::CountRow('blog_comment', 'blogid', $blog['blogid']);
                ?>
</strong><?php 
                echo _BLOG_COMMENT;
                ?>
</div>
		 </div>	 	 
		</td>
		<td valign="top" style="padding:15px 20px 10px 0; width:100%">
		 <div id="blog-pretext"><?php 
                echo BB::Code($blog['pretext']);
                ?>
</div>
         <div id="blog-readmore" style="margin-top:15px">
         <a href="<?php 
                echo $path->SetRequest(1, 'blog') . $path->NextRequest(array(trim($blog['title'])));
                ?>
">
         <img src="<?php 
                echo $this->domain;
                ?>
images/btnReadMore.jpg" width="80" height="22" border="0"/>
         </a></div>
		</td>
      </tr>
		<?php 
Ejemplo n.º 2
0
    }
    foreach (parent::ViewTableWhere('blog_comment', 'blogid', $blogEngine->GetBlogID($path->Level(2)), 'commentid DESC', 20) as $comment) {
        echo '<div class="comment-list"><div class="comment-name"><strong>' . $comment['name'] . '</strong><font size="1"> on ';
        $totalcDays = LastDays($_SERVER['REQUEST_TIME']);
        $totalmDays = LastDays($comment['created']);
        if ($totalcDays - $totalmDays == 0) {
            echo 'Today';
        } else {
            if ($totalcDays - $totalmDays == 1) {
                echo 'Yesterday';
            } else {
                echo 'Last ' . ($totalcDays - $totalmDays) . ' Days';
            }
        }
        echo '</font></div><div class="comment-text">';
        echo BB::Code($comment['comment']);
        echo '</div></div>';
    }
    echo '</div></td><td valign="top"><table width="95%" align="center" border="0" cellpadding="2" cellspacing="0"><tr><td align="right">';
    echo '<strong>Name: </strong></td><td align="left">';
    echo '<input id="name-comment" type="text" maxlength="20" size="20" value="" /></td></tr><tr><td align="right" valign="top">';
    echo '<strong>Comment: </strong></td><td align="left">';
    echo '<textarea id="text-comment" cols="60" rows="8"></textarea></td></tr><tr><td align="center" valign="top" colspan="2">';
    echo '<input id="submit-comment" type="submit" value="COMMENT"/></td></tr></table>';
    echo '</td></tr></table>';
}
?>



Ejemplo n.º 3
0
                    for ($index = 1; $index < $totalImage; $index++) {
                        $headManga .= '<option value="' . ($index + 1) . '">' . $index . '</option>';
                    }
                    $headManga .= '</select> (of ' . ($totalImage - 1) . ' pages)</strong><br/><br/>';
                    echo '<a href="' . $reqPath->SetRequest(1, $reqPath->Level(1)) . '"><center><h2>' . $reqPath->Level(1) . '</h2></center></a>' . $headManga;
                    echo '<span style="font-size:11px;">(<strong>NextPage:</strong> Left-click on image. OR Press right Arrow-Key. / ';
                    echo '<strong>BackPage:</strong> Right-click on the image. OR Press left Arrow-Key.)</span><br/><br/>';
                    echo '<div id="block-selected">' . $HaKko->BoxManga('&nbsp;') . '</div>';
                } else {
                    $errorPage = '<h5>' . BB::Code(_ERROR_LINE1) . '</h5>';
                    $errorPage .= '<font size="+1"><br/><strong>' . BB::Code(_ERROR_LINE2) . '</strong>';
                    $errorPage .= '<br/><br/><br/><br/><strong>' . BB::Code(_ERROR_LINE3) . '</strong></font>';
                    $errorPage .= '<ul><strong>' . _ERROR_LINE4 . '</strong><a href="' . $reqPath->SetRequest(1, $reqPath->Level(1)) . '">' . _ERROR_LINE5 . '</a><br/><br/><br/>';
                    $errorPage .= '</ul><hr/><div align="right"><span id="last-chapter"><u>' . _HEAD_TITLE . '</u> <strong>Engine</strong>.</span></div><br/>';
                    echo $HaKko->BoxFull($errorPage, 0);
                }
            } else {
                $errorPage = '<h5>' . BB::Code(_ERROR_LINE1) . '</h5>';
                $errorPage .= '<font size="+1"><br/><strong>' . BB::Code(_ERROR_LINE2) . '</strong>';
                $errorPage .= '<br/><br/><br/><br/><strong>' . BB::Code(_ERROR_LINE3) . '</strong></font>';
                $errorPage .= '<ul><strong>' . _ERROR_LINE4 . '</strong><a href="' . $reqPath->SetRequest(0, '') . '">' . _ERROR_LINE5 . '</a><br/><br/><br/>';
                $errorPage .= '</ul><hr/><div align="right"><span id="last-chapter"><u>' . _HEAD_TITLE . '</u> <strong>Engine</strong>.</span></div><br/>';
                echo $HaKko->BoxFull($errorPage, 0);
            }
        }
    }
}
?>
</div>
<div id="hakko-credit"><div id="hakko-credit-img">&nbsp;</div></div>
</div></div></center>
Ejemplo n.º 4
0
</span>
    <h2><?php 
        echo _MANGA_STATUS;
        ?>
</h2><span id="details"><?php 
        echo $manga['status'];
        ?>
</span>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2"><h2><?php 
        echo _MANGA_SUMMARY;
        ?>
</h2><span id="details"><?php 
        echo BB::Code($manga['summary']);
        ?>
</span></td>
  </tr>
</table><br /><hr />
<?php 
}
?>