Exemplo n.º 1
1
  function ilMacinatoreOn()
  {
    
    //dbConnect();
    mpdConnect();


    $action = ucfirst ( isset( $_GET['act'] ) ?$_GET['act']:'home' );
    if ( ! file_exists ( ROOT . "/inc/act{$action}.php" ) )
      exit(0);
  
    if ( isset ( $_GET['state'] ) )
    {
      include ( ROOT . "/inc/act{$action}.php" );
      exit(0);
    }
    
    printHeader();
    printMenu();
    printTop();

    echo "<div id='main'>\n";
    include ( ROOT . "/inc/act{$action}.php" );
    echo "</div>\n";

  }
/**
 * Print Menu
 * Prints a html menu
 * @author Jim Ahlstrand
 * @param  array  $navigation  An array containing the items and subitems
 * @param  bool   $isDropdown  used internaly to indicate it's a drop down menu
 * @return void
 */
function printMenu($navigation, $isDropdown = false)
{
    if ($navigation == null || $navigation == array()) {
        return;
    }
    if ($isDropdown) {
        echo '<ul class="dropdown-menu">';
    } else {
        echo '<ul class="nav navbar-nav">';
    }
    foreach ($navigation as $key => $set) {
        $label = $set[0];
        if (isset($set[1])) {
            $value = $set[1];
        } else {
            $value = null;
        }
        if (is_array($value)) {
            echo '<li class="dropdown">';
        } else {
            echo '<li>';
        }
        if (is_array($value)) {
            echo '<a href=\\"#\\" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">' . $label . '<span class="caret"></span></a>';
            printMenu($value, true);
        } else {
            echo "<a href=\"{$value}\">{$label}</a>";
        }
        echo '</li>';
    }
    echo '</ul>';
}
Exemplo n.º 3
0
function printMenu($menuList, $k)
{
    $menu = $menuList->menu;
    if ($menu->id) {
        echo "<tr class='menu_{$k}' id='" . $menu->id . "'><td height='28'>" . $k . "级菜单</td><td>" . $menu->id . "</td><td>" . $menu->menuname . "</td><td><a class='icon' href='../done/menu.php?type=up&tablename=menu&id=" . $menu->id . "'>上移</a></td><td><a class='icon' onclick='return ' href='../done/menu.php?type=down&tablename=menu&id=" . $menu->id . "'>下移</a></td></tr>";
    }
    $child = $menuList->child;
    if ($child) {
        $k++;
        while (list($key, $row) = each($child)) {
            printMenu($row, $k);
        }
    }
}
Exemplo n.º 4
0
function loadBlog()
{
    try {
        global $dbh;
        $stmt = $dbh->query('select * from blog');
        while ($row = $stmt->fetch()) {
            printf("%s --- %s --- %s <img src=" . ".." . $row["image"] . " height='100px' width='100px' alt='Картинка'><br>", $row["email"], $row["title"], $row["text"]);
        }
        print "<form enctype='multipart/form-data' name='message' method='post' action='blog1.php' onsubmit='return validText();'>\n                Title<input type='text' name='title'>\n                <br>\n                <textarea name='text' cols='40' rows='3'></textarea><br>\n                <input type='file' name='image'><br>\n                <input type='submit' value='Отправить'>\n                </form>";
        print "</center>";
        printMenu();
    } catch (PDOException $e) {
        die("Error!: " . $e->getMessage() . "<br/>");
    }
}
function doUserAction($client)
{
    printMenu();
    if (isAction('home')) {
        printHome();
    }
    if (isAction('showCalendars')) {
        printCalendars($client);
    }
    if (isAction('showThisCalendar')) {
        printCalendarContents($client);
    }
    if (isAction('showThisEvent')) {
        printEventDetails($client);
    }
}
 public function printMenu(MyIterator $iterator = NULL)
 {
     if ($iterator == NULL) {
         $menuIterator = $this->menus->iterator();
         while ($menuIterator->hasNext()) {
             $menu = $menuIterator->next();
             printMenu($menu->createIterator());
         }
     } else {
         while ($iterator->hasNext()) {
             $menuItem = $iterator->next();
             print $menuItem->getName() . ", ";
             print $menuItem->getPrice() . " -- ";
             println($menuItem->getDescription());
         }
     }
 }
function printMenu($menuItems, $level = 1)
{
    $ulClass = $level > 1 ? 'menu menu-level-' . $level : 'menu';
    echo '<ul class="' . $ulClass . '">';
    foreach ($menuItems as $menuItem) {
        $liClass = 'menu-item';
        if (isset($menuItem['class'])) {
            $liClass .= ' ' . $menuItem['class'];
        }
        echo '<li class="' . $liClass . '">';
        echo '<a href="' . $menuItem['href'] . '">' . $menuItem['title'] . '</a>';
        if (isset($menuItem['sub_menu']) && isset($menuItem['open'])) {
            if (!empty($menuItem['sub_menu']) && $menuItem['open'] === true) {
                printMenu($menuItem['sub_menu'], $level + 1);
            }
        }
        echo '</li>';
    }
    echo '</ul>';
}
Exemplo n.º 8
0
Arquivo: header.php Projeto: Hulth/API
function printMenu($tree, $path = array())
{
    $active = false;
    foreach ($tree as $key => $line) {
        if (is_array($line)) {
            array_push($path, $key);
            echo '<li class="dropdown' . ($active ? ' active' : '') . '"><a href="#" class="dropdown-toggle" data-toggle="dropdown">' . $key . ' <b class="caret"></b></a>';
            echo '<ul class="dropdown-menu">';
            echo printMenu($line, $path);
            echo '</ul></li>';
            array_pop($path);
        } elseif (substr($key, 0, 5) == 'label') {
            echo '<li style="padding: 3px 20px;padding-left:10px;white-space:nowrap; color:#000;font-weight:bold;">' . $line . '</li>';
        } elseif ($key == 'divider') {
            echo '<li class="divider"></li>';
            echo '<li style="padding: 3px 20px;padding-left:10px">' . $line . '</li>';
        } else {
            echo '<li ' . ('/' . substr($_GET['command'], 0, strlen($line)) == $line ? ' class="active"' : '') . '><a href="' . $line . '">' . ucfirst($key) . '</a></li>';
        }
    }
    return $active;
}
Exemplo n.º 9
0
<?php 
include 'php/html_fct.php';
printHead("Taï-jitsu : La discipline");
?>
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("taijitsu", "taijitsu");
?>
		<div id="main">
			<div id="content">
				<div id="taijitsu" class="article">
					<div class="articleHeader">Nihon Tai-Jitsu</div>
					<div class="articleContent">
						<p>
							Art de combat d’inspiration japonaise mais de conception occidentale le NIHON TAI-JITSU qui signifie en Japonais « Techniques du Corps » est en fait une méthode moderne de défense personnelle. Il ne s’agit pas de l’addition de judo, aïkido et karaté mais d’un sport basé sur les attaques telles quelles pourraient se produire dans la vie courante.
						</p>
						<p>
							Nous retrouvons bien sûr des mouvements des Arts Martiaux traditionnels (frappes, luxations et projections), mais ces mouvements ont subi des transformations pour les adapter à la défense proprement dite.
						</p>
						
						<ul>
							<li>Parades effectuées en déplacement.</li>
							<li>Actions portées sur des articulations et points sensibles.</li>
							<li>Projections en partant à distance de l’adversaire et toujours précédées et suivies de frappes.</li>
						</ul>
						<p>
							De plus sur le plan pédagogique, la méthode mise au point par des professeurs d’Arts Martiaux doublés d’enseignants d’éducation physique est très progressive.<BR/>
