fixed logo

This commit is contained in:
2021-07-28 01:06:05 +02:00
parent c90756db39
commit 488e934325
65 changed files with 6080 additions and 3267 deletions

View File

@@ -0,0 +1,20 @@
<?php
/**
* Atlas
*/
$attr = array(
'limit' => 12,
'order_by' => 'r.relation_id DESC'
);
$friends = ossn_loggedin_user()->getFriends('', $attr);
if ($friends) {
foreach($friends as $user) { ?>
<a title="<?php echo $user->first_name . ' ' . $user->last_name; ?>"
class="com-members-memberlist-item"
href="<?php echo ossn_site_url() . 'u/' . $user->username; ?>">
<img class="user-img" src="<?php echo $user->iconURL()->small;?>"></a>
<?php
}
}

View File

@@ -0,0 +1,24 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
if(!ossn_loggedin_user()){
return;
}
?>
<div class="newseed-uinfo1">
<a id="sidebar-toggle" data-toggle="0" role="button" data-target="#" style="cursor: context-menu;">
<img src="<?php echo ossn_loggedin_user()->iconURL()->small; ?>"/>
</a>
<div class="name">
<a href="<?php echo ossn_loggedin_user()->profileURL(); ?>"><?php echo ossn_loggedin_user()->fullname; ?></a>
<a class="edit-profile" href="<?php echo ossn_loggedin_user()->profileURL('/edit'); ?>">
<?php echo ossn_print('edit:profile'); ?></a>
</div>
</div>

View File

@@ -0,0 +1,26 @@
<?php
/**
* Atlas
*/
$count = 12;
if(isset($params['count'])){
$count = $params['count'];
}
$users = new OssnUser;
$attr = array(
'keyword' => false,
'order_by' => 'guid DESC',
'limit' => $count,
'page_limit' => 12,
'offset' => 1
);
$users = $users->searchUsers($attr);
foreach($users as $user) { ?>
<a title="<?php echo $user->first_name . ' ' . $user->last_name; ?>"
class="com-members-memberlist-item"
href="<?php echo ossn_site_url() . 'u/' . $user->username; ?>">
<img class="user-img" src="<?php echo $user->iconURL()->small;?>"></a>
<?php
}