Exemple #1
0
                <div class="span9">


                    <div class="page-header">
                        <h2> Delete Comment</h2>
                    </div>
                    <div class="alert">
                      <a class="close" data-dismiss="alert">×</a>
                      Please make sure that you really want to delete this comment.
                    </div>

                    <?php 
FormMessage::render();
?>
                    <?php 
echo \com\indigloo\sc\html\Comment::getWidget($commentDBRow);
?>
                    <div class="p10"> &nbsp;</div>
                    <form id="web-form1"  name="web-form1" action="/qa/comment/form/delete.php" method="POST">
                        <div>
                            <button class="btn btn-danger" type="submit" name="delete" value="Delete">Delete</button>
                            <a href="<?php 
echo base64_decode($qUrl);
?>
" class="btn"s>Cancel</a>
                        </div>
                        <input type="hidden" name="qUrl" value="<?php 
echo $qUrl;
?>
" />
                        <input type="hidden" name="fUrl" value="<?php 
Exemple #2
0
                    <?php 
include APP_WEB_DIR . '/monitor/inc/menu.inc';
?>
                </div>
                <div class="span9">

                        <?php 
$startId = NULL;
$endId = NULL;
$gNumRecords = sizeof($commentDBRows);
if ($gNumRecords > 0) {
    $startId = $commentDBRows[0]['id'];
    $endId = $commentDBRows[$gNumRecords - 1]['id'];
}
foreach ($commentDBRows as $commentDBRow) {
    echo \com\indigloo\sc\html\Comment::getWidget($commentDBRow, UIConstants::COMMENT_USER);
}
?>

                </div>
                 
            </div>
        </div> <!-- container -->
          <?php 
echo \com\indigloo\sc\util\Asset::version("/js/bundle.js");
?>

        <script>
            $(document).ready(function(){
                //show options on widget hover
                
Exemple #3
0
                </div>
            </div>
            <div class="row">
                <div class="span9">
                    <?php 
echo \com\indigloo\sc\html\Post::getGalleria($itemObj->title, $images);
echo \com\indigloo\sc\html\Post::getDetail($postView, $links, $siteDBRow);
echo \com\indigloo\sc\html\Post::getToolbar($loginIdInSession, $postDBRow['login_id'], $itemId);
//inject activity tile
$activityDao = new \com\indigloo\sc\dao\Activity();
$feedDataObj = $activityDao->getPostFeeds($itemId, 10);
$htmlObj = new \com\indigloo\sc\html\Activity();
$feedHtml = $htmlObj->getPostTile($feedDataObj);
echo \com\indigloo\sc\html\Post::getActivity($feedHtml);
echo \com\indigloo\sc\html\Comment::getFeedHtml($commentDBRows);
include APP_WEB_DIR . '/qa/inc/comment.inc';
?>
                    <h3> explore 3mik </h3>
                    <div id="tiles">
                        <?php 
foreach ($xrows as $xrow) {
    echo \com\indigloo\sc\html\Post::getSmallTile($xrow);
}
?>
                    </div> <!-- tiles -->


                </div>
                <div class="span3">