Exemplo n.º 10
0
<?php 
include 'php/html_fct.php';
printHead("Règlement");
?>
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("club", "reglement");
?>
		<div id="main">
			<div id="content">
				<div  class="article">
					<div class="articleHeader">I - Conduite</div>
					<div class="articleContent">
						<ol><!--
							--><li>Toute discussion religieuse et politique est interdite . Il n'est fait entre les membres aucune distinction suivant leur nationalité ou leur position sociale. Seul est pris en considération le grade.</li><!--
							--><li>Les membres doivent se souvenir que les Arts Martiaux sont avant tout une méthode d'éducation physique et morale destinée à assurer le développement maximum de leurs possibilités.</li><!--
							--><li>Chaque membre s'engage au respect des traditions, des professeurs, des partenaires ou adversaires aussi bien à l'entraînement au Dojo qu'en compétition.</li><!--
							--><li>Aucun trouble ne sera toléré à l'intérieur du club. Tous les membres doivent montrer par leur attitude et leur comportement qu'ils ont complètement compris et assimilé la mentalité des Arts Martiaux.</li><!--
							--><li>Tout membre désirant s'entraîner, faire des compétitions ou rendre visite à un autre club demandera l'autorisation à son professeur.</li><!--
							--><li>Ne pas apporter d'objets de valeur (montres, bijoux, téléphones portables.....), le Judo Club Aulnaysien ne sera pas tenu responsable en cas de vol.</li><!--
						--></ol>
					</div>
				</div>
				
				
				<div class="article">
					<div class="articleHeader">II - Hygiène</div>
Exemplo n.º 11
0
?>
;
		var manualtab = <?php 
echo $currentmanualpage;
?>
;
		window.onload = function() { showTab(manualtab); $(function(){$('#ticker01').liScroll();});initSubtitle(); };
	</script>
</head>
<body>
	<div class="main">
		<?php 
