ich habe das ChatModul von A L I L G eingebaut.
Der Chat kann über ein Menü bzw. direkt aufgerufen werden.
Wie kann ich das jetzt soweit einschränken, dass das nur für registrierte bzw. eingeloggte User möglich ist?
Vielen Danke
index.php
Code: Alles auswählen
<?PHP
/*/ H T T P : / / W W W . A L I L G . C O M \*\
\*\ ***************************************** /*/
/*/ QQQQQQQ QQQQ QQQQ QQQQ QQQQQQ \*\
\*\ QQQQQQQQQ QQQQ QQQQ QQQQ QQQQQQQQ /*/
/*/ QQQ QQQ QQQQ QQQQ QQQQ QQQQ QQ \*\
\*\ QQQ QQQ QQQQ QQQQ QQQQ QQQQ /*/
/*/ QQQQQQQQQ QQQQ QQQQ QQQQ QQQQ \*\
\*\ QQQ QQQ QQQQ QQQQ QQQQ QQQQ QQQ /*/
/*/ QQQ QQQ QQQQ QQQQ QQQQ QQQQ QQQ \*\
\*\ QQQ QQQ QQQQQQQQ QQQQ QQQQQQQQ QQQQQQQQ /*/
/*/ QQQ QQQ QQQQQQQQ QQQQ QQQQQQQQ QQQQQQ \*\
\*\ ***************************************** /*/
/*/ * Script name: alitalk \*\
\*\ * Version: 1.8 /*/
/*/ * Author: Ali Razavi \*\
\*\ * Copyright all rights reserved /*/
/*/ * HTTP://WWW.ALILG.COM/ \*\
\*\ ***************************************** /*/
/*/ H T T P : / / W W W . A L I L G . C O M \*\
\*\ ***************************************** /*/
/*/ This file may not be redistributed in \*\
\*\ whole or significant part /*/
/*/ ***************************************** \*/
/*/ ***************************************** \*/
session_start();
header("Cache-Control: no-store, no-cache");
//###############################################
//#### INCLUDE ALL REQUIDE FILES AND ONCE #######
//###############################################
//
include "inc/config.php";
include "inc/insorno.php";
require_once('functionz/first_process.php');
require_once('functionz/handler.php');
require_once('functionz/columns.php');
require_once('inc/overhall_header.php');
reglobal(ini_get('register_globals'));
begintime(time());
$_SERVER["HTTP_REFERER"];
optimizeagent($_SERVER['HTTP_USER_AGENT']);
iscompressor($HTTP_ACCEPT_ENCODING);
analyzeip($REMOTE_ADDR);
accessfrm($HTTP_REFERER);
advertisement($alitalk_base['dbprefix'],$alitalk['ads'],$alitalk['renewads']);
//###############################################
echo '<script src="javascript/objects.php?'.time().'"></script>';
$_SESSION['lim']=0;
echo"<script>"; include"inc/frset.php"; echo"</script>";
$_SESSION['lim']=6;
?>
<script src="ajax/ajax.js"></script>
<script src="javascript/client_engain_1.5.js"></script>
<link rel="stylesheet" type="text/css" href="style/style.css">
<?php
//###############################################
include "inc/clasht.php";
// THE END
//###############################################