You cannot 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
		
	
	
		
			815 B
		
	
	
	
		
			PHP
		
	
			
		
		
	
	
			32 lines
		
	
	
		
			815 B
		
	
	
	
		
			PHP
		
	
| <?php 
 | |
| /*
 | |
|  *
 | |
|  * @copyright (c) 2010 animegame.eu
 | |
|  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
 | |
|  *
 | |
|  */
 | |
| ?>
 | |
| <br><br>
 | |
| <?php
 | |
| if ($user_ida['chat'] == 1 || $user_ida['chat'] === NULL) {
 | |
| 	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>
 |