コード例 #1
0
ファイル: users.php プロジェクト: rjha/sc
        if ($i % 2 != 0) {
            $loginId = $members[$i - 1];
            array_push($ids, $loginId);
            $scores[$loginId] = isset($members[$i]) ? $members[$i] : 0;
        }
    }
}
$rows = $userDao->getOnSearchLoginIds($ids);
$pageNo = $paginator->getPageNo();
$startId = ($pageNo - 1) * $pageSize;
$endId = $startId + $pageSize - 1;
$rowsHtml = "";
$gNumRecords = sizeof($rows);
foreach ($rows as $row) {
    $score = isset($scores[$row["login_id"]]) ? $scores[$row["login_id"]] : 0;
    $rowsHtml .= \com\indigloo\sc\html\User::getAdminWidget($row, $score);
}
?>


<!DOCTYPE html>
<html>

    <head>
        <title> 3mik.com - user analytic </title>
        <?php 
include APP_WEB_DIR . '/inc/meta.inc';
?>
        <?php 
echo \com\indigloo\sc\util\Asset::version("/css/bundle.css");
?>
コード例 #2
0
ファイル: index.php プロジェクト: rjha/sc
                    <?php 
echo $dashItemHelp;
?>

                     <div class="wbg" style="padding-left:20px">
                        <span>How to? </span>
                        <a class="help-popup" rel = "dashboard.item.create" href="#">add items</a>
                        &nbsp;/&nbsp;
                        <a class="help-popup" rel = "dashboard.list.create" href="#">create lists</a>
                        &nbsp;/&nbsp;
                        <a class="help-popup" rel = "dashboard.item.save" href="#">save items</a> 
                    </div>

                    <div class="section1">
                        <?php 
echo \com\indigloo\sc\html\User::getCounters($counters);
?>
                        <div class="clear"> </div>
                    </div>

                    <div class="section">
                        <strong>You may like</strong>
                        <?php 
echo \com\indigloo\sc\html\Post::getImageGrid($postDBRows);
?>
                    </div>

                   

                </div> <!-- center -->
                
コード例 #3
0
ファイル: edit.php プロジェクト: rjha/sc
                <div class="span8 offset1">
                    
                    <?php 
FormMessage::render();
?>
                    <div class="row">
                        <div class="span6">
                            <p class="muted">
                               Please update the details and click on Save.  
                               If you provide a nick name then your nick name
                               will be displayed instead of your real name.
                            </p>
                            <div id="my-photo">
                            <?php 
echo User::getPhoto($userDBRow['name'], $userDBRow['photo_url']);
?>
                            </div>
                               
                            <div id="image-uploader" class="p20"> </div>
                            <div class="clear"> </div>
                        </div>

                    </div> <!-- row:photo -->

                    <form id="web-form1"  name="web-form1" action="/user/account/form/edit.php" enctype="multipart/form-data"  method="POST">

                        <div class="error">    </div>

                        <table class="form-table">
コード例 #4
0
ファイル: users.php プロジェクト: rjha/sc
                        <a href="/monitor/users.php?ft=tainted">Tainted</a>

                    </div>
 
                    <div class="mt20">
                        <div id="chartdiv" style="height:225px;width:450px; "></div>
                        <?php 
$startId = NULL;
$endId = NULL;
$gNumRecords = sizeof($userDBRows);
if ($gNumRecords > 0) {
    $startId = $userDBRows[0]['id'];
    $endId = $userDBRows[$gNumRecords - 1]['id'];
}
foreach ($userDBRows as $userDBRow) {
    echo \com\indigloo\sc\html\User::getAdminWidget($userDBRow);
}
?>
                    </div>
                </div>
                 
            </div>
        </div> <!-- container -->
        
        <?php 
$paginator->render($baseURI, $startId, $endId, $gNumRecords);
?>

        <?php 
echo \com\indigloo\sc\util\Asset::version("/js/bundle.js");
?>
コード例 #5
0
ファイル: profile.php プロジェクト: rjha/sc
                        <span>
                          <?php 
if (\com\indigloo\sc\auth\Login::hasMikLogin()) {
    echo '<a class="btn-flat" href="/user/account/change-password.php">Change password</a>';
}
?>
                        </span>

                    </div>
                </div>
            </div>

            <div class="row">
                <div class="span6 offset1">
                    <?php 
echo \com\indigloo\sc\html\User::getProfile($gSessionLogin, $userDBRow);
?>
                </div>
                

            </div> <!-- row -->
        </div> <!-- container -->

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

        <script>
            $(document).ready(function(){
                webgloo.sc.toolbar.add();
            });
コード例 #6
0
ファイル: pub.php プロジェクト: rjha/sc
$options = array("title" => "Followers", "tab" => "followers", "max" => 5, "size" => $gNumDBRows["followers"]);
$followersHtml = UserHtml::getPubWrapper($pageBaseUrl, $count, $content, $options);
$content = GraphHtml::getTable($loginId, $followings, 2, $followingUIOptions);
$count = $ucounters["following_count"];
$options = array("title" => "Followings", "tab" => "followings", "max" => 5, "size" => $gNumDBRows["followings"]);
$followingsHtml = UserHtml::getPubWrapper($pageBaseUrl, $count, $content, $options);
$htmlActivityObj = new \com\indigloo\sc\html\Activity();
$activityHtml = $htmlActivityObj->getHtml($feedDataObj);
//reset content
$content = "";
foreach ($listDBRows as $listDBRow) {
    $content .= ListHtml::getPubWidget($listDBRow);
}
$count = $ucounters["list_count"];
$options = array("title" => "Lists", "tab" => "lists", "max" => 4, "size" => $gNumDBRows["lists"]);
$listHtml = UserHtml::getPubWrapper($pageBaseUrl, $count, $content, $options);
?>


<!DOCTYPE html>
<html>

    <head>
        <title> <?php 
echo $pageTitle;
?>
 </title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="keywords" content="<?php 
echo $metaKeywords;