コード例 #1
0
ファイル: m_new.php プロジェクト: BGmot/kitchen
        $err = "No such message";
    }
    $field_id = $re;
} else {
    $field_id = intval(time());
}
if (strlen($err) != 0) {
    print '<div class="errmsg">' . $err . '</div>';
} else {
    ?>
<script language="JavaScript" src="<?php 
    echo autoversion('js/translit.js');
    ?>
"></script>
<script language="JavaScript" src="<?php 
    echo autoversion('js/func.js');
    ?>
"></script>

<form action="<?php 
    print $root_dir . $page_post;
    ?>
" method="post" id="msgform_<?php 
    echo $re;
    ?>
" name="msgform">
<input type="hidden" name="re" id="re" value="<?php 
    print $re;
    ?>
"/>
<input type="hidden" name="ticket" id="ticket" value="<?php 
コード例 #2
0
ファイル: html_head_inc.php プロジェクト: BGmot/kitchen
<head>
<title><?php 
/*    if (is_null($page_title)) {
        print($title);
    } else {
        print($page_title);
    } */
?>
"Forum Kitchen"</title>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="<?php 
echo autoversion('css/' . $css);
?>
">
<link rel="stylesheet" type="text/css" href="<?php 
echo autoversion('css/common.css');
?>
">
<script src="js/jquery-1.10.2.min.js"></script>
<script>
/*
var $lastdiv = null;
function show_msg($msg, $body)
{
  $id = 'div' + $msg;
  if ($lastdiv != null) {
    $lastdiv.innerHTML = '';
  }
  $lastdiv = document.getElementById($id);
  $lastdiv.innerHTML = $body;
}
コード例 #3
0
ファイル: pm_confirm.php プロジェクト: BGmot/kitchen
/*$Id: pm_confirm.php 823 2012-11-02 23:43:52Z dmitriy $*/
require_once 'head_inc.php';
$css = 'disc2.css';
if (!is_null($user_id) && $user_id != null) {
    $query = "SELECT css from confa_users where id = " . $user_id;
    $result = mysql_query($query);
    if ($result) {
        $row = mysql_fetch_assoc($result);
        $css = $row['css'];
    }
}
?>
<html>
<head>
<link REL="STYLESHEET" TYPE="text/css" HREF="<?php 
echo autoversion('css/' . $css);
?>
">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

<title>Thank you, </title></head>
<body style="background-color: #CCEEEE;">
<h3>Confirmation</h3>
Thank you, <b><?php 
print htmlentities($user, HTML_ENTITIES, 'UTF-8');
?>
</b>!<br/><br/>
Your private message, named "<b><?php 
print htmlentities($subj, HTML_ENTITIES, 'UTF-8');
?>
</b>", has been sent to <b><?php 
コード例 #4
0
ファイル: top.php プロジェクト: BGmot/kitchen
/*$Id: top.php 378 2009-11-02 19:36:24Z dmitriy $*/
require_once 'head_inc.php';
require_once 'html_head_inc.php';
require_once 'mysql_log.php';
$cur_page = $page_expanded;
$max_page = get_max_pages_expanded();
$work_page = $max_page - $page + 1;
$start_timestamp = time();
?>
<script language="JavaScript" src="<?php 
echo autoversion('js/junk.js');
?>
"></script>
<script language="JavaScript" src="<?php 
echo autoversion('js/autoload.js');
?>
"></script>
<base target="bottom">
</head>
<body id="html_body"> 
<!--
<table width="100%"><tr><td width="40%"><H4></H4></td>
<td width="60%" align="right">
<a href="http://info.flagcounter.com/6tbt"><img src="http://s01.flagcounter.com/count/6tbt/bg_FFFFFF/txt_000000/border_CCCCCC/columns_8/maxflags_16/viewers_3/labels_0/pageviews_0/flags_0/" alt="Flag Counter" border="0"></a>
</td></tr></table>
-->
<!--<table width="95%"><tr>
<td>-->
<!--<h3><?php 
//print($title);
コード例 #5
0
ファイル: smiles.php プロジェクト: BGmot/kitchen
<?php

/*$Id: smiles.php 988 2014-01-05 01:14:33Z dmitriy $*/
require_once 'head_inc.php';
require_once 'html_head_inc.php';
?>
<link rel="stylesheet" type="text/css" href="<?php 
echo autoversion('css/diff.css');
?>
">
<style type="text/css">
body {background:none transparent;
}
</style>
<base target="bottom">
</head>
<body>
<?php 
echo smileys();
require_once 'tail_inc.php';
?>
</body></html>
コード例 #6
0
ファイル: template.php プロジェクト: oliver-eifler/olli.php
function PreLoad()
{
    $html = "";
    $html .= css('css/styles');
    $html .= css('css/rule');
    /* config for js*/
    $svg = autoversion("img/icons.svg");
    $html .= "<script>_cfg={";
    $html .= "svgfile:" . ($svg === false ? "false" : "'" . $svg . "'");
    $html .= "};</script>";
    /* bootstrap scripts */
    $html .= js('_assets/js/components/html5shiv');
    $html .= js('_assets/js/components/webfontloader');
    $html .= js('_assets/js/components/modernizr-custom');
    $html .= js('_assets/js/init');
    return $html;
}
コード例 #7
0
ファイル: confirm.php プロジェクト: BGmot/kitchen
<?php

/*$Id: confirm.php 987 2014-01-01 21:03:31Z dmitriy $*/
require_once 'head_inc.php';
if (isset($_GET) && is_array($_GET)) {
    $msg_id = $_GET['id'];
    $author_name = $_GET['author_name'];
    $page = $_GET['page'];
    $subj = $_GET['subj'];
}
?>
<html>
<head>
<link REL="STYLESHEET" TYPE="text/css" HREF="<?php 
echo autoversion('css/disc2.css');
?>
">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

<title>Thank you, </title></head>
<body ><h3>Confirmation</h3>
Thank you, <b><?php 
print htmlentities($author_name, HTML_ENTITIES, 'UTF-8');
?>
</b>!<br/><p>
Your article, named "<b><?php 
print $subj;
?>
</b>", has been sent to forum.</p><p>

If you <a href="<?php 
コード例 #8
0
ファイル: header.php プロジェクト: rbgvictoria/keybase
echo autoVersion('js/jquery.keybase.key.js');
?>
"></script>
    <script type="text/javascript" src="<?php 
echo base_url();
echo autoVersion('js/jquery.keybase.project.js');
?>
"></script>
    <script type="text/javascript" src="<?php 
echo base_url();
echo autoVersion('js/jquery.keybase.js');
?>
"></script>
    <script type="text/javascript" src="<?php 
echo base_url();
echo autoversion('js/ckeditor_customconfig.js');
?>
"></script>
    <?php 
if (isset($js)) {
    ?>
        <?php 
    foreach ($js as $file) {
        ?>
    <script type="text/javascript" src="<?php 
        echo $file;
        ?>
"></script>
        <?php 
    }
    ?>