Code Search for Developers
 
 
  

index.php from Gtk-Gnutella at Krugle


Show index.php syntax highlighted

<?php

/* $Id: index.php 14045 2007-07-05 22:15:58Z cbiere $ */
/*
 * For local testing for website maintainers
 * Define your personal BASEDIR in this file.
 *
 *		Markus Goetz <guruz@guruz.de>
 */
if (file_exists("files/maintainer_include.php")) {
  include("files/maintainer_include.php");
}

include("files/common.php");

$dir = getdirlang();

if (!isset($dir) || 0 != strcmp(LANG, $dir)) {
  if (!isset($dir)) {
    $dir = 'en';
  }
  header('Location: /' . LANG . '/?page=' . PAGE);
  exit;
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="<?php echo LANG ?>">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta http-equiv="Content-Script-Type" content="text/javascript">

    <?php iceinclude("title", 0) ?>

    <link rel="stylesheet" type="text/css" href="/default.css">
    <link rel="icon" href="/images/favicon.png" type="image/png">
    <link rel="start" href="/">
    <link rev="made" href="mailto:gtk-gnutella-devel@lists.sf.net">
    <link rel="copyright" href="https://sourceforge.net/projects/gtk-gnutella">
    <link rel="alternate"
          type="text/html"
          href="/en/?page=<?php echo PAGE ?>"
          hreflang="en"
          title="English version">
    <link rel="alternate"
          href="/de/?page=<?php echo PAGE ?>"
          hreflang="de"
          title="Deutsche &Uuml;bersetzung">
    <link rel="alternate"
          href="/el/?page=<?php echo PAGE ?>"
          hreflang="el"
          title="Ελληνικά">
    <link rel="alternate"
          href="/fr/?page=<?php echo PAGE ?>"
          hreflang="fr"
          title="Traduction fran&ccedil;aise">
    <link rel="alternate"
          href="/ja/?page=<?php echo PAGE ?>"
          hreflang="ja"
          title="日本語版">
    <link rel="alternate"
          href="/nl/?page=<?php echo PAGE ?>"
          hreflang="nl"
          title="Nederlandse vertaling">
    <link rel="alternate"
          href="/uk/?page=<?php echo PAGE ?>"
          hreflang="uk"
          title="Ukrainian version">
    <link rel="alternate"
          href="/zh/?page=<?php echo PAGE ?>"
          hreflang="zh"
          title="中文">

    <?php iceinclude("sections", 0) ?>

  </head>

  <body>
    <div class="boxed" style="text-align: center">
      <div>
        <a class="image" href="/?page=index">
          <img src="/images/gtk-gnutella.png" 
            width="408" height="44" alt="Gtk-Gnutella"></a>
      </div>
      <div>
        <?php iceinclude("current_version", 0); echo VERSION ?>
      </div>
    </div>


    <table width="100%" summary="layout">
    <tr>
    <td valign="top">

    <div class="sidebar">
      <div class="boxed">
        <form action="/" method="GET">
        <p style="margin: 0;">Select your language:<br>
          <select name="lang" tabindex=1 onchange="submit();">
            <option
		<?php if ('en' === LANG) echo 'selected' ?>
		value="en">English</option>
	    <option
		<?php if ('de' === LANG) echo 'selected' ?>
		value="de">Deutsch</option>
            <option
		<?php if ('el' === LANG) echo 'selected' ?>
		value="el">Ελληνικά</option>
            <option
		<?php if ('fr' === LANG) echo 'selected' ?>
		value="fr">Fran&ccedil;ais</option>
            <option
		<?php if ('ja' === LANG) echo 'selected' ?>
		value="ja">日本語</option>
            <option
		<?php if ('nl' === LANG) echo 'selected' ?>
		value="nl">Nederlands</option>
            <option
		<?php if ('uk' === LANG) echo 'selected' ?>
		value="uk">Українська</option>
            <option
		<?php if ('zh' === LANG) echo 'selected' ?>
		value="zh">中文</option>
          </select>&nbsp;<input type="submit" value="Go"
                                accesskey="G" tabindex="2">
          <input type="hidden" name="page" value="<?php echo PAGE ?>">
        </p>
        </form>

      </div>

      <div class="boxed">
        <?php iceinclude("sidenav", 0) ?>
      </div>
      <div class="hidden">&nbsp;</div>
      <div class="boxed">
	<a href="http://sourceforge.net/export/rss2_projfiles.php?group_id=4467"><img
		src="http://images.sourceforge.net/images/xml.png"
		width="36" height="14"
		alt="RSS Feed Available"
		title="RSS Feed Available"
		/></a> 
	<a href="http://www.ohloh.net/projects/491"><img
		src="http://www.ohloh.net/projects/491/badge.gif"
		width="100" height="16"
		alt="Ohloh Metrics"
		title="Ohloh Metrics"
		/></a>
	<a href="http://cia.vc/stats/project/gtk-gnutella"><img
		src="/images/cia.png" width="16" height="16"
		alt="cia.vc: Real-time open source activity stats"
		title="cia.vc: Real-time open source activity stats"
		/></a>
      </div>
      <div class="hidden">&nbsp;</div>
      <div class="boxed">
        <?php iceinclude("sidenav_copyright", 0) ?>
      </div>
      <div class="hidden">&nbsp;</div>
      <div class="boxed">
        <div>
          <?php iceinclude("sidenav_hosted", 0) ?>
        </div>
        <div class="hidden">&nbsp;</div>
        <div>
          <a class="image" href="http://sourceforge.net">
            <img
              src="http://sourceforge.net/sflogo.php?group_id=4467&amp;type=1"
              alt="SourceForge.net Logo" width="88" height="31"></a>
        </div>
        <div class="hidden">&nbsp;</div>
        <div>
          <?php iceinclude("sidenav_glade", 0) ?>
        </div>
        <div>
          <a class="image" href="http://glade.gnome.org/">
            <img src="/images/glade-banner.png"
              alt="Glade" width="100" height="45"></a>
        </div>
      </div>
      <div class="hidden">&nbsp;</div>
      <div class="boxed">
        <?php iceinclude("sidenav_conform", 0) ?>
        <div>
          <a class="image" href="http://validator.w3.org/check/referer">
            <img src="/images/valid-html401.png"
              alt="Valid&nbsp;HTML&nbsp;4.01" width="88" height="31"></a>
          <a class="image"
            href="http://jigsaw.w3.org/css-validator/validator?uri=http://gtk-gnutella.sourceforge.net/<?php echo LANG . '%3fpage%3d' . PAGE ?>">
            <img src="/images/valid-css.png"
              alt="Valid&nbsp;CSS" width="88" height="31"></a>
        </div>
      </div>
      <div class="hidden">&nbsp;</div>
    </div>

    <td valign="top">

    <div class="content">
      <?php maincontent() ?>
    </div>

    </td>
    </tr>
    </table>

  </body>
</html>





See more files for this project here

Gtk-Gnutella

A GTK+ Gnutella client for Unix, efficient, reliable and fast, written in C. It has been optimized for speed and scalability, with low-memory consumption. It is meant to be left running 24x7, using little CPU and only the configured bandwidth.

Project homepage: http://sourceforge.net/projects/gtk-gnutella
Programming language(s): C
License: other

  de/
    files/
      de/
        current_version
        donate
        faq
        features
        intro
        links
        mailing
        news_44
        news_45
        news_46
        news_47
        news_48
        news_49
        news_bridge
        news_header
        news_old_header
        searching_by_hash
        sections
        shots085
        shots090
        shots092
        sidenav
        sidenav_conform
        sidenav_copyright
        sidenav_glade
        sidenav_hosted
        special_news
        title
      el/
        bugreport_howto
        code101
        code101a
        current_version
        docs
        donate
        faq
        features
        intro
        links
        mailing
        news_43
        news_44
        news_45
        news_bridge
        news_header
        news_old_header
        searching_by_hash
        shots085
        shots090
        shots096u
        sidenav
        sidenav_conform
        sidenav_copyright
        sidenav_glade
        sidenav_hosted
        special_news
        title
      en/
        banners
        bugreport_howto
        code101
        code101a
        content.template
        current_version
        devel
        developers_howto
        docs
        donate
        faq
        features
        filtering_howto
        footer
        intro
        links
        mailing
        news
        news_0
        news_1
        news_10
        news_11
        news_12
        news_13
        news_14
        news_15
        news_16
        news_17
        news_18
        news_19
        news_2
        news_20
        news_21
        news_22
        news_23
        news_24
        news_25
        news_26
        news_27
        news_28
        news_29
        news_3
        news_30
        news_31
        news_32
        news_33
        news_34
        news_35
        news_36
        news_37
        news_38
        news_39
        news_4
        news_40
        news_41
        news_42
        news_43
        news_44
        news_45
        news_46
        news_47
        news_48
        news_49
        news_5
        news_50
        news_51
        news_52
        news_53
        news_6
        news_7
        news_8
        news_9
        news_bridge
        news_header
        news_old
        news_old_header
        news_template
        release_history
        searching_by_hash
        sections
        shots085
        shots090
        shots092
        shots096u
        sidenav
        sidenav_conform
        sidenav_copyright
        sidenav_glade
        sidenav_hosted
        special_news
        title
      fr/
        current_version
        docs
        donate
        features
        intro
        links
        mailing
        news_45
        news_46
        news_49
        news_bridge
        news_header
        news_old_header
        searching_by_hash
        sections
        shots085
        shots090
        shots092
        shots096u
        sidenav
        sidenav_conform
        sidenav_copyright
        sidenav_glade
        sidenav_hosted
        special_news
        title
      general/
        cfooter
        cheader
      ja/
        banners
        bugreport_howto
        code101
        code101a
        current_version
        devel
        developers_howto
        docs
        donate
        faq
        features
        filtering_howto
        intro
        links
        mailing
        news_0
        news_1
        news_10
        news_11
        news_12
        news_13
        news_14
        news_15
        news_16
        news_17
        news_18
        news_19
        news_2
        news_20
        news_21
        news_22
        news_23
        news_24
        news_25
        news_26
        news_27
        news_28
        news_29
        news_3
        news_30
        news_31
        news_32
        news_33
        news_34
        news_35
        news_36
        news_37
        news_38
        news_39
        news_4
        news_40
        news_41
        news_42
        news_43
        news_44
        news_45
        news_46
        news_47
        news_48
        news_49
        news_5
        news_50
        news_51
        news_52
        news_53
        news_6
        news_7
        news_8
        news_9
        news_bridge
        news_header
        news_old_header
        news_template
        release_history
        searching_by_hash
        sections
        shots085
        shots090
        shots092
        shots096u
        sidenav
        sidenav_conform
        sidenav_copyright
        sidenav_glade
        sidenav_hosted
        special_news
        title
      nl/
        current_version
        faq
        intro
        news_44
        news_45
        news_46
        news_47
        news_48
        news_49
        news_50
        news_bridge
        news_header
        sections
        sidenav
        sidenav_conform
        sidenav_copyright
        sidenav_glade
        sidenav_hosted
      uk/
        current_version
        donate
        intro
        links
        sidenav
        sidenav_conform
        sidenav_glade
        sidenav_hosted
      zh/
        intro
        news_45
        news_header
        sections
        sidenav
      .htaccess
      VERSION
      common.php
    index.php
  el/
    files/
    index.php
  en/
    files/
    index.php
  files/
    de/
    el/
    en/
    fr/
    general/
    ja/
    nl/
    uk/
    zh/
    .htaccess
    VERSION
    common.php
  fr/
    files/
    index.php
  images/
    shots/
    banner_chags.png
    banner_dnar.png
    banner_dnar1.png
    banner_dnar2.png
    banner_dnar3.png
    banner_dnar4.png
    banner_dnar6.png
    banner_dnar7.png
    banner_dnar8.png
    banner_dnar9.png
    banner_eqom14.png
    banner_usuarios_balls.png
    banner_usuarios_blue.png
    banner_usuarios_leds_01.png
    banner_usuarios_leds_02.png
    banner_usuarios_planet.png
    banner_usuarios_tree.png
    cia.png
    compression.jpg
    favicon.png
    gg.gif
    gg.png
    glade-banner.gif
    glade-banner.png
    gtk-gnutella.gif
    gtk-gnutella.png
    valid-css.png
    valid-html401.png
  ja/
    files/
    index.php
  nl/
    files/
    index.php
  tools/
    sha1/
    sha1sum/
    sigs/
  uk/
    files/
    index.php
  zh/
    files/
    index.php
  default.css
  index.php
  index.php.in
  update_cvs