printHeader();
printLang($langlist);
printTicker($tickerlist);
printMenu($titlelist);
$text = "\n\t\t\t\t<img src=\"./img/tux.png\" width=\"150\" height=\"150\" alt=\"Tux : Linux inside\">\n\t\t\t\t<h3>What is it ?</h3>\n\t\t\t\t<p>\n\t\t\t\tKFreeFlight is a FlightGear GUI-frontend designed for KDE users. It can\n\t\t\t\tlaunch FlightGear with the most options without writting a very long\n\t\t\t\tcommand line.<br>\n\t\t\t\tIt was made for GNU/Linux, but it may run on other *nix-like system (not-tested yet).\n\t\t\t\t</p>\n\t\t\t\t<p>\n\t\t\t\tThis application is integrated as well as possible on the KDE environment, so KDE dependency will never be removed.\n\t\t\t\t</p>\n\t\t\t\t<p>\n\t\t\t\tA new version (for KDE4) is in the pipe, but no release was done yet. This version is only available with the subversion\n\t\t\t\ttool (SVN). This version is operationnal but a lot of work must be done before a release.\n\t\t\t\t</p>\n\t\t\t\t<h3>Disclaimer</h3>\n\t\t\t\t<p>\n\t\t\t\tAll KFreeFlight tools musn't be use for real navigation. This application is made only for entertainment.\n\t\t\t\t</p>\n\t\t\t\t<p>\n\t\t\t\t<strong>Using KFreeFlight for aviation navigation is in fact illegal.</strong>\n\t\t\t\t</p>\n\t\t\t\t<h3>License</h3>\n\t\t\t\t<p>\n\t\t\t\tKFreeFlight is free software; you can redistribute it and/or modify it under the terms of the GNU\n\t\t\t\tGeneral Public License as published by the Free Software Foundation, version 2.<br>\n\t\t\t\tThis program is distributed in the hope that it will be useful,\n\t\t\t\tbut WITHOUT ANY WARRANTY; without even the implied warranty of\n\t\t\t\tMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License (COPYING file) for\n\t\t\t\tmore details.\n\t\t\t\t</p>\n\t\t\t\t<p>\n\t\t\t\tActually, the application is available in languages :\n\t\t\t\t</p>\n\t\t\t\t<ul>\n\t\t\t\t<li>English</li>\n\t\t\t\t<li>French</li>\n\t\t\t\t<li>Italian</li>\n\t\t\t\t<li>German</li>\n\t\t\t\t</ul>\n";
printTab(0, $text);
$text = "\n\t\t\t\t<p>Upper version</p>\n\t\t\t\t<ul>\n\t\t\t\t<li>Dev version are available via SVN</li>\n\t\t\t\t<li>Dev version are available via CVS (deprecated now)</li>\n\t\t\t\t</ul>\n\t\t\t\t<hr>\n\t\t\t\t<p>Ver 0.3.2-r2 Updated Dev release (2006-04-19)</p>\n\t\t\t\t<ul>\n\t\t\t\t<li><strong>Critic bugs fix</strong></li>\n\t\t\t\t</ul>\n\t\t\t\t<hr>\n\t\t\t\t<p>Ver 0.3.2 Updated Dev release (2006-04-16)</p>\n\t\t\t\t<ul>\n\t\t\t\t<li><strong>Need zlib, glut, plib-1.8.4 and simgear-0.3.10 libraries to compile</strong></li>\n\t\t\t\t<li><strong>KWeather and KWorldWatch (all in kde-toys package) must be installed</strong></li>\n\t\t\t\t<li>Add Aircraft 3D render thumbnail (by plib or simgear)</li>\n\t\t\t\t<li>Add KDE system tray integration option</li>\n\t\t\t\t<li>Fix some bugs</li>\n\t\t\t\t</ul>\n\t\t\t\t<hr>\n\t\t\t\t<p>Ver 0.3.1 Updated Dev release (2006-03-23)</p>\n\t\t\t\t<ul>\n\t\t\t\t<li><strong>Need zlib library to compile</strong></li>\n\t\t\t\t<li><strong>KWeather and KWorldWatch (all in kde-toys package) must be installed</strong></li>\n\t\t\t\t<li>Add real weather window : download the metar and make a report</li>\n\t\t\t\t<li>Add Find an airport by ICAO code, by name or coordinates window in the apt.dat.gz file and KWeather database</li>\n\t\t\t\t<li>Add personnal screen resolution (settable by the settings menu)</li>\n\t\t\t\t<li>Update multiplayer options</li>\n\t\t\t\t<li>Add lightning and precipitation rendering option</li>\n\t\t\t\t</ul>\n\t\t\t\t<hr>\n\t\t\t\t<p>Ver 0.2.1 - Updated Stable release (2006-03-01)</p>\n\t\t\t\t<ul>\n\t\t\t\t<li>Add shadows(aircraft, ai objects, scenery objects) options</li>\n\t\t\t\t<li>Add bump mapped clouds option</li>\n\t\t\t\t<li>Add reload aircraft list button</li>\n\t\t\t\t<li>Add ATC-Chatter option (FlightGear CVS)</li>\n\t\t\t\t</ul>\n\t\t\t\t<hr>\n\t\t\t\t<p>Ver 0.2 - First Stable release (2006-02-07)</p>\n\t\t\t\t<ul>\n\t\t\t\t<li>Adding GPS starting position</li>\n\t\t\t\t<li>Adding french language</li>\n\t\t\t\t<li>Fixing locale bug (locale with comma decimal point)</li>\n\t\t\t\t<li>Adding refresh button in toolbar</li>\n\t\t\t\t</ul>\n\t\t\t\t<hr>\n\t\t\t\t<p>Ver 0.1.4 - Dev release (2006-02-07)</p>\n\t\t\t\t<ul>\n\t\t\t\t<li>More than one config can be saved</li>\n\t\t\t\t<li>Adding a toolbar and a statusbar</li>\n\t\t\t\t<li>Carrier is now working</li>\n\t\t\t\t<li>You can choose your FlightGear executable file and pass it personnal parameters</li>\n\t\t\t\t<li>Adding Comm tab (in use and standby)</li>\n\n\t\t\t\t<li>Update Radio tab with NAV and ADF standby and adding TACAN</li>\n\t\t\t\t<li>Adding season (summer - winter)</li>\n\t\t\t\t<li>Adding Atlas settings</li>\n\t\t\t\t</ul>\n\t\t\t\t<hr>\n\t\t\t\t<p>Ver 0.1.2 - First Dev release (2006-01-18)</p>\n";
printTab(1, $text);
$text = "\n\t\t\t\t<h3>Sources tarball</h3>\n\t\t\t\t<p>You can find it at <a\n\t\t\t\thref=\"http://sourceforge.net/project/showfiles.php?group_id=157130\">Sourceforge release\n\t\t\t\trepository</a></p>\n\t\t\t\t<h3>By distribution</h3>\n\t\t\t\t<p><strong>Don't have any hesitation, make package for your favorite GNU/Linux distribution.</strong></p>\n\t\t\t\t<p>The best way to share it is to upload package on a related website of your favorite distribution.<br />\n\t\t\t\tBut don't forget to send us an email, and we put its path on the web site.</p>\n\n\t\t\t\t<p><strong>Available</strong></p>\n\t\t\t\t<ul>\n\t\t\t\t<li>Slackware package at \n\t\t\t\t<a href=\"http://www.slacky.it/index.php?option=com_remository&amp;Itemid=1&amp;func=fileinfo&amp;filecatid=922&amp;parent=category\" target=\"new\">\n\t\t\t\twww.slacky.it</a> making by Andrea.</li>\n\t\t\t\t<li>Gentoo ebuild at <a href=\"http://bugs.gentoo.org/show_bug.cgi?id=125381\" target=\"new\">\n\t\t\t\t\tbugs.gentoo.org</a> making by Mauro.</li>\n\n\t\t\t\t<li> Suse 10.0 rpm package on <a href=\"http://home.tiscali.be/raoul.linux/downloadSuSE10.0.htm\">home.tiscali.be/raoul.linux</a> making by Raoul.</li>\n\t\t\t\t</ul>\n\t\t\t\t<h3>SVN Version</h3>\n\t\t\t\t<p>\n\t\t\t\t</p>\n\t\t\t\t<h4>Get a local copy</h4>\n\t\t\t\t<p>To check out a new copy of KFreeFlight from Subversion, open a terminal, cd into the directory where you want the new \n\t\t\t\tKFreeFlight directory to be created and run the commands listed below. When prompted for the password, just press \n\t\t\t\tthe Enter key. The necessary commands are:</p>\n\t\t\t\t<p><strong>svn co https://kfreeflight.svn.sourceforge.net/svnroot/kfreeflight kfreeflight</strong></p>\n\t\t\t\t<p>And then :</p>\n\t\t\t\t<p><strong>cd kfreeflight</strong></p>\n\t\t\t\t<p><strong>mkdir build</strong></p>\n\t\t\t\t<p><strong>cd build</strong></p>\n\t\t\t\t<p><strong>cmake ..</strong></p>\n\t\t\t\t<p><strong>make</strong></p>\n\t\t\t\t<p><strong>make install</strong> as root</p>\n\t\t\t\t<h4>Update your SVN copy</h4>\n\t\t\t\t<p><strong>svn update</strong></p>\n\t\t\t\t<h3>CVS Version (deprecated)</h3>\n\t\t\t\t<p>A CVS version is now available<br /><a href=\"http://kfreeflight.cvs.sourceforge.net/kfreeflight/\" target=\"new\">\n\t\t\t\tCVS Web browser</a></p>\n\n\t\t\t\t<h4>Get a local copy</h4>\n\t\t\t\t<p>To check out a new copy of KFreeFlight from CVS, open a terminal, cd into the directory where you want the new \n\t\t\t\tKFreeFlight directory to be created and run the commands listed below. When prompted for the password, just press \n\t\t\t\tthe Enter key. The necessary commands are:</p>\n\t\t\t\t<p><strong>cvs -d:pserver:anonymous@kfreeflight.cvs.sourceforge.net:/cvsroot/kfreeflight login</strong></p>\n\t\t\t\t<p><strong>cvs -z3 -d:pserver:anonymous@kfreeflight.cvs.sourceforge.net:/cvsroot/kfreeflight co -P kfreeflight</strong></p>\n\t\t\t\t<p>And then :</p>\n\t\t\t\t<p><strong>cd kfreeflight</strong></p>\n\n\t\t\t\t<p><strong>gmake -f Makefile.cvs</strong></p>\n\t\t\t\t<p><strong>./configure</strong></p>\n\t\t\t\t<p><strong>make</strong></p>\n\t\t\t\t<p><strong>make install</strong> as root</p>\n\t\t\t\t<h4>Update your CVS copy</h4>\n\t\t\t\t<p><strong>cvs update -dP</strong></p>\n";
printTab(2, $text);
$text = "\n\t\t\t\t<h3>How send a bug report if I can't build the application ?</h3>\n\t\t\t\t<p>Send it by using the email address which is at the bottom of the TODO list section</p>\n\t\t\t\t<h3>Does KFreeFlight support the nice option for FlightGear executable ?</h3>\n\n\t\t\t\t<p>No. The &quot;nice -x fgfs&quot; executable doesn't make aircraft list.</p>\n\t\t\t\t<h3>Is it possible to remove the KDE dependency which make application more cross-platform?</h3>\n\t\t\t\t<p>No it's impossible : KFreeFlight was born because KDE haven't any launcher. I don't want to make a clone\n\t\t\t\tbut offer something which is different and integrated as well as possible.\n\t\t\t\t<br />Otherwise I will NEVER change the code for the Redmond operating system which isn't a friendly platform for Open Source</p>\n\t\t\t\t<p>THINK DIFFERENT, THINK FREE</p>\n\t\t\t\t<h3>Why the 0.3.1 version is in the development branch ?</h3>\n\n\t\t\t\t<p>The application is stable but some features aren't enough tested, especially the weather report which may making a\n\t\t\t\tstable but false report.</p>\n\t\t\t\t<h3>Why have I an error when i dezip the tarball ?</h3>\n\t\t\t\t<p>You must dezip the tarball by taping <em>tar -xzf kfreeflight-&lt;version&gt;.tar.gz</em> in a terminal.<br />\n\t\t\t\tYou couldn't using ark or anything else.</p>\n\t\t\t\t<h3>Why have I some warnings about aclocal ?</h3>\n\t\t\t\t<p>This part is in progress and appear because of an updated autoconf automake. Actually, this isn't a problem\n\t\t\t\tfor building executable</p>\n\t\t\t\t<h3>Why the application's building fail in the linking stage ?</h3>\n\t\t\t\t<p>You can try <em>gmake -f Makefile.cvs</em> and relaunch the building process. If it's not solve the problem,\n\t\t\t\tsend me a bug report.</p>\n\t\t\t\t<h3>I can see the splashscreen but the application crash after !</h3>\n\t\t\t\t<p>Relaunch the application (this part is in progress).<br />\n\t\t\t\tSome crash came because of false aircraft xml file (In that case change manually the number of aircraft in the config file :\n\t\t\t\t<em>/home/&lt;USER&gt;/.kfreeflight/&lt;Current config name&gt;</em></p>\n\t\t\t\t<h3>The splashscreen doesn't diseappear ! (v0.3.2 only)</h3>\n\t\t\t\t<p>This is a bug already reported : please download this file <a href=\"http://didier.fabert.free.fr/download/kfreeflight.cpp\">\n\t\t\t\tkfreeflight.cpp</a> and replace the older one in kfreeflight-0.3.2/src directory before relaunch the buiding process :<br />\n\t\t\t\tgmake -f Makefile.cvs &amp;&amp; ./configure &amp;&amp; make.<br />\n\t\t\t\tThe 0.3.2-r2 release correct this problem.</p>\n\t\t\t\t<h3>There is no 3D render or thumbnail for the aircraft on the first launch ! (v0.3.2 only)</h3>\n\t\t\t\t<p>This is a bug already reported : before i can fix this problem, relaunch the application.<br />\n\t\t\t\tThe 0.3.2-r2 release correct this problem.</p>\n";
printTab(3, $text);
$text = "\n\t\t\t\t<h3>Mailing List : Devel</h3>\n\t\t\t\t<p>This is the good place for report problem (compilation, bugs, etc...), query a new feature or just taking about kfreeflight.</p>\n\t\t\t\t<h4>Subscribe</h4>\n\t\t\t\t<p><a href=\"https://lists.sourceforge.net/lists/listinfo/kfreeflight-devel\">Go to Subscribe page</a></p>\n\n\t\t\t\t<h4>Archives</h4>\n\t\t\t\t<p><a href=\"http://sourceforge.net/mailarchive/forum.php?forum=kfreeflight-devel\">Archived Messages</a></p>\n";
printTab(4, $text);
$text = "\n\t\t\t\t<h3>Critic</h3>\n\t\t\t\t<ul><li>Correct my poor english in application and website.</li></ul>\n\t\t\t\t<p>But I can't do it myself and if someone can do it, contact me on the\n\t\t\t\t<a href=\"http://sourceforge.net/forum/forum.php?forum_id=528355\">developers forum</a></p>\n\t\t\t\t<h4>Otherwise, it rest a lot of things</h4>\n\t\t\t\t<ul>\n\t\t\t\t<li>Others languages traductions (need help)</li>\n\t\t\t\t<li>Finish and translate this web page (need help for translation)</li>\n\t\t\t\t<li>etc ...</li>\n\t\t\t\t</ul>\n\t\t\t\t<h3>How to translate KFreeFlight ?</h3>\n\t\t\t\t<p>This part is very simple : KFreeFlight put pot file in your \$KDE/share/apps/kfreeflight directory (min version 0.2).<br />\n\t\t\t\tJust open the <em>kfreeflight.pot</em> file with KBabel or another po file editor and rename it with locale and the <em>po</em> extention.<br />\n\n\t\t\t\texample : for french translation rename the file <em>fr.po</em><br />\n\t\t\t\tNow you can translate the application. Don't forget to send us this file at\n\t\t\t\tdidier.fabert[-At-]gmail.com</p>\n\t\t\t\t<p>But it's a good idea to contact before, in case of someone else do the job. Don't forget to work\n\t\t\t\twith the lastest pot file in development ( taking it by subversion ).</p>\n";
printTab(5, $text);
$page = "<div class=\"thumbnail\" id=\"manual0\">\n";
$page .= "<div class=\"textinside\"><h3>Click on thumbnail to open the page</h3></div>\n";
for ($i = 1; $i <= count($manualpagelist); $i++) {
Exemplo n.º 12
0
function login($form, $url)
{
    global $path;
    $objResponse = new xajaxResponse();
    if ($form["user_name"] && $form["user_password"]) {
        $user = mysql_query("SELECT pk_user_id, user_name, user_rating FROM md_user WHERE user_name = '{$form['user_name']}' AND user_password = '******'user_password']}'");
        if (mysql_num_rows($user)) {
            $info = mysql_fetch_array($user);
            $_SESSION["md_userid"] = $info[pk_user_id];
            $_SESSION["md_username"] = $info[user_name];
            $_SESSION["md_rating"] = $info[user_rating];
            $output = printLogin($form["page"]);
            $menu = printMenu($form["page"]);
            $objResponse->assign("login", "innerHTML", $output);
            $objResponse->assign("menu_holder", "innerHTML", $menu);
            $objResponse->redirect($url);
        } else {
            $error = errormess("Wrong details", "white");
            $output = printLogin($page, $error, $form);
            $objResponse->assign("blackscreen", "style.display", "none");
            $objResponse->assign("login", "innerHTML", $output);
        }
    } else {
        $error = errormess("Fill in all fields", "white");
        $output = printLogin($page, $error, $form);
        $objResponse->assign("login", "innerHTML", $output);
    }
    return $objResponse;
}
Exemplo n.º 13
0
<?php 
include 'php/html_fct.php';
printHead("Mention légale");
?>
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("none", "none");
?>
		<div id="main">
			<div id="content">
				<div class="article">
					<div class="articleHeader">Mention légale</div>
					<div class="articleContent">
						<h3>Photographies et vidéos</h3>
						<p>
							Toutes les photos et vidéos sont la propriété du JCA. Vous n'êtes pas en droits de sauvegarder, utiliser et diffuser ces données sans accords préalable du club et des personnes concernées par les photographies.
						</p>
						<p>
							Dans le cas où vous figurez sur une photographie et ne souhaitez pas que la photo soit sur le site, vous pouvez contacter le bureau <a href="contact.php">par email ou par téléphone</a>
						</p>
						
						<h3>Le site internet</h3>
						<p>
							Le code source est <a href="https://fr.wikipedia.org/wiki/Logiciel_libre" target="_blank" >libre de droit</a> sous <a href="https://en.wikipedia.org/wiki/ISC_license" target="_blank" >licence ISC</a>
							Vous pouvez accéder à la version à jour du code source à <a href="https://github.com/ZiLot34/jca" target="_blank" >cette adresse</a>. Si vous notez des différences avec le site web, vous pouvez envoyer un mail à l'administrateur du site.
						</p>
					</div>
Exemplo n.º 14
0
Arquivo: club.php Projeto: ZiLot34/jca
<?php 
include 'php/html_fct.php';
printHead("Le club");
?>
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("club", "club");
?>
		<div id="main">
			<div id="content">
				<div id="profTaijitsu" class="article">
					<div class="articleHeader">Le Club</div>
					<div class="articleContent">
						<p>
							Au Judo Club Aulnaysien, le beau judo commence par le respect de valeurs telles que le respect du partenaire de « randori » et de la discipline du « dojo », selon les préceptes du maître japonais Jigoro Kano, inventeur du judo à la fin du XIXème siècle et fondateur du Kodokan de Tokyo, la « Mecque » du judo.
						</p>
						<p>
							Au Judo Club Aulnaysien, le beau judo prime sur l’esprit de compétition. Cela n’empêche pas ses membres qui le souhaitent de s’y lancer.
						</p>
						<p>
							Au Judo Club Aulnaysien, on ne se blesse pas gravement, grâce à l’accent mis sur l’enseignement des techniques de chute. Ces fondamentaux sont rappelés à tous les niveaux de pratique. « Voie de la souplesse » en japonais, le judo vise à utiliser la force du partenaire, pour le neutraliser. Ichiro Abe, grand maître japonais du Kodokan de Tokyo, a été à l’origine des écoles de judo en France et en Europe, au début des années 50. Partisan d’un judo de mouvement, il répétait à ses élèves: « Si tu es jeté six fois, relève-toi sept fois! »
						</p>
						<p>
							Des professeurs de judo formés à l’école japonaise.
						</p>
						<p>
							André Menou président d’honneur et pratiquant le judo depuis 1947, directeur technique de 1967 à 2015 a formé plus de 6000 élèves Aulnaysiens. Toujours membre de l’Ordre des Professeurs de Judo, qu’il a présidé 7 années durant, ses nombreux stages, notamment au Kodokan où il a séjourné à quatre reprises , lui ont permis d’atteindre la ceinture noire hanshi professeur de haut niveau au pays du Soleil-Levant. Lui même a animé de nombreux stages dans différents pays, au fil de sa carrière de professeur de judo. Sa plus grande fierté reste le salut à la japonaise légère inclinaison de la tête vers l’avant que ne manquent pas de lui adresser ses anciens élèves rencontrés dans la rue. Un maître japonais qui déambulait à ses côtés sur un marché de la ville en fut épaté. Maintenant à la retraite, garde  malgré tout un oeil bienveillant sur notre club et continue à nous dispenser ses bons conseils.
Exemplo n.º 15
0
<?php 
include 'php/html_fct.php';
printHead("Taï-jitsu : Horaires");
?>
	<link href="css/taijitsu.css" rel="stylesheet" type="text/css" media="screen" />
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("taijitsu", "taijitsuHoraires");
?>
		<div id="main">
			<div id="content">
				<div id="horaireTaijitsu" class="article">
					<div class="articleHeader">Les horaires</div>
					<div class="articleContent">
						<p><strong>Lieu</strong> : Dojo du Moulin Neuf, rue du Maréchal Juin à Aulnay-sous-Bois</p>
						<p>Les cours adultes et à partir de 13 ans :</p>
						<ul>
							<li>Mardi : 20h00 à 21h45</li>
							<li>Jeudi : 20h00 à 21h45</li>
							<li>Dimanche : 10h00 à 12h00</li>
						</ul>
						<p>Tous les cours ont lieu au Dojo du Moulin Neuf, Rue du Maréchal Juin à Aulnay-sous-Bois</p>
						<p id="lien"><a href="inscription.php">s'inscrire aux cours</a></p>
					</div>
				</div>
			</div>
			<?php 
Exemplo n.º 16
0
// get all the quizzes and add to object
$all_quizzes = new Quizzes();
$quiz_array = $qdb->getQuizzesAll();
// add this one to allQuizzes
foreach ($quiz_array as $this_quiz_array) {
    $all_quizzes->addQuiz(new Quiz($this_quiz_array));
}
// No quizzes found - most likely not setup
if ($all_quizzes->count() < 1) {
    header("Location: " . $path . FIRST_FILE);
    exit(0);
}
if ($debug) {
    print "Reading parameters \n";
}
printMenu($path, $all_quizzes);
// Debug mode - display any errors / warnings
if (isset($debug) && $debug) {
    $err = Errors::getInstance();
    if ($err->numEvents(INFO_LEVEL) > 0) {
        print "Errors:\n";
        print $err->listEvents(INFO_LEVEL);
    }
}
/*** Functions ***/
// show here as we will do when we get a warning as well
function printMenu($path, $quiz_object)
{
    global $IndexFile;
    if (isset($IndexFile)) {
        $index_file = $IndexFile;
Exemplo n.º 17
0
<?php 
include 'php/html_fct.php';
printHead("Aïkido : Les horaires");
?>
	<link href="css/aikido.css" rel="stylesheet" type="text/css" media="screen" />
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("aikido", "aikidoHoraires");
?>
		<div id="main">
			<div id="content">
				<div id="horaireAikido" class="article">
					<div class="articleHeader">Les horaires</div>
					<div class="articleContent">
						<div id="coursEnfants">
							<p><strong>Les cours enfants</strong><BR/><em>de 8 à 14 ans</em></p>
								<p>Lundi : 18h30 à 19h30</p>
								<p>Vendredi : 18h30 à 19h30</p>
						</div>
						<div id="coursAdultes">
							<p><strong>Les cours adultes</strong><BR/><em>à partir de 14 ans</em></p>
								<p>Lundi : 20h00 à 21h30</p>
								<p>Mercredi :  20h00 à 21h30</p>
								<p>Vendredi : 20h00 à 21h30</p>
						</div>
						<p>Tous les cours ont lieu au Dojo du Moulin Neuf, Rue du Maréchal Juin à Aulnay-sous-Bois</p>
						<p id="lien"><a href="inscription.php">s'inscrire aux cours</a></p>
    echo '				<ul' . ($firstMenu ? ' class="first"' : '') . '>' . "\n";
    echo '					<li class="first">' . $title . '</li>' . "\n";
    foreach ($links as $link) {
        echo '					<li><a href="' . $link[1] . '">' . $link[0] . '</a></li>' . "\n";
    }
    echo '				</ul>' . "\n";
}
printMenu($this, 'Office', array(array('Office Home', '/office', ''), array('Office Chat', '/office/irc', 'IRC_CHAT'), array('My Bylines', '/office/bylines', 'BYLINES_VIEW')), true);
// Editor and Admins only
if (PermissionsSubset('editor', GetUserLevel())) {
    printMenu($this, 'Admin', array(array('Announcements', '/office/announcements', 'ANNOUNCEMENT_VIEW'), array('Permissions', '/admin/permissions', 'PERMISSIONS_VIEW'), array('Manage Team', '/office/manage/members', 'MANAGE'), array('Manage VIPs', '/office/vipmanager', 'VIPMANAGER_VIEW'), array('Content Schedule', '/office/news/contentschedule', 'ARTICLE_VIEW'), array('Change Live Article', '/office/news/scheduledlive', 'ARTICLE_VIEW'), array('Comment Moderation', '/office/moderator', 'COMMENT_MODERATE'), array('Page Properties', '/admin/pages', 'PAGES_VIEW'), array('Statistics', '/office/stats', 'STATS_VIEW'), array('Feedback', '/admin/feedback', 'FEEDBACK_VIEW'), array('Article Types', '/office/articletypes', 'ARTICLETYPES_VIEW'), array('Special Articles', '/office/specials', 'ARTICLE_VIEW'), array('Facebook Articles', '/office/ticker', 'ARTICLE_VIEW'), array('Advertising', '/office/advertising', 'ADVERTISING_VIEW'), array('Polls', '/office/polls', 'POLLS_VIEW')));
}
printMenu($this, 'Sections', array(array('Uni News', '/office/news/uninews', 'ARTICLE_VIEW'), array('Features', '/office/news/features', 'ARTICLE_VIEW'), array('Lifestyle', '/office/news/lifestyle', 'ARTICLE_VIEW'), array('Arts', '/office/news/arts', 'ARTICLE_VIEW'), array('Sport', '/office/news/sport', 'ARTICLE_VIEW'), array('Blogs', '/office/news/blogs', 'ARTICLE_VIEW'), array('Food', '/office/news/food', 'ARTICLE_VIEW'), array('Videocasts', '/office/news/videocasts', 'ARTICLE_VIEW'), array('News Comment', '/office/news/comment', 'ARTICLE_VIEW'), array('Podcasts', '/office/podcasts', 'ARTICLE_VIEW')));
printMenu($this, 'Info + Reviews', array(array('Directory', '/office/prlist', ''), array('Food', '/office/reviewlist/foodreviews', ''), array('Drink', '/office/reviewlist/drinkreviews', ''), array('Review Tags', '/office/reviewtags', ''), array('Leagues', '/office/leagues', ''), array('PR System', '/office/pr/summary', ''), array('Campaigns', '/office/campaign', 'CAMPAIGN_VIEW'), array('Charities', '/office/charity', 'CHARITY_VIEW'), array('How Do I', '/office/howdoi', 'HOWDOI_VIEW'), array('Game Zone', '/office/games', 'GAMEZONE_VIEW')));
printMenu($this, 'Photos', array(array('Photo Requests', '/office/photos', 'GALLERY_VIEW'), array('Gallery', '/office/gallery', 'GALLERY_VIEW'), array('Homepage Banners', '/office/banners', 'BANNERS_VIEW')));
printMenu($this, 'Homepage', array(array('Quotes', '/office/quotes', 'QUOTES_VIEW'), array('Links', '/office/links', 'LINKS_VIEW'), array('Style Guide', '/office/guide', 'ARTICLE_VIEW')));
?>
					<?php 
if (isset($extra_menu_buttons) && !empty($extra_menu_buttons)) {
    echo '<ul>';
    foreach ($extra_menu_buttons as $key => $button) {
        echo '<li' . (!$key ? ' class="first"' : '') . '>';
        if (is_string($button)) {
            echo $button;
        } else {
            echo '<a href="' . $button[1] . '">' . $button[0] . '</a>';
        }
        echo '</li>';
    }
    echo '</ul>';
}
Exemplo n.º 19
0
<?php 
include 'php/html_fct.php';
printHead("Attitude");
?>
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("club", "attitude");
?>
		<div id="main">
			<div id="content">
				<div class="article">
					<div class="articleHeader">L'attitude au dojo</div>
					<div class="articleContent">
						<p>
							Le dojo est la salle dans laquelle s'étudie et se pratique les Arts Martiaux, tels qu'ils sont enseignés au Japon.
						</p>
						<p>
							Pour des raisons d'hygiène, le Dojo ainsi que les vestiaires doivent être d'une propreté irréprochable.<BR/>
							Le tatami (tapis) doit être désinfecté très souvent. Le Dojo est un lieu d'échange entre pratiquants qui doivent absolument le respecter et le faire respecter.
						</p>
						<p>
							En entrant dans le Dojo, avant de se mettre en kimono, ou en venant sans pouvoir pratiquer, on doit se déchausser et se découvrir. On doit se comporter avec la plus grande discrétion, évitant toute conversation bruyante ou étrangère aux Arts Martiaux.
						</p>
						<p>
							Il faut saluer (RITSU-RE) quand on arrive et quand on s'en va.
						</p>
						<p>
Exemplo n.º 20
0
<?php 
include 'php/html_fct.php';
printHead("Taï-jitsu : Professeurs");
?>
	<link href="css/taijitsu.css" rel="stylesheet" type="text/css" media="screen" />
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("taijitsu", "taijitsuProf");
?>
		<div id="main">
			<div id="content">
				<div id="profTaijitsu" class="article">
					<div class="articleHeader">Les Professeurs de Nihon Tai-Jitsu</div>
					<div class="articleContent">
						<div id="imgWrapper">
							<img src="images/taijitsu/Enseignants.jpg" alt="professeurs de tai jitsu" id="profTaijitsuImg" />
						</div>
						<div id="raymond"><strong>Raymond Jugeau </strong><BR/>Hanshi</div>
						<div id="Samid"><strong>Samid Aziz</strong><BR/>2éme DAN</div>
					</div>
				</div>
			</div>
			<?php 
printRightPanel("none");
?>
			
		</div>
Exemplo n.º 21
0
<?php 
include 'php/html_fct.php';
printHead("Aïkido : La discipline");
?>
	<link href="css/aikido.css" rel="stylesheet" type="text/css" media="screen" />
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("aikido", "aikido");
?>
		<div id="main">
			<div id="content">
				<div id="aikido" class="article">
					<div class="articleHeader">L'Aïkido</div>
					<div class="articleContent">
						<p>
							Le <strong>Shobu Aïki</strong> est la conception la plus élaborée de l’<strong>AIKIDO</strong> à laquelle son fondateur, Maïtre <strong>Morihei UESHIBA</strong>, est parvenu à la fin de sa vie, proposant alors une des formes les plus abouties des arts martiaux japonais, bien loin désormais des techniques de combat. Il s’agit d’y mettre en oeuvre le <strong>BORIOKU NO HENBO</strong>, c’est à dire la métamorphose de sa propre violence.
						</p>
						<p>
							La pratique de cette forme de l’AÏKIDO consiste donc à <strong>travailler sans violence</strong>, dans le respect de soi et de ses partenaires, en cherchant progressivement à maîtriser les techniques pour aboutir à une gestuelle à la fois esthétique et efficiente.
						</p>
						<p>
							On recherche donc avant tout la décontraction et le contrôle de soi, la maîtrise physique et la distance psychique, la rigueur mentale et la fluidité de la pratique, la conduite du souffle et la perception consciente de l’espace, autant d’éléments qui devraient permettre à chacun de <strong>mieux se sentir dans le monde parmi les autres</strong>.
						</p>
						<p>
							Lorsqu’on sait qu’il n’y a <strong>pas de compétition en AÏKIDO</strong>, on comprend bien que cette pratique à des visées essentiellement de développement personnel harmonieux.
						</p>
						<p>
Exemplo n.º 22
0
<?php 
include "php/connect_fct.php";
include 'php/html_fct.php';
printHead("Actualités");
?>
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("actu", "none");
?>
		<div id="main">
			<div id="content">
			
				<?php 
$co = connexion();
$resultat = mysqli_query($co, "SELECT idArticle, titre, contenu, datePub, dateEdition, auteur FROM articles ORDER BY idArticle DESC");
while ($donnees = mysqli_fetch_assoc($resultat)) {
    $idAuteur = $donnees['auteur'];
    $resultAuteur = mysqli_query($co, "SELECT nomAdmin FROM administrateur WHERE idAdmin='{$idAuteur}'");
    $nomAuteur = mysqli_fetch_assoc($resultAuteur);
    echo "<div class='article'>\n\t\t\t\t\t\t\t<div class='articleHeader'>" . $donnees['titre'] . "</div>\n\t\t\t\t\t\t\t<div class='articleContent'>\n\t\t\t\t\t\t\t" . $donnees['contenu'] . "\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class='articleFooter'>publié le " . date("D j F Y", strtotime($donnees['datePub'])) . " par " . $nomAuteur['nomAdmin'] . "</div>\n\t\t\t\t\t\t</div>";
    mysqli_free_result($resultAuteur);
}
mysqli_free_result($resultat);
deconnexion($co);
?>
			</div>
			<?php 
Exemplo n.º 23
0
<?php

function __autoload($class_name)
{
    require_once $class_name . '.php';
}
function printMenu(MyIterator $iterator)
{
    while ($iterator->hasNext()) {
        $menuItem = $iterator->next();
        echo $menuItem->getName() . "\n";
        echo $menuItem->getPrice() . "\n";
        echo $menuItem->getDescription() . "\n";
        echo "\n";
    }
}
$pancakeHouseMenu = new PancakeHouseMenu();
$breakfastItems = $pancakeHouseMenu->createIterator();
$dinerMenu = new DinerMenu();
$lunchItems = $dinerMenu->createIterator();
echo "Breakfast Items\n";
echo printMenu($breakfastItems);
echo "Lunch Items\n";
echo printMenu($lunchItems);
Exemplo n.º 24
0
<?php

// Don't access this script alone
if (!defined('IN_EXM')) {
    exit;
}
$navigation = [["Overview", "?view=overview"], ["Archive", "?view=archive"], ["Logout", "?logout"]];
if ($login->isUserLoggedIn() === true) {
    echo '<div class="navbar navbar-default navbar-fixed-top">';
    echo '<div class="container">';
    print '<div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        <span class="sr-only">Menu</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <p class="navbar-brand" style="margin-bottom:0;">' . SITE_NAME . '</p>
    </div>';
    echo '<div id="navbar" class="collapse navbar-collapse">';
    printMenu($navigation);
    echo '</div>';
    echo '</div>';
    echo '</div>';
}
Exemplo n.º 25
0
if (!currentUserCan(array('access_specific_zones', 'view_all'), $_SESSION['module'], array(0, $domain_id))) {
    unAuth();
}
if (in_array($record_type, $__FM_CONFIG['records']['require_zone_rights']) && !currentUserCan('manage_zones', $_SESSION['module'])) {
    unAuth();
}
if ($record_type == 'SOA') {
    if (getNameFromID($domain_id, 'fm_' . $__FM_CONFIG['fmDNS']['prefix'] . 'domains', 'domain_', 'domain_id', 'domain_clone_domain_id')) {
        $record_type = $default_record_type;
    } elseif (getNameFromID($domain_id, 'fm_' . $__FM_CONFIG['fmDNS']['prefix'] . 'domains', 'domain_', 'domain_id', 'domain_template_id')) {
        $record_type = $default_record_type;
    }
}
define('FM_INCLUDE_SEARCH', true);
printHeader();
@printMenu();
include ABSPATH . 'fm-modules/fmDNS/classes/class_records.php';
$search_query = createSearchSQL(array('name', 'value', 'ttl', 'class', 'text', 'comment'), 'record_');
$supported_record_types = enumMYSQLSelect('fm_' . $__FM_CONFIG['fmDNS']['prefix'] . 'records', 'record_type');
sort($supported_record_types);
$supported_record_types[] = 'SOA';
$parent_domain_ids = getZoneParentID($domain_id);
$zone_access_allowed = zoneAccessIsAllowed($parent_domain_ids);
if (!in_array($record_type, $supported_record_types)) {
    $record_type = $default_record_type;
}
$avail_types = buildRecordTypes($record_type, $parent_domain_ids, $map, $supported_record_types, $search_query);
$response = $form_data = $action = null;
if (reloadZone($domain_id)) {
    if (reloadAllowed($domain_id) && currentUserCan('reload_zones', $_SESSION['module']) && $zone_access_allowed) {
        $response = '** You need to <a href="" class="zone_reload" id="' . $domain_id . '">reload</a> this zone **';
Exemplo n.º 26
0
                INLINEJS;
                */
                // print here - deferred from before to allow javascript to be included in headers
                $templates->includeTemplate('header', 'normal');
                print $print_text;
            }
        }
    }
} else {
    // print header here for menu
    $templates->includeTemplate('header', 'normal');
    // show message if there is one
    if ($message != '') {
        print "<p class=\"" . CSS_CLASS_MESSAGE . "\">{$message}</p>\n";
    }
    printMenu($all_quizzes);
}
// footer template
$templates->includeTemplate('footer', 'normal');
// Debug mode - display any errors / warnings
if (isset($debug) && $debug) {
    $err = Errors::getInstance();
    if ($err->numEvents(INFO_LEVEL) > 0) {
        print "Errors:\n";
        print $err->listEvents(INFO_LEVEL);
    }
}
/*** Functions ***/
// show here as we will do when we get a warning as well
function printMenu($quiz_object)
{
Exemplo n.º 27
0
<?php 
include 'php/html_fct.php';
printHead("Judo : Les professeurs");
?>
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("judo", "judoProf");
?>
		<div id="main">
			<div id="content">				
				<div class="article">
					<div class="articleHeader">Le Judo</div>
					<div class="articleContent">
						<p>
							Les profs de judo sont Francis Chaudiere Patrice Quintard Romain Camparot
						</p>
					</div>
				</div>
			</div>
			<?php 
printRightPanel("none");
?>
			
		</div>
	</body>
</html>
Exemplo n.º 28
0
<?php 
require_once "classes/DBUtils.class.php";
// If we are print mode, then do not do most of the header
if ($print == "no") {
    include "includes/menu_items.php";
    ?>

<body bgcolor="#FFFFFF">

<table width="100%">
<tr>
	<td align="left" class="nav" width="100%" nowrap>
		<table cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td>
				<?php 
    printMenu($menu_items);
    ?>
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
<?php 
    // Print out a submenu for the user to navigate
    printSubMenu($menu_items);
}
?>

Exemplo n.º 29
0
                    print "Adding {$this_quiz}<br />\n";
                }
                $qdb->addQuestionQuiz($this_quiz, $this_questionid);
            }
        }
    }
    //complete - confirm to user
    $templates->includeTemplate('header', 'admin');
    $admin_file = ADMIN_FILE;
    print <<<EOT
