Hoe uw scripts schikken
Lander Van Nieuwenhuyse
07/01/2009 14:55:00Kijk ik heb een klein probleempje ik weet namelijk niet hoe ik ervoor zorg dat ajax-chat.php op mijn site letterlijk tussen de global_header.php en de global_footer.php komt te staan hieronder heb ik de scripts geplaaats die nu toegepast zijn op www.avescenter.com/sample_autologin.php
Alvast bedankt!
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?
session_start();
define ('IN_SITE', 1);
include_once ('includes/global.php');
include_once ('includes/class_formchecker.php');
include_once ('includes/class_custom_field.php');
include_once ('includes/class_user.php');
include_once ('includes/class_fees.php');
include_once ('includes/class_item.php');
include_once ('includes/functions_item.php');
include_once ('includes/class_shop.php');
include_once ('global_header.php');
$chat_list = array('Main Room', 'Room 1', 'Room 2');
$chat_logs = array('add' => false, 'get' => false, 'log' => false);
$chat_show = array('login' => true, 'guest' => true);
$chat_path = 'ajax-chat/';
include_once ('ajax-chat/ajax-chat.php';
include_once ('global_footer.php');
echo $template_output;
?>
session_start();
define ('IN_SITE', 1);
include_once ('includes/global.php');
include_once ('includes/class_formchecker.php');
include_once ('includes/class_custom_field.php');
include_once ('includes/class_user.php');
include_once ('includes/class_fees.php');
include_once ('includes/class_item.php');
include_once ('includes/functions_item.php');
include_once ('includes/class_shop.php');
include_once ('global_header.php');
$chat_list = array('Main Room', 'Room 1', 'Room 2');
$chat_logs = array('add' => false, 'get' => false, 'log' => false);
$chat_show = array('login' => true, 'guest' => true);
$chat_path = 'ajax-chat/';
include_once ('ajax-chat/ajax-chat.php';
include_once ('global_footer.php');
echo $template_output;
?>
Alvast bedankt!
Gewijzigd op 01/01/1970 01:00:00 door Lander Van Nieuwenhuyse
Er zijn nog geen reacties op dit bericht.