je voudrai convertir le block ( le block c : netmeetingkhat ) Xoops en Phpnuke 6.71.
Voici les deux fichier .php que contien le Zip. ( il ya aussi un .gi mais on sen fou !)
index.php
xoops_version.php
Je peu pas vous mettre tout le script index.php car il est trop long.
Voici le index.php
CODE
<?php
$modversion['name'] = "netmeeting";
$modversion['version'] = "0.1";
$modversion['description'] = "Netmeeting";
$modversion['author'] = "Gert Schmidt<br /> [url=http://www.backnang-online.info/";]http://www.backnang-online.info/";[/url]
$modversion['credits'] = "";
$modversion['help'] = "";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 1;
$modversion['image'] = "images/netmeeting.gif";
$modversion['dirname'] = "netmeeting";
// Menu
$modversion['hasMain'] = 1;
?>
$modversion['name'] = "netmeeting";
$modversion['version'] = "0.1";
$modversion['description'] = "Netmeeting";
$modversion['author'] = "Gert Schmidt<br /> [url=http://www.backnang-online.info/";]http://www.backnang-online.info/";[/url]
$modversion['credits'] = "";
$modversion['help'] = "";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 1;
$modversion['image'] = "images/netmeeting.gif";
$modversion['dirname'] = "netmeeting";
// Menu
$modversion['hasMain'] = 1;
?>
Une partie de lautre c :
CODE
<?php
########################################################################
# XOOPS Module: Netmeeting V 0.1 #
# Ursprünglich ein phpnuke Modul von jmourad@cantv.net #
# Angepasst an XOOPS und übersetzt durch Gert Schmidt #
# (grschmidt@freenet.de) www.backnang-online.info #
########################################################################
# This program is free software. You can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License. #
########################################################################
include("../../mainfile.php");
{
include("../../header.php");
OpenTable();
echo " <P align=center><FONT face=Verdana size=7><B><u><strong>NetMeeting Audio/Video Webchat</strong></u></B></FONT><P align=center><font face="Arial"><font size="2"><u>Attention</u><br>n";
echo " L'utilisation de Netmeeting nécéssite Internet Explorer 4.X ou plus et Windows 95, 98, ME, XP ou NT4 <br>n";
echo " Si Netmeeting n'est pas installé sur votre ordinateur ou non configuré, vous devrez actualiser cette page après l'installation ou la configuration (touche F5) <br>n";
echo " </font><BR>n";
echo " <DIV align=center>n";
echo " <CENTER>n";
echo " <TABLE height=36 cellSpacing=0 cellPadding=0 width=457 bgColor=#c0c0c0 n";
echo " border=0><TBODY>n";
echo " <TR>n";
echo " <TD align=middle width=248 bgColor=#00ffff height=20><FONT n";
echo " face=Verdana>Réception Vidéo</FONT></TD>n";
echo " <TD align=middle width=214 bgColor=#00ffff height=20><font face="Verdana">Emission Vidéon";
echo " </font></TD></TR>n";
echo " <TR>n";
echo " <TD vAlign=center align=middle width=240 height=230><FONT n";
echo " face="Arial Narrow">n";
echo " <OBJECT id=NetMeeting codeBase=/netmeeting/nm30.exe height=200 width=196 n";
echo " classid=CLSID:3E9BAF2D-7A79-11d2-9334-0000F875AE17><PARAM NAME="MODE" VALUE="RemoteOnly"></OBJECT></FONT></TD>n";
echo " <TD vAlign=center align=middle width=217 height=230><FONT n";
echo " face="Arial Narrow">n";
echo " <OBJECT id=NetMeetingPreview height=200 width=196 n";
echo " classid=CLSID:3E9BAF2D-7A79-11d2-9334-0000F875AE17><PARAM NAME="MODE" VALUE="PreviewOnly"></OBJECT></FONT></TD></TR>n";
echo " <TR>n";
echo " <TD align=middle width=468 colSpan=2 height=1>n";
echo " <P align=center>N° IP.n";
echo " <INPUT id=CallToAddress> <INPUT id=CallToBtn onclick=NetMeeting.CallTo(CallToAddress.value) type=button value=Appeler><INPUT id=HangUpBtn onclick=NetMeeting.LeaveConference() type=button value=Raccrocher> n";
echo " <INPUT id=UndockBtn onclick=NetMeeting.UnDock() type=button value=Pop> n";
echo " </P></TD></TR><br>n";
echo " <TR>n";
echo " <TD align=middle width=468 colSpan=2 height=27><FONT face="Arial Narrow" n";
echo " size=2><strong><u>Utilisation</u></strong> <br>Pour pouvoir dialoguer l'un des deux correspondants doit transmettre sur Khat son numero d'IPn";
echo " qui figure en bas de page.n";
echo " Ensuite écrivez le numéro reçu dans la case IP et clickez sur Appeler.n";
.....suite....
########################################################################
# XOOPS Module: Netmeeting V 0.1 #
# Ursprünglich ein phpnuke Modul von jmourad@cantv.net #
# Angepasst an XOOPS und übersetzt durch Gert Schmidt #
# (grschmidt@freenet.de) www.backnang-online.info #
########################################################################
# This program is free software. You can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License. #
########################################################################
include("../../mainfile.php");
{
include("../../header.php");
OpenTable();
echo " <P align=center><FONT face=Verdana size=7><B><u><strong>NetMeeting Audio/Video Webchat</strong></u></B></FONT><P align=center><font face="Arial"><font size="2"><u>Attention</u><br>n";
echo " L'utilisation de Netmeeting nécéssite Internet Explorer 4.X ou plus et Windows 95, 98, ME, XP ou NT4 <br>n";
echo " Si Netmeeting n'est pas installé sur votre ordinateur ou non configuré, vous devrez actualiser cette page après l'installation ou la configuration (touche F5) <br>n";
echo " </font><BR>n";
echo " <DIV align=center>n";
echo " <CENTER>n";
echo " <TABLE height=36 cellSpacing=0 cellPadding=0 width=457 bgColor=#c0c0c0 n";
echo " border=0><TBODY>n";
echo " <TR>n";
echo " <TD align=middle width=248 bgColor=#00ffff height=20><FONT n";
echo " face=Verdana>Réception Vidéo</FONT></TD>n";
echo " <TD align=middle width=214 bgColor=#00ffff height=20><font face="Verdana">Emission Vidéon";
echo " </font></TD></TR>n";
echo " <TR>n";
echo " <TD vAlign=center align=middle width=240 height=230><FONT n";
echo " face="Arial Narrow">n";
echo " <OBJECT id=NetMeeting codeBase=/netmeeting/nm30.exe height=200 width=196 n";
echo " classid=CLSID:3E9BAF2D-7A79-11d2-9334-0000F875AE17><PARAM NAME="MODE" VALUE="RemoteOnly"></OBJECT></FONT></TD>n";
echo " <TD vAlign=center align=middle width=217 height=230><FONT n";
echo " face="Arial Narrow">n";
echo " <OBJECT id=NetMeetingPreview height=200 width=196 n";
echo " classid=CLSID:3E9BAF2D-7A79-11d2-9334-0000F875AE17><PARAM NAME="MODE" VALUE="PreviewOnly"></OBJECT></FONT></TD></TR>n";
echo " <TR>n";
echo " <TD align=middle width=468 colSpan=2 height=1>n";
echo " <P align=center>N° IP.n";
echo " <INPUT id=CallToAddress> <INPUT id=CallToBtn onclick=NetMeeting.CallTo(CallToAddress.value) type=button value=Appeler><INPUT id=HangUpBtn onclick=NetMeeting.LeaveConference() type=button value=Raccrocher> n";
echo " <INPUT id=UndockBtn onclick=NetMeeting.UnDock() type=button value=Pop> n";
echo " </P></TD></TR><br>n";
echo " <TR>n";
echo " <TD align=middle width=468 colSpan=2 height=27><FONT face="Arial Narrow" n";
echo " size=2><strong><u>Utilisation</u></strong> <br>Pour pouvoir dialoguer l'un des deux correspondants doit transmettre sur Khat son numero d'IPn";
echo " qui figure en bas de page.n";
echo " Ensuite écrivez le numéro reçu dans la case IP et clickez sur Appeler.n";
.....suite....
Si kk1 pourrait maider a le faire sa serait genial !
Merci davance. pour avoir la fin de index.php -> xpack511@wanadoo.fr
A+ DivXaide
[ita]*** Message édité par divxaide le 23/09/2003 18:29 ***[/ita]