3V Sourceviewer

Hier kannst du den Quellcode aller vom Admin freigegebenden Scripte einsehen. Es ist nicht erlaubt sich durch das Quellcode lesen Vorteile im Spiel zu verschaffen und wird daher schwer bestraft! Ebenso sind Fehler im Quellcode umgehend zu melden. Das Vinestrateam ist sehr dankbar falls ihr Bugs meldet. Bei Quellcodefragen wendet euch bitte im Spiel an Draza`ar oder schickt eine Mail.

Zum Quellcode

Verzeichnisliste

  • RPplaces.php
  • RPplaceslist.php
  • about.php
  • academy.php
  • access.php
  • alchemist.php
  • altaramon.php
  • amonnebeneingang.php
  • amontempel.php
  • anticheat.php
  • armor.php
  • armoreditor.php
  • aussenanlagetempel.php
  • avatars.php
  • badnav.php
  • badword.php
  • bait.php
  • bank.php
  • banker.php
  • bankrobber.php
  • bar.php
  • bar_casino.php
  • bar_club.php
  • barke.php
  • bath.php
  • battle.php
  • battlearena.php
  • beggar.php
  • beispiel.php
  • bio.php
  • biobackups.php
  • biobewertung.php
  • bioobs.php
  • bios.php
  • blumenstand.php
  • bordello.php
  • chapel.php
  • chat.php
  • chat_delete.php
  • chateaux.php
  • checknames.php
  • clan.php
  • coloredit.php
  • colors.php
  • common.php — Datei kann nicht angezeigt werden: Auf Grund von anpassungen gesperrt!
  • configuration.php
  • connector.php
  • create.php
  • creatures.php
  • dag.php
  • dbwrapper.php
  • descriptioneditor.php
  • docks.php
  • donators.php
  • dragon.php — Datei kann nicht angezeigt werden: Die gibt's hier auf Anfrage
  • durscripts.php
  • editchat.php — Datei kann nicht angezeigt werden: Die gibt's hier auf Anfrage
  • elementkammer.php
  • elwus.php
  • erde.php
  • fast_nav.php
  • feuer.php
  • fischhaendler.php
  • fish.php
  • flirt.php
  • floor.php
  • flowers.php
  • forest.php
  • forestlakepath.php
  • forum.php
  • forum_funcs.php
  • friedhof.php
  • furnedit.php
  • gardens.php
  • gartensee.php
  • gaya.php
  • gemstore.php
  • goettertempel.php
  • gottwahl.php
  • graveyard.php
  • grotte.php
  • guild.php
  • guildclanedit.php
  • guildclaneditfunc.php
  • guildclanfuncs.php
  • guildclanhelp.php
  • guilds-clans-su.php
  • gypsy.php
  • hafenviertel.php
  • healer.php
  • herocamp.php
  • hexe.php
  • hof.php
  • housefuncs.php
  • houses.php
  • huegel.php
  • impressum.php
  • index.php
  • indexregeln.php
  • info.php
  • inn.php
  • innboard.php
  • invhandler.php
  • itemeditor.php
  • kerker.php
  • kirche.php
  • kiste.php
  • kitchen.php
  • klippen.php
  • leuchtturm.php
  • library.php
  • list.php — Datei kann nicht angezeigt werden: Die gibt's hier auf Anfrage
  • list_funcs.php — Datei kann nicht angezeigt werden: Die gibt's hier auf Anfrage
  • lodge.php
  • logdnet.php
  • login.php
  • logs.php
  • lottery.php
  • luft.php
  • mail.php
  • man.php
  • massmail.php
  • modgems.php
  • moebelhaendler.php
  • motd.php
  • mounts.php
  • myranorapotheke.php
  • mystischersee.php
  • namechange.php
  • nebelinsel.php
  • new.php
  • newday.php — Datei kann nicht angezeigt werden: Die gibt's hier auf Anfrage
  • newgiftshop.php
  • news.php
  • olddrawl.php
  • orte.php
  • outhouse.php
  • outputs.php
  • panel_funcs.php
  • paths.php
  • petition.php
  • placefuncs.php
  • placelist.php
  • pool.php
  • prefs.php
  • pressarm.php
  • pvp.php
  • pvparena.php
  • raceedit.php
  • ramiusfight.php
  • ramiussitz.php
  • ramiustempel.php
  • randomchar.php
  • rathaus.php
  • reanda.php
  • rebirth.php
  • redaktion.php
  • referers.php
  • referral.php
  • regeln.php
  • retitle.php
  • robinhood.php
  • rock.php
  • rpchange.php
  • rpcharlist.php
  • rpfights.php
  • rpmod.php
  • rportclassfunc.php
  • rporte.php
  • sanela.php
  • sanelabrunnen.php
  • sanelaschmiede.php
  • sanelasee.php
  • sanelastrand.php
  • schnellbank.php
  • schnellbankhafen.php
  • schnellbanksanela.php
  • setnewday.php
  • shades.php
  • shrine.php
  • source.php — Datei kann nicht angezeigt werden: Na na na hier wird nicht geschaut ;P
  • spelunke.php
  • stables.php
  • stats.php
  • stonesgame.php
  • strand.php
  • styx.php
  • su_forum.php
  • suhouses.php
  • sulib.php
  • superuser.php
  • superuser2.php
  • suvinbor.php — Datei kann nicht angezeigt werden: Teil vom System 3V
  • switchfunctions.php
  • tanzsaal.php
  • taunt.php
  • tempelanlage.php
  • tempeleingang.php
  • tempelgewoelbe.php
  • templateedit.php
  • test.php
  • testi.php
  • thehell.php
  • titler.php
  • todolist.php
  • topwebvote.php
  • train.php
  • translator.php
  • translator_de.php
  • translator_en.php
  • treeofdeath.php
  • turm.php
  • turmsprung.php
  • usepotion.php
  • user.php
  • userpanel.php — Datei kann nicht angezeigt werden: Teil vom System 3V
  • useryoms.php
  • v3_su_guild.php
  • vendor.php
  • verdammnis.php
  • verifi.php
  • viewpetition.php
  • village.php
  • vinbor.php — Datei kann nicht angezeigt werden: Teil vom System 3V
  • vineinfo.php
  • vinestrafarben.php
  • wachstube.php
  • waldlichtung.php
  • waldsee.php
  • waldseefuncs.php
  • wanderweg.php
  • wasser.php
  • wasserfall.php
  • weaponeditor.php
  • weapons.php
  • well.php
  • wellness.php
  • whoaccess.php
  • wolkeninsel.php
  • zeitung.php
  • zulan.php


  • Zum Seitenanfang

    /special/



    Zum Seitenanfang

    /lib/



    Zum Seitenanfang

    /common/




    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:
    27:
    28:
    29:
    30:
    31:
    32:
    33:
    34:
    35:
    36:
    37:
    38:
    39:
    40:
    41:
    42:
    43:
    44:
    45:
    46:
    47:
    48:
    49:
    50:
    51:
    52:
    53:
    54:
    55:
    56:
    57:
    58:
    59:
    60:
    61:
    62:
    63:
    64:
    65:
    66:
    67:
    68:
    69:
    70:
    71:
    72:
    73:
    74:
    75:
    76:
    77:
    78:
    79:
    80:
    81:
    82:
    83:
    84:
    85:
    86:
    87:
    88:
    89:
    90:
    91:
    92:
    93:
    94:
    95:
    96:
    97:
    98:
    99:
    100:
    101:
    102:
    103:
    104:
    105:
    106:
    107:
    108:
    109:
    110:
    111:
    112:
    113:
    114:
    115:
    116:
    117:
    118:
    119:
    120:
    121:
    122:
    123:
    124:
    125:
    126:
    127:
    128:
    129:
    130:
    131:
    132:
    133:
    134:
    135:
    136:
    137:
    138:
    139:
    140:
    141:
    142:
    143:
    144:
    145:
    146:
    147:
    148:
    149:
    150:
    151:
    152:
    153:
    154:
    155:
    156:
    157:
    158:
    159:
    160:
    161:
    162:
    163:
    164:
    <?

    // Testversion

    require_once 'common.php';
    page_header('Ortsbeschreibungen');

    switch(
    $_GET['op']) {
        case 
    '':    
            
    addnav('Aktionen');
            
    addnav('Neue Suchen''descriptioneditor.php?op=search_new');
            
    addnav('Umkehren');
            
    addnav('Zurück zur Nebengrotte''superuser2.php');
            
    addnav('Zurück zum Weltlichen''village.php');
            
            
    rawoutput('<a href="descriptioneditor.php?op=show_category&category=nopic">Beschreibungen ohne Bild bearbeiten</a> <br />
                       <br />
                       <a href="descriptioneditor.php?op=show_category&category=nodesc">Beschreibungen ohne Text bearbeiten</a> <br />
                       <br />
                       <a href="descriptioneditor.php?op=show_category&category=noboth">Beschreibungen ohne Bild und Text bearbeiten</a> <br />
                       <br />
                       <a href="descriptioneditor.php?op=show_category&category=haveall">Beschreibungen mit Bild und Text bearbeiten</a>'
    );
            
            
    addnav('''descriptioneditor.php?op=show_category&category=nopic');
            
    addnav('''descriptioneditor.php?op=show_category&category=nodesc');
            
    addnav('''descriptioneditor.php?op=show_category&category=noboth');
            
    addnav('''descriptioneditor.php?op=show_category&category=haveall');
            break;
            
        case 
    'show_category':
            
    addnav('Umkehren');
            
    addnav('Zurück zum Hauptmenü''descriptioneditor.php');
            
    addnav('Zurück zur Nebengrotte''superuser2.php');
            
    addnav('Zurück zum Weltlichen''village.php');
            
            
    $category $_GET['category'];
            
    $categories get_description_categories();
            
    $mycategory $categories[$category];
            
            if(empty(
    $mycategory)) {
                
    output('`b`&Es gibt keine Ortsbeschreibungen ');
                switch(
    $category) {
                    case 
    'nopic':
                        
    output('ohne Bild!`b');
                        break;
                    case 
    'nodesc':
                        
    output('ohne Text!`b');
                        break;
                    case 
    'noboth':
                        
    output('ohne Bild und Text!`b');
                        break;
                    case 
    'haveall':
                        
    output('mit Bild und Text!`b');
                        break;
                }
            }
            else {
                foreach(
    $mycategory AS $v) {
                    
    $content get_place_description($v);
                    
    $name str_replace('.txt'''$v);
                    
    $editlink 'descriptioneditor.php?op=edit&filename='.rawurlencode($v).'&category='.$category;
                    
                    
    output('<table border="0" cellpadding="5" cellspacing="1" bgcolor="#999999" width="100%">
                                <tr class="trdark">
                                    <td colspan="2"> `b`&Name des Platzes:`b '
    .$name.' <p align="right">`&[<a href="'.$editlink.'">edit</a>`&]</p> </td>
                                </tr>
                                <tr bgcolor="#999999">
                                    <td colspan="2"> </td>
                                </tr>
                                <tr class="trdark">
                                    <td valign="top"> '
    .stripslashes($content['text']).' </td>
                                    <td width="400" align="center"> <img src="'
    .$content['picture'].'" alt="Bild zu Ort '.$name.'"> </td>
                                </tr>
                            </table> `n`n`n'
    true);
                    
    addnav(''$editlink);
                }
            }
            break;
            
        case 
    'edit':
            
    $category $_GET['category'];
            
    $filename $_GET['filename'];
            
            
    addnav('Umkehren');
            
    addnav('Zurück''descriptioneditor.php?op=show_category&category='.$category);
            
    addnav('Zurück zum Hauptmenü''descriptioneditor.php');
            
    addnav('Zurück zur Nebengrotte''superuser2.php');
            
    addnav('Zurück zum Weltlichen''village.php');
            
            
    $content get_place_description($filename);
            
            switch(
    $_GET['act']) {
                case 
    '':
                    
    rawoutput('<form action="descriptioneditor.php?op=edit&filename='.$filename.'&category='.$category.'&act=save" method="POST">
                               <table>
                                 <tr>
                                   <td> <b>Link zum Bild:</b> </td>
                                   <td> <input name="picture" value="'
    .$content['picture'].'"> </td>
                                 </tr>
                                 <tr>
                                   <td> <b>Bschreibung des Ortes:</b> </td>
                                   <td> <textarea name="text" cols="80" rows="8" class="input">'
    .stripslashes($content['text']).'</textarea> </td>
                                 </tr>
                                 <tr>
                                   <td colspan="2" align="right"> <input type="submit" class="button" value="Speichern"> </td>
                                 </tr>                            
                               </table>
                               </form>'
    true);
                    
                    
    addnav('''descriptioneditor.php?op=edit&filename='.$filename.'&category='.$category.'&act=save');
                    break;
                
                case 
    'save':
                    
    $picture $_POST['picture'];
                    
    $text stripslashes($_POST['text']);
                    
                    
    //var_dump($filename, $picture, $text);
                    
                    
    save_place_description($filename$picture$text);
                    break;
            }
            break;
            
        case 
    'search_new':
            
    $all_files glob('*.php');
            
    $count 0;
            
    $no_show = array('descriptioneditor.php',
                             
    'chateaux.php');
            
            foreach(
    $all_files AS $v) {
                
    $content file_get_contents($v);
                
                if(
    strpos($content'place_description') === false || in_array($v$no_show))
                    continue;
                else {
                    
    $placename_array explode('place_description(\''$content);
                    
    $placename_addition $placename_array[1];
                    
    $placename_array2 explode('\');'$placename_addition);
                    
    $placename $placename_array2[0];
                    
                    
    //var_dump($placename);
                    
                    
    if(file_exists('./Platzbeschreibungen/'.$placename.'.txt'))
                        continue;
                    else {
                        
    file_put_contents('./Platzbeschreibungen/'.$placename.'.txt''[||]');
                        
                        
    $count++;
                    }
                }
            }
            
            
    output('`n`n`c`&Es wurden `b'.$count.'`b neue Dateien gefunden.');
            
            
    addnav('Umkehren');
            
    addnav('Zurück zum Hauptmenü''descriptioneditor.php');
            
    addnav('Zurück zur Nebengrotte''superuser2.php');
            
    addnav('Zurück zum Weltlichen''village.php');
            break;
            
    }

    page_footer();
    ?>

    © 2007 by Kathal