<?php

/**
 *    OpenSource-SocialNetwork
 *
 * @package   (Informatikon.com).ossn
 * @author    OSSN Core Team <*****@*****.**>
 * @copyright 2014 iNFORMATIKON TECHNOLOGIES
 * @license   General Public Licence http://opensource-socialnetwork.com/licence
 * @link      http://www.opensource-socialnetwork.com/licence
 */
$users = new OssnUser();
$pagination = new OssnPagination();
$pagination->setItem($users->getUnvalidatedUSERS());
$list = $pagination->getItem();
?>
<div class="top-controls top-controls-users-page">
    <a href="<?php 
echo ossn_site_url("administrator/adduser");
?>
" class="ossn-admin-button button-green"><?php 
echo ossn_print('add');
?>
</a>
</div>
<table class="table ossn-users-list">
    <tbody>
    <tr class="table-titles">
        <td><?php 
echo ossn_print('name');
?>
예제 #2
0
/**
 * Open Source Social Network
 *
 * @package   (Informatikon.com).ossn
 * @author    OSSN Core Team <*****@*****.**>
 * @copyright 2014 iNFORMATIKON TECHNOLOGIES
 * @license   General Public Licence http://www.opensource-socialnetwork.org/licence
 * @link      http://www.opensource-socialnetwork.org/licence
 */
ossn_load_external_js('chart.js', 'admin');
ossn_load_external_js('chart.legend.js', 'admin');
$users = new OssnUser();
$total = array($users->countByGender(), $users->countByGender('female'));
$online = array($users->onlineByGender('male', true), $users->onlineByGender('female', true));
$unvalidated = $users->getUnvalidatedUSERS('', true);
$flush_cache = ossn_site_url("action/admin/cache/flush", true);
?>
<div class="ossn-admin-dsahboard">
	<div class="row">
    
    	<div class="col-md-12 admin-dashboard-item">
        	<div class="admin-dashboard-box">
        		<div class="admin-dashboard-title"><?php 
echo ossn_print("users");
?>
</div>
            	<div class="admin-dashboard-contents">
            			<canvas id="users-count-graph"></canvas>
                        <div id="usercount-lineLegend"></div>
           	 	</div>
예제 #3
0
<?php

/**
 * Open Source Social Network
 *
 * @package   (Informatikon.com).ossn
 * @author    OSSN Core Team <*****@*****.**>
 * @copyright 2014 iNFORMATIKON TECHNOLOGIES
 * @license   General Public Licence http://www.opensource-socialnetwork.org/licence
 * @link      http://www.opensource-socialnetwork.org/licence
 */
$users = new OssnUser();
$pagination = new OssnPagination();
$search = input('search_users');
$data = $users->getUnvalidatedUSERS($search);
$pagination->setItem($data);
$list = $pagination->getItem();
?>
<div class="row">
    <form method="post">
        <input type="text" name="search_users" placeholder="<?php 
echo ossn_print('search');
?>
" />
        <input type="submit" class="btn btn-primary" value="<?php 
echo ossn_print('search');
?>
"/>
    </form>    
</div>
<div class="row margin-top-10">