Ejemplo n.º 1
0
function access_denied($p_url = null)
{
    if (null === $p_url) {
        global $g_logout;
        $p_url = $g_logout;
    }
    print_html_top();
    print_head_top();
    print_title(config_get('window_title'));
    print_css(config_get('css_inc_file'));
    print_head_bottom();
    print_body_top();
    print_header(config_get('page_title'));
    print_top_page(config_get('top_page_inc'));
    echo '<div class="warning">';
    echo '<div align="center">Access Denied<br /><br />';
    print_bracket_link($p_url, lang_get('proceed'));
    print '</div></div>';
    print_bottom_page(config_get('bottom_page_inc'));
    print_footer(__FILE__);
    print_body_bottom();
    print_html_bottom();
    exit;
}
Ejemplo n.º 2
0
require_once '../general/functions.php';
$site_id = 'yahoo_bc';
$page_type = 'registro';
$site_template = '1';
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">


<?php 
if (function_exists('print_css')) {
    print_css($site_id, $page_type);
}
?>

<title><?php 
if (function_exists('print_page_title')) {
    print_page_title($site_id, $page_type);
}
?>
</title>

<?php 
if (function_exists('print_scripts_index_header')) {
    print_scripts_index_header($site_id, $page_type);
}
?>
Ejemplo n.º 3
0
# Copyright (C) 2000-2002 Webnotes Team - webnotes-devel@sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the files README and LICENSE for details
# --------------------------------------------------------
# $Id: login_page.php,v 1.22 2002/09/22 04:17:38 vboctor Exp $
# --------------------------------------------------------
require_once 'core' . DIRECTORY_SEPARATOR . 'api.php';
### Check to see if already logged in
if (isset($g_string_cookie_val) && !empty($g_string_cookie_val)) {
    login_cookie_check($g_admin_page);
}
$f_msg = gpc_get_string('f_msg', '');
print_html_top();
print_head_top();
print_title($g_window_title);
print_css($g_css_inc_file);
print_meta_inc($g_meta_inc_file);
print_head_bottom();
print_body_top();
print_header($g_page_title);
print_top_page($g_top_page_inc);
if ($f_msg === 'error') {
    echo <<<EOT
\t\t<div class="error" align="center">
\t\t\t<strong>ERROR:</strong> Unauthorised access for supplied user name and password.
\t\t</div>
EOT;
}
# Warning, if plain passwords are selected
if (config_get('auth_type') == AUTH_PLAIN) {
    echo <<<EOT
Ejemplo n.º 4
0
?>
</title>
        <meta name="description" content="<?php 
echo $header_viewmodel->meta_description;
?>
">
        <meta name="keywords" content="<?php 
echo $header_viewmodel->keywords_to_string();
?>
">
        <meta name="viewport" content="width=device-width">
        <link rel="shortcut icon" type="images/x-icon" href="./favicon.ico" />

        <!-- css compiler -->
        <?php 
echo print_css('default');
?>
        
        <!-- scripts en début de page -->

        <?php 
echo print_js('default_head');
?>
        <script>
            var panelIsSwitched = false;

            var baseVars = {
                lang : "<?php 
echo $header_viewmodel->lang;
?>
",
Ejemplo n.º 5
0
    print_css();
    echo "</head>" . EOL . EOL . "<body>";
    echo "<font class='onthemove'>" . $str['onthemove'] . " " . $places[$player['destination']] . "</font>";
    @$player['travel']--;
    if (isset($player['noencounter'])) {
        $player['noencounter']++;
    } else {
        $player['noencounter'] = 1;
    }
    if ($player['noencounter'] > 5) {
        $onthemove = 1;
    }
    save_exit();
}
echo "<html>" . EOL . EOL . "<head>" . EOL . "<title>dopewars</title>" . EOL;
print_css();
echo "</head>" . EOL . EOL . "<body>" . EOL . EOL;
// print_r($player);
// ****************************************************************************
// PRISON
if (isset($player['prison']) && $player['prison']) {
    echo "<h3>" . $str['prison'] . "</h3>";
    //	printmenu(0);
    if ($player['prison'] > time()) {
        printf("<p>" . $str['inprison'] . "</p>", strftime($str['dateformat'], $player['prison']));
        echo "<form><input type=hidden name=logout value=1><input type=submit value=\"" . $str['logout'] . "\"></form>";
    } else {
        $player['prison'] = 0;
        $player['travel'] = 0;
        echo $str['released'];
        echo "<form><input type=submit value=\"" . $str['continue'] . "\"></form>";
Ejemplo n.º 6
0
<!DOCTYPE html>
 <html class="no-js" ng-app="admin">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title><?php 
echo $site_name;
?>
 - Admin</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">

        <!-- css compiler -->

        <?php 
echo print_css('admin');
?>


        
    </head>

    <html>
    <body>
        <div id="loading"></div>
        <header id="mainHeader">
             <div class="pull-right">
                <a href="/index.php/admin#/manager/comptes/edit/<?php 
echo $user_id;
?>
"><i class="icon-user circle-icon"></i></a>
Ejemplo n.º 7
0
    require $headerFile;
}
//'0106',
$cssName = in_array(date('md'), array('0107', '0106')) ? 'index20160106tmp.css?2015010601' : 'index20151023.css?2015';
$isOptimiz = isset($guessConfigArr['template']) && $guessConfigArr['template'] == 'zol-test' ? 'OPTIMIZ' : 'CODE';
print_css($cssName, $isOptimiz, 'REMOTE_NEW');
$festival2016 = time() > strtotime('2016-02-05 15:56:00') && time() < strtotime('2016-02-13 23:59:59');
// $festival2016 = false;
if ($festival2016) {
    ?>
<link rel="stylesheet" href="http://icon.zol-img.com.cn/mainpage/css/index20160128tmp.css?2016">
<?php 
}
//print_css('index20150528.css?2014091278','OPTIMIZ','REMOTE_NEW');
print_css('area_auto_2014.css', 'CODE');
print_css('soft_auto.css', 'CODE');
echo get_auto_element(array('type' => 'css', 'startTime' => '2014-05-30 12:00:00', 'endTime' => '2014-06-03 09:00:00'));
echo set_topic_info('css', $define_topic_height);
//设置包版
?>
<!-- 加载广告需要的js Start 20151117-1142 index20160106tmp global-template  --> 
<?php 
print_js('zol-swf-combo.js', 'CODE', 'REMOTE');
print_js('adsload.js', 'CODE', 'REMOTE');
?>
<!-- 加载广告需要的js End-->
	<?php 
get_N1_data();
?>
	<?php 
$str = '';
<html>
	<head>
		<title><?php 
echo $page_title;
?>
</title>
		<?php 
require_once "../core/api.php";
# replace with actual path
pwn_head();
echo '<style type="text/css">';
print_css(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'sample.css');
echo '</style>';
?>
	</head>
	<body>
<table class="layout" summary="" cellspacing="0">
<tr>
<td class="title" colspan="2"><h1>Webopedia Manual</h1></td>
</tr>
<tr>
<td class="search" colspan="2">search functionality should go here.</td>
</tr>
<tr valign="top">
<td class="side" width="200">
<?php 
pwn_index($page, 'Webopedia', $page_parent);
?>
</td>
<td class="body">