本文整理汇总了PHP中eh函数的典型用法代码示例。如果您正苦于以下问题:PHP eh函数的具体用法?PHP eh怎么用?PHP eh使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了eh函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: viewTxtFile
/**
* ファイル内容を読み込んで表示する関数
*
* @return void
*/
function viewTxtFile($file, $encode)
{
global $_info_msg_ht;
if ($file == '') {
die('Error: file が指定されていません');
}
$filename = basename($file);
$ptitle = $filename;
$cont = file_get_contents($file);
if ($encode == "EUC-JP") {
$cont = mb_convert_encoding($cont, 'SJIS-win', 'eucJP-win');
}
$cont_area = htmlspecialchars($cont, ENT_QUOTES);
// HTMLプリント
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<head>
<?php
P2View::printExtraHeadersHtml();
?>
<title><?php
eh($ptitle);
?>
</title>
</head>
<body onLoad="top.document.title=self.document.title;">
<?php
P2Util::printInfoHtml();
?>
<pre>
<?php
echo $cont_area;
?>
</pre>
</body></html>
<?php
}
示例2: printIncludeCssHtml
/**
* @static
* @access public
* @return void HTML出力
*/
function printIncludeCssHtml($css)
{
global $_conf, $_login;
$href = UriUtil::buildQueryUri('css.php', array('css' => $css, 'user' => $_login->user_u, 'skin' => $_conf['skin']));
?>
<link rel="stylesheet" type="text/css" href="<?php
eh($href);
?>
"><?php
}
示例3: eh
</div>
</div>
<?php
}
?>
<hr>
<form id="myform" class="well" method="post" action="<?php
eh(url('thread/write'));
?>
">
<label>Your name</label>
<input type="text" class="span2" name="username" value="<?php
eh(Param::get('username'));
?>
" required />
<label>Comment</label>
<textarea name="body" class="required"><?php
eh(Param::get('body'));
?>
</textarea>
<br />
<input type="hidden" name="thread_id" value="<?php
eh($thread->id);
?>
">
<input type="hidden" name="page_next" value="write_end">
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<a class="btn btn-large btn-primary" href="/thread/index">back</a>
示例4: eh
"><?php
eh($comment->user->username);
?>
</a></strong>
<span class='pad'>
created at:
<?php
eh($comment->created_at);
?>
</span>
<?php
if ($comment->created_at != $comment->modified_at) {
?>
modified at:
<?php
eh($comment->modified_at);
?>
<?php
}
?>
</small>
</div>
<div>
<?php
echo readable_text($comment->body);
?>
</div>
</div>
</div>
示例5: function
<script type="text/javascript">
<!--
window.onload = function() {
setTimeout(scrollTo, 100, 0, 1);
}
// -->
</script>
<title><?php
eh($aThreadList->ptitle);
?>
</title>
</head>
<body>
<div class="toolbar">
<h1 id="pageTitle"><?php
eh($aThreadList->ptitle);
?>
</h1>
</div>
<?php
P2Util::printInfoHtml();
echo $filter_form_ht;
echo $hit_ht;
require_once P2_LIB_DIR . '/sb_toolbar_k.funcs.php';
// getShinchakuMatomeATag()
?>
<p><?php
echo getShinchakuMatomeATag($aThreadList, $shinchaku_num);
?>
</p>
<?php
示例6: eh
?>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"><?php
}
?>
</head>
<body<?php
echo P2View::getBodyAttrK();
echo $parent_reload;
?>
>
<?php
if (!$_conf['ktai']) {
//<p id="pan_menu"><a href="setting.php">設定</a> > {$ptitle}</p>
?>
<p id="pan_menu"><?php
eh($ptitle);
?>
</p><?php
}
P2Util::printInfoHtml();
$aborn_res_txt = $_conf['pref_dir'] . '/p2_aborn_res.txt';
$aborn_name_txt = $_conf['pref_dir'] . '/p2_aborn_name.txt';
$aborn_mail_txt = $_conf['pref_dir'] . '/p2_aborn_mail.txt';
$aborn_msg_txt = $_conf['pref_dir'] . '/p2_aborn_msg.txt';
$aborn_id_txt = $_conf['pref_dir'] . '/p2_aborn_id.txt';
$ng_name_txt = $_conf['pref_dir'] . '/p2_ng_name.txt';
$ng_mail_txt = $_conf['pref_dir'] . '/p2_ng_mail.txt';
$ng_msg_txt = $_conf['pref_dir'] . '/p2_ng_msg.txt';
$ng_id_txt = $_conf['pref_dir'] . '/p2_ng_id.txt';
?>
<p> ・<?php
示例7: eh
">
<table id="header" width="100%" style="padding:0px 10px 0px 0px;">
<tr>
<td>
<h3 class="thread_title"><?php
eh($ptitle);
?>
</h3>
</td>
<td><span style="font-size:small">容量 <?php
eh($logSizeSt);
if ($maxLogSize) {
?>
(最大<?php
eh($maxLogSizeSt);
?>
)<?php
}
?>
</span></td>
<td align="right"><?php
echo $toolbar_ht;
?>
</td>
<td align="right" style="padding-left:12px;"><a href="#footer">▼</a></td>
</tr>
</table>
<?php
}
//==================================================================
示例8: eh
<?php
$title = 'こんにちわ';
?>
<h2><?php
eh($thread->title);
?>
</h2>
<p class="alert alert-success">
You successfully wrote this comment.
</p>
<a href="<?php
eh(url('thread/view', array('thread_id' => $thread->id)));
?>
">
← Back to thread
</a>
示例9: eh
<?php
$title = 'Hello';
?>
<h1><?php
eh($message);
?>
</h1>
<p>Use this code as a way to quick start any new project.</p>
示例10: eh
">
</div>
<div class="six columns">
<label for="last_name">Last name</label>
<input class='u-full-width' type="text" name="last_name" id="last_name" value="<?php
eh($auth_user->last_name);
?>
">
</div>
</div>
<div class="row">
<div class="six columns">
<label for="password">Password</label>
<input class='u-full-width' type="password" name="password" id="password" value="">
</div>
<div class="six columns">
<label for="new_password">New Password</label>
<input class='u-full-width' type="password" name="new_password" id="new_password" value="">
</div>
</div>
<div class="row">
<input type="hidden" name="page_next" value="edit_end">
<button class='btn btn-primary' type="submit">Save</button> or
<a href="<?php
eh(url(VIEW_USER_URL));
?>
">cancel</a>
</div>
</form>
</div>
示例11: eh
<div class="row">
<h3>Delete comment?</h3>
</div>
<div class="row">
<p>
Are you sure you want to delete this comment?
</p>
<a href="<?php
eh(url(DELETE_COMMENT_URL, array('id' => $comment->id, 'page_next' => 'delete_end')));
?>
">Yes</a>
<a href="<?php
eh(url(VIEW_COMMENT_URL, array('id' => $comment->id)));
?>
">No</a>
</div>
示例12: foreach
?>
</a></li>
<?php
}
?>
<?php
}
?>
</ul>
</div>
<div class="four columns">
<h5 class="top-margin">Following</h5>
<ul>
<?php
foreach ($follows as $follow) {
?>
<li><a href="<?php
eh(url(VIEW_THREAD_URL, array('id' => $follow->thread_id)));
?>
">
<?php
eh($follow->thread_title);
?>
</a></li>
<?php
}
?>
</ul>
</div>
</div>
示例13: getSbToolbarShinchakuMatomeHtml
<td align="left" valign="middle" nowrap>
<?php
echo $filter_form_ht;
?>
</td>
<td align="left" valign="middle" nowrap>
<?php
echo $edit_ht;
?>
</td>
<td align="right" valign="middle" nowrap>
<?php
echo getSbToolbarShinchakuMatomeHtml($aThreadList, $shinchaku_num);
?>
<span class="time"><?php
eh($reloaded_time);
?>
</span>
<?php
echo getSbToolAnchorHtml($sb_tool_i);
?>
</td>
</tr>
</table>
<?php
/*
* Local Variables:
* mode: php
* coding: cp932
* tab-width: 4
* c-basic-offset: 4
示例14: eh
<?php
eh($client_host_st);
?>
: <?php
eh(P2Util::getRemoteHost());
?>
<br>
<?php
eh($client_ip_st);
?>
: <?php
eh($_SERVER['REMOTE_ADDR']);
?>
<br>
<?php
eh($browser_ua_st);
?>
: <?php
ehi($_SERVER['HTTP_USER_AGENT']);
?>
<br>
</p>
<?php
// フッタHTML表示
if (UA::isK()) {
echo $hr . P2View::getBackToIndexKATag() . "\n";
}
?>
</body></html>
<?php
exit;
示例15: eh
" action="<?php
eh($action_uri);
?>
" method="post">
スレ:<br>
<input type="text" name="dummy_ttitle" value="<?php
eh($ttitle);
?>
"><br>
<input type="text" name="dummy_moto_url" value="<?php
eh($moto_url);
?>
"><br>
<?php
echo $moto_url_k_ht;
eh($resid);
?>
:<br>
<?php
if ($_GET['ktool_name'] != 'copy') {
// $name_txt, $mail_txt, $date_txt は既に実体参照を含んでいる場合がある。タグは除去されている。
?>
<input type="text" name="dummy_name" value="<?php
echo $name_txt;
?>
"><br>
<input type="text" name="dummy_mail" value="<?php
echo $mail_txt;
?>
"><br>