本文整理汇总了PHP中echo_line函数的典型用法代码示例。如果您正苦于以下问题:PHP echo_line函数的具体用法?PHP echo_line怎么用?PHP echo_line使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了echo_line函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: performTest
public function performTest($testName)
{
$testUri = testCase::BASE_SERVICE . $testName . '.' . testCase::RESPONSE_FORMAT;
echo_line('<pre>');
echo_line("Request:");
echo_line("\t" . $testUri);
echo_line("\nResponse:\n");
$response = send_request($testUri, 'GET');
$coder = new CJSON();
$object = $coder->decode($response);
print_as_json('', $object);
echo_line('</pre>');
}
示例2: echo_line
</td>
<td>
<input class="form-control" placeholder="<?php
echo_line('input_company_holiday_date_detail');
?>
" name="holiday_th" id="holiday_th" value="{holiday_th}" type="text" required="" autofocus=""></td>
</tr>
<tr class="odd gradeA">
<td colspan="2" align="center">
<button type="submit" class="btn btn-success"><?php
echo_line('action_save');
?>
</button>
<button type="reset" class="btn btn-warning"><?php
echo_line('action_cancel');
?>
</button>
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
<!-- /.row (nested) -->
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
示例3: define
<?php
/*!
* qwp: https://github.com/steem/qwp
*
* Copyright (c) 2015 Steem
* Released under the MIT license
*/
define('QWP_TOOLS_ROOT', dirname(__FILE__));
define('QWP_ROOT', QWP_TOOLS_ROOT . '/..');
require_once QWP_ROOT . '/include/common.php';
if (count($argv) > 1) {
$object = $argv[1];
$template = file_get_contents(join_paths(QWP_ROOT, 'modules', 'users', 'home.js.php'));
$template = str_replace('user', $object, $template);
$template = str_replace('User', camel_case($object), $template);
file_put_contents(join_paths(QWP_TOOLS_ROOT, $object . '.js.php'), $template);
} else {
echo_line('please specify the object name, eg. user');
}
示例4: defined
<?php
defined('BASEPATH') or exit('No direct script access allowed');
?>
<br><br>
<div class="row">
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
<i class="fa fa-search" id="color_main_icon"></i> <b><?php
echo_line('action_insert');
echo_line('company_holiday_date');
?>
</b>
</div>
<div class="panel-body">
<?php
if ($save_success == 'success') {
?>
<div class="alert alert-success col-lg-6">
การบันทึกข้อมูลสำเร็จแล้ว
</div>
<div style="clear: both"></div>
<?php
}
?>
<div class="row">
<div class="col-lg-6">
<div class="table-responsive">
示例5: echo_line
</td>
<td>
<input class="form-control" placeholder="กรอก<?php
echo_line('barriers');
?>
" name="barriers" id="barriers" value="{barriers}" type="text" required="" autofocus=""></td>
</tr>
<tr class="odd gradeA">
<td align="center"> <?php
echo_line('solutions');
?>
</td>
<td>
<input class="form-control" placeholder="กรอก <?php
echo_line('solutions');
?>
" name="solutions" id="solutions" value="{solutions}" type="text" required="" autofocus=""></td>
</tr>
<tr class="odd gradeA">
<td align="center"> ผู้บัจทึก </td>
<td>
<!-- <input class="form-control" placeholder="กรอกemp_id" name="emp_id" id="emp_id" value="{emp_id}" type="text" required="" autofocus=""></td> -->
{emp_id}
</tr>
<!-- <tr class="odd gradeA"> -->
<!-- <td colspan="2" align="center"> -->
<!-- <button type="submit" class="btn btn-success">บันทึก</button> -->
示例6: echo_line
?>
<div style="clear: both"></div>
<br>
<div style="clear: both"></div>
<div class="row text-center center-block">
<div class="col-lg-6 " style="display:inline-block;float:none;">
<div class="panel panel-red">
<div class="panel-heading">
<?php
echo_line("sys_error");
?>
</div>
<div class="panel-body">
<p>
<?php
echo_line($error_message);
?>
</p>
</div>
<div class="panel-footer">
<button type="button" class="btn btn-outline btn-success" onclick="window.location.href = '<?php
echo $url_back;
?>
'">ตกลง</button>
</div>
</div>
<!-- /.col-lg-4 -->
</div>
</div>
<!-- /.row -->
示例7: admin_ms_site
<li>
<a href="<?php
echo admin_ms_site('urllist');
?>
"> <?php
echo_line('menu_roleurl');
?>
</a>
<li>
<li>
<a href="<?php
echo admin_tr_site('user');
?>
"> <?php
echo_line('menu_user');
?>
</a>
<li>
</ul>
</li>
<!-- <li>
<a href="#"><i class="fa fa-sitemap fa-fw"></i> Multi-Level Dropdown<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="#">Second Level Item</a>
</li>
<li>
示例8: defined
<?php
defined('BASEPATH') or exit('No direct script access allowed');
?>
<div style="clear: both"></div>
<br>
<div style="clear: both"></div>
<!-- /.row -->
<div class="row">
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
<i class="fa fa-edit" id="color_main_icon"></i> <b> <?php
echo_line($action);
?>
timesheet_form </b>
</div>
<div class="panel-body">
<?php
if (isset($error_msg)) {
?>
<div class="alert alert-danger">
<?php
echo $error_msg;
?>
</div>
<?php
}
?>
<div class="row">
示例9: echo_line
?>
</th>
<td>
{country2}
</td>
<th>
<?php
echo_line('latitude');
?>
</th>
<td>
{latitude2}
</td>
<th>
<?php
echo_line('longtitude');
?>
</th>
<td>
{logitude2}
</td>
</tr>
</tbody>
</table>
</div>
<div align="center" id="smile" style="display: none;"> <br><br><i class="fa fa-smile-o fa-5x"></i> <br><br><b>ไม่มีข้อมูลอยู่ในระบบ</b></div><br><br>
</div>
</div>
<a href="<?php
示例10: num_param_url_encode
if (isset($weather_id)) {
?>
<input type="hidden" id="weather_id" name="weather_id" value="<?php
echo num_param_url_encode($weather_id);
?>
">
<?php
}
?>
<table class="table table-striped table-bordered table-hover" id="dataTables-example">
<tbody>
<tr class="odd gradeA">
<td align="center"> <?php
echo_line('weather_name');
?>
</td>
<td>
<input class="form-control" placeholder="กรอกสภาพอากาศ" name="weather_name" id="weather_name" value="{weather_name}" type="text" required="" autofocus=""></td>
</tr>
<tr class="odd gradeA">
<td colspan="2" align="center">
<button type="submit" class="btn btn-success">บันทึก</button>
<button type="reset" class="btn btn-warning">ยกเลิก</button>
<a href="<?php
echo admin_ms_site('weather/');
?>
">
<button type="button" class="btn btn-primary"> กลับ </button>
示例11: admin_tr_site
echo admin_tr_site('employee/modify_form/' . num_param_url_encode($employee->emp_id));
?>
">
<button type="button" class="btn btn-primary">
<?php
echo_line('button_update');
?>
</button>
</a>
<button id="<?php
echo num_param_url_encode($employee->emp_id);
?>
" type="button" class="btn btn-danger del-data" data-toggle="modal" data-target="#myModal">
<?php
echo_line('button_delete');
?>
</button>
</div>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
示例12: echo_line
<script type="text/javascript">
<?php
// header timesheet
?>
var emp_code = "<?php
echo_line('emp_code');
?>
";
var fname_th = "<?php
echo_line('fname_th');
?>
";
var lname_th = "<?php
echo_line('lname_th');
?>
";
var counter = 0;
function loadEmployeeProgress(){
if($("#B").html() == ""){
$.post('<?php
echo admin_tr_site('timesheet/find_by_progress_daily_report');
?>
'
,{project_id:$("#project_id").val(),start_date:$("#progress_date").val()}
,function(result)
{
var div = $("#B");
div.html(result);
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:30,代码来源:progressdailyreport_form_javascript.php
示例13: echo_line
?>
<div style="clear: both"></div>
<br>
<div style="clear: both"></div>
<div class="row text-center center-block">
<div class="col-lg-6 " style="display:inline-block;float:none;">
<div class="panel panel-green">
<div class="panel-heading">
<?php
echo_line("sys_success");
?>
</div>
<div class="panel-body">
<p>
<?php
echo_line($succes_message);
?>
</p>
</div>
<div class="panel-footer">
<button type="button" class="btn btn-outline btn-success" onclick="window.location.href = '<?php
echo $url_back;
?>
'">ตกลง</button>
</div>
</div>
<!-- /.col-lg-4 -->
</div>
</div>
<!-- /.row -->
示例14: echo_line
</th>
<th> <?php
echo_line('address_project');
?>
</th>
<!-- <th> เบอร์โทรศัพท์โครงการ </th> -->
<th> <?php
echo_line('start_date');
?>
</th>
<th> <?php
echo_line('end_date');
?>
</th>
<th> <?php
echo_line('project_detail');
?>
</th>
<th class=""> </th>
</tr>
</thead>
<tbody>
<?php
foreach ($project_list as $key => $project) {
?>
<tr class="odd gradeX">
<td> <?php
echo $key + 1;
?>
</td>
示例15: is_phpdoc_checkout
function is_phpdoc_checkout($configs)
{
if (empty($configs['DIR_SVN'])) {
echo_line('Warning: Configuration is not set properly while testing the checkout. Massive fail!');
exit;
}
// TODO: Improve this check
if (file_exists($configs['DIR_SVN'] . '/en/reference/apc/book.xml') && file_exists($configs['DIR_SVN'] . '/doc-base/configure.php')) {
return true;
} else {
return false;
}
}