ilch Forum » Ilch Clan 1.1 » Module und Modifikationen » IRC Chat Modul 1.3 (1.1) als popup

Geschlossen
  1. #1
    User Pic
    NachtFalke Mitglied
    Registriert seit
    30.06.2008
    Beiträge
    6
    Beitragswertungen
    0 Beitragspunkte
    ich habe mal eine kleine frage ist es irgendwie möglich die chat.php aus dem content von dem modul als popup zu öffnen. sprich Klick auf Menü chat und neues fenster geht auf mit dem login für den chat. ohne das ich jetzt ne box machen muss

    also als menü extern hab ich das problem das er die ganze page öfnet das sollte nicht der fall sein

    hier mal der code für den chat

    <?php
    #   Copyright by: Florian Körner [Flomavali]
    #   Support: www.abookers.de
    
    
    defined ('main') or die ( 'no direct access' );
    
      $title = $allgAr['title'].' :: IRC Chat';
      $hmenu = 'IRC Chat';
      $design = new design ( $title , $hmenu );
      $design->header();
    
                            $sql = db_query("SELECT
                                                                    channel,quitmassage,text,breite,hoehe,helppage,showconnect,showchanlist,
                                                                    showabout,showhelp,showclose,showstatus,scrollspeed,nicklistwidth,
                                                                    color0,color1,color2,color3,color4,color5,color6,color7,color8,color9,
                                                                    color10,color11,color12,color13,color14,color15,showlogin
                                                            FROM
                                                                    prefix_chat
                                                            WHERE
                                                                    id='1'");
    
                            $bool = db_fetch_assoc($sql);
    
                           $channel = $bool['channel'];
                           $quitmassage = $bool['quitmassage'];
                           $text = $bool['text'];
                           $breite = $bool['breite'];
                           $hoehe = $bool['hoehe'];
                           $helppage = $bool['helppage'];
                           $showabout = $bool['showabout'];
                           $showhelp = $bool['showhelp'];
                           $showclose = $bool['showclose'];
                           $showstatus = $bool['showstatus'];
                           $showchanlist = $bool['showchanlist'];
                           $showconnect = $bool['showconnect'];
                           $scrollspeed = $bool['scrollspeed'];
                           $nicklistwidth = $bool['nicklistwidth'];
                           $color0 = $bool['color0'];
                           $color1 = $bool['color1'];
                           $color2 = $bool['color2'];
                           $color3 = $bool['color3'];
                           $color4 = $bool['color4'];
                           $color5 = $bool['color5'];
                           $color6 = $bool['color6'];
                           $color7 = $bool['color7'];
                           $color8 = $bool['color8'];
                           $color9 = $bool['color9'];
                           $color10 = $bool['color10'];
                           $color11 = $bool['color11'];
                           $color12 = $bool['color12'];
                           $color13 = $bool['color13'];
                           $color14 = $bool['color14'];
                           $color15 = $bool['color15'];
                           $showlogin = $bool['showlogin'];
                           $nicklog = $_SESSION['authname'];
    
      if($bool['showlogin']=="immer"){
      if($_POST['nickname']==""){
    
    echo '<br><br><br>
        <form method="post">
    <p align="center"><font size="5">Chat-Login</font></p>
    <div align="center"><center>
    
    <table border="0">
        <tr>
            <td><font>   Nickname: </font></td>
            <td><input type="text" name="nickname" value="" size="20" /</td>
        </tr>
        <tr>
            <td><font> Passwort: </font></td>
            <td><input type="password" name="password" value="" size="20" /></td>
        </tr>
        <tr>
            <td><font>  Alter:</font></td>
            <td><input type="text" name="name" value="" size="2"></font></td>
        </tr>
        <tr>
            <td><div align="center">
          <P><INPUT type=submit value="In den Chat" target="_blank"></P>
         </div>
        </form></td>
        </tr>
    </table>
    </center>';
    
      }
      else
      {
    
    $nick = $_POST['nickname'];
    $password = $_POST['password'];
    
    echo '<div align="center">
    <applet code=IRCApplet.class archive="irc.jar,pixx.jar" width="',$breite,'" height="',$hoehe,'"  codebase="http://www.afterworkchat.net/webchat/" name="applet" >
    <param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">
    <param name="gui" value="pixx">
    <param name="nick" value="',$nick,'">
     <param name="name" value="Alter:';
    if(empty($_POST['name'])){ echo "unbekannt"; } else { echo $_POST['name'];}
    echo 'Jahre"
    <param name="fullname" value="">
    <param name="host" value="Afterworkchat">
    <param name="port" value="6667">
    <param name="pixx:helppage" value="',$helppage,'">
    <param name="pixx:soundquery" value="snd/ding.au">
    <param name="pixx:autoconnection" value="true">
    <param name="pixx:timestamp" value="true">
    <param name="pixx:showabout" value="',$showabout,'">
    <param name="pixx:automaticqueries" value="true">
    <param name="pixx:highlight" value="true">
    <param name="pixx:highlightcolor" value="9">
    <param name="quitmessage" value="',$quitmassage,'">
    <param name="asl" value="false">
    <param name="floatingasl" value="true">
    <param name="style:bitmapsmileys" value="true">
    <param name="style:smiley1" value=":) img/sourire.gif">
    <param name="style:smiley2" value=":-) img/sourire.gif">
    <param name="style:smiley3" value=":-D img/content.gif">
    <param name="style:smiley4" value=":d img/content.gif">
    <param name="style:smiley5" value=":-O img/OH-2.gif">
    <param name="style:smiley6" value=":o img/OH-1.gif">
    <param name="style:smiley7" value=":-P img/langue.gif">
    <param name="style:smiley8" value=":p img/langue.gif">
    <param name="style:smiley9" value=";-) img/clin-oeuil.gif">
    <param name="style:smiley10" value=";) img/clin-oeuil.gif">
    <param name="style:smiley11" value=":-( img/triste.gif">
    <param name="style:smiley12" value=":( img/triste.gif">
    <param name="style:smiley13" value=":-| img/OH-3.gif">
    <param name="style:smiley14" value=":| img/OH-3.gif">
    <param name="style:smiley15" value=":/( img/pleure.gif">
    <param name="style:smiley16" value=":$ img/rouge.gif">
    <param name="style:smiley17" value=":-$ img/rouge.gif">
    <param name="style:smiley18" value="(H) img/cool.gif">
    <param name="style:smiley19" value="(h) img/cool.gif">
    <param name="style:smiley20" value=":-@ img/enerve1.gif">
    <param name="style:smiley21" value=":@ img/enerve2.gif">
    <param name="style:smiley22" value=":-S img/roll-eyes.gif">
    <param name="style:smiley23" value=":s img/roll-eyes.gif">
    <param name="pixx:channelfont" value="12 Arial">
    <param name="pixx:chanlistfont" value="12 Arial">
    <param name="pixx:nickfield" value="true">
    <param name="pixx:styleselector" value="true">
    <param name="setfontonstyle" value="true">
    <param name="pixx:timestamp" value="true">
    <param name="style:backgroundimage" value="true">
    <param name="style:backgroundimage1" value="none+channel none+#Hilfe+#Afterworkchat 0 img/logohell.gif">
    <param name="style:backgroundimage2" value="none+channel none+#singletreffen 0 img/st-hell.gif">
    <param name="style:backgroundimage3" value="none+channel none+#erotiksingles 0 img/es-hell.gif">
    <param name="pixx:configurepopup" value="true">
    <param name="pixx:popupmenustring1" value="Whois">
    <param name="pixx:popupmenustring2" value="query">
    <param name="pixx:popupmenustring3" value="ignore">
    <param name="pixx:popupmenustring4" value="-">
    <param name="pixx:popupmenustring5" value="OP">
    <param name="pixx:popupmenustring6" value="deOP">
    <param name="pixx:popupmenustring7" value="Voice">
    <param name="pixx:popupmenustring8" value="deVoice">
    <param name="pixx:popupmenustring9" value="-">
    <param name="pixx:popupmenustring10" value="Kick">
    <param name="pixx:popupmenustring11" value="Ban">
    <param name="pixx:popupmenustring12" value="Kickban">
    <param name="pixx:popupmenucommand1_1" value="/whois %1">
    <param name="pixx:popupmenucommand2_1" value="/query %1">
    <param name="pixx:popupmenucommand3_1" value="/ignore %1">
    <param name="pixx:popupmenucommand5_1" value="/mode %2 +o %1">
    <param name="pixx:popupmenucommand6_1" value="/mode %2 -o %1">
    <param name="pixx:popupmenucommand7_1" value="/mode %2 +v %1">
    <param name="pixx:popupmenucommand8_1" value="/mode %2 -v %1">
    <param name="pixx:popupmenucommand10_1" value="/kick %2 %1">
    <param name="pixx:popupmenucommand11_1" value="/mode %2 +b %1">
    <param name="pixx:popupmenucommand12_1" value="/mode %2 o %1">
    <param name="pixx:popupmenucommand12_2" value="/mode %2 +b %1">
    <param name="pixx:popupmenucommand12_3" value="/kick %2 %1">
    <param name="command1" value="ns identify ',$password,'">
    <param name="command2" value="join #',$channel,'">
    <param name="autoconnection" value="true">
    <param name="pixx:color0" value="',$color0,'">
    <param name="pixx:color1" value="',$color1,'">
    <param name="pixx:color2" value="',$color2,'">
    <param name="pixx:color3" value="',$color3,'">
    <param name="pixx:color4" value="',$color4,'">
    <param name="pixx:color5" value="',$color5,'">
    <param name="pixx:color6" value="',$color6,'">
    <param name="pixx:color7" value="',$color7,'">
    <param name="pixx:color8" value="',$color8,'">
    <param name="pixx:color9" value="',$color9,'">
    <param name="pixx:color10" value="',$color10,'">
    <param name="pixx:color11" value="',$color11,'">
    <param name="pixx:color12" value="',$color12,'">
    <param name="pixx:color13" value="',$color13,'">
    <param name="pixx:color14" value="',$color14,'">
    <param name="pixx:color15" value="',$color15,'">
    <param name="pixx:language" value="pixx-german2">
    <param name="pixx:showchanlist" value="',$showchanlist,'">
    <param name="pixx:showhelp" value="',$showhelp,'">
    <param name="pixx:showclose" value="',$showclose,'">
    <param name="pixx:showstatus" value="',$showstatus,'">
    <param name="pixx:showconnect" value="',$showconnect,'">
    <param name="pixx:nicklistwidth" value="',$nicklistwidth,'">
    <param name="pixx:scrollspeed" value="',$scrollspeed,'">
    </applet>';}
    
    } else   if($bool['showlogin']=="teils"){
    
    if ( loggedin() ) {
    echo '<div align="center">
    <applet code=IRCApplet.class archive="irc.jar,pixx.jar" width="',$breite,'" height="',$hoehe,'"  codebase="http://www.afterworkchat.net/webchat/" name="applet" >
    <param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">
    <param name="gui" value="pixx">
    <param name="nick" value="',$nicklog,'">
    <param name="name" value="Nick: ',$nicklog,'">
    <param name="fullname" value="">
    <param name="host" value="Afterworkchat">
    <param name="port" value="6667">
    <param name="pixx:helppage" value="',$helppage,'">
    <param name="pixx:soundquery" value="snd/ding.au">
    <param name="pixx:autoconnection" value="true">
    <param name="pixx:timestamp" value="true">
    <param name="pixx:showabout" value="',$showabout,'">
    <param name="pixx:automaticqueries" value="true">
    <param name="pixx:highlight" value="true">
    <param name="pixx:highlightcolor" value="9">
    <param name="quitmessage" value="',$quitmassage,'">
    <param name="asl" value="false">
    <param name="floatingasl" value="true">
    <param name="style:bitmapsmileys" value="true">
    <param name="style:smiley1" value=":) img/sourire.gif">
    <param name="style:smiley2" value=":-) img/sourire.gif">
    <param name="style:smiley3" value=":-D img/content.gif">
    <param name="style:smiley4" value=":d img/content.gif">
    <param name="style:smiley5" value=":-O img/OH-2.gif">
    <param name="style:smiley6" value=":o img/OH-1.gif">
    <param name="style:smiley7" value=":-P img/langue.gif">
    <param name="style:smiley8" value=":p img/langue.gif">
    <param name="style:smiley9" value=";-) img/clin-oeuil.gif">
    <param name="style:smiley10" value=";) img/clin-oeuil.gif">
    <param name="style:smiley11" value=":-( img/triste.gif">
    <param name="style:smiley12" value=":( img/triste.gif">
    <param name="style:smiley13" value=":-| img/OH-3.gif">
    <param name="style:smiley14" value=":| img/OH-3.gif">
    <param name="style:smiley15" value=":/( img/pleure.gif">
    <param name="style:smiley16" value=":$ img/rouge.gif">
    <param name="style:smiley17" value=":-$ img/rouge.gif">
    <param name="style:smiley18" value="(H) img/cool.gif">
    <param name="style:smiley19" value="(h) img/cool.gif">
    <param name="style:smiley20" value=":-@ img/enerve1.gif">
    <param name="style:smiley21" value=":@ img/enerve2.gif">
    <param name="style:smiley22" value=":-S img/roll-eyes.gif">
    <param name="style:smiley23" value=":s img/roll-eyes.gif">
    <param name="pixx:channelfont" value="12 Arial">
    <param name="pixx:chanlistfont" value="12 Arial">
    <param name="pixx:nickfield" value="true">
    <param name="pixx:styleselector" value="true">
    <param name="setfontonstyle" value="true">
    <param name="pixx:timestamp" value="true">
    <param name="style:backgroundimage" value="true">
    <param name="style:backgroundimage1" value="none+channel none+#Hilfe+#Afterworkchat 0 img/logohell.gif">
    <param name="style:backgroundimage2" value="none+channel none+#singletreffen 0 img/st-hell.gif">
    <param name="style:backgroundimage3" value="none+channel none+#erotiksingles 0 img/es-hell.gif">
    <param name="pixx:configurepopup" value="true">
    <param name="pixx:popupmenustring1" value="Whois">
    <param name="pixx:popupmenustring2" value="query">
    <param name="pixx:popupmenustring3" value="ignore">
    <param name="pixx:popupmenustring4" value="-">
    <param name="pixx:popupmenustring5" value="OP">
    <param name="pixx:popupmenustring6" value="deOP">
    <param name="pixx:popupmenustring7" value="Voice">
    <param name="pixx:popupmenustring8" value="deVoice">
    <param name="pixx:popupmenustring9" value="-">
    <param name="pixx:popupmenustring10" value="Kick">
    <param name="pixx:popupmenustring11" value="Ban">
    <param name="pixx:popupmenustring12" value="Kickban">
    <param name="pixx:popupmenucommand1_1" value="/whois %1">
    <param name="pixx:popupmenucommand2_1" value="/query %1">
    <param name="pixx:popupmenucommand3_1" value="/ignore %1">
    <param name="pixx:popupmenucommand5_1" value="/mode %2 +o %1">
    <param name="pixx:popupmenucommand6_1" value="/mode %2 -o %1">
    <param name="pixx:popupmenucommand7_1" value="/mode %2 +v %1">
    <param name="pixx:popupmenucommand8_1" value="/mode %2 -v %1">
    <param name="pixx:popupmenucommand10_1" value="/kick %2 %1">
    <param name="pixx:popupmenucommand11_1" value="/mode %2 +b %1">
    <param name="pixx:popupmenucommand12_1" value="/mode %2 o %1">
    <param name="pixx:popupmenucommand12_2" value="/mode %2 +b %1">
    <param name="pixx:popupmenucommand12_3" value="/kick %2 %1">
    <param name="command1" value="">
    <param name="command2" value="join #',$channel,'">
    <param name="autoconnection" value="true">
    <param name="pixx:color0" value="',$color0,'">
    <param name="pixx:color1" value="',$color1,'">
    <param name="pixx:color2" value="',$color2,'">
    <param name="pixx:color3" value="',$color3,'">
    <param name="pixx:color4" value="',$color4,'">
    <param name="pixx:color5" value="',$color5,'">
    <param name="pixx:color6" value="',$color6,'">
    <param name="pixx:color7" value="',$color7,'">
    <param name="pixx:color8" value="',$color8,'">
    <param name="pixx:color9" value="',$color9,'">
    <param name="pixx:color10" value="',$color10,'">
    <param name="pixx:color11" value="',$color11,'">
    <param name="pixx:color12" value="',$color12,'">
    <param name="pixx:color13" value="',$color13,'">
    <param name="pixx:color14" value="',$color14,'">
    <param name="pixx:color15" value="',$color15,'">
    <param name="pixx:language" value="pixx-german2">
    <param name="pixx:showchanlist" value="',$showchanlist,'">
    <param name="pixx:showhelp" value="',$showhelp,'">
    <param name="pixx:showclose" value="',$showclose,'">
    <param name="pixx:showstatus" value="',$showstatus,'">
    <param name="pixx:showconnect" value="',$showconnect,'">
    <param name="pixx:nicklistwidth" value="',$nicklistwidth,'">
    <param name="pixx:scrollspeed" value="',$scrollspeed,'">
    </applet>';
    
    }else{
    
      if($_POST['nickname']==""){
    
    echo '<br><br><br>
        <form method="post">
    <p align="center"><font size="5">Chat-Login</font></p>
    <div align="center"><center>
    
    <table border="0">
        <tr>
            <td><font>   Nickname: </font></td>
            <td><input type="text" name="nickname" value="" size="20" /</td>
        </tr>
        <tr>
            <td><font> Passwort: </font></td>
            <td><input type="password" name="password" value="" size="20" /></td>
        </tr>
        <tr>
            <td><font>  Alter:</font></td>
            <td><input type="text" name="name" value="" size="2"></font></td>
        </tr>
        <tr>
            <td><div align="center">
          <P><INPUT type=submit value="In den Chat" target="_blank"></P>
         </div>
        </form></td>
        </tr>
    </table>
    </center>';
    
      }
      else
      {
    
    $nick = $_POST['nickname'];
    $password = $_POST['password'];
    
    echo '<div align="center">
    <applet code=IRCApplet.class archive="irc.jar,pixx.jar" width="',$breite,'" height="',$hoehe,'"  codebase="http://www.afterworkchat.net/webchat/" name="applet" >
    <param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">
    <param name="gui" value="pixx">
    <param name="nick" value="',$nick,'">
     <param name="name" value="Alter:';
    if(empty($_POST['name'])){ echo "unbekannt"; } else { echo $_POST['name'];}
    echo 'Jahre"
    <param name="fullname" value="">
    <param name="host" value="Afterworkchat">
    <param name="port" value="6667">
    <param name="pixx:helppage" value="',$helppage,'">
    <param name="pixx:soundquery" value="snd/ding.au">
    <param name="pixx:autoconnection" value="true">
    <param name="pixx:timestamp" value="true">
    <param name="pixx:showabout" value="',$showabout,'">
    <param name="pixx:automaticqueries" value="true">
    <param name="pixx:highlight" value="true">
    <param name="pixx:highlightcolor" value="9">
    <param name="quitmessage" value="',$quitmassage,'">
    <param name="asl" value="false">
    <param name="floatingasl" value="true">
    <param name="style:bitmapsmileys" value="true">
    <param name="style:smiley1" value=":) img/sourire.gif">
    <param name="style:smiley2" value=":-) img/sourire.gif">
    <param name="style:smiley3" value=":-D img/content.gif">
    <param name="style:smiley4" value=":d img/content.gif">
    <param name="style:smiley5" value=":-O img/OH-2.gif">
    <param name="style:smiley6" value=":o img/OH-1.gif">
    <param name="style:smiley7" value=":-P img/langue.gif">
    <param name="style:smiley8" value=":p img/langue.gif">
    <param name="style:smiley9" value=";-) img/clin-oeuil.gif">
    <param name="style:smiley10" value=";) img/clin-oeuil.gif">
    <param name="style:smiley11" value=":-( img/triste.gif">
    <param name="style:smiley12" value=":( img/triste.gif">
    <param name="style:smiley13" value=":-| img/OH-3.gif">
    <param name="style:smiley14" value=":| img/OH-3.gif">
    <param name="style:smiley15" value=":/( img/pleure.gif">
    <param name="style:smiley16" value=":$ img/rouge.gif">
    <param name="style:smiley17" value=":-$ img/rouge.gif">
    <param name="style:smiley18" value="(H) img/cool.gif">
    <param name="style:smiley19" value="(h) img/cool.gif">
    <param name="style:smiley20" value=":-@ img/enerve1.gif">
    <param name="style:smiley21" value=":@ img/enerve2.gif">
    <param name="style:smiley22" value=":-S img/roll-eyes.gif">
    <param name="style:smiley23" value=":s img/roll-eyes.gif">
    <param name="pixx:channelfont" value="12 Arial">
    <param name="pixx:chanlistfont" value="12 Arial">
    <param name="pixx:nickfield" value="true">
    <param name="pixx:styleselector" value="true">
    <param name="setfontonstyle" value="true">
    <param name="pixx:timestamp" value="true">
    <param name="style:backgroundimage" value="true">
    <param name="style:backgroundimage1" value="none+channel none+#Hilfe+#Afterworkchat 0 img/logohell.gif">
    <param name="style:backgroundimage2" value="none+channel none+#singletreffen 0 img/st-hell.gif">
    <param name="style:backgroundimage3" value="none+channel none+#erotiksingles 0 img/es-hell.gif">
    <param name="pixx:configurepopup" value="true">
    <param name="pixx:popupmenustring1" value="Whois">
    <param name="pixx:popupmenustring2" value="query">
    <param name="pixx:popupmenustring3" value="ignore">
    <param name="pixx:popupmenustring4" value="-">
    <param name="pixx:popupmenustring5" value="OP">
    <param name="pixx:popupmenustring6" value="deOP">
    <param name="pixx:popupmenustring7" value="Voice">
    <param name="pixx:popupmenustring8" value="deVoice">
    <param name="pixx:popupmenustring9" value="-">
    <param name="pixx:popupmenustring10" value="Kick">
    <param name="pixx:popupmenustring11" value="Ban">
    <param name="pixx:popupmenustring12" value="Kickban">
    <param name="pixx:popupmenucommand1_1" value="/whois %1">
    <param name="pixx:popupmenucommand2_1" value="/query %1">
    <param name="pixx:popupmenucommand3_1" value="/ignore %1">
    <param name="pixx:popupmenucommand5_1" value="/mode %2 +o %1">
    <param name="pixx:popupmenucommand6_1" value="/mode %2 -o %1">
    <param name="pixx:popupmenucommand7_1" value="/mode %2 +v %1">
    <param name="pixx:popupmenucommand8_1" value="/mode %2 -v %1">
    <param name="pixx:popupmenucommand10_1" value="/kick %2 %1">
    <param name="pixx:popupmenucommand11_1" value="/mode %2 +b %1">
    <param name="pixx:popupmenucommand12_1" value="/mode %2 o %1">
    <param name="pixx:popupmenucommand12_2" value="/mode %2 +b %1">
    <param name="pixx:popupmenucommand12_3" value="/kick %2 %1">
    <param name="command1" value="ns identify ',$password,'">
    <param name="command2" value="join #',$channel,'">
    <param name="autoconnection" value="true">
    <param name="pixx:color0" value="',$color0,'">
    <param name="pixx:color1" value="',$color1,'">
    <param name="pixx:color2" value="',$color2,'">
    <param name="pixx:color3" value="',$color3,'">
    <param name="pixx:color4" value="',$color4,'">
    <param name="pixx:color5" value="',$color5,'">
    <param name="pixx:color6" value="',$color6,'">
    <param name="pixx:color7" value="',$color7,'">
    <param name="pixx:color8" value="',$color8,'">
    <param name="pixx:color9" value="',$color9,'">
    <param name="pixx:color10" value="',$color10,'">
    <param name="pixx:color11" value="',$color11,'">
    <param name="pixx:color12" value="',$color12,'">
    <param name="pixx:color13" value="',$color13,'">
    <param name="pixx:color14" value="',$color14,'">
    <param name="pixx:color15" value="',$color15,'">
    <param name="pixx:language" value="pixx-german2">
    <param name="pixx:showchanlist" value="',$showchanlist,'">
    <param name="pixx:showhelp" value="',$showhelp,'">
    <param name="pixx:showclose" value="',$showclose,'">
    <param name="pixx:showstatus" value="',$showstatus,'">
    <param name="pixx:showconnect" value="',$showconnect,'">
    <param name="pixx:nicklistwidth" value="',$nicklistwidth,'">
    <param name="pixx:scrollspeed" value="',$scrollspeed,'">
    </applet>';
    }}
    
    }else{
    echo '<div align="center">
    <applet code=IRCApplet.class archive="irc.jar,pixx.jar" width="',$breite,'" height="',$hoehe,'"  codebase="http://www.afterworkchat.net/webchat/" name="applet" >
    <param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">
    <param name="gui" value="pixx">
    <param name="nick" value="',$nicklog,'">
    <param name="name" value="Nick: ',$nicklog,'">
    <param name="fullname" value="">
    <param name="host" value="Afterworkchat">
    <param name="port" value="6667">
    <param name="pixx:helppage" value="',$helppage,'">
    <param name="pixx:soundquery" value="snd/ding.au">
    <param name="pixx:autoconnection" value="true">
    <param name="pixx:timestamp" value="true">
    <param name="pixx:showabout" value="',$showabout,'">
    <param name="pixx:automaticqueries" value="true">
    <param name="pixx:highlight" value="true">
    <param name="pixx:highlightcolor" value="9">
    <param name="quitmessage" value="',$quitmassage,'">
    <param name="asl" value="false">
    <param name="floatingasl" value="true">
    <param name="style:bitmapsmileys" value="true">
    <param name="style:smiley1" value=":) img/sourire.gif">
    <param name="style:smiley2" value=":-) img/sourire.gif">
    <param name="style:smiley3" value=":-D img/content.gif">
    <param name="style:smiley4" value=":d img/content.gif">
    <param name="style:smiley5" value=":-O img/OH-2.gif">
    <param name="style:smiley6" value=":o img/OH-1.gif">
    <param name="style:smiley7" value=":-P img/langue.gif">
    <param name="style:smiley8" value=":p img/langue.gif">
    <param name="style:smiley9" value=";-) img/clin-oeuil.gif">
    <param name="style:smiley10" value=";) img/clin-oeuil.gif">
    <param name="style:smiley11" value=":-( img/triste.gif">
    <param name="style:smiley12" value=":( img/triste.gif">
    <param name="style:smiley13" value=":-| img/OH-3.gif">
    <param name="style:smiley14" value=":| img/OH-3.gif">
    <param name="style:smiley15" value=":/( img/pleure.gif">
    <param name="style:smiley16" value=":$ img/rouge.gif">
    <param name="style:smiley17" value=":-$ img/rouge.gif">
    <param name="style:smiley18" value="(H) img/cool.gif">
    <param name="style:smiley19" value="(h) img/cool.gif">
    <param name="style:smiley20" value=":-@ img/enerve1.gif">
    <param name="style:smiley21" value=":@ img/enerve2.gif">
    <param name="style:smiley22" value=":-S img/roll-eyes.gif">
    <param name="style:smiley23" value=":s img/roll-eyes.gif">
    <param name="pixx:channelfont" value="12 Arial">
    <param name="pixx:chanlistfont" value="12 Arial">
    <param name="pixx:nickfield" value="true">
    <param name="pixx:styleselector" value="true">
    <param name="setfontonstyle" value="true">
    <param name="pixx:timestamp" value="true">
    <param name="style:backgroundimage" value="true">
    <param name="style:backgroundimage1" value="none+channel none+#Hilfe+#Afterworkchat 0 img/logohell.gif">
    <param name="style:backgroundimage2" value="none+channel none+#singletreffen 0 img/st-hell.gif">
    <param name="style:backgroundimage3" value="none+channel none+#erotiksingles 0 img/es-hell.gif">
    <param name="pixx:configurepopup" value="true">
    <param name="pixx:popupmenustring1" value="Whois">
    <param name="pixx:popupmenustring2" value="query">
    <param name="pixx:popupmenustring3" value="ignore">
    <param name="pixx:popupmenustring4" value="-">
    <param name="pixx:popupmenustring5" value="OP">
    <param name="pixx:popupmenustring6" value="deOP">
    <param name="pixx:popupmenustring7" value="Voice">
    <param name="pixx:popupmenustring8" value="deVoice">
    <param name="pixx:popupmenustring9" value="-">
    <param name="pixx:popupmenustring10" value="Kick">
    <param name="pixx:popupmenustring11" value="Ban">
    <param name="pixx:popupmenustring12" value="Kickban">
    <param name="pixx:popupmenucommand1_1" value="/whois %1">
    <param name="pixx:popupmenucommand2_1" value="/query %1">
    <param name="pixx:popupmenucommand3_1" value="/ignore %1">
    <param name="pixx:popupmenucommand5_1" value="/mode %2 +o %1">
    <param name="pixx:popupmenucommand6_1" value="/mode %2 -o %1">
    <param name="pixx:popupmenucommand7_1" value="/mode %2 +v %1">
    <param name="pixx:popupmenucommand8_1" value="/mode %2 -v %1">
    <param name="pixx:popupmenucommand10_1" value="/kick %2 %1">
    <param name="pixx:popupmenucommand11_1" value="/mode %2 +b %1">
    <param name="pixx:popupmenucommand12_1" value="/mode %2 o %1">
    <param name="pixx:popupmenucommand12_2" value="/mode %2 +b %1">
    <param name="pixx:popupmenucommand12_3" value="/kick %2 %1">
    <param name="command1" value="">
    <param name="command2" value="join #',$channel,'">
    <param name="autoconnection" value="true">
    <param name="pixx:color0" value="',$color0,'">
    <param name="pixx:color1" value="',$color1,'">
    <param name="pixx:color2" value="',$color2,'">
    <param name="pixx:color3" value="',$color3,'">
    <param name="pixx:color4" value="',$color4,'">
    <param name="pixx:color5" value="',$color5,'">
    <param name="pixx:color6" value="',$color6,'">
    <param name="pixx:color7" value="',$color7,'">
    <param name="pixx:color8" value="',$color8,'">
    <param name="pixx:color9" value="',$color9,'">
    <param name="pixx:color10" value="',$color10,'">
    <param name="pixx:color11" value="',$color11,'">
    <param name="pixx:color12" value="',$color12,'">
    <param name="pixx:color13" value="',$color13,'">
    <param name="pixx:color14" value="',$color14,'">
    <param name="pixx:color15" value="',$color15,'">
    <param name="pixx:language" value="pixx-german2">
    <param name="pixx:showchanlist" value="',$showchanlist,'">
    <param name="pixx:showhelp" value="',$showhelp,'">
    <param name="pixx:showclose" value="',$showclose,'">
    <param name="pixx:showstatus" value="',$showstatus,'">
    <param name="pixx:showconnect" value="',$showconnect,'">
    <param name="pixx:nicklistwidth" value="',$nicklistwidth,'">
    <param name="pixx:scrollspeed" value="',$scrollspeed,'">
    </applet>';
    }
    echo '<br><br><span style="font-weight: bold;">Chat-Daten:</span><br><br><font class="f12pix"><b> Server: irc.Afterworkchat.com<br> Port: 6667<br>Channel: #',$channel,'<br></b><br>',$text,'</font><br><br[IRC-Modul by Flomavali]>
    </div>
    </body>';
    
    $design->footer();
    ?>



    Zuletzt modifiziert von NachtFalke am 05.07.2008 - 14:47:28
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    Mairu Coder
    Registriert seit
    16.06.2006
    Beiträge
    15.334
    Beitragswertungen
    386 Beitragspunkte
    Wenn du das Design nicht haben willst, einfach alle Sachen mit $design entfernen, sollte nur am Anfang und Ende einer Datei sein.
    Und auch immer mal ein Blick auf die FAQ werfen. | Mairus Ilchseite
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    Flomavali gelöschter User
    Ja, so ist es auch.
    Oben die Zeilen

      $design = new design ( $title , $hmenu );
      $design->header();

    und unten die Zeile
    $design->footer();

    löschen.

    Und wenn es dann die neue Version vom IRC Chat gibt, wird der Code auch übersichtlicher und sauberer! zwinker
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    Flomavali gelöschter User
    Ach ja,

    unter www.ilch-mods.de gibt es eine neuere Version von diesem Modul. Dort sind mehrere Fehler aus dem Code und unnötige Wiederholungen entfernt.
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Module und Modifikationen

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten