263 lines
3.6 KiB
PHP
263 lines
3.6 KiB
PHP
|
|
<?php
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
$page = "onlinemembers";
|
||
|
|
|
||
|
|
include "header.php";
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
function general()
|
||
|
|
|
||
|
|
{
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
global $user, $url, $_SESSION, $database;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
$message1="";
|
||
|
|
|
||
|
|
$message2="";
|
||
|
|
|
||
|
|
$message3="";
|
||
|
|
|
||
|
|
$message4="";
|
||
|
|
|
||
|
|
$numclicks=0;
|
||
|
|
|
||
|
|
?>
|
||
|
|
|
||
|
|
<style>.invite_1 {
|
||
|
|
|
||
|
|
cursor: pointer;
|
||
|
|
|
||
|
|
position: relative;
|
||
|
|
|
||
|
|
height: 30px;
|
||
|
|
|
||
|
|
float: left;
|
||
|
|
|
||
|
|
width: 170px!important;
|
||
|
|
|
||
|
|
padding: 3px;
|
||
|
|
|
||
|
|
margin: 4px;
|
||
|
|
|
||
|
|
background: #0A0A0A;
|
||
|
|
|
||
|
|
font-size: 11px;
|
||
|
|
|
||
|
|
line-height: 12px;
|
||
|
|
|
||
|
|
}</style>
|
||
|
|
|
||
|
|
<?php
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
//$online_users[0]}{if $smarty.section.online_loop.rownum != 1}, {/if}
|
||
|
|
|
||
|
|
// <a href='{$url->url_create("profile", $online_users[0][online_loop]->user_info.user_username)}' onmouseout='tooltip.hide();' onmouseover="tooltip.show('{$online_users[0][online_loop]->user_photo('./images/nophoto.png', TRUE)}','{$online_users[0][online_loop]->user_info.user_username}','{$online_users[0][online_loop]->user_info.user_status}',200);">{$online_users[0][online_loop]->user_displayname}</a>{/section}
|
||
|
|
|
||
|
|
/*$query=$database->database_query("SELECT * FROM arrowchat WHERE `from`='".$user->user_info["user_id"]."' ORDER BY sent DESC LIMIT 4");
|
||
|
|
|
||
|
|
while($row=$database->database_fetch_array($query)){
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
if(strlen($row["message"])>10)
|
||
|
|
|
||
|
|
{
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
if($message1==""){
|
||
|
|
|
||
|
|
$message1=$row["message"];
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
elseif($message2==""){
|
||
|
|
|
||
|
|
$message2=$row["message"];
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
elseif($message3==""){
|
||
|
|
|
||
|
|
$message3=$row["message"];
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
else
|
||
|
|
|
||
|
|
{
|
||
|
|
|
||
|
|
if($row["message"]==$message1&&$row["message"]==$message2&&$row["message"]==$message3){$numclicks=5;}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}*/
|
||
|
|
|
||
|
|
?>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
function leo(val, owner, user){
|
||
|
|
jQuery.ajax({
|
||
|
|
url: "arrowmessagecheck.php?user="+user,
|
||
|
|
success: function(data) {
|
||
|
|
if(data <= 4){
|
||
|
|
jqac.arrowchat.chatWith(owner);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<div style="margin-bottom:1px;clear:both;">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<iframe src="https://pc20160522.com/releasese/activepage8046.asp?wid=126371505975&ptype=3&queryid=8&promocode=728" width="900" height="100" frameborder="0" scrolling="no"></iframe>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class='page_header'><span style="font-size:20pt; font-weight:bold; text-transform:uppercase;">ONLINE MEMBERS</span></div>
|
||
|
|
|
||
|
|
<div>Click on a Member name to visit their profile.</div><br />
|
||
|
|
|
||
|
|
<br />
|
||
|
|
|
||
|
|
<select onchange="document.location.href='membersonline.php?membersonline='+this.options[this.selectedIndex].value">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<option value="lastonline" <?php if($_GET["membersonline"]=="lastonline"||$_GET["membersonline"]==""){?>selected="selected"<?php }?>>Sort By Last Activity</option>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<option value="alphabetical" <?php if($_GET["membersonline"]=="alphabetical"){?>selected="selected"<?php }?>>Sort By Alphabetical</option>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</select>
|
||
|
|
|
||
|
|
<br />
|
||
|
|
|
||
|
|
<br />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<?
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
?>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<div style="clear:both;padding-left:5px;padding-top:5px;padding-bottom:5px;">
|
||
|
|
|
||
|
|
<?php
|
||
|
|
|
||
|
|
$online_array = online_users("1");
|
||
|
|
|
||
|
|
$i=0;
|
||
|
|
|
||
|
|
foreach ($online_array as $owner){
|
||
|
|
|
||
|
|
foreach ($owner as $owner1){
|
||
|
|
|
||
|
|
if($owner1->user_info["user_username"]!=""){
|
||
|
|
|
||
|
|
?>
|
||
|
|
|
||
|
|
<div class="browse_result" style="float: left; padding: 5px; width: 100px; height: 100px; text-align: center;">
|
||
|
|
|
||
|
|
<a href="profile.php?user=<?php echo $owner1->user_info["user_username"];?>">
|
||
|
|
<?php $profilepicture=$owner1->user_photo("./images/nophoto.png");
|
||
|
|
echo $owner1->userprofiledot($profilepicture, "75px", "75px");?>
|
||
|
|
|
||
|
|
|
||
|
|
<br />
|
||
|
|
|
||
|
|
<?php echo $owner1->user_info["user_username"];?></a>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<?php
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
$i++;
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}?>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<div style="clear: both;"></div>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="clear: both; margin-top: 10px;"> </div>
|
||
|
|
|
||
|
|
<div style="clear: both;"></div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<? //<iframe src="http://bateworld.com/cometchat/list.php" height="550px" width="950px"></iframe>?>
|
||
|
|
|
||
|
|
<?
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
include "footer.php";
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
?>
|