Verzeichnisstruktur phpBB-1.0.0


Veröffentlicht
15.12.2000

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

      (Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

bb_smilies.php

Zuletzt modifiziert: 09.10.2024, 12:50 - Dateigröße: 3.21 KiB


 01  <?php
 02    /***************************************************************************
 03     *                             bb_smilies.php  -  description
 04     *                              -------------------
 05     *     begin                : Monday, September 11, 2000
 06     *     copyright            : (C) 2000 by James Atkinson
 07     *     email                : james@totalgeek.org
 08     * 
 09     *     $Id: bb_smilies.php,v 1.6 2000/11/15 04:57:15 thefinn Exp $
 10     * 
 11     *  ***************************************************************************/
 12    
 13    /***************************************************************************
 14     *  *                                                                                                      
 15     *  *   This program is free software; you can redistribute it and/or modify       
 16     *  *   it under the terms of the GNU General Public License as published by  
 17     *  *   the Free Software Foundation; either version 2 of the License, or          
 18     *  *   (at your option) any later version.
 19     *  *
 20     *  ***************************************************************************/
 21  include('extention.inc');
 22  include('functions.'.$phpEx);
 23  include('config.'.$phpEx);
 24  require('auth.'.$phpEx);
 25  $pagetitle = "Smilies List";
 26  $pagetype = "other";
 27  include('page_header.'.$phpEx);
 28  ?>
 29    <p><br><p>
 30    <center>
 31    <TABLE width="<?php echo $table_width?>">
 32    <tr><td colspan=3 bgcolor="<?php echo $color1?>">
 33    <FONT FACE="<?php echo $FontFace?>" SIZE="<?php echo $FontSize2?>" COLOR="<?php echo $textcolor?>">
 34    <center>
 35    S M I L I E S
 36    </CENTER>
 37    <p>
 38    Smilies are small graphical images that can be used to convey an emotion or feeling.
 39    <P>
 40    </td></tr>
 41    <TR bgcolor="<?php echo $color2?>">
 42    <TR bgcolor="<?php echo $color2?>">
 43    <TD><FONT FACE="<?php echo $FontFace?>" SIZE="<?php echo $FontSize2?>" COLOR="<?php echo $textcolor?>"><b>What to Type</b></FONT></td>
 44    <TD><FONT FACE="<?php echo $FontFace?>" SIZE="<?php echo $FontSize2?>" COLOR="<?php echo $textcolor?>"><b>Emotion</b></FONT></td>
 45    <TD><FONT FACE="<?php echo $FontFace?>" SIZE="<?php echo $FontSize2?>" COLOR="<?php echo $textcolor?>"><b>Graphic That Will Appear</b></FONT></td>
 46    </tr>
 47    <?php
 48    
 49    if ($getsmiles = mysql_query("SELECT * FROM smiles")) {
 50       while ($smile = mysql_fetch_array($getsmiles)) {
 51      ?>
 52        
 53        <TR BGCOLOR="<?php echo $color2?>"><TD><FONT FACE="<?php echo $FontFace?>" SIZE="<?php echo $FontSize2?>" COLOR="<?php echo $textcolor?>"><?php echo $smile[code]?></FONT></td><td><FONT FACE="<?php echo $FontFace?>" SIZE="<?php echo $FontSize2?>" COLOR="<?php echo $textcolor?>"> <?php echo $smile[emotion]?>&nbsp;</FONT></td><td> <IMG SRC="<? echo "$url_smiles/$smile[smile_url]";?>"></td></tr>
 54        
 55        <?php
 56       }
 57       
 58    } else {
 59       echo "Could not retrieve from the smile database.";
 60    }
 61   
 62  ?>
 63    <tr><td colspan=3 bgcolor="<?php echo $color1?>">
 64    <FONT FACE="<?php echo $FontFace?>" SIZE="<?php echo $FontSize2?>" COLOR="<?php echo $textcolor?>">
 65    <center>
 66    <P>
 67    Note: you may disable smilies in any post you are making, if you like.  Look for the "Disable Smilies" box on each post page, if you want to turn off smilie conversion in your particular post.
 68    </font>
 69    </td></tr>
 70    </table>
 71    </center>
 72    
 73    <p><br><p>
 74  <?php
 75    
 76  include('page_tail.'.$phpEx);
 77  ?>
 78    
 79