You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
801 B

<?php
/*
*
* @copyright (c) 2010 animegame.eu
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
?>
<br><br>
<?php
if (isUserInGroup($usergroups, AKTIV_CHAT)) {
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/messagefunctions.inc.php');
if($user_ida['id'] === NULL){
$user_ida['id'] = -1;
}
$temp = getChatMessages($user_ida['id'], 0, 15);
$index = strpos($temp, ';');
echo substr($temp, $index +1);
}
?>
<script type="text/javascript">
function popup (url) {
fenster = window.open(url, "Popupfenster", "width=500,height=500,resizable=yes");
fenster.focus();
return false;
}
</script>
<br><br>
<a href="ag_popupchat.php" target="_blank" onclick="return popup(this.href);">Hier klicken zum mitreden!!</a>
<br><br>