本文整理汇总了PHP中htmlout函数的典型用法代码示例。如果您正苦于以下问题:PHP htmlout函数的具体用法?PHP htmlout怎么用?PHP htmlout使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了htmlout函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: include_headers
echo $msg->_('/first-run/initial-setup');
?>
</title>
<?php
include_headers();
?>
<link href="/static/css/first-run.css" rel="stylesheet">
</head>
<body>
<div class="container">
<p class="text-center">
<?php
echo $msg->_('/first-run/create-manager-help');
?>
</p>
<?php
include 'newmanagerform.html.php';
if (isset($GLOBALS['newmanagererror'])) {
?>
<div style="color:red">
<?php
htmlout($GLOBALS['newmanagererror']);
?>
</div>
<?php
}
?>
</div>
</body>
</html>
示例2: htmlout
<div>
<input type="hidden" name="action" value="download">
<input type="hidden" name="id" value="<?php
htmlout($file['id']);
?>
">
<input type="submit" value="Download">
</div>
</form>
</td>
<td>
<form action="" method="post">
<div>
<input type="hidden" name="action" value="delete">
<input type="hidden" name="id" value="<?php
htmlout($file['id']);
?>
">
<input type="submit" value="Delete">
</div>
</form>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<?php
}
?>
示例3: date_format2
?>
'" onMouseOut="this.style.background='<?php
echo $outbg;
?>
'">
<td height="35" style="border-bottom:#E9E8E8 1px solid;padding-left:5px;"><font color="#999999"><?php
echo date_format2($rows['stime'], '%Y-%m-%d');
?>
</font> <a href="<?php
echo $Global['home_2domain'];
?>
/diary<?php
echo $rows['id'];
?>
.html" class=333333 target="_blank"><?php
echo htmlout(stripslashes($rows['title']));
?>
</a><?php
if ($rows['flag'] == 0) {
echo " <font color=red>未审</font>";
}
if ($rows['diaryopen'] == 0) {
echo " <img src=images/m.gif title='密'>";
}
if ($rows['ifjh'] == 1) {
echo " <img src=images/jh.gif title='精华'>";
}
?>
</td>
<td align="center" style="border-bottom:#E9E8E8 1px solid;"><font color="#FF0000"><?php
echo $rows['hfnum'];
示例4: htmlout
<div class="container-fluid">
<h2>Log In</h2>
<p>Please log in to view the page that you requested.</p>
<?php
if (isset($loginError)) {
?>
<p><?php
htmlout($loginError);
?>
</p>
<?php
}
?>
<form action="" method="post">
<div>
<label for="email">Username: <input type="text" name="username"
id="email"></label>
</div>
<div>
<label for="password">Password: <input type="password"
name="password" id="password"></label>
</div>
<div>
<input type="hidden" name="action" value="login">
<input type="submit" value="Log in">
</div>
</form>
<p><a href="#">Return to CyberCPR Helpdesk Home</a></p>
</div>
示例5: foreach
foreach ($types as $type) {
?>
<option name="type" value="<?php
htmlout($type['id']);
?>
" <?php
if ($type['id'] == $typeid) {
echo 'selected="selected"';
}
?>
><?php
htmlout($type['type']);
?>
</option>
<?php
}
?>
</select>
</div>
<div><input type="submit" name="<?php
htmlout($action);
?>
" value="<?php
htmlout($button);
?>
"></div>
<div><input type="submit" name="cancel" value="Cancel"></div>
</form>
</div>
</body>
</html>
示例6: htmlout
<div class="form-group centre">
<input type="submit" class="btn btn-secondary"
value="<?php
htmlout($msg->_('forgot-password'));
?>
"
/>
</div>
</form>
</div>
<script>
"use strict";
/* global BootstrapDialog */
function showConnectionErrorMessage(timeout) {
var m = "<?php
htmlout($msg->_('/showmsg/connection-error'));
?>
";
BootstrapDialog.show({
'title': '',
'message': m,
'type': BootstrapDialog.TYPE_DANGER
});
}
</script>
</body>
</html>
示例7: htmlout
$id = $rows[0];
$title = $rows[1];
$bmnum = $rows[2];
$jjloveb = $rows[3];
$did = $id * 7 + 8848;
if ($jjloveb > 0) {
$href = '../bidderdating' . $did . '.html';
} else {
$href = $Global['home_2domain'] . "/dating{$id}.html";
}
?>
<img src="images/groupren.gif" hspace="5" vspace="10" align="absmiddle" /><a href="<?php
echo $href;
?>
" target="_blank" style="font-size:14px;font-weight:bold"><?php
echo htmlout(stripslashes($title));
?>
</a> (<font color=red><?php
echo $bmnum;
?>
</font>人响应) <a href="<?php
echo $href;
?>
" target="_blank"><img src="../images/dating_libt.gif" align="absmiddle" /></a><br>
<?php
}
?>
</td>
</tr>
</table>
<br>
示例8: foreach
<table class='table'>
<tr>
<th>Subject</th><th>Books Checked Out</th>
</tr>
<?php
foreach ($users2 as $user) {
?>
<tr>
<td><?php
htmlout($user['username']);
?>
</td>
<td><?php
htmlout($user['check_num']);
?>
</td>
</tr>
<?php
}
?>
</table>
<?php
}
?>
</body>
</html>
示例9: number_format
<tfoot>
<tr>
<td>Total:</td>
<td>$<?php
echo number_format($total, 2);
?>
</td>
</tr>
</tfoot>
<tbody>
<?php
foreach ($cart as $item) {
?>
<tr>
<td><?php
htmlout($item['desc']);
?>
</td>
<td>
$<?php
echo number_format($item['price'], 2);
?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<?php
} else {
示例10: foreach
<table>
<tr><th>Area</th><th>Puesto</th><th>Fuente</th><th></th></tr>
<?php
foreach ($recsini as $recini) {
?>
<tr>
<td><?php
htmlout($recini['area']);
?>
</td>
<td><?php
substr(htmlout($recini['nombre']), 0, 40);
?>
</td>
<td><?php
substr(htmlout($recini['fuente']), 0, 40);
?>
</td>
<td>
<form action="?" method="post" class="enlinea">
<div>
<input type="hidden" name="id" value="<?php
echo $recini['id'];
?>
">
<!-- <input type="hidden" name="idot" value="<?php
echo $idot;
?>
"> -->
<input type="hidden" name="accion" value="editarci">
<input type="submit" name="boton" value="Editar">
示例11: foreach
</select>
<button type="submit" value="search_user_log" name="action" title="search user log">search</button>
</form>
<form class="form-inline" action="?" method="post">
<label for="searchby">Search by Event:</label>
<select name="searchby" id="searchby">
<option value="">Select one</option>
<?php
foreach ($eventlist as $row) {
?>
<option value="<?php
htmlout($row['id']);
?>
">
<?php
htmlout($row['name']);
?>
</option>
<?php
}
?>
</select>
<button type="submit" value="search_event_log" name="action" title="search user log">search</button>
</form>
<?php
if (isset($search_result)) {
echo '<table class="table table-striped">
<thead><tr><th>User</th><th>Action</th><th>Event</th><th>Time</th></tr></thead>';
foreach ($search_result as $row) {
echo '<tr><td>' . $row['first_name'] . ' ' . $row['last_name'] . '</td><td>' . $row['action'] . '</td><td>' . $row['name'] . '</td><td>' . date("m/d g:i a", strtotime($row['time'])) . '</td></tr>';
}
示例12: foreach
foreach ($items as $item) {
?>
<tr>
<td><?php
htmlout($item['desc']);
?>
</td>
<td><?php
echo number_format($item['price'], 2);
?>
</td>
<td>
<form action="" method="post">
<div>
<input type="hidden" name="id" value="<?php
htmlout($item['id']);
?>
">
<input type="submit" name="action" value="Buy">
</div>
</form>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</body>
</html>
示例13: htmlout
</div>
<div class="form-group">
<label for="department" class="col-sm-2 control-label">Dept.</label>
<div class="col-sm-3" id="department" align="left">
<h5><?php
htmlout($department);
?>
</h5>
</div>
<label for="major" class="col-sm-2 control-label">Major</label>
<div class="col-sm-3" id="major" align="left">
<h5><?php
htmlout($major);
?>
</h5>
</div>
</div>
<div style="margin:0;padding:0;width:70%;height:1px;
background-color:#CCCCCC;overflow:hidden;margin-top:15px;"></div><br/>
<div class="form-group">
<label for="intro" class="col-sm-2 control-label">Intro</label>
<div class="col-sm-8" align="left" id="intro">
<?php
echo str_replace("\r\n", "<br>", $intro);
?>
示例14: foreach
</div>
<div class="item active">
<div class="panel-body bk-bg-primary">
<h6 class="bk-margin-off bk-docs-font-weight-300">Next Week <small></small></h6>
</div>
<div class="panel-body bk-bg-white text-center bk-padding-top-15 bk-padding-bottom-15">
</div>
<div class="panel-body bk-bg-white text-center">
<h1 class="bk-margin-off-top">
<?php
foreach ($work_schedules2 as $work_schedule) {
weekreader($work_schedule['timedate2']);
echo " ";
htmlout($work_schedule['starttime2']);
echo " ";
htmlout($work_schedule['endtime2']);
echo " ";
echo "<br>";
}
?>
</h1>
<!-- <h6 class="bk-docs-font-weight-700 bk-fg-inverse pull-right">RAINY </h6> -->
</div>
</div>
</div>
<a class="left carousel-control bk-carousel-control bk-carousel-control-white bk-carousel-hide-init" href="#carousel-example-generic3c" role="button" data-slide="prev">
<span class="fa fa-angle-left icon-prev bk-bg-very-light-gray"></span>
</a>
<a class="right carousel-control bk-carousel-control bk-carousel-control-white bk-carousel-hide-init" href="#carousel-example-generic3c" role="button" data-slide="next">
<span class="fa fa-angle-right icon-next"></span>
</a>
示例15: htmlout
<img src="/img/logo.png" />
</div>
</div>
<div class="row-fluid">
<div class="span2">
<?php
include '/home/simpleco/demo2/app/includes_html/menu_admin.inc.html.php';
?>
</div>
<div class="span10">
<h4>Confirm User Deletion</h4>
<p>
Are you sure you want to delete user "<?php
htmlout($userinfo['first_name']);
echo ' ';
htmlout($userinfo['last_name']);
?>
"?
</p>
<form action="?" method="post">
<input type="hidden" name="id" value="<?php
echo $userinfo['id'];
?>
">
<button class="btn" type="submit" value="delete_user_confirmed"
name="action" title="delete user">delete user</button>
</form>
</div>
</div>
<!-- <div class="row-fluid">