コード例 #1
0
ファイル: analystsSuccess.php プロジェクト: silky/littlesis
<?php

slot('header_text', $network['name']);
slot('header_link', LsListTable::getNetworkInternalUrl($network));
?>

<?php 
include_partial('global/section', array('title' => 'Analysts in this Network', 'pager' => $user_pager));
?>

<div class="padded">
<?php 
foreach ($user_pager->execute() as $user) {
    ?>
  <div style="float: left; padding: .6em; height: 5em; text-align: center;">
    <?php 
    echo user_pic($user);
    ?>
 
    <br />
    <span class="text_small"><?php 
    echo user_link($user);
    ?>
</span>
  </div>
<?php 
}
?>
</div>
コード例 #2
0
ファイル: _full.php プロジェクト: silky/littlesis
    <?php 
}
?>
    
    <?php 
if (isset($reply) && $reply) {
    ?>
      <td class="note_reply">&nbsp;</td>
    <?php 
}
?>


    <td class="note_pic">
      <?php 
echo user_pic($note['User'], 'profile', array('width' => 40));
?>
    </td>

    <td class="note_body">
      <?php 
echo user_link($note['User']);
?>
  
      <?php 
if ($note['is_private']) {
    ?>
        <?php 
    echo image_tag('system/lock.png');
    ?>
      <?php 
コード例 #3
0
ファイル: friends.php プロジェクト: redconan/IsVipi-OSSN
    if (is_array($m_info)) {
        foreach ($m_info as $key => $mi) {
            //get friends properties (request pending, rejected and so on)
            ?>
                    	<div class="col-md-6" style="margin-top:10px">
                          <!-- Widget: user widget style 1 -->
                          <div class="box box-widget widget-user-2">
                            <!-- Add the bg color to the header using any of the bg-* classes -->
                            <div class="widget-user-header bg-white">
                              <a href="<?php 
            echo ISVIPI_URL . 'profile/' . $mi['m_username'];
            ?>
">
                              <div class="widget-user-image">
                                <img class="img-square" src="<?php 
            echo user_pic($mi['m_profile_pic']);
            ?>
" alt="User Avatar">
                              </div><!-- /.widget-user-image -->
                              </a>
                              <h3 class="widget-user-username" style="color:#000; font-weight:500">
                              <a href="<?php 
            echo ISVIPI_URL . 'profile/' . $mi['m_username'];
            ?>
">
							  	<?php 
            echo $mi['m_fullname'];
            ?>
                              </a>
                              </h3>
                              <div class="widget-user-username" style="margin-top:-5px;">
コード例 #4
0
ファイル: feeds.php プロジェクト: redconan/IsVipi-OSSN
            $getComments = new getComments($f['feed_id']);
            $allComments = $getComments->allComments();
            foreach ($allComments as $key => $c) {
                ?>
                <div class='box-footer box-comments bordered-bottom' id="comBox<?php 
                echo $c['comm_id'];
                ?>
">
                  <div class='box-comment'>
                    <!-- User image -->
                    <a href="<?php 
                echo ISVIPI_URL . 'profile/' . $c['comm_username'];
                ?>
">
                    <img class='img-square img-sm' src='<?php 
                echo user_pic($c['comm_profilepic']);
                ?>
' alt='user image'>
                    </a>
                    <div class='comment-text'>
                      <span class="username">
                      <a href="<?php 
                echo ISVIPI_URL . 'profile/' . $c['comm_username'];
                ?>
">
                        <?php 
                echo $c['comm_fullname'];
                ?>
                      </a>
                        <span class='text-muted pull-right'><?php 
                echo elapsedTime($c['comm_time']);
コード例 #5
0
ファイル: profile.php プロジェクト: redconan/IsVipi-OSSN
echo user_cover_pic($m_info['m_cover_photo']);
?>
" alt="cover photo" style="width: 100%;max-height: 100%">
                    <div class="change-cover-photo">
                    	<a href="#" data-toggle="modal" data-target="#cover">Change Cover Photo</a>
                    </div>
                    </div>
                    
                    <!-- end::cover photo -->
                    <!-- col-md-4 -->
                    <div class="col-md-4">
                    	<!-- Profile Image -->
                          <div class="box profile-pic-box">
                            <div class="box-body box-profile">
                              <img class="profile-user-img img-responsive square-circle" src="<?php 
echo user_pic($m_info['m_profile_pic']);
?>
" alt="User profile picture">
                              <h3 class="profile-username text-center"><?php 
echo $m_info['m_fullname'];
?>
</h3>
                              
                              <?php 
if ($_SESSION['isv_user_id'] === $m_info['m_user_id']) {
    ?>
                              <a href="#" class="btn btn-warning btn-block" data-toggle="modal" data-target="#profilePic"><b>Change Profile Pic</b></a>
                              <a href="<?php 
    echo ISVIPI_URL . 'profile/' . $m_info['m_username'] . '/edit';
    ?>
" class="btn btn-primary btn-block"><b>Edit Profile</b></a>
コード例 #6
0
ファイル: _watchers.php プロジェクト: silky/littlesis
<?php 
    include_partial('global/section', array('title' => "Who's Watching", 'action' => array('credential' => 'editor', 'text' => $sf_user->getGuardUser()->Profile->watching_opt_out ? 'opt in' : 'opt out', 'url' => 'home/editSettings')));
    ?>

<div class="padded" style="padding-bottom: .6em">
&nbsp;<br />&nbsp;
</div>

<?php 
    foreach ($watchers as $watcher) {
        ?>
  <div style = "float:left; padding: .6em; height: 5em">
  <span style="vertical-align:bottom">
  <?php 
        echo user_pic($watcher);
        ?>
 
  </span>
  <br />
  <span class="text_small" style="vertical-align:top">
  <?php 
        echo user_link($watcher, null, false);
        ?>
  </span>
  </div>
<?php 
    }
    ?>

<?php 
コード例 #7
0
ファイル: contestSuccess.php プロジェクト: silky/littlesis
<?php 
include_partial('global/section', array('title' => '...and not far behind!', 'pointer' => 'But these analysts are not far behind, and could move into a prizewinning slot if they keep at it' . ($sf_user->isAuthenticated() ? null : '. ' . link_to('Sign up', 'home/join') . ' to become an analyst!'), 'action' => array('text' => 'refresh', 'url' => $group->getInternalUrl('refreshScores'), 'condition' => $sf_user->hasCredential('admin') || $sf_user->isAuthenticated() && $sf_user->getGuardUser()->isGroupOwner($group['name']))));
?>

<?php 
for ($i = 3; $i < 10; $i++) {
    ?>
  <?php 
    $top_analyst = $top_analysts[$i];
    ?>
  
  <table style="border-bottom: 1px dotted #EEEEEE;">
    <tr>
      <td style="padding: 0.5em; width: 40px;">
        <?php 
    echo user_pic($top_analyst, 'profile', array('width' => 40));
    ?>
      </td>
      <td style="padding: 0.5em;">
        <span class="text_big"><?php 
    echo user_link($top_analyst);
    ?>
</span>
        <br />
        <span style="color: #666;"><?php 
    echo $top_analyst->group_score;
    ?>
 points</span>
      </td>
    </tr>
  </table>
コード例 #8
0
ファイル: chatSuccess.php プロジェクト: silky/littlesis
<?php 
slot('usercol');
?>

<?php 
include_partial('global/section', array('title' => 'Recent Chatters', 'pointer' => 'Analysts who have viewed this page in the past five minutes'));
?>
<table>
<?php 
foreach ($users as $u) {
    ?>
  <tr>
    <td style="width: 50px; padding-top: 5px;">
      <?php 
    echo user_pic($u, 'profile', array('width' => 40));
    ?>
    </td>
    <td style="vertical-align: middle;">   
      <span class="text_big"><?php 
    echo user_link($u);
    ?>
</span>
    </td>
  </tr>
<?php 
}
?>
</table>
<?php 
end_slot();
コード例 #9
0
ファイル: m_header.php プロジェクト: redconan/IsVipi-OSSN
                  <li class="footer">
                    <a href="#">View all tasks</a>
                  </li>
                </ul>
              </li>
              <!-- User Account Menu -->
              <li class="dropdown user user-menu">
                <!-- Menu Toggle Button -->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <span class="hidden-xs"><i class="fa fa-user"></i> <i class="fa fa-bars"></i></span>
                </a>
                <ul class="dropdown-menu">
                  <!-- The user image in the menu -->
                  <li class="user-header">
                    <img src="<?php 
echo user_pic($memberinfo['profile_pic']);
?>
" class="img-circle" alt="User Image">
                    <p>
                     <?php 
echo $memberinfo['full_name'];
?>
                      <small>Member since <?php 
echo UTC2Local($memberinfo['reg_date']);
?>
</small>
                    </p>
                  </li>
                  <!-- Menu Body -->
                  <li class="user-body">
                    <div class="col-xs-6 text-center">
コード例 #10
0
ファイル: _memberlistrow.php プロジェクト: silky/littlesis
<tr class="hover">
  <td style="width: 30px;"><?php 
echo user_pic($object, 'small', array('style' => 'width: 30px; border: 0;'));
?>
</td>
  <td class="text_big"><?php 
echo user_link($object);
?>
</td>
  <td><?php 
echo $object['sfGuardUserGroup'][0]['is_owner'] ? 'owner' : '';
?>
</td>
  <td><?php 
echo $object['Profile']['score'];
?>
</td>
  <td><?php 
echo $object['sfGuardUserGroup'][0]['updated_at'];
?>
</td>
  <td>
  <?php 
if ($sf_user->hasCredential('admin')) {
    ?>
    <?php 
    if ($object['sfGuardUserGroup'][0]['is_owner']) {
        ?>
      <?php 
        echo link_to('unmake owner', $base_object->getInternalUrl('changeOwner', array('user_id' => $object['id'], 'is_owner' => '0')), 'post=true confirm=Are you sure?');
        ?>