예제 #1
0
# This is the index file which shows the recent apps
#
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 or later of the GPL.
######################################################################
require 'include/prepend.php3';
page_open(array("sess" => "SourceAgency_Session"));
if (isset($auth) && !empty($auth->auth["perm"])) {
    page_close();
    page_open(array("sess" => "SourceAgency_Session", "auth" => "SourceAgency_Auth", "perm" => "SourceAgency_Perm"));
}
require 'include/header.inc';
require 'include/contentlib.inc';
require 'include/developinglib.inc';
require 'include/decisionslib.inc';
$bx = new box('100%', $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_body_font_color, $th_box_body_align);
start_content();
$page = 'specifications';
if (check_proid($proid)) {
    top_bar($proid, $page);
    print $t->translate('Technical specification suggestions. They can ' . 'be made either by developers or by a sponsor ' . '(if the sponsor is owner of the project).') . "\n";
    print '<p align=right>[<b> ' . html_link('step2_edit.php', array('proid' => $proid), $t->translate('Suggest a Technical Specification')) . " </b>] &nbsp;<p>\n";
    show_content($proid, $show_proposals, $which_proposals);
    if (is_accepted_sponsor($proid)) {
        create_decision_link($proid);
    }
}
end_content();
require 'include/footer.inc';
@page_close();
예제 #2
0
파일: index.php 프로젝트: racontemoi/mamp
						<h3>пример:</h3>
						<pre>
$link = mysql_connect(
  ':/Applications/MAMP/tmp/mysql/mysql.sock',
  'root',
  'root'
);
</pre>
					</div>
					<br />
					<div class="frame">
						<a href="http://www.appsolute.de" target="_blank"><img src="../images/appsolute-logo.png" alt="appsolute GmbH"/></a><br />
						MAMP and MAMP PRO is developed and distributed by <a href="http://www.appsolute.de" target="_blank">appsolute GmbH</a>.<br /><br />
						<img src="../images/4logos.png" alt="Mac, Apache, MySQL, PHP"/>
					</div>
						<p><br/><strong>Мы желаем Вам успехов в работе MAMP,<br/>Ваш коллектив MAMP</strong></p>
				</div>
				<div class="column2">
					<?php 
echo show_content($language, 'ad', 1);
echo '<h2>Updates</h2>';
echo show_content($language, 'news', 2);
echo '<h2>News</h2>';
echo show_content($language, 'news', 1);
?>
				</div>
				<div class="cb"></div>
			</div>
		</div>
	</body>
</html>
예제 #3
0
 * Date: 11/4/2015
 * Time: 1:36 AM
 */
require_once 'includes/poker_constants.php';
require_once 'includes/poker_code.php';
$deck = make_deck();
$hand = deal($deck);
?>

<!doctype html>
<html lang="en">
<head>
     <meta charset="UTF-8">
     <title>Video Poker</title>
     <link rel="stylesheet" type="text/css" href="includes/poker.css.php">
     <script src="includes/poker.js.php"></script>
</head>
<body onload="javascript:init();">

     <div id="spacer"></div>

     <?php 
show_content($hand);
?>
     <?php 
output_form($hand, $deck);
?>

</body>
</html>
function do_showdir()
{
    global $curr_relpath, $hce_curr_displaypath, $home_dirname;
    global $pguser, $home_dir_created, $autoprefix_message;
    $page_title = sprintf(_("Manage folder %s"), $hce_curr_displaypath);
    output_header($page_title);
    echo "<h1>{$page_title}</h1>\n";
    // If we created a directory for the user, assume this is their first visit
    // and display an informational message - down here after the regular headers
    // are sent, which is why a flag for this exists above.
    if ($home_dir_created) {
        show_message('info', sprintf(_("Home folder created for user %s."), html_safe($pguser)));
    }
    echo "<p>" . _("This page allows you to manage content in this uploads folder.") . "</p>\n";
    if (get_access_mode($pguser) == 'common') {
        show_message('info', _("Because you are not a PM, your files are located in a common, shared area.<br><u>Please take care to avoid affecting other users' files.</u>"));
        show_message('info', $autoprefix_message);
    }
    show_form('showupload', $curr_relpath, _("Click the button to upload a file to this folder:"), _("Upload a File"));
    show_form('showmkdir', $curr_relpath, _("Click the button to create a new subfolder:"), _("Create a Subfolder"));
    // Display the directory listing
    show_content();
    // if not in their home directory, add a link to jump them there
    if ($curr_relpath != $home_dirname) {
        show_home_link();
    }
    // Display Caveats about use on this "main" page only
    show_caveats();
}
예제 #5
0
<?php

require_once 'f_format.php';
show_head();
show_menu(3);
show_content();
echo '<h1>Бібліотека</h1>';
include "library.html";
show_content_();
show_copyright();
show_close();
?>
  
예제 #6
0
session_start();
//require_login();
//$deck = json_decode(urldecode($_POST[DECK_KEY]));
//$hand = json_decode(urldecode($_POST[HAND_KEY]));
$deck = get_session_value(DECK_KEY);
$hand = get_session_value(HAND_KEY);
draw_cards($hand, $deck);
?>

<!doctype html>
<html lang="en">
<head>
     <meta charset="UTF-8">
     <title>Video Poker</title>
     <link rel="stylesheet" type="text/css" href="includes/poker.css.php">
     <script src="includes/poker.js.php"></script>
</head>
<body onload="javascript:init(true);">
     <?php 
show_user();
?>

     <div id="spacer"></div>

     <?php 
show_content($hand, TRUE);
?>

</body>
</html>