本文整理汇总了PHP中template_bottom函数的典型用法代码示例。如果您正苦于以下问题:PHP template_bottom函数的具体用法?PHP template_bottom怎么用?PHP template_bottom使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了template_bottom函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: template_top
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
AUTH::require_user();
AUTH::require_valid_app_key('stats202', $_SESSION['user_api_key'], $_SESSION['user_stats202_app_key']);
template_top('My Subid Stats');
include_once '../top.php';
#function display_calendar($page, $show_time, $show_adv, $show_bottom, $show_limit, $show_breakdown, $show_type, $show_cpc_or_cpv = true) {
$page = '/stats202/ajax/getSubids.php';
$show_time = true;
$show_adv = false;
$show_bottom = true;
$show_limit = true;
$show_breakdown = false;
$show_cpc_or_cpv = false;
$show_type = false;
display_calendar($page, $show_time, $show_adv, $show_bottom, $show_limit, $show_breakdown, $show_type, $show_cpc_or_cpv);
?>
<script type="text/javascript">
loadContent('/stats202/ajax/getSubids.php',null);
</script>
<?php
template_bottom();
开发者ID:samuelpj,项目名称:prosper202,代码行数:28,代码来源:index.php
示例2: template_bottom
<input type="button" id="generate-tracking-link-simple" class="btn btn-sm btn-p202 btn-block" value="Get Landing Page Codes">
</div>
</div>
</form>
</div>
</div>
<div class="row form_seperator" style="margin-bottom:15px;">
<div class="col-xs-12"></div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="panel panel-default">
<div class="panel-heading"><center>Simple Landing Page Tracking Codes</center></div>
<div class="panel-body" id="tracking-links" style="opacity: 0.5;">
<center><small>Click <em>"Get Landing Page Codes"</em> to get tracking codes.</small></center>
</div>
</div>
</div>
</div>
<!-- open up the ajax aff network -->
<script type="text/javascript">
$(document).ready(function() {
load_aff_network_id(0);
});
</script>
<?php
template_bottom($server_row);
开发者ID:viasmonster,项目名称:prosper202,代码行数:30,代码来源:get_simple_landing_code.php
示例3: showFooter
function showFooter($total_list){
$str = '';
$str .= ' </table>';
//goi ham xu ly phan footer ra
$str .= '<div class="table_footer">' . $this->footer($total_list) . '</div>';
if($this->quickEdit){
$str .= '</form>';
}
//khet thuc phan template
$str .= template_bottom();
return $str;
}
开发者ID:nhphong0104,项目名称:thietkeweb360,代码行数:17,代码来源:grid.php
示例4: record_mysql_error
function record_mysql_error($sql)
{
$database = DB::getInstance();
$db = $database->getConnection();
global $server_row;
//record the mysql error
$clean['mysql_error_text'] = mysqli_error($db);
//if on dev server, echo the error
echo $sql . '<br/><br/>' . $clean['mysql_error_text'] . '<br/><br/>';
die;
$ip_id = INDEXES::get_ip_id($_SERVER['HTTP_X_FORWARDED_FOR']);
$mysql['ip_id'] = $db->real_escape_string($ip_id);
$site_url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
$site_id = INDEXES::get_site_url_id($site_url);
$mysql['site_id'] = $db->real_escape_string($site_id);
$mysql['user_id'] = $db->real_escape_string(strip_tags($_SESSION['user_id']));
$mysql['mysql_error_text'] = $db->real_escape_string($clean['mysql_error_text']);
$mysql['mysql_error_sql'] = $db->real_escape_string($sql);
$mysql['script_url'] = $db->real_escape_string(strip_tags($_SERVER['SCRIPT_URL']));
$mysql['server_name'] = $db->real_escape_string(strip_tags($_SERVER['SERVER_NAME']));
$mysql['mysql_error_time'] = time();
$report_sql = "INSERT INTO 202_mysql_errors\n\t\t\t\t\t\t\t\tSET mysql_error_text='" . $mysql['mysql_error_text'] . "',\n\t\t\t\t\t\t\t\t\t\tmysql_error_sql='" . $mysql['mysql_error_sql'] . "',\n\t\t\t\t\t\t\t\t\t\tuser_id='" . $mysql['user_id'] . "',\n\t\t\t\t\t\t\t\t\t\tip_id='" . $mysql['ip_id'] . "',\n\t\t\t\t\t\t\t\t\t\tsite_id='" . $mysql['site_id'] . "',\n\t\t\t\t\t\t\t\t\t\tmysql_error_time='" . $mysql['mysql_error_time'] . "'";
$report_query = _mysqli_query($report_sql);
//email administration of the error
$to = $_SERVER['SERVER_ADMIN'];
$subject = 'mysql error reported - ' . $site_url;
$message = '<b>A mysql error has been reported</b><br/><br/>
time: ' . date('r', time()) . '<br/>
server_name: ' . $_SERVER['SERVER_NAME'] . '<br/><br/>
user_id: ' . $_SESSION['user_id'] . '<br/>
script_url: ' . $site_url . '<br/>
$_SERVER: ' . serialize($_SERVER) . '<br/><br/>
. . . . . . . . <br/><br/>
_mysqli_query: ' . $sql . '<br/><br/>
mysql_error: ' . $clean['mysql_error_text'];
$from = $_SERVER['SERVER_ADMIN'];
$type = 3;
//type 3 is mysql_error
//send_email($to,$subject,$message,$from,$type);
//report error to user and end page
?>
<div class="warning" style="margin: 40px auto; width: 450px;">
<div>
<h3>A database error has occured, the webmaster has been notified</h3>
<p>If this error persists, you may email us directly: <?php
printf('<a href="mailto:%s">%s</a>', $_SERVER['SERVER_ADMIN'], $_SERVER['SERVER_ADMIN']);
?>
</p>
</div>
</div>
<?php
template_bottom($server_row);
die;
}
开发者ID:viasmonster,项目名称:prosper202,代码行数:61,代码来源:functions-tracking202.php
示例5: showTableMulti
function showTableMulti($db){
//goi phan template
$this->html .= template_top($this->title,$this->urlsearch());
// khoi tao table
$this->html .= '<table id="listing" cellpadding="5" cellspacing="0" border="1" bordercolor="' . $this->fs_border . '" width="100%" class="table">';
//phan header
$this->html .= '</tr>';
$this->html .= '<th width="30">ID</th>';
$this->total_list .= count($db);
//phan checkbok all
$this->html .= '<th class="h check"><input type="checkbox" id="check_all" onclick="checkall(' . $this->total_list . ')"></th>';
if($this->quickEdit){
//phan quick edit
$this->html .= '<th class="h"><img src="' . $this->image_path . 'qedit.png" border="0"></th>';
}
//phần hiển thị tiêu đề
foreach($this->arrayLabel as $key=>$lable){
$this->html .= '<th class="h">' . $lable . $this->urlsort($this->arrayField[$key]) . ' </th>';
}
$this->html .= '</tr>';
$page = getValue("page");
if($page<1) $page = 1;
$i=0;
foreach($db as $key=>$row){
$i++;
$this->html .= '<tbody id="tr_' . $row[$this->field_id] . '">';
$this->html .= '<tr ' . (($i%2==0) ? 'bgcolor="#f7f7f7"' : '') . '>';
//phan so thu tu
//phan so thu tu
if($this->showid){
$this->html .= '<td width=15 align="center"><span style="color:#142E62; font-weight:bold">' . ($i+(($page-1)*$this->page_size)) . '</span></td>';
}
//phan checkbok cho tung record
$this->html .= '<td class="check"><input type="checkbox" class="check" name="record_id[]" id="record_' . $i . '" value="' . $row[$this->field_id] . '"></td>';
if($this->quickEdit){
//phan quick edit
$this->html .= '<td width=15 align="center"><a class="thickbox" rel="tooltip" title="' . translate_text("Do you want quick edit basic") . '" href="quickedit.php?record_id=' . $row[$this->field_id] . '&url=' . base64_encode($_SERVER['REQUEST_URI']) . '&KeepThis=true&TB_iframe=true&height=300&width=400"><img src="' . $this->image_path . 'qedit.png" border="0"></a></td>';
}
foreach($this->arrayField as $key=>$field){
$this->html .= $this->checkType($row,$key);
}
$this->html .= '</tr>';
$this->html .= '</tbody>';
}
//phan footer
$this->html .= '</tr>';
//goi ham xu ly phan footer ra
$this->html .= '<th class="f" colspan="' . (count($this->arrayLabel)+3) . '">' . $this->footer() . '</th>';
$this->html .= '</tr>';
$this->html .= '</table>';
//khet thuc phan template
$this->html .= template_bottom();
return $this->html;
}
开发者ID:nhphong0104,项目名称:thietkeweb360,代码行数:83,代码来源:grid.php
示例6: get_config_combo
<td>
<?php
echo get_config_combo($db_static->result, $key, ${$key});
?>
</td>
</tr>
<?
}
$db_static->close();
unset($db_static);
?>
<tr>
<td> </td>
<td height="30">
<input type="button" class="bottom" value="<?php
echo translate_text("Cập nhật");
?>
" style="cursor:hand; width:100px" onClick="validateForm();">
<input type="reset" class="bottom" value="<?php
echo translate_text("Làm lại");
?>
" style="cursor:hand; width:100px">
<input type="hidden" name="action" value="update">
</td>
</tr>
<? /*---------------------------------*/ ?>
</form>
</table>
<? template_bottom() ?>
</body>
</html>
开发者ID:nhphong0104,项目名称:thietkeweb360,代码行数:31,代码来源:statics.php
注:本文中的template_bottom函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论