<h1>Upgrade complete</h1>
<p>The upgrade is complete. <a href="{$admin_file}">Go to admin index page</a>.</p>
EOT;
    $templates->includeTemplate('footer', 'admin');
} else {
    printMenu('');
}
function printMenu($message)
{
    global $templates;
    // header template
    $templates->includeTemplate('header', 'admin');
    if ($message != "") {
        $message = "<p>{$message}</p>";
    }
    $main_css = CSS_ID_ADMIN_MAIN;
    print <<<EOT
<div id="{$main_css}">
<h1>Administration</h1>
<h2>Upgrade from 0.3.*</h2>
{$message}
Exemplo n.º 30
0
<?php 
include 'php/html_fct.php';
printHead("Inscription");
?>
	<link href="css/inscription.css" rel="stylesheet" type="text/css" media="screen" />
	</head>
	<body>
		<?php 
printHeader();
?>
		<?php 
printMenu("club", "inscription");
?>
		<div id="main">
			<div id="content">
				<div class="article">
					<div class="articleHeader">Tarifs</div>
					<div class="articleContent">
						<div id="tarifAikido">
							<h3>L'Aïkido</h3>
							<p>
								<strong>De 8 à 14 ans :</strong> 215€
							</p>
							<p>
								<strong>À partir de 14 ans :</strong> 245€
							</p>
						</div>
						
						<div id="tarifJudo">
							<H3>Le Judo</H3>
							<p>